Block-Biased Mamba for Long-Range Sequence Processing
Annan Yu, N. Benjamin Erichson
TL;DR
This work analyzes why Mamba underperforms on long-range sequence tasks through expressiveness, inductive bias, and training stability perspectives, establishing that shared channel weights and input-dependent dynamics limit effective width and memory retention. It then introduces Block-Biased-S6 (B2S6), which combines a block-structured, multihead-like setup with channel-specific bias to restore expressiveness and provide a gentler inductive bias, while stabilizing training. Theoretical results show B2S6 regains universal approximation properties under block or bias components and exhibits a milder inductive bias (robust to large input magnitudes) with improved stability, complemented by training strategies. Empirically, B2S6 achieves state-of-the-art performance on Long-Range Arena benchmarks and matches Mamba’s language-modeling perplexity on SlimPajama, indicating strong cross-domain applicability and improved long-range processing. Overall, the paper advances long-range sequence modeling by introducing a principled extension to Mamba that enhances expressiveness and stability without sacrificing versatility for language tasks.
Abstract
Mamba extends earlier state space models (SSMs) by introducing input-dependent dynamics, and has demonstrated strong empirical performance across a range of domains, including language modeling, computer vision, and foundation models. However, a surprising weakness remains: despite being built on architectures designed for long-range dependencies, Mamba performs poorly on long-range sequential tasks. Understanding and addressing this gap is important for improving Mamba's universality and versatility. In this work, we analyze Mamba's limitations through three perspectives: expressiveness, inductive bias, and training stability. Our theoretical results show how Mamba falls short in each of these aspects compared to earlier SSMs such as S4D. To address these issues, we propose $\text{B}_2\text{S}_6$, a simple extension of Mamba's S6 unit that combines block-wise selective dynamics with a channel-specific bias. We prove that these changes equip the model with a better-suited inductive bias and improve its expressiveness and stability. Empirically, $\text{B}_2\text{S}_6$ outperforms S4 and S4D on Long-Range Arena (LRA) tasks while maintaining Mamba's performance on language modeling benchmarks.
