Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention
Summary
Gated DeltaNet-2 introduces separate erase and write gates for linear attention, achieving superior performance in long-context language modeling and retrieval tasks.
View Cached Full Text
Cached at: 05/22/26, 02:29 AM
Paper page - Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention
Source: https://huggingface.co/papers/2605.22791
Abstract
Gated DeltaNet-2 improves upon existing linear attention models by separating erase and write operations through distinct channel-wise gates, achieving superior performance in long-context language modeling and retrieval tasks.
Linear attentionreplaces the unbounded cache ofsoftmax attentionwith a fixed-sizerecurrent 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 modelssubtract the current read before writing a new value, andKimi Delta Attention(KDA) sharpens forgetting withchannel-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 introduceGated DeltaNet-2, which generalizes bothGated DeltaNetand KDA by inheriting adaptive forgetting andchannel-wise decaywhile addressing their shared limitation, the scalar tie between erasing and writing. Gated Delta Rule-2 separates these roles with a channel-wiseerase gateb_t and a channel-wisewrite gatew_t, reducing to KDA when both gates collapse to the same scalar and toGated DeltaNetwhen the decay also collapses. We derive afast-weight updateview, achunkwise WY algorithmwithchannel-wise decayabsorbed into asymmetric erase factors, and agate-aware backward passthat preserves efficient parallel training. At 1.3B parameters trained on 100B FineWeb-Edu tokens,Gated DeltaNet-2 achieves the strongest overall results amongMamba-2,Gated DeltaNet, KDA, andMamba-3variants across language modeling, commonsense reasoning, and retrieval. Its advantage is most pronounced on long-contextRULERneedle-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.
View arXiv pageView PDFGitHub19Add to collection
Get this paper in your agent:
hf papers read 2605\.22791
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2605.22791 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2605.22791 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2605.22791 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Qwen3.8-FN at NVFP4 ( Basalt vs cachy-flash vs ninfer-ext)
对 Qwen3.8-Flash-Next NVFP4 模型在单张 RTX 5090 上的三个推理引擎(basalt、capy-flash、ninfer-ext)进行全 262k 上下文基准测试,basalt 在所有上下文长度和两种解码模式下均领先(prefill 8.1k-9.2k tok/s,greedy decode 176-265 tok/s),解码排名与 MTP 草稿接受率一致。
@AdinaYakup: Ant group keeps shipping They just released weights for Ling-3.0-flash-Sante A new open medical reasoning model - 124B/…
蚂蚁集团发布了 Ling-3.0-flash-Sante 的模型权重,这是一个开放的医疗推理模型,采用 124B 总参数 / 5.1B 激活参数的 MoE 架构,支持 256K 上下文,采用 MIT 许可证,具备 agentic 深度研究与工具使用能力。
Ant Ling just announced a second model today: Ling-3.0-flash-Sante (124B, 5.1B active)
InclusionAI (Ant Group) announced Ling-3.0-flash-Sante, a 124B-parameter (5.1B active) healthcare-focused model with a 256K context window for medical reasoning, literature research, and tool-assisted workflows, with weights released on Hugging Face.
inclusionAI/Ling-3.0-flash-Sante · Hugging Face
蚂蚁集团 inclusionAI 发布医疗专用模型 Ling-3.0-flash-Sante,基于 Ling-3.0-flash 构建,采用 124B 总参数/5.1B 激活参数的混合线性 MoE 架构,支持 256K 长上下文,面向医疗推理、深度研究和工具辅助工作流,权重已在 Hugging Face 与 ModelScope 开放。
@AdinaYakup: Happy to see another on device model Spark-X2.6-4B from @SparkLLM - 4B + Apache 2.0 - Up to 1M context - 3 thinking mod…
SparkLLM 釋出 Spark-X2.6-4B 端側模型,具備 4B 參數、Apache 2.0 授權、最高 1M context 與 3 種思考模式,並支援 GGUF 本地部署。