State-space models (SSMs) offer a promising architecture for sequence modeling, providing an alternative to Transformers by replacing expensive self-attention with linear recurrences. In this paper, we propose a simple yet effective trick to enhance SSMs within given computational budgets by sparsifying them. Our intuition is that tokens in SSMs are highly redundant due to gradual recurrent updates, and dense recurrence operations block the delivery of past information. In particular, we observe that upper layers of SSMs tend to be more redundant as they encode global information, while lower layers encode local information. Motivated by this, we introduce Simba, a hierarchical sparsification method for SSMs based on token pruning. Simba sparsifies upper layers more than lower layers, encouraging the upper layers to behave like highways. To achieve this, we propose a novel token pruning criterion for SSMs, measuring the global impact of tokens on the final output by accumulating local recurrences. We demonstrate that Simba outperforms the baseline model, Mamba, with the same FLOPS in various natural language tasks. Moreover, we illustrate the effect of highways, showing that Simba not only enhances efficiency but also improves the information flow across long sequences. Code is available at https://github.com/woominsong/Simba.
In an SSM, the state update depends only on the current input and the previous state, so each state must compress all previous information. States at nearby positions therefore compress a similar set of information and are likely to be redundant.
Measuring the cosine similarity between adjacent tokens of Mamba-2.8b shows that this redundancy is stronger in the upper layers. A possible explanation is that lower layers focus on local information while upper layers encode global information, so nearby upper-layer states end up carrying similar content.
Cosine similarity between adjacent tokens of Mamba-2.8b across layers, averaged over documents from the PG-19 test set.
Simba prunes tokens at each layer of a pre-trained SSM, without any fine-tuning. Pruned tokens are not propagated to the next layer, so applying pruning from lower to upper layers makes the network increasingly sparse toward the top. With a linear pruning schedule, the number of active tokens decreases linearly across layers, resulting in a trapezoidal-shaped network.
To decide which tokens to prune, Simba measures the influence of each token on the output of the final token. Thanks to the linear recurrence of SSMs, removing token $x_t$ changes the final output $y_T$ by
$$\Delta y_T(t) = C_T \left(\prod_{k=t+1}^{T} \bar{A}_k \right) \bar{B}_t x_t .$$
The pruning score is $s(t) = \max(\Delta y_T(t))$, and the tokens with the lowest scores are removed at each layer. The score is computed per input sequence during inference, so no external pruning data is needed.
Dense recurrence operations tend to attenuate earlier information, which limits information flow between distant tokens. Sparsification reduces the number of recurrence operations in the upper layers, so these layers process fewer, more important tokens and can carry information from early tokens more directly.
We sparsify pre-trained Mamba models of various scales with a linear pruning schedule that keeps 10% of the tokens at the final layer, and compare them with Mamba and Pythia models that use a similar amount of computation.
On six NLP benchmarks, Simba gives a better FLOPs-accuracy trade-off than Mamba and Pythia across all model scales.

Lambada

HellaSwag

PIQA

Arc-Easy

Arc-Challenge

