Reproduce “Gated Delta Networks: Improving Mamba2 with Delta Rule” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Songlin Yang, Jan Kautz, Ali Hatamizadeh
Gated DeltaNet combines targeted delta-rule updates with a data-dependent gate that can decay old recurrent state. It stores key–value information in a compact memory and is tested on synthetic and real-world retrieval tasks. At 4K tokens, it reaches 92.2% on number retrieval, versus 56.2% for Mamba2 and 18.6% for DeltaNet. At 8K, the score falls to 29.6%, and real-world results remain mixed.
Key insights
- The scalar gating term from Mamba2, enabling rapid memory clearance, and the delta rule from DeltaNet, facilitating precise, selective updates, are complementary for effective memory management in sequence models.
- The proposed gated delta rule can be interpreted within an online learning framework, where the gating term acts as an adaptive weight decay in the SGD update for the fast weight matrix.
- Hybrid architectures that combine the gated delta rule with other token mixing mechanisms, such as sliding window attention (SWA) or Mamba2 layers, can leverage distinct strengths for enhanced performance and efficiency.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.