The Extender: A Log-Structured Transformer
Jakob Eriksson
Key points
From the paper's conclusion- We introduce the Extender, a log-structured variant of the standard Transformer architecture.
Abstract
We introduce the Extender, a log-structured variant of the standard Transformer architecture. In a standard Transformer, each layer communicates with subsequent layers exclusively via the residual $\mathbf{h}$, a superposition channel. The Extender adds a concatenation channel $\mathbf{x}$: each layer $\ell$ emits both a residual update $δ_\ell$ which is added to $\mathbf{h}$, and a much smaller extension $ε_\ell$ which is appended to $\mathbf{x}$. While both the FFN and $\mathbf{q}$ see $\mathbf{h}$, the attention $\mathbf{kv}$ projections take only $\mathbf{x}$ as input. As a result, the fully extended $\mathbf{x}$ contains the complete input for the $\mathbf{kv}$ projections of all layers, reducing the persistent attention memory footprint from $2Ld_{model}$ to $\sum|ε_\ell|$. We find that with $|ε_\ell|=32$, the Extender matches Transformer accuracy on short-context (CORE) tasks at 199M-924M parameters, and exceeds Transformer accuracy on long-context (RULER) workloads, again at 924M parameters. For our 1664-wide, 924M model, the Extender's persistent attention memory footprint is $104\times$ smaller than MHA. The memory savings grow with model width.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-Branch TransformerarXiv · 2026
- Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time TrainingarXiv · 2026
- LimeTree: Linear-Memory Graph Neural Networks over Tree-Graphs for Resource-Efficient Language Modeling and Context ExtrapolationarXiv · 2026
- Pretraining Latent Information Feedback Transformers with Teacher SupervisionarXiv · 2026
- Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory ModulesarXiv · 2026
- Loopback Transformer: Towards a Unified View of Residual Looped TransformersarXiv · 2026