Mamba-3: Improved Sequence Modeling using State Space Principles

Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Caitlin Wang, Aviv Bick, Zico Kolter, Tri Dao, Albert Gu

International Conference on Learning Representations 2026 · Oral

Overview

This talk introduces Mamba-3, the latest iteration in the rapidly evolving family of State Space Models (SSMs), which are gaining significant traction as powerful alternatives to Transformers for sequence modeling. Presented by a collaborative team including Caitlin Wang, Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Aviv Bick, Zico Kolter, Tri Dao, and Albert Gu, the work addresses critical challenges in both the theoretical foundations and practical deployment of Mamba-style architectures. The core ambition behind Mamba-3 is to push the performance-efficiency frontier by introducing three modular, methodological improvements that enhance modeling capabilities, regain lost state-tracking accuracy, and significantly boost hardware efficiency during inference.

Watch on SlidesLive

Visual summary for Mamba-3: Improved Sequence Modeling using State Space Principles by Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Caitlin Wang, Aviv Bick, Zico Kolter, Tri Dao, Albert Gu
Visual summary for Mamba-3: Improved Sequence Modeling using State Space Principles by Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Caitlin Wang, Aviv Bick, Zico Kolter, Tri Dao, Albert Gu

Key moments

  1. 0:00 Introduction: Mamba-3's Goal for Sequence Modeling
  2. 0:50 Mamba-3: Three Modular Methodological Improvements Introduced
  3. 1:40 Principled Discretization: Deriving Mamba and Mamba-3
  4. 2:25 Complex-Valued SSMs: The 'Rope Trick' for State Tracking
  5. 3:00 Boosting Decoding Efficiency with MIMO Matrix Multiplications
  6. 3:45 Mamba-3 Architecture, Scaling, and Performance Gains
  7. 4:05 Empirical Benchmarks: Faster Kernels and Overall Speedup
  8. 4:30 Q&A: Retrofitting Mamba-3 into Hybrid Models

Mamba-3: Improved Sequence Modeling using State Space Principles

Speakers: Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Caitlin Wang, Aviv Bick, Zico Kolter, Tri Dao, Albert Gu

Conference: ICLR 2026

YouTube: https://slideslive.com/39062100

Overview

This talk introduces Mamba-3, the latest iteration in the rapidly evolving family of State Space Models (SSMs), which are gaining significant traction as powerful alternatives to Transformers for sequence modeling. Presented by a collaborative team including Caitlin Wang, Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Aviv Bick, Zico Kolter, Tri Dao, and Albert Gu, the work addresses critical challenges in both the theoretical foundations and practical deployment of Mamba-style architectures. The core ambition behind Mamba-3 is to push the performance-efficiency frontier by introducing three modular, methodological improvements that enhance modeling capabilities, regain lost state-tracking accuracy, and significantly boost hardware efficiency during inference.

The motivation for Mamba-3 stems from the increasing demand for stronger, more efficient models, particularly in the context of rapidly popularizing AI agents. While previous Mamba versions, such as Mamba-1 and Mamba-2, made substantial strides in linear-time performance and training speed, they still faced limitations, notably in their ability to accurately track complex states and in their hardware utilization during the crucial decode phase. Mamba-3 directly tackles these issues through a principled theoretical framework and targeted architectural and algorithmic optimizations, aiming to make advanced sequence models more robust, reliable, and cost-effective for real-world deployment.

Background

▶ Watch: Introduction: Mamba-3's Goal for Sequence Modeling (0:00)

Sequence modeling lies at the heart of many modern AI applications, from natural language processing to time series analysis. While Transformers have dominated this space for years, their quadratic complexity with respect to sequence length in attention mechanisms presents significant scalability challenges for very long sequences. This limitation spurred the development of alternative architectures, among which State Space Models (SSMs) have emerged as a promising class. SSMs are fundamentally linear dynamical systems grounded in an ordinary differential equation (ODE) formulation, which are then discretized to handle discrete data like language. The core idea is to maintain a hidden state that evolves over time, allowing for efficient processing of sequences.

