atlas

Research map / Architectures and efficiency / Attention and transformers

DeciMamba: Exploring the Length Extrapolation Potential of Mamba

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse efficient transformers for long context · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows Mamba's length extrapolation is limited by an effective receptive field tied to training length, and proposes DeciMamba, a training-free context-extension method that pools tokens inside S6 layers using the Δ_t gate norms.

Problem

Mamba models, despite sub-quadratic cost, generalize poorly to sequences longer than those seen in training because their effective receptive field (ERF) collapses beyond the training length.

Approach

Use the per-token selective step size Δ_t as an importance score and keep only the top-P tokens before the S6 layers in deeper "global" layers (pre-fill only), so each decimated layer operates on sequence lengths similar to those seen in training; this extends context without retraining.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply delta-based token decimationMamba-2.8B Zephyr · TriviaQA (LongBench, LB)F1: 3.93 -> 12.61Helped
Apply delta-based token decimationMamba-130M · Multi-document retrieval, 10 documentsaccuracy: 68.3 -> 67.7Hurt
Apply delta-based token decimationMamba-130M · Multi-document retrieval, 100 documentsaccuracy: 5.7 -> 37.0Helped
Apply delta-based token decimationMamba-130M · Multi-document QA, 100 documentsF1: 7.5 -> 18.1Helped
Apply delta-based token decimationMamba-2.8B · PG-19 test, 80K contextperplexity: inf -> 27.43Helped
Apply delta-based token decimationMamba-130M · Passkey Retrieval, 128Ksuccess rate: ✗ -> ✓Helped
Apply delta-based token decimationMamba-130M · Passkey Retrieval, inference at 512Kinference time (seconds): 8.17 -> 4.22Helped
Replace Top-Ps pooling with Top-K% pooling (ablation)DeciMamba-130M · Passkey Retrieval, extrapolationmaximum extrapolation length: 128K vs 32KHurt
Use delta-based pooling instead of max-norm pooling (ablation)Mamba-1.4B · PG-19 zero-shotperplexityHelped
Use random pooling instead of processing the full sequence (ablation)Mamba-1.4B · PG-19 zero-shot, longer contextsperplexityHelped
Add decimation during decoding (ablation)DeciMamba · GovReport (LongBench, LB)Rouge-L: 14.9 -> 14.7No clear effect
Set beta to 0.75 rather than 1 (ablation)DeciMamba-130M · Passkey Retrievalsuccess rate: 1.0 -> 0.975No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: WikiText-103 SQuAD v2 PG-19 Pile LongBench

Benchmarks: LongBench Passkey Retrieval Multi-Document Retrieval and QA (SQuAD v2-based) PG-19 perplexity

Metrics: accuracy F1 Rouge-L perplexity inference time

Baselines: Mamba Pythia max-norm pooling random pooling Top-K% pooling

Builds on: Mamba S6 selective state-space layers Landmark Attention LongLoRA Vision Transformer attention mean distance

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy