← News

ResearchSources: arXiv · 2 Dec 2026

Prompt-based speculative decoding speeds grammatical error correction in decoder-only LLMs

A new arXiv study reports the first systematic test of prompt-based speculative decoding for grammatical error correction with decoder-only LLMs under batched serving, including a faster n-gram variant.

In plain words

The authors speed up text generation by letting a model reuse parts of its own input as a draft, which the model then checks in parallel. Because corrected sentences largely copy the original text, this works well for grammar correction. Their method reportedly runs up to 12.24 times faster than standard decoding in the best case.

What was announced

Speculative decoding accelerates large language model inference by drafting tokens that the target model verifies in parallel, producing output identical to standard decoding. The paper's authors argue that grammatical error correction suits this approach because the output largely reuses spans of the input, so drafts can come from the prompt itself. Earlier work on this idea, notably aggressive decoding, targeted seq2seq models tested only at batch size 1.

The study covers aggressive decoding and n-gram drafting on English, German and Ukrainian document-level datasets with batch sizes up to 128. Prompt-based drafting reportedly reaches a 12.24x speedup at batch size 1, while a draft-model baseline is slower than autoregressive decoding in 53 of 60 configurations. The authors also introduce PAN-SD, a position-aware n-gram variant that breaks ties among equally long matches by aligning with the source instead of taking the earliest occurrence; it improves acceptance rates in all configurations and throughput in most, at no additional cost. Code, data and models are released.

What it does not show

  • The source is an abstract only; full experimental details, model choices and evaluation settings are not available in the supplied passage.

For security and IT teams

Scope
Findings are limited to grammatical error correction workloads with decoder-only LLMs under batched serving, per the authors' stated study scope.

Sources

Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 2 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.