Early linear time-invariant SSMs, such such as S4 and S4D, leveraged classical ODE discretization schemes like Euler and zero-order hold. The Mamba family built upon this foundation, introducing time-varying parameters. Mamba-1 was a performance-first model, notable for being one of the first linear-time models to achieve performance on par with the Transformer, demonstrating the viability of SSMs as competitive sequence model backbones. However, Mamba-1 proved slow to train. This led to Mamba-2, which introduced a fast, efficient chunkwise inference algorithm, dramatically improving training speeds by two to eight times. Despite these gains, Mamba-2 and other modern SSMs that opted for simpler real-valued systems over complex-valued ones began to exhibit significant state tracking issues. These models struggled with even the simplest tasks requiring precise state memory, such as the parity problem, which involves determining if a sequence of zeros and ones has an even or odd number of ones at its end. This limitation was identified as a critical bottleneck, stemming from the inability of real non-negative state transition rotation matrices to fully express the unitary properties required for robust state tracking.

Furthermore, Mamba-2 faced practical inefficiencies during the decode phase. The operations involved, particularly the BX input term and C output term, primarily consisted of outer products. These entry-wise operations resulted in low arithmetic intensity, meaning a significant portion of the GPU's computational resources remained idle as latency was dominated by moving tensors across the memory hierarchy rather than performing actual computation. This inefficiency increased the pressure for stronger models that could be deployed more efficiently, setting the stage for Mamba-3 to address these theoretical and practical shortcomings.

Key Findings

▶ Watch: Principled Discretization: Deriving Mamba and Mamba-3 (1:40)

Mamba-3 represents a significant leap forward in sequence modeling by introducing three modular methodological improvements that collectively push the performance-efficiency frontier for SSMs. The primary contributions can be summarized as:

  1. Principled Discretization Framework: Mamba-3 provides a formal, principled derivation for the discretization schemes used in prior Mamba models (Mamba-1 and Mamba-2), which were previously adopted without a rigorous theoretical basis for their time-varying nature. It further generalizes this framework to produce a novel recurrence for Mamba-3, featuring a data-dependent combination parameter that enhances modeling flexibility.
  2. Reintroduction of Complex-valued SSMs ("Rope Trick"): To overcome the critical state tracking limitations observed in Mamba-2 and other real-valued modern SSMs, Mamba-3 re-enables the use of complex-valued systems. This is achieved by converting summed SSM rotations back to their complex-valued B and C terms via rotations in polar coordinates, a technique reminiscent of Rotary Positional Embeddings (RoPE) in Transformers. This "Rope trick" empirically regains crucial state tracking abilities, outperforming baseline Mamba-2 on tasks like the TC0 problem.
  3. Hardware-Efficient Decoding via Multi-Input Multi-Output (MIMO): Addressing the low arithmetic intensity during Mamba-2's decode phase, Mamba-3 replaces simple outer products with matrix multiplications of rank size R. This transformation creates a multi-input multi-output system, significantly boosting GPU utilization and reducing memory hierarchy bottlenecks, leading to more efficient inference without compromising decoding speed or increasing state size.

These innovations collectively lead to a stronger, more robust, and hardware-efficient Mamba model that scales better than its predecessors, demonstrating uniform improvements in language modeling performance up to 1 billion parameters and promising up to 4x faster kernels through ongoing optimization work.

Technical Deep Dive

▶ Watch: Boosting Decoding Efficiency with MIMO Matrix Multiplications (3:00)

The technical advancements in Mamba-3 are multifaceted, spanning from fundamental mathematical derivations to sophisticated hardware optimizations. At its core, an SSM transforms a continuous-time ODE, represented as x'(t) = Ax(t) + Bu(t) and y(t) = Cx(t), into a discrete-time recurrence for processing sequential data. Here, A is the state transition matrix, x is the input, B is the input key, C is the readout, and y is the output.

Principled Discretization Framework

Prior linear time-invariant (LTI) SSMs like S4 and S4D utilized classical ODE discretization schemes (e.g., Euler, zero-order hold). Mamba-1 and Mamba-2, being linear time-variant models, adopted these schemes to time-varying settings by simply adding time indices, but lacked a formal derivation for this adaptation. Mamba-3 rectifies this by providing a principled derivation for what it terms the "exponential Euler" discretization used in Mamba-1 and Mamba-2.

The key innovation for Mamba-3's own discretization lies in its generalized recurrence. Instead of holding the time integral at t-1, Mamba-3 introduces data-dependent combination parameters, specifically lambda_t and lambda_t-1. These parameters allow for a flexible, data-driven combination of the state at time t and t-1, effectively "putting everything back together" at the current timestep. This generalized recurrence acts as an implicit convolution on complex-valued SSMs B and x, and importantly, it generalizes Mamba-1 and Mamba-2 if lambda_t is simply set to zero. This modular approach provides a more robust and theoretically sound foundation for the SSM's temporal dynamics.

