Keyless Attention: Value-Space Routing and Value-Only Caching for Efficient Transformers

Xin Gao, Xingming Xu
6/20/2026
cs.CLcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

Transformer architectures form the foundation of modern natural language processing, yet the Key-Value (KV) cache introduces substantial memory and bandwidth overhead during long-context generation, increasingly bottlenecking large-scale deployment. We propose Keyless Attention, a novel attention mechanism that replaces the conventional key projection with a dedicated value-space routing projection, eliminating key representations from the attention computation entirely and yielding a Value-Only Cache that reduces KV-cache memory by 50% while improving decode throughput.

Show full abstract

Experiments across multiple models and architectures demonstrate that Keyless Attention achieves comparable perplexity and downstream task performance to standard QKV attention, while consistently reducing KV-cache memory by 50%. Furthermore, Keyless Attention exhibits slower validation loss degradation after the best epoch, indicating improved robustness against overfitting. Ablation studies confirm that the dedicated value-space routing projection is critical, with Keyless Attention outperforming KV-sharing methods that eliminate the key cache without replacing its routing role. Experiments in the pretraining regime further confirm the viability of Keyless Attention in industrial settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gao2026keyless,
  title  = {Keyless Attention: Value-Space Routing and Value-Only Caching for Efficient Transformers},
  author = {Xin Gao and Xingming Xu},
  year   = {2026},
  eprint = {2606.21848},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.21848v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.21848.svg)](https://codeofpaper.com/paper/2606.21848)

Discussion