atlas

Research map / Architectures and efficiency / Attention and transformers

LongMamba: Enhancing Mamba's Long-Context Capabilities via Training-Free Receptive Field Enlargement

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Mamba architectures · 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.

Proposes LongMamba, a training-free method that identifies global hidden-state channels in Mamba models and filters low-Δ tokens from their state updates to enlarge receptive fields beyond the training length.

Problem

Mamba/SSM language models underperform Transformers on long-context understanding and fail to generalize beyond their training sequence length because global hidden-state channels suffer exponential cumulative decay.

Approach

Classify hidden channels as local or global by cumulative decay over the training length, then for global channels skip state updates for tokens with small Δ_t (setting A'=1, B'=0), with a per-channel lookup table g(S) calibrated so the cumulative decay at length S matches that at training length L.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply LongMamba instead of vanilla inferenceMamba-1.4B · LongBench-Eaverage accuracy (%): 8.37 -> 17.33Helped
apply LongMamba instead of DeciMambaMamba-1.4B · LongBench-Eaverage accuracy (%): 13.38 -> 17.33Helped
apply LongMamba instead of vanilla inferenceMamba2-1.3B · LongBench-Eaverage accuracy (%): 8.21 -> 17.34Helped
apply LongMamba instead of vanilla inferenceZamba2-1.2B · LongBench-Eaverage accuracy (%): 11.43 -> 17.82Helped
apply LongMamba instead of vanilla inferenceZamba2-1.2B · RULER 16kaverage accuracy (%): 7.00 -> 31.58Helped
apply LongMamba instead of vanilla inferenceZamba2-1.2B · RULER 24kaverage accuracy (%): 7.04 -> 22.22Helped
apply LongMamba instead of vanilla inferenceZamba2-1.2B · RULER 32kaverage accuracy (%): 2.72 -> 13.83Helped
apply LongMamba instead of vanilla inferenceFalcon-Mamba-7B · LongBenchaverage accuracy: 23.4 -> 26.2Helped
set channel selection threshold θ to 5.0×10^-2 rather than 7.5×10^-2 (ablation)LongMamba on Mamba2-1.3B · LongBench-Eaverage accuracy (%): 16.81 -> 17.34Helped
vary channel selection threshold θ across 7.5×10^-2 to 7.5×10^-3 (ablation)LongMamba on Mamba2-1.3B · LongBench-Eaverage accuracy (%): accuracy gap remains within 1.2%No clear effect
set channel selection threshold θ to 1.0×10^-5 rather than 5.0×10^-2 (ablation)LongMamba on Mamba2-1.3B · LongBench-Eaverage accuracy (%): 17.34 -> 14.87Hurt
vary the randomly sampled calibration sequence group (ablation)LongMamba on Mamba2-1.3B · LongBench-Eaverage accuracy (%): STD 0.42%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Pile PG-19 RULER LongBench-E LongBench

Benchmarks: PG-19 RULER LongBench-E LongBench

Metrics: perplexity accuracy prefilling latency

Baselines: Vanilla Mamba-1.4B Vanilla Mamba2-1.3B Vanilla Zamba2-1.2B DeciMamba Llama2-7B-chat-4k XGen-7B-8k Vicuna-v1.5-7B-16k

Builds on: Mamba Mamba-2 DeciMamba

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