TL;DR
DeFT-Mamba is a novel multi-task learning framework that simultaneously tackles Universal Sound Separation (USS) and polyphonic audio classification in complex, real-world multichannel environments. By combining gated convolutions, self-attention, and state-space Mamba blocks, the model efficiently captures both local and global acoustic relationships, outperforming existing state-of-the-art models while using significantly fewer parameters.
What Problem Does This Paper Address?
In acoustic signal processing, the "cocktail party problem"—separating and identifying individual sound sources within a noisy, overlapping environment—remains a classic challenge. Universal Sound Separation (USS) extends this problem by attempting to separate any arbitrary sound type, not just human speech.
Doing this in the real world introduces severe complications: sound sources move, they turn on and off at different times, and multiple sources of the same type often overlap (a challenge known as in-class polyphony).
Current deep learning approaches face two major bottlenecks:
- Computational Complexity: State-of-the-art Transformer models scale quadratically ($O(N^2)$) with sequence length, making them computationally heavy for long audio frames.
- Dataset Gaps: Existing USS datasets typically feature static, single-channel audio, lacking the spatial dynamics (like moving sources) needed to train real-world multichannel systems.
Methods
The authors introduce a unified multi-task framework that processes a multichannel complex spectrogram through a shared audio encoder and an Object Extraction Network named DeFT-Mamba. This network isolates features into $S$ distinct tracks (one for each potential sound object), which are then decoded in parallel into estimated audio waveforms and class probabilities.
The core innovation lies within the Hybrid Mamba blocks inside the Object Extraction Network, which combine three distinct layers:
- Gated Convolution Blocks (GCB): An optimization over previous dense blocks that uses parallelized 1D convolutions and a gating mechanism to capture local time-frequency relationships with a shorter runtime.
- Multi-Head Self-Attention (MHSA): Implemented via FlashAttention-2 without positional embeddings to capture global, position-independent context.
- Mamba Feedforward Network (Mamba-FFN): Replaces standard feedforward networks with a position-wise bidirectional Mamba-2 block. This leverages selective state-space models to capture long-range, position-dependent global sequences with linear computational complexity ($O(N)$).
Additionally, the authors introduce Separation Refinement Tuning (SRT), a second-stage fine-tuning process. Instead of optimizing for a fixed maximum number of tracks, SRT uses the model's own estimated number of active sources to dynamically calculate and optimize the separation loss (SI-SDR and SDR).
Datasets
To bridge the data gap, the authors developed a new multichannel simulation dataset designed to mimic realistic acoustic environments.
- Source Material: Foreground clips spanning 13 audio classes (speech, laughter, music, instruments, etc.) compiled from open-source databases like FSD50K, Librispeech, and MUSDB18.
- Spatial Dynamics: Each foreground source has a 75% probability of being a moving source, with speeds ranging from 0 to 3 m/s.
- Acoustic Simulation: Rooms were simulated using
gpuRIRwith varying dimensions and reverberation times ($RT_{60}$ between 0.2 and 0.6 seconds). Audio was captured via a simulated 4-channel tetrahedral microphone array. - Noise: Background noise was mixed in from the diffused TAU-SNoise dataset at signal-to-noise ratios (SNR) ranging from 6 to 30 dB.
Key Insights and Ideas
- Separation Before Classification: Traditional polyphonic audio classifiers attempt to analyze an entire acoustic mixture at once, which fails during in-class polyphony. DeFT-Mamba proves that separating the mixture into distinct spatial/spectral object tracks before classification dramatically improves accuracy.
- Attention and Mamba are Complementary: Rather than completely replacing Transformers with state-space models, the authors found that combining them yields the best results. MHSA excels at position-independent global context, while Mamba-FFN handles position-dependent sequence modeling efficiently.
- Ditching Energy Thresholds: Standard source counting relies on heuristic energy thresholds (e.g., checking if a separated track's power is above -30 dB). DeFT-Mamba replaces this with a classification-based mechanism, leveraging the class decoder to determine if a source track is truly active or silent, which significantly boosts source-counting accuracy.
Key Results
DeFT-Mamba was evaluated against several state-of-the-art multichannel separation models, demonstrating superior performance across the board.
Audio Separation
- Baseline Comparison: DeFT-Mamba achieved an SI-SDR of 4.95 dB and an SDR of 7.27 dB, outperforming heavyweights like TF-GridNet (3.71 dB SI-SDR) and SpatialNet (4.38 dB SI-SDR).
- Efficiency: It achieved these results using only 4.2M parameters, compared to TF-GridNet’s 14.7M parameters, while requiring a fraction of the computational complexity (58.2 MACs/s vs. 462.2 MACs/s).
- Refinement Boost: Applying Separation Refinement Tuning (DeFT-Mamba+SRT) pushed performance even further to 5.12 dB SI-SDR and 7.44 dB SDR.
Audio Classification & Source Counting
- In polyphonic audio classification, DeFT-Mamba achieved an Error Rate (ER) of 31.8% and an F1 score of 60.3%, completely outclassing standard models like the Audio Spectrogram Transformer (AST), which sat at a 70.6% Error Rate.
- The classification-based source counting method achieved a total Source Counting Accuracy (SCA) of 55%, outperforming conventional threshold-based loss functions.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated