arXiv:cs.CL· Roy Eisenstadt, Harel Lidar, Tal Gonen, Omer Luxembourg, Itamar Zimerman, Lior Wolf, Eli David, Ilan Naiman·· 11 小时前
DCOCO:为推测解码的并行草案补全上下文依赖
Contextual Correction of Parallel Draftsfor Speculative Decoding
AI 导读
针对扩散式 drafter 并行起草时丢失块内依赖的问题,研究者提出轻量机制 DCOCO(DFlash Contextual Correcter),通过保留每个位置的多个候选 token 并并行评估相邻草案位置的上下文兼容性来选择 token。
正文
Abstract:Speculative decoding accelerates large language model inference by using a lightweight drafter to propose multiple tokens that are subsequently verified in parallel by the target model. Recent diffusion-based drafters make this paradigm particularly attractive: deep attention-based neural backbones provide strong predictions, while drafting multiple future positions in parallel avoids the sequential cost of autoregressive generation. This parallelism, however, comes at a cost. Tokens within a draft block are predicted without access to the realized identities of preceding draft tokens, removing intra-block dependencies that would naturally be available under autoregressive generation. We introduce DCOCO (DFlash Contextual Corrector), a lightweight mechanism that restores these dependencies while preserving parallel drafting. Rather than committing to each position's top prediction, DCOCO retains multiple candidate tokens and evaluates their contextual compatibility across adjacent draft positions in parallel, enabling contextually informed token selection at low additional cost. Across four verifier backbones and ten benchmarks, DCOCO achieves the highest average throughput in every evaluated configuration, spanning greedy and stochastic decoding with and without extended reasoning, with speedups of up to 6.6x over vanilla decoding. Its advantage persists under concurrent serving: DCOCO outperforms the strongest competing method by 6-23% across 4-32 concurrent requests, while other sequential correctors fall below uncorrected DFlash at these loads. These results demonstrate that recovering intra-block dependencies through parallel contextual scoring delivers consistent acceleration across decoding regimes and serving loads.
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.12570 [cs.CL] |
| (or arXiv:2610.12570v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.12570 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Roy Eisenstadt [view email]
[v1]
Thu, 8 Oct 2026 18:01:03 UTC (236 KB)
来源:arXiv:cs.CL · arxiv.org