Reproduce “Erase-then-Delta Attention: Decoupling Erase and Write Addresses in Delta-Rule Linear Attention” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiao Li, Chengruidong Zhang, Hao Luo, Xi Lin, Zekun Wang, Zihan Qiu, Yunfei Mao, Langshi Chen and 10 more

The paper introduces Erase-then-Delta Attention, a recurrent attention method that adds a learned, independently addressed erase step before the usual corrective write. This lets compressed memory suppress stale associations without changing the write operation. After 400B-token pretraining, its MoE 25B-A2.8B model averages 49.38% across six benchmarks versus 48.31% for KDA, but not universally.

Key insights

  • The independent erase path is primarily activated when passive diagonal decay is weak, suggesting its role as a conditional cleanup mechanism that compensates for insufficient general retention.
  • The learned erase address ($e_t$) performs a controlled cleanup operation, causing minimal collateral perturbation to the memory readout compared to counterfactual erase directions.
  • The erase address ($e_t$) and write key ($k_t$) remain distinct with low cosine similarity, confirming that the model learns to use genuinely independent addresses for erasure and writing.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.