Complex-valued SSMs and the "Rope Trick"

A critical limitation identified in Mamba-2 and other modern SSMs was their inability to effectively track state, manifesting in failures on tasks like the parity problem and the TC0 task. This issue arose because these models, in pursuit of simpler implementations, largely abandoned the complex-valued systems used by older SSMs, opting instead for real-valued systems. However, prior work found that the real non-negative state transition rotation matrices were fundamentally limited in their ability to express the necessary unitary properties required for robust state tracking.

Mamba-3 addresses this by reintroducing the power of complex-valued SSMs through what is colloquially termed the "Rope trick." The approach converts the cumulative summed SSM rotations back to their complex-valued B and C components using rotations expressed in polar coordinates. This allows the model to leverage the rich representational capacity of complex numbers, which are crucial for tasks requiring precise memory and state manipulation. The speakers explicitly highlight that this technique is reminiscent of Rotary Positional Embeddings (RoPE) applied in Transformers, which also use rotations in complex space to encode positional information. Empirically, this "Rope trick" allows Mamba-3 to regain state tracking abilities up to the TC0 task, significantly outperforming baseline Mamba-2 and even the real-valued Mamba-3 variant.

Multi-Input Multi-Output (MIMO) for Hardware Efficiency

The third major technical improvement targets the hardware inefficiency of Mamba-2 during the decode phase. During inference, especially in auto-regressive decoding, the state input via the BX term and the output via the C term primarily involve outer products. These entry-wise operations suffer from low arithmetic intensity, meaning the GPU spends a disproportionate amount of time moving data across the memory hierarchy rather than performing actual computations. This leaves much of the GPU idle and contributes significantly to decode latency.

Mamba-3 resolves this by transforming these operations into a multi-input multi-output (MIMO) system. Instead of simple outer products, the BX interaction and C output now leverage matrix multiplications of rank size R. This change dramatically boosts the arithmetic intensity, as matrix multiplications are highly parallelizable and efficient on modern GPU architectures. The result is a stronger model that retains the same state size and, crucially, maintains essentially unchanged decoding speed. While this modification does incur a representational slowdown during training because the process becomes more compute-intensive, the speakers emphasize that this slowdown is not significant compared to the benefits gained in inference efficiency and model performance.

Architectural Refinements

Beyond these three core methodological improvements, Mamba-3 also incorporates several architectural refinements. The short convolution, a component present in previous Mamba architectures, has been removed as it is no longer necessary for performance. Additionally, the post-gate RMS norm used for scaled stability during inference has been replaced with a more canonical QK norm. This normalization is applied based on language modeling performance and the state sizes of the models, contributing to better scaling behavior.

Experimental Setup & Results

▶ Watch: Mamba-3 Architecture, Scaling, and Performance Gains (3:45)

The empirical evaluation of Mamba-3 focuses on demonstrating its superior scaling, improved state tracking, and enhanced hardware efficiency compared to its predecessors and alternative implementations.

Scaling and Language Modeling Performance:

Mamba-3 exhibits significantly better scaling properties than Mamba-2. When trained across various scales, Mamba-3 consistently shows uniform improvement in language modeling ability across Mamba's state sizes. This improved scaling is particularly evident when moving from Mamba-2 to Mamba-3, and further gains are observed when enabling the MIMO component (Multi-Input Multi-Output) compared to its SISO (Single Input Single Output) variant. The model scales effectively up to 1 billion parameters, showcasing its potential for building larger, more capable sequence models.

State Tracking Abilities:

A critical area of improvement is the re-establishment of robust state tracking. The complex-valued SSMs (the "Rope trick") introduced in Mamba-3 successfully regain state tracking abilities. Empirically, this variant can solve tasks like the TC0 task, which Mamba-2 struggled with, and actually outperforms baseline Mamba-2 as well as the real-valued Mamba-3 variant on such state-dependent problems. This confirms the theoretical premise that real non-negative state transition matrices limit state tracking and that complex representations are vital for certain types of sequential memory.

Hardware Efficiency and Kernel Performance:

The modularity and simplicity of Mamba-3's design enable fast implementations. Benchmarking Mamba-3's prefill and decode times against off-the-shelf implementations of alternatives reveals promising results. The SISO variant of Mamba-3 incurs no additional wall-clock time compared to existing Mamba kernels, meaning the architectural improvements do not introduce an overhead. The MIMO variant does show a slightly higher prefill time, but critically, it maintains similar decode times while providing the benefits of a stronger model.

