ResearchBy

Shared token representations shrink looped Transformers’ KV cache

In an arXiv preprint, Dehong Zheng, Tong Zhu, Yunkai Chai and colleagues propose Token-Anchored Latent Attention for Transformers that repeatedly process the same sequence. The method shares a base representation for each token across layers and passes, with smaller representations that vary by stage. When trained on the same number of tokens as standard looped Transformers, the authors’ models used roughly one-twelfth the key-value cache storage and 28.4% fewer training operations. They also recorded lower validation loss and higher average scores on the commonsense and RULER-NIAH benchmarks used in the study.

Why it matters

Repeated passes normally add to the memory needed for attention. The experiments show how much sharing token representations reduced that cost in the tested models.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet