Breaking the KV Cache Bottleneck in Looped Transformers with Shared Token Latents
Dehong Zheng, Tong Zhu, Yunkai Chai, Xiaoyang Chen, Zefeng He, Zhe Xu, Xuyang Hu, Xinyu Zhang and 4 others
Fudan University · Shanghai AI Laboratory · Shanghai Jiao Tong University · University of Science and Technology of China · The Chinese University of Hong Kong · Nanyang Technological University
Published November 29, 2026 · on the feed December 1, 2026 · ▲ 14 · arXiv 2611.39694
The abstract
Looped Transformers scale computational depth at a fixed parameter count, yet their key--value (KV) cache grows linearly with recursion depth under standard attention. Because recursions process the same sequence, their KV representations may encode shared and recursion-specific information. By learning memory-sharing policies during pretraining, we find that under simulated storage pressure, early KV representations are broadly reused while intermediate representations remain useful. This motivates separating KV representations into a shared base and compact stage-specific latents. Extending base sharing across physical layers improves model quality while reducing KV storage. We propose Token-Anchored Latent Attention (TALA), which derives a single base latent from each token's initial representation, shares it across all layers and recursions, and complements it with compact stage latents. Each physical layer decodes the base and current stage into keys and values and adds them before attention. Compared with vanilla looped Transformers in equal-token pretraining, TALA achieves approximately 12times KV cache compression and uses 28.4% fewer training FLOPs, while attaining lower validation NLL and higher mean scores on commonsense and RULER-NIAH benchmarks. Our IsoFLOPs scaling experiments demonstrate consistent superiority over all three baselines across budgets, with no predicted crossover in fitted compute-optimal frontiers. Training trajectories show that TALA achieves 1.92times the training compute efficiency of vanilla looped Transformers at a matched training NLL. Its advantages grow under aggressive KV compression and extend to conventional Transformers. Our mechanistic analyses suggest that shared token latents absorb reusable token-specific matching functions, reducing representational redundancy and freeing stage latent capacity for contextual information.
The Brief
3:00A short podcast summary of the paper. Written and voiced by AI.
Transcript
Breaking the KV Cache Bottleneck in Looped Transformers with Shared Token Latents. By Dehong Zheng and eleven others, from Fudan University, the Shanghai AI Laboratory, and four other institutions. Published on the twenty-ninth of November.
Looped Transformers scale computational depth while holding the parameter count fixed. Under standard attention, though, their key-value cache grows linearly with recursion depth. Every extra pass through the shared layers adds to what must be stored, so the very property that makes looping attractive, more depth for the same parameters, becomes a memory cost that rises with that depth. Yet the recursions all process the same sequence, which suggests their KV representations may encode some information that is shared across recursions, and some that is specific to each one. If that were so, storing all of it again at every recursion would be storing some of it more than once.
To find out, the authors learned memory-sharing policies during pretraining. Under simulated storage pressure, early KV representations were broadly reused, while intermediate representations remained useful. So the early part looked like common ground, and the intermediate part looked like something each stage still needed for itself. That pattern motivates a split: a shared base, plus compact latents specific to each stage. A further result widened the idea. Extending base sharing across physical layers, not only across recursions, improved model quality while also reducing KV storage. Sharing, in this case, did not trade quality for memory. It gained on both.
Token-Anchored Latent Attention, or TALA, puts the split into practice. It derives a single base latent from each token's initial representation, and shares that base across all layers and all recursions. The base is complemented by compact stage latents. Each physical layer decodes the base and the current stage into keys and values, and adds the two together before attention. What is common is held once per token, and only the small stage latents change from one depth to the next.
Against vanilla looped Transformers in equal-token pretraining, TALA achieves approximately twelve times KV cache compression, and uses twenty-eight point four percent fewer training FLOPs. It does so while reaching lower validation NLL, and higher mean scores on commonsense and RULER-NIAH benchmarks. Smaller cache, less compute, and better quality, all at once, against the model it was built to improve on.
IsoFLOPs scaling experiments show consistent superiority over all three baselines across budgets, with no predicted crossover in the fitted compute-optimal frontiers, so the fits do not foresee a budget at which the baselines catch up. Training trajectories show TALA reaching one point nine two times the training compute efficiency of vanilla looped Transformers at a matched training NLL. Its advantages grow under aggressive KV compression, and they extend to conventional Transformers as well.
Mechanistic analyses suggest why the sharing works. The shared token latents appear to absorb reusable, token-specific matching functions. That reduces representational redundancy, and frees the capacity of the stage latents for contextual information. On that reading, a large part of what the cache held at every depth was the same thing about each token, and TALA keeps that part in one place.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free