Identify Speakers in Cocktail Parties with End-to-End Attention

Junzhe Zhu, Mark Hasegawa-Johnson, Leda Sari

Abstract

In scenarios where multiple speakers talk at the same time, it is important to be able to identify the talkers accurately. This paper presents an end-to-end system that integrates speech source extraction and speaker identification, and proposes a new way to jointly optimize these two parts by max-pooling the speaker predictions along the channel dimension. Residual attention permits us to learn spectrogram masks that are optimized for the purpose of speaker identification, while residual forward connections permit dilated convolution with a sufficiently large context window to guarantee correct streaming across syllable boundaries. End-to-end training results in a system that recognizes one speaker in a two-speaker broadcast speech mixture with 99.9% accuracy and both speakers with 93.9% accuracy, and that recognizes all speakers in three-speaker scenarios with 81.2% accuracy.

Introduction

The "cocktail party problem" describes the challenge of identifying individual speakers within a single audio channel containing overlapping voices. This task, known as co-channel speaker identification, faces two primary technical obstacles. First is the streaming problem: ensuring that separated audio segments are consistently assigned to the correct speaker over time, particularly across syllable boundaries. Second is the permutation problem: the difficulty of matching model outputs to ground-truth speakers during training. Traditional solutions like Permutation Invariant Training (PIT) are often computationally prohibitive. This paper introduces an end-to-end deep learning system that addresses these challenges through a combination of residual attention, deep dilated convolutions, and a novel channel-wise max-pooling loss.

Methodology

The proposed architecture consists of a unified pipeline with two main stages: source extraction and speaker classification.

Source Extractor

The source extractor module transforms a mixed spectrogram into individual speaker streams. It employs two critical mechanisms to ensure high-quality separation and temporal consistency:

  • Residual Attention: Utilizing a U-Net (hourglass) architecture, the model generates masks to suppress interference. A parallel "trunk" branch preserves the original signal's structure, allowing the network to learn masks specifically optimized for identification.
  • Deep Dilated Convolutions: To solve the streaming problem, the extractor uses 18 layers of dilated convolutions with residual connections. This design provides a massive receptive field, allowing the network to maintain a wide temporal context. This context is essential for "locking" a stream to a single identity across the duration of the audio segment.
Architecture of the source extractor featuring residual attention and dilated convolutions.

Siamese Speaker Classifier and Max-Pooling

Each extracted stream is fed into a Siamese network—either a syllable-level LSTM or a ResNet34—with shared weights. To resolve the permutation problem without the overhead of PIT, the authors introduced channel-wise max-pooling. In this approach, the network allows all output channels to "vote" for each potential speaker. The system takes the maximum probability for a given identity across all channels, effectively ignoring the order of speakers and focusing on whether the correct identities are present in the output set.

The end-to-end training pipeline with channel-wise max-pooling.

Experimental Results

The model was trained and evaluated using Hub-4 broadcast news recordings, focusing on the 20 speakers with the highest total speech time. Audio was processed into 2-second segments, and artificial mixtures were created for 2-speaker and 3-speaker scenarios.

Scenario Metric Proposed (ResNet) Proposed (LSTM) Wang2018
2-Speaker Identify 1/2 99.9% 99.9% 95.2%
2-Speaker Identify 2/2 93.9% 93.6% 36.3%
3-Speaker Identify 3/3 81.2% 77.7% 12.5%

An ablation study indicated that removing the residual attention mechanism led to a significant performance drop, confirming its necessity for handling the noise and background music inherent in broadcast audio.

Discussion and Conclusion

Several key insights emerged from this work. First, a large receptive field is vital; without deep dilated convolutions, the model frequently "swaps" speaker identities mid-sentence. Second, joint optimization of the extractor and classifier improves performance, as the extractor learns to prioritize features most useful for identification rather than mere signal reconstruction. Finally, channel-wise max-pooling provides a computationally efficient alternative to PIT.

While the system achieves high accuracy, it currently requires a fixed configuration for a specific number of speakers. Future research will focus on scaling the system to larger speaker populations, testing in more diverse acoustic environments, and reducing the computational load of the dilated convolution stack for real-time applications.

Summary updated

BibTeX
@inproceedings{zhu2020identify,
  author = {Junzhe Zhu and Mark Hasegawa-Johnson and Leda Sari},
  title = {{Identify Speakers in Cocktail Parties with End-to-End Attention}},
  booktitle = {Interspeech},
  year = {2020},
  url = {https://openreview.net/forum?id=o_KyzKrJ9Ho},
}
Figure