atlas

Research map / Architectures and efficiency / Attention and transformers

Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data

NeurIPS 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.

Uses synthetic composite-function and inverse-sequence-matching tasks to show Mamba's nonlinear convolution induces an asymmetry bias that hinders symmetric solutions and reversed-sequence matching, and that a residual connection bypassing the convolution helps.

Problem

Mamba's architectural differences from Transformers (notably its nonlinear convolution before the SSM) are poorly understood, and it is unclear why Mamba struggles with symmetric patterns and reversed-sequence matching.

Approach

Attributes Mamba's failures on symmetric/reversed patterns to the asymmetric weights of the nonlinear convolution preceding the SSM, showing via blocking, substitution, and all-one-kernel ablations that the SSM is not the culprit; adding a residual path from convolution input to SSM plus positional encoding fixes inverse matching.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use standard Mamba with nonlinear convolutionMamba · Composite function taskaccuracy on symmetric solutionsHurt
Set all convolution kernel weights to 1 (ablation)Mamba · Composite function taskaccuracy on symmetric solutionsHelped
Add positional encoding (ablation)Mamba · Composite function taskaccuracy on symmetric solutionsHelped
Block SSM information flow from the key and anchors to downstream tokens (ablation)Mamba · Composite function taskoutput accuracyNo clear effect
Replace downstream post-convolution hidden states with states from a sequence using anchor pair 43 (ablation)Mamba · Composite function taskoutput accuracyHurt
Use a Transformer with nonlinear convolution before attention (ablation)Transformer · Composite function taskaccuracy on symmetric solutionsHurt
Use standard Mamba with nonlinear convolutionMamba · Inverse sequence matchingtest accuracyHurt
Use a Transformer instead of standard MambaInverse sequence matching · Inverse sequence matchingtest accuracyHelped
Add a residual connection bypassing nonlinear convolution and positional embedding (ablation)Mamba · Inverse sequence matchingtest accuracyHelped
Replace the residual bypass with a gating mechanism that combines raw and convolution-fused token information (ablation)Mamba · Inverse sequence matchingaccuracyMixed
Vary initialization rate from small to large initialization (ablation)Mamba · Composite function taskaccuracy on composite and symmetric solutionsMixed

Surprising findings

Limitations

Experimental setup

Datasets: synthetic composite function data synthetic inverse sequence matching data

Benchmarks: synthetic composite function task synthetic inverse sequence matching task

Metrics: accuracy loss

Baselines: Transformer standard Mamba

Builds on: Mamba Mamba2 Transformer

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