Mamba-3: Advancing Architecture, While Reducing Cost


Rudina Seseri

A few years ago, I discussed Mamba, an AI architecture that was designed as an alternative to transformers. Mamba represented an evolution in state space models (SSM), which is a neural network architecture class where a select amount of information is stored. Since my initial conversation about Mamba, the architecture has continued to evolve to Mamba-2 and now Mamba-3. This latest evolution addresses key concerns that existed in previous iterations, making the architecture more competitive with the more expensive transformer option.

From the outset, SSMs are designed to be cheaper than transformers, which save all information processed. The issue with maintaining a small subset of select information is that crucial information can be deleted, such as inventory estimates or debits and credits in bookkeeping. Mamba-3 addresses this issue by leveraging a rotary-style storage system creating more efficiency per unit of state than Mamba-2. As every segment of the AI value chain is increasingly under scrutiny for its cost, Mamba’s evolution is a development worth noting.

🗺️ What is Mamba-3?

A team from Carnegie Mellon University, Princeton, Together AI, and Cartesia AI introduced Mamba-3, a new AI architecture, in a paper earlier this year.  As an evolution of the state space model, Mamba-3 creates a succinct notebook of what has been processed. This notebook updates to a new state every time new information is processed by taking some knowledge from the old state and the new input.

Mamba-3 dramatically improves how these notes are kept and what is discerned from them. In previous versions of Mamba, once information was read the memory of it would fade over time as new information was processed. This memory method enables the notebook to not constantly grow over time, leading to lower costs compared to a transformer but also critical information loss.  Mamba-3 addresses this issue by rotating information to a specific place and recognizing where it should be rotated to while it is processed.

This rotational and discernment processing approach unlocks the ability for SSMs to keep a higher percentage of the necessary information and locate it with increased accuracy and greater speed. Thus, Mamba-3 unlocks use cases in industries with high volumes of information, where transformers were previously the only viable option.

🤔 Why does Mamba-3 matter, and what are its limitations?

As cost continues to be a growing concern in AI development SSMs will become an increasingly more attractive option. Mamba-3’s advancements also make this architecture a more comprehensive option.

  • More efficient processing: With Mamba-3 the architecture now uses multi-input, multi-output (MIMO), which enables more information to flow in and out of the system at once. This method allows for each state update to have more information packed into it, allowing for faster processing of information.
  • Accuracy improvement: The rotational method previously mentioned improves the architecture’s ability to count and recall all types of information. By rotating information, the architecture gives the information a specific place in its memory making it easier to recall.
  • Decreased latency: The combination of the rotational storage system and MIMO allow for better storage of information. The increased level of organization and more information processed per state update decreases response times.

That said, Mamba-3 still has limitations that enable transformers to remain superior in certain situations:

  • Deletion issues: The nature of SSMs is that they are compressing information to fit into a smaller space. Naturally when not all information is stored, some will be lost.
  • Ecosystem maturity: SSMs are still considered to be part of the frontier space, whereas transformers are more tested. This means that the adopters of SSMs will seek more hybrid options rather than a full SSM play.
  • Untested scalability: Mamba-3 has been tested around 1.5 billion parameters not the typical tens or hundreds of billions of parameters at which transformers have performed. The testing ground for its scalability will come as the ecosystem matures.
🛠️ Applications of Mamba-3

Mamba-3 is a best fit environments where large loads of data need to be processed and stored in more compact spaces:

  • Long-document intelligence for legal, finance, and healthcare teams: Given that Mamba-3 can better keep count and find prior information, SSM usage is unlocked for these industries that were previously solely dependent on transformers, which were expensive since they store everything.
  • Real-time monitoring: The ability for Mamba-3 to keep a running state and quickly retrieve information enables it to monitor continuous streams of information, such as payment transactions and notice anomalies.
  • On-device capability: Mamba-3’s small, predictable memory footprint enables it to be used in constrained hardware such as a phone. This enables lower latency as information is not being transmitted across systems and increased privacy as the data never leaves the device.

Stay up-to-date on the latest AI news by subscribing to Rudina’s AI Atlas.