TALA

Token-Anchored Latent AttentionarXiv v1 · November 2026

Breaking the KV Cache Bottleneck in Looped Transformers with Shared Token Latents

How much of the KV cache can layers and recursions share? In TALA, a single token-derived Base serves every layer execution, and compact Stage latents carry information from the current hidden state.

Dehong Zheng1,2, Tong Zhu2*, Yunkai Chai2,3, Xiaoyang Chen2,4, Zefeng He2,3, Zhe Xu2, Xuyang Hu2, Xinyu Zhang2,1, Zongliang Wu2, Zhongzhi Zhang1, Yafu Li2,5, Yu Cheng6*

1 Fudan University2 Shanghai AI Laboratory3 Shanghai Jiao Tong University4 University of Science and Technology of China5 The Chinese University of Hong Kong6 Nanyang Technological University* Corresponding authors

Paper PDF Code alphaXiv HF Papers
12×

Persistent KV compression

28.4%

Fewer training FLOPs at 20B tokens

1.92×

Training FLOP efficiency at matched NLL in the shared stable phase

Compared with vanilla-LT at approximately 450M parameters, 18 layers and 4 recursions. Cache accounting is for persistent BF16 storage at 4K. See conditions and results

Discovery

Sharing more improves validation NLL

Reusing weights across recursions saves parameters, but standard attention still keeps a KV history for every layer execution. Under a simulated storage penalty, later recursions placed more weight on early KV while continuing to use intermediate histories. The diagnostic retained all four banks.

Figure 3. Increasing the Base sharing span improves validation NLL and reduces whole-model persistent KV storage.
Figure 3 · Sharing the Base across all 12 physical layers reduces validation NLL from 2.982 to 2.941 and KV from 22,272 to 12,416 bytes per token (about 44%). These approximately 150M-parameter models train on 3B tokens at R4 with Base and Stage widths fixed at 448 and 112.
Figure 2 · Causal memory-reuse diagnostic
Causal readers and writers across recursions, with and without storage pressure.

Method

One global Base. A Stage at every execution.

TALA derives the Base from the token’s initial representation, before contextual attention. Each layer execution derives its compact Stage from the current hidden state. Layer-specific readers decode both latents and add their content key and value contributions before one causal softmax. In the default TALA model, Stage projections share weights across recursions and each execution produces its own Stage activations. The architecture uses no extra learned token lookup table.

Figure 1. The architecture shares the token-derived Base and adds decoded Base and Stage keys and values before attention.

Evidence

Quality under memory and compute budgets

At L18/R4 and 20B tokens, TALA improves validation NLL and both downstream means over all four full-history baselines. Against nearly matched-cache LT-MLA, TALA improves NLL from 2.552 to 2.511 with about 7.2% more training FLOPs at the same token count.

Selected Table 2 rows · L18/R4, 20B tokens
ModelKV comp.Train EFLOPsValidation NLLCS9 %NIAH6 %
vanilla-LT1.00×298.1412.53850.1173.81
LT-MLA12.04×199.2112.55249.3774.87
TALA11.93×213.5612.51151.3180.74
LPT-MLA+SWA11.96×223.8892.52451.4254.25
TALA+SWA19.51×218.7052.50551.9178.01

KV compression uses vanilla-LT’s persistent BF16 storage as the reference. CS9 is the mean over nine zero-shot benchmarks. NIAH6 is the mean over six 4K RULER retrieval tasks. Both SWA variants use a 64-token window.

Table 2 · Full fixed-depth evaluation
The complete Table 2 with per-task and aggregate results for seven looped variants.

Compute-optimal scaling

Across 92 allocations (4 architectures × 23 matched settings), TALA attains the lowest observed validation NLL at every evaluated budget. At fitted NLL 2.65, the estimated compute savings are 23.7% against LT-MLA, 32.2% against LPT-MLA and 57.2% against vanilla-LT (extrapolated).

