Research map / Architectures and efficiency / Attention and transformers
ReMamba: Equip Mamba with Effective Long-Sequence Modeling
Danlong Yuan, Jiahao Liu, Bei Li, Huishuai Zhang, Jingang Wang, Xunliang Cai, Dongyan Zhao
Peking University · Meituan · State Key Laboratory of General Artificial Intelligence
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add ReMamba selective compression and adaptation to Mamba-2.8B | Mamba-2.8B (SFT) · LongBench-E average | average score: 24.63 -> 27.86 | Improved |
| add ReMamba to Mamba-2.8B | Mamba-2.8B (SFT) · L-Eval closed-ended average | average score: 22.19 -> 23.83 | Improved |
| apply ReMamba to Mamba2 | Mamba2 (SFT) · LongBench-E average | average score: 24.69 -> 26.33 | Improved |
| replace learned importance-based selective adaptation with random or fixed selection of hidden states (ablation) | ReMamba · LongBench average, varying max length 2k-9k | average score | Hurt |
| add the selective adaptation module (importance scores into Delta) instead of multiplicative selection (ablation) | ReMamba · LongBench average, varying max length 2k-9k | average score | Improved |
| compress from the start (s=0) instead of a later start position (ablation) | ReMamba · LongBench-E average | average score: 25.96 -> 27.86 (s=0.2: 26.86) | Improved |
| compress the whole prompt and append the compressed states at the end (ablation) | ReMamba · LongBench-E average | average score: 27.86 -> 15.76 | Hurt |
| replace random hidden states for part of context (random Mamba) vs normal Mamba, both fine-tuned (ablation) | Mamba (SFT) · LongBench average across context lengths | average score | No clear effect |
| apply ReMamba, with longer inputs | Mamba (SFT) · LongBench, max length 2k to 9k | average score | Improved |
| fine-tune DeciMamba2.8b on the same data | Mamba-2.8B · LongBench-E average / L-Eval average | average score: 24.63 -> 16.36 (LongBench); 22.19 -> 21.07 (L-Eval) | Hurt |
| Mamba2 instead of Mamba as base model | Mamba (SFT) · LongBench-E average | average score: 24.63 -> 24.69 | No clear effect |
Open problems this paper states
- “Mamba is unlikely to outperform transformers as context length increases, due to its fixed-size state.” → Long-context recall and retrieval still lag attention. (an open problem in state space and recurrent sequence models)
Open problems in state space and recurrent sequence models
Do state space and recurrent models keep their efficiency and recall at large scale and long context?
- Experiments stop at small models, around 1.3B parameters or less. · 24 papers state it
- Theory covers simplified models, not the architectures used in practice. · 13 papers state it
- Kernels are naive or unoptimized, so speed gains are not realized. · 10 papers state it
Closest papers by meaning
- LongMamba: Enhancing Mamba's Long-Context Capabilities via Training-Free Receptive Field Enlargement (ICLR 2025 · similarity 0.93)
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025 · similarity 0.90)
- MambaLRP: Explaining Selective State Space Sequence Models (NeurIPS 2024 · similarity 0.88)
- Can Mamba Learn How To Learn? A Comparative Study on In-Context Learning Tasks (ICML 2024 · similarity 0.88)
- Block-Biased Mamba for Long-Range Sequence Processing (NeurIPS 2025 · similarity 0.87)
- ReAttention: Training-Free Infinite Context with Finite Attention Scope (ICLR 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.