BeNice! Closing Looping's Inference-Memory Gap via KV-Sharing
On the map: Efficient LLM inference and serving → KV cache optimization also fits: Efficient reasoning and agent inference
Abstract (arXiv)
Looped architectures scale quality while keeping parameter count fixed by repeatedly passing activations through the same block of layers. During inference, each recurrence generates independent KV-caches, causing memory to grow linearly. To address this challenge, prior work has proposed KV-sharing (i.e., sharing KV-caches across depth), finding that, in some cases, the KV-cache of the final recurrence can be shared with the earlier recurrences without quality loss, a property we denote as KV-shareability. However, the mechanisms underlying KV-shareability remain poorly understood, with even identically trained looped architectures not consistently exhibiting it. In this paper, we study how KV-shareability can be enabled in looped models. We propose a two-stage method: in the first stage, we use stochastic depth during pretraining, which induces contractive residual dynamics that drive representations toward a common limit across recurrences. In the second stage, we propose BeNice!, a post-training method that broadcasts the final recurrence's KV-cache into the first recurrence, training it to produce compatible residuals while preserving the original model's quality. As a result, BeNice! enables KV-shareability while matching standard finetuning's unshared validation perplexity. Using BeNice!, we show that KV-sharing is complementary to alternative KV-compression methods, composing with memory-efficient sequence mixers (e.g., multi-latent attention, Kimi delta attention) and low-precision KV-cache quantization (e.g., fp8, mxfp8, nvfp4). Finally, in simulated low-memory, long-context inference, KV-sharing improves cache hit rates by up to 31.4%, increases throughput by up to 23.6%, and reduces p90 time-to-first-token by up to 83.6%.
Key facts. Cited by 4 papers in the map (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 59 of its 76 references that are in the map. Submitted 22 Oct 2026.
Builds on
59 of 76 references.
References · 59
- 2017Attention Is All You Needcited by 62,125
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,276
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 2,083
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,893
38 more
- 2019Root Mean Square Layer Normalizationcited by 1,624
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,358
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 1,077
- 2018Universal Transformerscited by 769
- 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 757
- 2021BBQ: A Hand-Built Bias Benchmark for Question Answeringcited by 751
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2018CoQA: A Conversational Question Answering Challengecited by 699
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 685
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
- 2019Deep Equilibrium Modelscited by 657
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 578
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 463
- 2018Gender Bias in Coreference Resolutioncited by 451
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 334
- 2020Query-Key Normalization for Transformerscited by 322
- 2019Depth-Adaptive Transformercited by 256
- 2025Scaling Latent Reasoning via Looped Language Modelscited by 241
- 2025Hierarchical Reasoning Modelcited by 216
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 189
- 2020The Lipschitz Constant of Self-Attentioncited by 187
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 186
- 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 128
- 2026Parcae: Scaling Laws For Stable Looped Language Modelscited by 92
- 2025Nemotron-CLIMB: CLustering-based Iterative Data Mixture Bootstrapping for Language Model Pre-trainingcited by 83
- 2025Teaching Pretrained Language Models to Think Deeper with Retrofitted Recurrencecited by 76
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 74
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 60
- 2024Scaling Optimal LR Across Token Horizonscited by 51
- 2026How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Modelscited by 45
- 2021From LSAT: The Progress and Challenges of Complex Reasoningcited by 44
- 2022ResFormer: Scaling ViTs with Multi-Resolution Trainingcited by 36
- 2026Equilibrium Reasoners: Learning Attractors Enables Scalable Reasoningcited by 29
- 2026Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Modelscited by 27
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026LoopSkim: Lossless Multi-Depth Speculative Decoding for Looped Language Modelscited by 1
- 2026LooM: Loop-Invariant Memory for Causal Encoder-Decoder Language Modelscited by 0
- 2026Looping Deeper Without Growing the KV Cache: Recurrent Depth for Causal Encoder-Decoderscited by 0
- 2026Loop-Count Schedules in Looped Transformers: An Empirical Studycited by 0
- 2026Loop-Count Schedules in Looped Transformers: An Empirical Study22 Nov 2026
- 2026LoopSkim: Lossless Multi-Depth Speculative Decoding for Looped Language Models15 Nov 2026
- 2026Looping Deeper Without Growing the KV Cache: Recurrent Depth for Causal Encoder-Decoders9 Nov 2026
- 2026LooM: Loop-Invariant Memory for Causal Encoder-Decoder Language Models4 Nov 2026
Similar, not cited
Close in wording, no citation either way
- 2026The Surprising Effectiveness of Shared Memory in Looped Transformers
- 2026Architectures and KV Replay for Depth-Recurrent Language Models
- 2026KV-Fold: One-Step KV-Cache Recurrence for Long-Context Inference
- 2026Fold the Loop: Decoding-Time KV Memory for Looped Vision-Language Models
- 2026KV-Pipe: On the Relation Between KV Sharing and Pipeline Parallel Efficiency in LLMs
- 2026LoopGuard: Breaking Self-Reinforcing Attention Loops via Dynamic KV Cache Intervention
- 2026Shared Weights, Selected Computations: How Looped Transformers Route What Each Loop Does
- 2026Enabling Dynamic Computation in Looped LMs