Figure 4. Fitted compute-optimal frontiers with dashed extrapolation beyond the observed allocation hull.

Training trajectories

Within the shared stable learning-rate phase, TALA reaches the reference model’s matched smoothed training NLL with 1.92× FLOP efficiency. Figure 5 distinguishes this phase from learning-rate decay.

Figure 5. Training NLL by FLOPs, with annotations for matched NLL and matched compute in the stable phase.
Table 1 · Best observed checkpoints by compute budget
Selected checkpoints across four budgets, with a dagger for LPT-MLA evaluations whose sample equivalence is unverified.

Two loops beat eight in validation NLL

At roughly 150M parameters and 3B tokens, 2-loop TALA reaches 2.985 versus 3.012 for 8-loop LT-MLA, using about 71% fewer training FLOPs and one-quarter of its KV. In the separate R4 compression sweep, nominal 36× TALA slightly improves NLL over nominal 6× LT-MLA with about one-sixth of the cache.

Figure 6. Validation NLL by recursion depth and cache storage, with paired document bootstrap intervals.
Table 4 · Stage allocation and projection sharing
Ablation results for nonuniform and uniform Stage widths and tied versus untied Stage projections.

Beyond loops

The shared Base also works across depth alone

With one pass through the layers at roughly 450M parameters and 10B tokens, TALA improves NLL and both downstream means over eight standard attention configurations. The matched-cache MLA comparison carries through to a separate 20B continuation. Sharing token-derived memory across depth connects TALA to learned token-level memory mechanisms such as Engram, PLE and Memory Attention.

Matched-cache MLA → TALA · Tables 3 and 15
Training tokensValidation NLLCS9 %NIAH6 %
10B2.699 → 2.65445.21 → 46.8756.94 → 71.70
20B2.618 → 2.58246.85 → 48.1960.82 → 75.81

The tested learned-memory variants MemAtten and MHA+KV tables get lower 10B validation NLL, with higher parameter and cache costs and lower downstream means than TALA.

Table 3 · Full 10B non-loop evaluation
The complete Table 3 covering standard attention, stronger compression and learned-table variants.

Mechanism

What does the Base capture?

Token-prototype matching supports a division of labor. The Base can supply reusable token-dependent matching, while Stage latents carry more context-sensitive information. At fixed KV capacity in the non-loop 10B analysis, increasing Base width reduces Stage token-prototype score variance from 0.352 to 0.162 (about 54%). This is correlational evidence for specialization.

Figure 7. Token-prototype predictability and score variances across layers and at fixed non-loop KV capacity.

Use and reproduce

Explore the implementation and protocols

The public repository includes the TALA and TALA+SWA implementations, baseline models, formal configurations, and training and evaluation entry points. The v1 results bundle includes 92 scaling endpoints, four training trajectories, controlled sweeps and scripts to refit and redraw the results. The looped LT-MLA baseline checkpoint is available under Apache-2.0.

Download the LT-MLA 450M / 20B checkpoint and model card

Explainer

Watch the authors explain TALA

English and Mandarin videos on GitHub

Scope

Limitations

The paper reports single-initialization pretraining results in the tested regimes. KV compression measures logical persistent storage. The FLOP comparisons measure reported training compute. Serving latency, throughput, peak GPU memory and transfer to other scales require separate measurements.

Citation

Cite the paper

Download BibTeX
@misc{zheng2026sharedtokenlatents,
  title         = {Breaking the {KV} Cache Bottleneck in Looped Transformers with Shared Token Latents},
  author        = {Dehong Zheng and Tong Zhu and Yunkai Chai and Xiaoyang Chen and Zefeng He and Zhe Xu and Xuyang Hu and Xinyu Zhang and Zongliang Wu and Zhongzhi Zhang and Yafu Li and Yu Cheng},
  year          = {2026},
  eprint        = {2611.39694},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CL},
  url           = {https://arxiv.org/abs/2611.39694}
}