Reproduce “DeciMamba: Exploring the Length Extrapolation Potential of Mamba” 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
Assaf Ben-Kish, Itamar Zimerman, Shady Abu-Hussein, Nadav Cohen, Amir Globerson, Lior Wolf, Raja Giryes
DeciMamba extends Mamba’s use of long contexts by scoring tokens with the model’s input-dependent Δt signal and retaining selected tokens before later layers process them. In Passkey Retrieval, 130M models fine-tuned on 2K-token sequences achieved 100% versus Mamba’s 0% at 128K. On an RTX A6000, time fell from 2.12 to 1.08 seconds, but compression may discard task-critical information.
Key insights
- Mamba's effective receptive field (ERF) is limited by its training sequence length, despite its recurrent state, due to an exponential growth of the sum of its internal ∆t parameters.
- The ∆t parameter within Mamba's S6 layer can be interpreted as a data-dependent indicator of token importance, suitable for selective information retention.
- Post-training context extension for Mamba can be effectively achieved by dynamically pooling the most important tokens in specific layers, significantly improving long-context capabilities without costly re-training.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.