arXiv cs.AI· Wenyu Du, Stephen Chung·· 14 小时前AI 评分31
CopyLoop:通过上下文复制与浅层筛选加速循环 Transformer 解码
CopyLoop: Fast Looped Transformer Decoding via Context Copying and Shallow Screening
AI 导读
CopyLoop 是一种免训练解码算法,用重复上下文提出多 token 后缀,并在浅层循环深度提前筛选错误分支,同时让新块与仍在向全深度验证推进的旧块并发处理。
正文 · 原文
Abstract:Looped Transformers increase computational capacity through the repeated application of shared blocks, but their recurrent depth makes conventional full-depth decoding expensive. While existing speculative pipelines accelerate generation by processing consecutive token positions at varying depths, they are typically limited by sequential decoding overheads. We introduce CopyLoop, a training-free decoding algorithm that combines low-cost context-copy proposals with shallow screening and continuous recurrent scheduling. Rather than step-by-step generation, CopyLoop proposes multi-token suffixes from repeated context. It then evaluates them early at a shallow recurrent depth to efficiently filter out incorrect branches, processing newer blocks concurrently while earlier blocks are still progressing toward full-depth verification. We evaluate CopyLoop across six model checkpoints from the Ouro, Raven, and Huginn families, covering code generation and multi-step mathematical reasoning. CopyLoop achieves decoding speedups of 2.98x--10.70x over full-depth autoregressive decoding on Base models and 2.74x--3.52x on Thinking models, consistently outperforming or closely matching all competing baselines across evaluation tasks. Furthermore, ablation studies confirm a strong synergy between shallow screening and continuous scheduling, while our analyses show that CopyLoop requires only lightweight model calibration and yields greater speedups on longer generations with reusable contexts.
| Comments: | preprint |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.38822 [cs.CL] |
| (or arXiv:2610.38822v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.38822 arXiv-issued DOI via DataCite |
Submission history
From: Wenyu Du [view email]
[v1]
Wed, 28 Oct 2026 20:16:54 UTC (105 KB)
来源:arXiv cs.AI · arxiv.org