arXiv:cs.CL· Bohan Sun, Zunhai Su, Xialie Zhuang, Jianjin Li, Ngai Wong, Chuan-Wei Kuo·· 16 小时前
ReaDy:用循环状态作动态上下文,为混合线性注意力大模型加速投机解码
ReaDy: Recurrent States as Dynamic Context for Speculative Drafting in Hybrid Linear Attention Large Language Models
AI 导读
ReaDy 是首个利用混合线性注意力(HLA)模型循环状态进行投机解码的方法,让每个草稿位置用学习到的 query 从目标模型已提交的循环状态中检索位置相关的补充上下文。
正文
Abstract:Speculative decoding accelerates autoregressive generation by drafting multiple tokens per step, yet feature-based drafters rely on target hidden features whose contextual emphasis may not align with the needs of subsequent draft positions. Hybrid linear attention (HLA) models maintain compact recurrent states that accumulate historical associations, offering an efficient source of complementary context for speculative drafting. We introduce ReaDy, the first speculative decoding method, to the best of our knowledge, to leverage HLA recurrent states for position-specific context retrieval during drafting. ReaDy equips each draft position with a learned query to retrieve supplementary context directly from the target's committed recurrent states. A lightweight state reader integrates this context into draft representations through residual updates, while low-rank state reads and fused operators keep additional computation and I/O overhead low. Building on DSpark's parallel backbone and sequential prediction head, ReaDy employs a lightweight two-stage adaptation strategy, with reader capacity, state sources, and residual placement examined through ablation studies. Across seven benchmarks spanning mathematics, code generation, and dialogue, ReaDy achieves an average $3.16\times$ decoding speedup over autoregressive decoding with Qwen3.8-27B on a single NVIDIA B200 GPU. It outperforms DSpark on every benchmark, improving throughput by 7.97% and acceptance length by 8.50% on average. Our code is available at this https URL.
| Comments: | 13 pages, 6 figures, 8 tables |
| Subjects: | Computation and Language (cs.CL) |
| Cite as: | arXiv:2610.20503 [cs.CL] |
| (or arXiv:2610.20503v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.20503 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Bohan Sun [view email]
[v1]
Wed, 14 Oct 2026 17:08:52 UTC (4,184 KB)
来源:arXiv:cs.CL · arxiv.org