WinoGrande
FLOPs-accuracy curves of Mamba, Pythia, and Simba models of various scales.
| Model | Scale | FLOPs (×1e12) | Lbd. perp. (↓) | Lbd. acc. | HS acc. | PIQA acc. | Arc-E acc. | Arc-C acc. | WG acc. | Avg. acc. |
|---|---|---|---|---|---|---|---|---|---|---|
| Simba (ours) | 130m | 0.23 | 31.63 | 36.28 | 35.29 | 64.64 | 49.12 | 24.66 | 49.96 | 43.32 |
| Pythia | 160m | 0.66 | >102 | 22.21 | 30.42 | 62.46 | 45.29 | 22.95 | 50.36 | 38.95 |
| Mamba | 130m | 0.53 | 35.81 | 31.84 | 34.88 | 64.36 | 50.76 | 23.72 | 49.80 | 42.56 |
| Simba (ours) | 370m | 0.75 | 16.79 | 45.10 | 46.72 | 69.59 | 58.84 | 28.07 | 55.41 | 50.62 |
| Pythia | 410m | 1.86 | 25.65 | 38.22 | 40.95 | 68.06 | 56.73 | 26.45 | 53.51 | 47.32 |
| Mamba | 370m | 1.51 | 12.34 | 46.61 | 46.46 | 69.59 | 59.05 | 27.47 | 55.80 | 50.83 |
| Simba (ours) | 790m | 1.67 | 10.10 | 51.84 | 54.82 | 72.25 | 65.40 | 32.42 | 58.17 | 55.82 |
| Pythia | 1b | 4.27 | 16.01 | 42.27 | 47.92 | 71.44 | 60.65 | 29.61 | 52.88 | 50.80 |
| Mamba | 790m | 3.24 | 9.44 | 51.33 | 55.12 | 72.47 | 65.49 | 32.76 | 57.54 | 55.78 |
| Simba (ours) | 1.4b | 2.95 | 8.41 | 55.61 | 58.61 | 73.34 | 65.32 | 34.47 | 58.72 | 57.68 |
| Pythia | 1.4b | 6.19 | 10.35 | 49.46 | 53.54 | 70.89 | 65.32 | 33.02 | 57.38 | 54.94 |
| Mamba | 1.4b | 5.60 | 7.31 | 56.43 | 59.60 | 74.05 | 66.50 | 36.18 | 60.14 | 58.82 |
| Simba (ours) | 2.8b | 6.07 | 6.29 | 60.06 | 65.70 | 75.46 | 71.21 | 38.99 | 63.61 | 62.51 |
| Pythia | 2.8b | 12.21 | 7.69 | 54.93 | 60.85 | 74.37 | 68.10 | 36.26 | 60.93 | 59.24 |
| Mamba | 2.8b | 11.31 | 5.80 | 60.85 | 66.73 | 76.12 | 71.97 | 39.93 | 63.69 | 63.21 |
Full results on Lambada (Lbd.), HellaSwag (HS), PIQA, Arc-Easy (Arc-E), Arc-Challenge (Arc-C), and WinoGrande (WG). Bold denotes the best results within each group of similar FLOPs.
We measure perplexity on fixed 100-token snippets from PG-19, conditioned on contexts of different lengths. Simba achieves lower perplexity than Mamba with similar computation. Unlike Mamba, its perplexity keeps decreasing beyond the pre-trained context limit of 2k tokens. Because the upper layers process far fewer tokens, they are less affected by the shift in input length.

Mamba-130m and Simba-370m

Mamba-370m and Simba-790m

Mamba-790m and Simba-1.4b

