Erase-then-Delta Attention: Decoupling Erase and Write Addresses in Delta-Rule Linear Attention
On the map: Mixture-of-experts → Mixture of LoRA experts
Abstract (arXiv)
Delta-rule linear attention improves recurrent memory updates by correcting what is already stored at the current write address before writing new content. However, the active correction is still anchored to that same write address. As a result, stale information stored at a different address cannot be actively removed before new content is written elsewhere. We propose Erase-then-Delta Attention (EDA), a memory update rule that decouples where to erase from where to write. The key insight is that recurrent memory models should not only correct the current write, but also selectively suppress outdated memory at an independently chosen address. Concretely, our method first applies a targeted erase step along a learned erase direction, and then performs the standard delta-style corrective write along the current write direction. This preserves the corrective behavior of delta-rule updates while expanding their memory-management capacity. Language-model pretraining experiments across dense 2.5B and MoE 25B-A2.8B model families show that EDA performs best in both settings. The gain persists after 80B-token long-context midtraining of the MoE models, where EDA also performs best in long-context evaluations from 4k to 128k contexts. A compact update analysis and memory-state probes suggest why: EDA keeps the delta-rule corrective write intact while allocating an additional cleanup path most strongly when passive decay is weak. These results suggest that recurrent memory models should decide not only what to write, but also what stale information to erase and where.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Mixture of LoRA experts, one of 12 directions in Mixture-of-experts. Builds on 22 of its 25 references that are in the map. First posted on arXiv 25 Jun 2026.
Builds on
22 of 25 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,848
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
10 more
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 33
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026The Query Knows What to Forget: A Second Erase Direction for Linear Attentioncited by 1
- 2026TERN: A Delta-rule Memory with a Seasonal Reference and Online Adaptation for Epidemic Forecastingcited by 0
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memorycited by 0
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trendscited by 0
- 2026AMemOps: Evaluating Memory Updates in Long Audio Streamscited by 0
- 2026AMemOps: Evaluating Memory Updates in Long Audio Streams13 Oct 2026
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trends30 Sep 2026
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memory28 Sep 2026
- 2026TERN: A Delta-rule Memory with a Seasonal Reference and Online Adaptation for Epidemic Forecasting16 Sep 2026
- 2026The Query Knows What to Forget: A Second Erase Direction for Linear Attention13 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026DeltaLog: Deferred Materialization of Recurrent States for Linear Attention Decoding
- 2026GateSight: Recurrent Memory Anticipates Attention Memory for Query-Agnostic KV Eviction in Hybrid LLMs
- 2026Output Vector Editing for Memorization Mitigation in Large Language Models
- 2026Unlearning Is Not Just Erasing: Temporal Decoupling via Generation Inequality
- 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets
- 2024Simple linear attention language models balance the recall-throughput tradeoff
- 2026Adaptive Memory Decay for Log-Linear Attention
- 2026STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization