← All entries
Paper2026#617

Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention

Summary

NVIDIA linear-attention layer that generalizes Gated DeltaNet and Kimi Delta Attention by replacing the tied scalar delta gate with a key-side erase gate b_t and a value-side write gate w_t, keeping channel-wise decay. Recovers KDA when both gates collapse to the same scalar and Gated DeltaNet when decay is scalar too. Derives a fast-weight view, chunkwise WY algorithm, and gate-aware backward. At 1.3B on 100B FineWeb-Edu tokens, strongest overall vs Mamba-2/GDN/KDA/Mamba-3 on LM, commonsense, and retrieval; largest gains on RULER multi-key NIAH. Recurrent real-world retrieval avg 29.88 vs KDA 28.67; hybrid 42.28 vs 40.14. Code NVlabs/GatedDeltaNet-2.

Venue
arXiv / NVIDIA
Source
arxiv
Access
free
Language
en
Purpose
Separate channel-wise erase and write gates in the delta-rule memory update
Scale
1.3B params, 100B FineWeb-Edu tokens, 4K train length. GitHub 264 stars / 28 forks at check.
Time period
arXiv 2605.22791 (2026-05-21). Discord posted the GitHub PDF 2026-05-22. Repo created 2026-05-08.
Author type
human
Added
Aug 14, 2026
Verified
Aug 14, 2026
Research status
done
Found via
#random-papers

From the source

Published
May 21, 2026
arXiv categories
cs.AI
Author comment
Gated DeltaNet-2 technical report; code at https://github.com/NVlabs/GatedDeltaNet-2
Citations
26 (5 influential)
References
53

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

Linear attention replaces the unbounded cache of softmax attention with a fixed-size recurrent state, reducing sequence mixing to linear time and decoding to constant memory. The hard part is not just what to forget, but how to edit this compressed memory without scrambling existing associations. Delta-rule models subtract the current read before writing a new value, and Kimi Delta Attention (KDA) sharpens forgetting with channel-wise decay. But the active edit still uses a single scalar gate to control two different things: how much old content to erase on the key side and how much new content to commit on the value side. We introduce Gated DeltaNet-2, which generalizes both Gated DeltaNet and KDA by inheriting adaptive forgetting and channel-wise decay while addressing their shared limitation, the scalar tie between erasing and writing. Gated Delta Rule-2 separates these roles with a channel-wise erase gate b_t and a channel-wise write gate w_t, reducing to KDA when both gates collapse to the same scalar and to Gated DeltaNet when the decay also collapses. We derive a fast-weight update view, a chunkwise WY algorithm with channel-wise decay absorbed into asymmetric erase factors, and a gate-aware backward pass that preserves efficient parallel training. At 1.3B parameters trained on 100B FineWeb-Edu tokens, Gated DeltaNet-2 achieves the strongest overall results among Mamba-2, Gated DeltaNet, KDA, and Mamba-3 variants across language modeling, commonsense reasoning, and retrieval. Its advantage is most pronounced on long-context RULER needle-in-a-haystack benchmarks, where it improves the evaluated multi-key retrieval setting and remains strong in both recurrent and hybrid settings. Code is available at https://github.com/NVlabs/GatedDeltaNet-2.

Tags

gated-deltanetkdamambalinear-attentionnvidiadelta-rule

Topics

linear attention, delta rule, recurrent LMs

Research notes

  • Primary: arxiv abs 2605.22791. Discord posted https://t.co/Zw6yXbHjGU which resolves to https://github.com/NVlabs/GatedDeltaNet-2/blob/main/paper/GDN2_paper.pdf. Code GitHub SPDX Other / NVIDIA Source Code License-NC per README coverage; license field left blank rather than guess SPDX. Architecture/code item trained on public FineWeb-Edu, not a new hosted corpus, so no datasets_local row.

Other records of the same thing

Similar entries