Mamba-1.4b and Simba-2.8b
Perplexity on the PG-19 test set for Simba and Mamba models that use similar computation.
| Within context | Extrapolation | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Model | Scale | FLOPs (×1e12) | 0.5k | 1k | 1.5k | 2k | 2.5k | 3k | 3.5k | 4k |
| Simba (ours) | 130m | 0.21 | 3.060 | 3.006 | 2.986 | 2.974 | 2.961 | 2.956 | 2.948 | 2.942 |
| Pythia | 160m | 0.60 | 3.166 | 3.134 | 3.128 | 3.120 | 3.195 | 6.333 | 7.883 | 7.986 |
| Mamba | 130m | 0.48 | 2.943 | 2.917 | 2.907 | 2.899 | 2.899 | 2.900 | 2.901 | 2.905 |
| Simba (ours) | 370m | 0.68 | 2.727 | 2.686 | 2.662 | 2.650 | 2.643 | 2.633 | 2.630 | 2.625 |
| Pythia | 410m | 1.69 | 2.750 | 2.713 | 2.702 | 2.691 | 2.923 | 7.611 | 8.918 | 9.314 |
| Mamba | 370m | 1.38 | 2.645 | 2.616 | 2.607 | 2.600 | 2.599 | 2.601 | 2.604 | 2.617 |
| Simba (ours) | 790m | 1.52 | 2.543 | 2.509 | 2.488 | 2.477 | 2.474 | 2.470 | 2.468 | 2.471 |
| Pythia | 1b | 3.88 | 2.607 | 2.573 | 2.560 | 2.559 | 5.665 | 6.582 | 6.817 | 7.003 |
| Mamba | 790m | 2.94 | 2.486 | 2.457 | 2.445 | 2.437 | 2.436 | 2.443 | 2.458 | 2.497 |
| Simba (ours) | 1.4b | 2.68 | 2.495 | 2.466 | 2.443 | 2.422 | 2.413 | 2.404 | 2.396 | 2.394 |
| Pythia | 1.4b | 5.63 | 2.513 | 2.474 | 2.465 | 2.456 | 3.003 | 6.696 | 7.321 | 7.775 |
| Mamba | 1.4b | 5.09 | 2.389 | 2.363 | 2.354 | 2.348 | 2.347 | 2.352 | 2.358 | 2.372 |
| Simba (ours) | 2.8b | 5.52 | 2.380 | 2.330 | 2.317 | 2.304 | 2.294 | 2.289 | 2.279 | 2.284 |
| Pythia | 2.8b | 11.11 | 2.382 | 2.345 | 2.332 | 2.326 | 6.689 | 7.275 | 7.266 | 7.244 |
| Mamba | 2.8b | 10.28 | 2.281 | 2.254 | 2.242 | 2.235 | 2.236 | 2.254 | 2.314 | 2.547 |
Full perplexity results on the PG-19 test set. The pre-trained context limit is 2k. Bold denotes the best results within each group of similar FLOPs.
With a more moderate pruning ratio (70% of tokens remaining at the final layer), Simba sometimes performs better than the original dense Mamba of the same scale while using fewer FLOPs. The gain is more evident for smaller models, possibly because dense recurrence is more harmful to smaller state sizes.
| Model | Scale | Model dim. | FLOPs (×1e12) | Lbd. | HS | PIQA | Arc-E | Arc-C | WG | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|
| Mamba | 130m | 768 | 0.48 | 31.84 | 34.88 | 64.36 | 50.76 | 23.72 | 49.80 | 42.56 |
| Simba (ours) | 130m | 768 | 0.39 | 32.43 | 35.05 | 64.42 | 50.38 | 24.32 | 49.88 | 42.75 |
| Mamba | 370m | 1024 | 1.38 | 46.61 | 46.46 | 69.59 | 59.05 | 27.47 | 55.80 | 50.83 |
| Simba (ours) | 370m | 1024 | 1.15 | 47.09 | 46.69 | 69.64 | 59.51 | 27.65 | 55.49 | 51.01 |
| Mamba | 790m | 1536 | 2.94 | 51.33 | 55.12 | 72.47 | 65.49 | 32.76 | 57.54 | 55.78 |
| Simba (ours) | 790m | 1536 | 2.47 | 51.82 | 54.93 | 72.20 | 65.87 | 32.76 | 57.22 | 55.80 |
Accuracy (%) of Mamba and Simba at the same model scale. Bold denotes the best results.
We measure the normalized influence of tokens at each relative position on the final token, comparing Mamba-2.8b and Simba-2.8b on PG-19. Mamba relies mostly on tokens near the end in every layer. Simba follows a similar pattern in the lower layers, but the curve flattens in the upper layers, which receive more information from early tokens.

Layer 1

Layer 13

Layer 26

Layer 38

Layer 51

Layer 64
Normalized token influence of Mamba-2.8b and Simba-2.8b, averaged over PG-19 test samples.
We compare pruning criteria on Arc-Challenge with sparsified Mamba-2.8b models at various pruning ratios. The proposed token influence score performs best and remains robust under severe sparsification, outperforming simpler alternatives such as uniform pruning with even intervals.
Arc-Challenge accuracy of sparsified Mamba-2.8b with different pruning criteria. Dense Mamba-1.4b and Mamba-2.8b are shown for reference.
Beyond FLOPs, we measure inference time on 8 RTX 2080 Ti GPUs using a PyTorch implementation of Mamba's parallel scan. Simba achieves up to an 80% speedup for the 2.8B model.
| Context length | |||||
|---|---|---|---|---|---|
| Model | Scale | 1k | 2k | 3k | 4k |
| Mamba | 790m | 0.683 | 1.356 | 2.438 | 2.709 |
| Simba | 790m | 0.598 (14.2% speedup) | 1.115 (21.6% speedup) | 1.724 (41.4% speedup) | 2.164 (25.2% speedup) |
| Mamba | 2.8b | 1.608 | 3.294 | 5.819 | 6.469 |
| Simba | 2.8b | 1.070 (50.3% speedup) | 2.041 (61.4% speedup) | 3.217 (80.9% speedup) | 4.023 (60.8% speedup) |
Inference time for various input lengths, measured on 8 RTX 2080 Ti GPUs.
@article{song2025sparsified,
author = {Song, Woomin and Tack, Jihoon and Mo, Sangwoo and Oh, Seunghyuk and Shin, Jinwoo},
title = {Sparsified State-Space Models are Efficient Highway Networks},
journal = {Transactions on Machine Learning Research},
issn = {2835-8856},
year = {2025},
url = {https://openreview.net/forum?id=G1p0YwrX8X},
}