Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration
Abstract
Linear attention replaces softmax attention with a linear formulation, enabling linear-time computation with a fixed-size recurrent state instead of a growing key-value cache. These computational and memory advantages have attracted growing interest in linear attention for long-context language modeling. However, compressing past information into a fixed-size state causes memory collisions that hinder long-context understanding. Although DeltaNet mitigates memory collisions through delta-rule updates and Gated DeltaNet extends this approach with gating, these mechanisms may also discard information relevant to future predictions. To address this limitation, we introduce Integral DeltaNet, which maintains two complementary recurrent states: a fast-updating delta state that captures current key-value associations and an integral state that preserves a weighted history of the delta state. At readout, the model adaptively combines these states to access information across different timescales. We further derive a chunkwise parallel formulation that enables hardware-efficient training. We evaluate Integral DeltaNet using 340M and 1.3B parameter models trained from scratch on 15B and 100B FineWeb-Edu tokens, respectively. Comparisons with strong recurrent baselines show improved overall performance in language modeling, commonsense reasoning, real-world and synthetic retrieval, long-context understanding, and length extrapolation. We also compare training throughput and activation memory, as well as decoding latency and memory.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 18 pages
Related papers
Sample-Efficient In-Context Adaptation via Sleep
Shared title terminologycs.LGSangyun Lee, Zhang Enyan, Michael Xu et al.
SGD with Large Learning Rates: General Analysis & Improved Rates
Shared title terminologycs.LGKonstantinos Emmanouilidis, Ziqing Xu, Salma Tarmoun et al.
Gated Concept Adapters: Layer-Wise Concept Bottlenecks for Auditable Text Understanding
Shared title terminologycs.LGNiloofar Ranjbar, Saeedeh Momtazi, Mohammad Mehdi Homayounpoor
InducedTFMs: A Family of Sub-Quadratic Tabular Foundation Models Using Induced Attention
Shared title terminologycs.LGSalome Gobbi, Nicolas Atienza, Nicola Cancedda et al.
Optimal Transport Meets t-SNE: Integrated Visualization without Batch Effects in OT-tSNE
Shared title terminologycs.LGAzhar Akhmetova, Edward Eichhorn, Boris Landa et al.
Evolve to Learn: Gradient-aligned experience evolution for model self-improvement
Shared title terminologycs.LGHaoyuan Li, Gangyi Zhang, Dong Wang et al.