SepMamba: State-Space Models for Speaker Separation Using Mamba

Thor Højhus Avenstrup, Boldizsár Elek, István László Mádi, András Bence Schin, Morten Mørup, Bjørn Sand Jensen, Kenny Falkær Olsen

TL;DR

SepMamba is a novel speaker separation architecture that swaps out computationally heavy Transformers for efficient Mamba state-space models within a U-Net framework. It achieves state-of-the-art-level performance on standard benchmarks while significantly slashing memory usage, compute requirements, and processing time, making it a prime candidate for real-time use on low-power devices.

What Problem Does This Paper Address?

Speaker separation—the "cocktail party problem"—is the task of isolating individual voices from a single audio mixture. While deep learning has revolutionized this field, the current gold standard relies on Transformer-based models.

Transformers are powerful but come with a major catch: their quadratic complexity. As audio sequences get longer, the computational and memory costs explode. This makes them impractical for resource-constrained environments like hearing aids or mobile telecommunications where low latency and low power consumption are non-negotiable. The authors of SepMamba sought to bridge this gap by finding an architecture that offers Transformer-level modeling power with much higher efficiency.

Methods

The authors introduce SepMamba, a time-domain speaker separation network. Its design is built on two main pillars:

  1. U-Net Backbone: The model uses a 5-stage encoder-decoder structure. It progressively downsamples the audio to learn multi-scale features and then upsamples it back to the original resolution to reconstruct the separated sources.
  2. Bamba Stacks: Instead of self-attention layers, SepMamba uses "Bamba" blocks. In the non-causal version, a Bamba block consists of two Mamba layers: one processing the input normally and another processing a time-reversed version. Their outputs are combined to capture bidirectional context.
The SepMamba architecture features a 5-stage U-Net design powered by bidirectional Mamba (Bamba) stacks.

Unlike previous "hybrid" attempts that still relied on some attention mechanisms, SepMamba is the first to rely almost entirely on Mamba layers to learn temporal dependencies in the time domain.

Datasets

The models were trained and evaluated on the WSJ0-2mix dataset, a standard benchmark consisting of mixtures of two speakers from the Wall Street Journal corpus. To improve performance and robustness, the researchers used Dynamic Mixing (DM), a data augmentation technique that creates new speaker mixtures on-the-fly during training.

Key Insights and Ideas

  • Linear Scaling is King: Mamba layers have linear complexity relative to sequence length. This allows SepMamba to process long audio signals without the "chunking" strategies often required by Transformers, which can sometimes break long-range dependencies.
  • Efficiency Without Sacrifice: The "aha moment" is that you don't have to trade off quality for speed. By using a fully Mamba-based architecture, the authors achieved better results than many Transformer models while using a fraction of the resources.
  • Superior Causal Performance: For real-time applications where the model cannot "look into the future," SepMamba's causal variants set new performance records, significantly outperforming previous specialized causal architectures.

Key Results

SepMamba demonstrates a superior balance of performance and efficiency across several metrics:

  • Separation Quality: SepMamba (Medium) achieved an SI-SNRi of 22.7 dB on WSJ0-2mix, outperforming the popular SepFormer (22.3 dB).
  • Speed: As shown in Figure 2 (Left), SepMamba's forward pass is significantly faster than its competitors. For a 4-second audio clip, it is roughly 7x faster than SepFormer.
  • Memory: Peak GPU memory usage during training is dramatically lower—SepMamba uses about 3 GB compared to SepFormer’s staggering 35 GB for the same sample length.
  • Compute: It requires far fewer Giga-multiply-accumulates (GMACs) per second of audio than other high-performing models like MossFormer2.
Comparison of SI-SNRi against forward pass time, memory usage, and compute intensity. SepMamba (stars) consistently sits in the "top-left" sweet spot of high performance and low resource usage.

Limitations and Future Work

While SepMamba is highly compute-efficient, the authors note it is not necessarily the most parameter-efficient model (i.e., it has a relatively high number of weights for its size). They suggest that future work could explore parameter-sharing between different branches of the Bamba stacks to shrink the model's disk footprint further.

Additionally, because Mamba is a memory-bound operation on current GPUs, its real-world speed advantages might be even more pronounced on specialized hardware or systems with less parallelism than the high-end A100 GPUs used in this study.

Summary updated

BibTeX
@inproceedings{avenstrup2025sepmamba,
  author = {Thor Højhus Avenstrup and Boldizsár Elek and István László Mádi and András Bence Schin and Morten Mørup and Bjørn Sand Jensen and Kenny Falkær Olsen},
  title = {{SepMamba: State-Space Models for Speaker Separation Using Mamba}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  doi = {10.1109/icassp49660.2025.10888846},
}
Figure