Furthermore, the team is actively pursuing deeper hardware optimizations. By directly mapping the hierarchical structure of Mamba to the warps and threads of GPUs, they have developed more hardware-efficient kernels. This ongoing work has already demonstrated the potential to speed up Mamba kernels by up to 4x, with plans to release these faster kernels in due course. This indicates a significant future boost in the practical deployment efficiency of Mamba-3.

Practical Implications

▶ Watch: Q&A: Retrofitting Mamba-3 into Hybrid Models (4:30)

Mamba-3's advancements carry substantial practical implications for various stakeholders in the AI/ML ecosystem, from individual practitioners to large infrastructure teams.

For practitioners and model builders, Mamba-3 offers access to a new generation of sequence models that are not only faster and more efficient but also more robust. The reintroduction of complex-valued SSMs and the resulting regain of state tracking abilities mean that M Mamba-3 can reliably tackle tasks requiring long-range dependencies and precise memory, such as the parity problem or TC0 tasks, which were problematic for Mamba-2. This expands the range of applications where Mamba can be effectively deployed, potentially reducing the need for more computationally expensive Transformer architectures in certain scenarios. The improved scaling up to 1 billion parameters also means that larger, more capable Mamba models can be built with better performance characteristics.

For infrastructure teams and deployers, the hardware efficiency improvements are particularly impactful. The Multi-Input Multi-Output (MIMO) system, which replaces low-arithmetic-intensity outer products with efficient matrix multiplications, directly translates to better GPU utilization during inference. This can lead to lower inference costs, higher throughput, and reduced latency, especially critical for real-time applications or large-scale deployments. The promise of up to 4x faster kernels through ongoing optimization work further underscores the potential for significant cost savings and performance boosts in production environments. The fact that the SISO variant incurs no additional wall-clock time while still benefiting from other improvements makes it a compelling drop-in replacement.

Regarding tradeoffs and limitations, while the MIMO component incurs a slowdown during training, the speakers emphasize that this is not significant when weighed against the substantial gains in model strength and decoding efficiency. The modular design of Mamba-3 is also a key practical advantage. As highlighted in the Q&A, existing hybrid models like Mimotron-3, which currently use Mamba-2, could potentially be retrofitted with Mamba-3 through additional fine-tuning or continual pre-training. This modularity ensures that Mamba-3's innovations can be integrated into a broader ecosystem of models, fostering further research and development without requiring complete architectural overhauls. Overall, Mamba-3 represents a compelling step towards more deployable, performant, and reliable sequence models.

Key Takeaways

  • Principled Discretization: Mamba-3 provides a formal derivation for previous Mamba discretizations and introduces a generalized recurrence with data-dependent combination parameters, enhancing theoretical soundness and modeling flexibility.
  • State Tracking Revival: By reintroducing complex-valued SSMs via a "Rope trick" (similar to RoPE in Transformers), Mamba-3 successfully regains critical state tracking abilities, outperforming Mamba-2 on challenging memory-dependent tasks like TC0.
  • Hardware-Efficient Decoding: The Multi-Input Multi-Output (MIMO) system replaces inefficient outer products with rank-size R matrix multiplications during decode, significantly boosting arithmetic intensity and GPU utilization without increasing state size or affecting decode speed.
  • Superior Scaling and Performance: Mamba-3 demonstrates better language modeling performance and scales more effectively than Mamba-2, showing uniform improvements across state sizes and reaching up to 1 billion parameters.
  • Accelerated Kernels: Ongoing optimization work is yielding Mamba kernels that are up to 4x faster, promising substantial improvements in deployment efficiency and reduced inference costs.
  • Modular and Future-Proof Design: Mamba-3's modular architecture allows for easy integration and potential retrofitting into existing advanced models, paving the way for further innovations in the Mamba ecosystem.

About the Speaker(s)

This collaborative work was presented by a team of researchers including Aakash Sunil Lahoti, Kevin Li, Berlin Chen, Caitlin Wang, Aviv Bick, Zico Kolter, Tri Dao, and Albert Gu. The specific affiliations and titles for all speakers were not detailed in the transcript, but their collective contribution signifies expertise in the field of AI/ML, particularly in sequence modeling and State Space Models.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026