LoopCache: Accelerating Long-Context Self-Speculative Decoding for Looped Transformers
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
Looped Transformers achieve large effective depth with compact models by repeatedly applying a weight-shared block across R recurrent steps, each maintaining a loop-specific key-value (KV) cache. To accelerate sequential loop execution, recent wave-style self-speculative methods like WaveFront Decoding (WFD) and LoopSpec pipeline draft and target tokens across loops in a single step. However, they face two critical limitations. First, they draft only at fixed loops and ignore intermediate prediction changes, wasting computation on stale trajectories. Second, batching tokens from different loops loads up to Rx the KV cache per step, severely amplifying memory traffic in long-context scenarios. To address these challenges, we propose LoopCache, an efficient self-speculative decoding framework for long-context Looped Transformers. Based on the correlation between prediction switches and output confidence, LoopCache introduces confidence-guided dynamic draft updating to refine drafts in flight across all intermediate loops. Furthermore, LoopCache employs a cyclic loop KV cache strategy that rotates through loop-specific KV caches, restricting per-step KV traffic to a single loop while batching tokens at the nearest matching cycle for lossless verification. By also selectively retaining independent KV caches for a few loop-sensitive shallow layers, LoopCache improves acceptance rates with negligible overhead. Experiments show that LoopCache achieves average 10.25x and 14.56x speedup over WFD and LoopSpec.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 33 of its 37 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.
Builds on
33 of 37 references.
Closest ancestors · 7
Same direction, newest first
- 2026WaveFront Decoding: Parallelized Self-Speculative Decoding for Looped Language Models19 Sep
- 2026LoopSpec: Pipelined Self-Speculative Decoding for Looped Transformers15 Sep
- 2026DFlash: Block Diffusion for Flash Speculative Decoding5 Feb
- 2025Accelerating Large-Scale Reasoning Model Inference with Sparse Self-Speculative Decoding1 Dec
- 2025QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache5 Feb
- 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding20 Aug
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 26
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,957
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 447
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 396
- 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decodingcited by 354
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 241
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 189
14 more
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Modelscited by 119
- 2026Parcae: Scaling Laws For Stable Looped Language Modelscited by 92
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compressioncited by 78
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 76
- 2024ChatQA 2: Bridging the Gap to Proprietary LLMs in Long Context and RAG Capabilitiescited by 60
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 59
- 2025Think-at-Hard: Dynamic Looped Transformers for Improved Reasoningcited by 22
- 2026Nanbeige4.2-3B: Unlocking Agentic Capabilities in a Compact Modelcited by 18
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMscited by 8
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 6
- 2026SpecMoE: A Fast and Efficient Mixture-of-Experts Inference via Self-Assisted Speculative Decodingcited by 5
- 2026S2-MoE: Enabling Efficient Self-Speculative Decoding for Mixture-of-Experts on Edge Devicescited by 5
- 2026ResidualQuant: KV Cache Quantization for Looped Transformers with 2-Bit Residualscited by 5
- 2026Scaling Parameter and Context in Attention: Native Sparse Attention from Mixture-of-Headcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026LoopFill: Pipelined Multi-Token Speculative Decoding for Looped Transformers
- 2026LoopAhead: Speculating Ahead for Faster Decoding in Looped Language Models
- 2026FlashLoop: Fast and Memory-Efficient Looped Transformers via Lazy Updates
- 2026CopyLoop: Fast Looped Transformer Decoding via Context Copying and Shallow Screening
- 2026LoopSkim: Lossless Multi-Depth Speculative Decoding for Looped Language Models
- 2026Looped Transformers as Optimizers
- 2026Looped Latent Attention: Cross-Loop KV Compression for Looped Transformers
- 2026Asymmetric Looped Transformers: Fixed Global Representations for an Iterative Decoder