DasFormer: Deep Alternating Spectrogram Transformer for Multi/Single-Channel Speech Separation

Shuo Wang, Xiangyu Kong, Xiulian Peng, Hesam Movassagh, Vinod Prakash, Yan Lu · DOI

Abstract

Traditional speech separation research often treats single-channel and multi-channel scenarios as distinct problems, developing specialized solutions for each. However, these models frequently struggle in realistic, reverberant environments or when microphone configurations change. This paper introduces DasFormer (Deep Alternating Spectrogram Transformer), a unified architecture designed to excel in both scenarios. By assigning each time-frequency (TF) bin an embedding and utilizing a deep stack of alternating spectral and temporal attention modules, DasFormer achieves state-of-the-art (SOTA) performance. It significantly outperforms existing models in multi-channel separation and sets new benchmarks for single-channel separation in challenging reverberant conditions.

Introduction

Solving the "cocktail party problem"—isolating a specific speaker from a mixture of voices—remains a fundamental challenge in audio processing. Historically, the field has been divided: single-channel models focus on extracting spectral patterns from a single microphone, while multi-channel models rely on spatial cues from microphone arrays.

This specialization comes with a cost. Single-channel models often degrade in the presence of room reverberation, and multi-channel models typically fail if the number of available microphones is reduced. DasFormer addresses this gap by providing a robust, unified backbone that scales gracefully from a single microphone to complex arrays, maintaining high performance even in echoey, real-world environments.

The DasFormer Architecture

DasFormer operates directly in the Time-Frequency (TF) domain. Rather than treating the spectrogram as a simple image or a sequence of frames, it treats each TF-bin as an embedding that encodes both spectral and spatial information. The core of the architecture is the Alternating Spectrogram (AS) Block, which is repeated 12 times to create a deep, expressive network.

Each AS Block integrates three critical components to capture the nuances of speech:

  1. MBConv (Mobile Inverted Bottleneck Convolution): Before applying attention, a 2D convolution with Squeeze-Excitation captures local features. This allows the model to understand the immediate "texture" of the spectrogram, which is essential for clean separation.
  2. Frame-wise Spectral Attention (FSA): A Multi-Head Self-Attention (MHSA) module processes all frequency bins within a single time frame. This component is vital for identifying harmonic relationships and the unique pitch characteristics of individual speakers.
  3. Band-wise Temporal Attention (BTA): An MHSA module processes all time frames within a single frequency band. This enables the model to track a speaker’s consistency and spatial cues over the duration of the audio.

By alternating between spectral and temporal attention across 12 layers, DasFormer allows each TF-bin to aggregate global context, effectively deciding which speaker a specific pixel belongs to based on both harmonic structure and temporal dynamics.

Experimental Setup and Results

The researchers evaluated DasFormer on two rigorous benchmarks designed to simulate real-world difficulty:

  • Spatialized WSJ0-2mix: A multi-channel dataset where speech is convolved with 28,000 simulated room impulse responses (RIRs) to mimic reverberant rooms.
  • WHAMR!: A single-channel dataset that combines room reverberation with ambient noise (e.g., street or cafe noise).

Performance Highlights

DasFormer established new SOTA benchmarks across both categories:

  • Multi-Channel Superiority: In a 4-microphone setting on spatialized WSJ0-2mix, DasFormer achieved an SDRi of 25.9 dB, surpassing the previous SOTA (BeamGuided-TasNet) by a significant 4.4 dB.
  • Single-Channel Robustness: On the WHAMR! dataset, the "DasFormer Plus" variant achieved an SI-SDRi of 17.3 dB, a 3.8 dB improvement over previous leading models.
  • Scalability: Unlike specialized multi-channel models that fail when microphone counts drop, DasFormer remained the top performer regardless of whether 1, 2, or 4 microphones were used.

Key Insights

The success of DasFormer stems from several architectural choices:

  • The Power of Alternation: Processing time and frequency dimensions alternately is more effective than simultaneous processing, as it helps the model disentangle spectral shapes from temporal dynamics.
  • Depth and Local Context: Ablation studies confirmed that a deep network (12 layers) is superior to a shallower, wider one. Furthermore, the inclusion of MBConv modules was found to be essential; replacing them with point-wise layers led to a performance drop, proving that local TF context is the "glue" that holds the global attention together.
  • Hierarchical Learning: Visualization of the attention maps revealed that shallow layers focus on local frames, middle layers capture phonetic structures, and deep layers track specific speaker activity.

Conclusion and Future Work

DasFormer represents a significant step toward a universal solution for speech separation. While it delivers exceptional results, future research will focus on reducing computational complexity for real-time edge device applications and improving generalization across different microphone geometries. Currently, the model uses global attention, which is ideal for offline processing; adapting this to a causal, low-latency version is a logical next step for streaming applications.

Summary updated

BibTeX
@inproceedings{wang2023dasformer,
  author = {Shuo Wang and Xiangyu Kong and Xiulian Peng and Hesam Movassagh and Vinod Prakash and Yan Lu},
  title = {{DasFormer: Deep Alternating Spectrogram Transformer for Multi/Single-Channel Speech Separation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10095037},
}
Figure