# Memory Attention

- **ID:** 728
- **Kind:** paper
- **URL:** https://www.alphaxiv.org/abs/2609.28399
- **Authors:** Jiale Kang
- **Venue:** arXiv:2609.28399 (via alphaXiv)
- **Published:** 2026
- **Source:** web
- **Language:** en
- **Access:** public
- **Tags:** attention, memory, architecture, efficiency
- **Topics:** attention, memory, architecture, efficiency
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/728

## Summary

Memory Attention (Jiale Kang) replaces the Transformer's learned value projection with V = K + Norm(E[s]) — the sum of contextual keys and layer-specific token-indexed memory vectors. Under matched training budgets it beats standard attention on WikiText perplexity and downstream average while enabling CPU offloading of the memory tables, trading parameter storage for lookup-based capacity.

## From the source (fetched 2026-10-03)

- **Published:** Sep 23, 2026 (arXiv)
- **arXiv categories:** cs.LG (arXiv)
- **Citations:** 0 (Semantic Scholar)
- **References:** 14 (Semantic Scholar)

## Abstract

Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. We investigate whether token-indexed memory can replace the dedicated value projection when complemented by contextual information. We propose Memory Attention (MA), which forms values by combining layer-specific token memory with contextual keys. The memory supplies token-specific representations, while the keys preserve context dependence. At inference, normalization can be folded into the memory tables, reducing value construction to lookup and addition. Token-indexed retrieval also enables CPU offloading with prefetching, reducing GPU parameter storage. Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance.

## Research notes

- Method: Remove the learned value projection; instead retrieve a learned vector by token ID from a per-layer embedding table, RMSNorm it per token/head, and add it to the contextual key. Keep standard attention weighting/aggregation (RoPE applied to Q/K before values are formed).
- Key findings: V = K + Norm(E[s]): values formed by adding layer-specific token-indexed memory to contextual keys; each layer has its own table, same token → same row across positions/contexts; At matched 10B-token training budgets: better WikiText perplexity and higher downstream average than standard attention, at the cost of more parameters; At inference, normalization folds into the tables → value construction is lookup + addition; MA-Offload: tables stored on CPU/SSD with prefetching, cutting GPU parameter storage; MA-Recall: reconstruct values from retained keys + memory to cut value-cache storage
- Limitations: Single-author paper; more total parameters than baseline; latency cost of CPU offload depends on retrieval/transfer overlap with compute — not yet benchmarked at scale.
- Related to Value Embedding, DeepEmbed, Per-Layer Embeddings, STEM, Engram — but replaces rather than supplements the value projection.

## Similar entries

- [Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation](https://papers.projxon.ai/entries/735) (paper, #735)
- [MoBA: Mixture of Block Attention for Long-Context LLMs](https://papers.projxon.ai/entries/707) (paper, #707)
- [KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)](https://papers.projxon.ai/entries/1066) (idea, #1066)
- [High-Dimensional Learning Dynamics of Attention-Indexed Models](https://papers.projxon.ai/entries/823) (paper, #823)
- [Emergent One-Third Scaling Law as Attention Tries to Concentrate](https://papers.projxon.ai/entries/852) (paper, #852)
- [>10x More Efficient Pretraining](https://papers.projxon.ai/entries/702) (post, #702)
