Gated Delta Networks: Improving Mamba2 with Delta Rule
Yang, Songlin, Kautz, Jan, Hatamizadeh, Ali
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Dec-9-2024
- Country:
- Africa > Rwanda
- Asia
- China > Hong Kong (0.04)
- Indonesia > Bali (0.04)
- Middle East > Israel
- Haifa District > Haifa (0.04)
- Singapore (0.04)
- Europe
- North America
- Canada > British Columbia
- Mexico > Mexico City
- Mexico City (0.04)
- United States
- Hawaii > Honolulu County
- Honolulu (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Maryland > Baltimore (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- New York > New York County
- New York City (0.04)
- Hawaii > Honolulu County
- Oceania > Australia
- Genre:
- Research Report (0.42)
- Industry:
- Education (0.47)
- Technology: