[2412.06464] Gated Delta Networks: Improving Mamba2 with Delta Rule
Abstract:Linear Transformers have gained attention as efficient alternatives to standard Transformers, but their performance in retrieval and long-context tasks has been limited. To address these limitations, recent work has explored two distinct mechanisms: gating for adaptive memory control and the delta update rule for precise memory modifications. We observe that these mechanisms are complementary: gating enables rapid memory erasure while the delta rule facilitates targeted updates. Building on this insight, we introduce the gated delta rule and develop a parallel training algorithm optimized for modern hardware. Our proposed architecture, Gated DeltaNet, consistently surpasses existing models like Mamba2 and DeltaNet across multiple benchmarks, including language modeling, common-sense reasoning, in-context retrieval, length extrapolation, and long-context understanding. We further enhance performance by developing hybrid architectures that combine Gated DeltaNet layers with sliding window attention or Mamba2 layers, achieving both improved training efficiency and superior task performance.
Published as a conference paper at ICLR 2025 G ATED D ELTA N ETWORKS : I MPROVING M AMBA 2 WITH D ELTA RULE Songlin Yang ∗ Jan Kautz Ali Hatamizadeh ⋆ MIT CSAIL NVIDIA NVIDIA yangsl66@mit.edu jkautz@nvidia.com ahatamizadeh@nvidia.com arXiv:2412.06464v3 [cs.CL] 6…
saved by
related reading
- DeltaNet Explained (Part I) | Songlin Yangsustcsonglin.github.io
- Parallelizing Linear Transformers with the Delta Rule over Sequence Lengtharxiv.org
- [2607.07953] Linear Attention Architectures: Mechanisms, Trade-offs, and Cross-Layer Routingarxiv.org
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- ali (@waterloo_intern) on Xx.com
- [2501.00663] Titans: Learning to Memorize at Test Timearxiv.org
- Kimi Linear: An Expressive, Efficient Attention Architecturearxiv.org
- Mamba: The Easy Wayjackcook.com
- Kimi Linear: An Expressive, Efficient Attention Architecturealphaxiv.org
- DeltaNet Explained (Part II) | Songlin Yangsustcsonglin.github.io
- Linear Transformers Are Faster After All – Manifest AImanifestai.com
- NL.pdfabehrouz.github.io