Skip to content
Tuesday, 24 November 2026
Tenesys AI News
Subscribe
Research· Important· 🧪 Worth Testing

New 'Grammar-as-a-Draft' method speeds up LLM structured output generation

In short: Researchers introduced Grammar-as-a-Draft (GaaD), an optimization technique for speculative decoding that incorporates grammar constraints directly into the drafting phase. By merging forced grammar tokens with model proposals, it significantly increases the acceptance rate of tokens in structured output tasks like JSON generation.

Source: arXiv cs.CLN/AQwen3.5, Qwen3Original article ↗

This summary was generated automatically by AI from arXiv cs.CL's publication. It is our own text, not a copy of the original — facts, figures and quotes belong to the source, linked above and below.

What changed?

  • 1Average token acceptance length increased from ~2x to ~4-5x in testing.
  • 2Inference speed improved by 2.66-2.81x at batch size 1 and up to 1.7x at batch size 64.
  • 3Works with existing drafters like MTP, DFlash, and n-gram without new training or specialized kernels.

Why it matters

This breakthrough addresses the performance bottleneck when using LLMs for reliable tool-calling and API integration. By reducing the overhead of grammar-constrained decoding, developers can achieve lower latency for agents that rely on strict JSON schemas.

What it means for AI agents and contact centers

If your infrastructure involves high-frequency structured data extraction or complex tool-calling agents, testing GaaD could dramatically improve your request-response latency. Compare performance benchmarks against your existing grammar-constrained pipelines, especially for high-concurrency environments.

🧪 Worth Testing

It offers immediate, significant speed improvements for structured LLM workloads without requiring model re-training or complex infrastructure changes.

Grammar-as-a-Draft (GaaD)· New

Sources

  • arXiv cs.CLOfficialPrimary source
    „Grammar-as-a-Draft: More Tokens per Speculative Decoding Step on Grammar-Constrained Structured Outputs“
    24 Nov 2026, 07:00
    Licence: arXiv metadata CC0; papers under their own licences · our summary (content changed)
    Original article →
Published by source
24 Nov 2026, 07:00
Found by our system
24 Nov 2026, 10:27
Summary generated
24 Nov 2026, 10:28

This article was written by AI from the original source. Facts, numbers and prices come from the source; missing values are marked “Not specified”. Legal notice, copyright and privacy