End-To-End Diarization for Variable Number of Speakers with Local-Global Networks and Discriminative Speaker Embeddings

Soumi Maiti, Hakan Erdogan, Kevin W. Wilson, Scott Wisdom, Shinji Watanabe, John R. Hershey · DOI

Introduction

Speaker diarization—the process of determining "who spoke when"—is a fundamental component of speech processing systems. Traditional diarization pipelines typically involve multiple stages: audio segmentation, speaker embedding extraction (e.g., x-vectors), and clustering. However, these modular systems often struggle with overlapping speech, a common occurrence in natural human conversation, because clustering algorithms generally assume a single active speaker per segment.

While recent end-to-end (E2E) neural models have improved performance on overlapping speech, many still face challenges when handling a variable number of speakers. Recursive "decoder-style" models that extract speakers one by one are often computationally expensive and difficult to optimize. This paper proposes a single-pass, E2E architecture that efficiently handles an unknown number of overlapping speakers by combining local and global acoustic modeling with discriminative speaker embeddings.

The Local-Global Architecture

The core of the proposed system is a hybrid "Local-Global" network designed to capture both fine-grained acoustic textures and long-term speaker context.

The proposed Local-Global architecture featuring TDCN for local features and Self-Attention for global context.

The architecture consists of several integrated components:

  1. Time-Dilated Convolutional Network (TDCN): This module extracts local acoustic features, effectively capturing the unique "texture" of individual voices.
  2. Self-Attention (SA) Module: Following the TDCN, a global network uses self-attention to maintain speaker consistency across long audio sequences, ensuring the model remembers who spoke earlier in a meeting.
  3. Linear Self-Attention: To mitigate the $O(T^2)$ memory complexity of standard attention in long recordings, the authors utilize a linear approximation. This enables the training of larger, more expressive "SA-Large" models that significantly outperform smaller models using full attention.
  4. Auxiliary Speaker Module: The network incorporates a multi-task objective. Beyond predicting speech activity, it performs speaker identification. This forces internal embeddings to be more discriminative, which indirectly enhances diarization accuracy.

Training and Refinement

The system employs Permutation Invariant Loss (PIT) to address the label ambiguity inherent in diarization (where the model does not know which output slot corresponds to which speaker). Furthermore, a two-stage sequential refinement process is used: the initial diarization output is fed back into a second network alongside the original audio to polish the final estimates.

The models were rigorously evaluated on three primary datasets: LibriMeet-100K (simulated meetings), LibriMeet-Dyn (dynamic mixing with 0-40% overlap and up to 8 speakers), and LibriCSS (real-world far-field recordings).

Key Results and Discussion

The proposed architecture demonstrates a substantial reduction in Diarization Error Rate (DER). On the challenging LibriMeet-Dyn dataset, a baseline BLSTM model achieved a DER of 40.0%. The integration of TDCN and SA with local loss reduced this to 9.4%, and the final sequential refinement model reached a state-of-the-art DER of 5.3%.

Confusion matrix showing the model's performance across variable speaker counts (1 to 8).

A critical strength of the model is its ability to handle a variable number of speakers. As shown in the confusion matrix, the system remains stable even as the speaker count increases to eight. While performance is naturally higher for fewer speakers, the model avoids the catastrophic failures often seen in clustering-based systems when faced with high overlap and many participants.

Interestingly, the model performed exceptionally well on reverberated audio. The authors suggest that the network learns to utilize the consistent "acoustic fingerprint" provided by room reverberation to track speakers more effectively throughout a meeting.

Conclusion

By combining local convolutional layers with global linear self-attention and auxiliary speaker identification, this research provides a robust framework for E2E speaker diarization. The model significantly reduces DER across diverse scenarios and handles overlapping speech from a variable number of speakers in a single pass. Future work will focus on improving generalization to "in-the-wild" data where acoustic conditions are even more unpredictable.

Summary updated

BibTeX
@inproceedings{maiti2021end,
  author = {Soumi Maiti and Hakan Erdogan and Kevin W. Wilson and Scott Wisdom and Shinji Watanabe and John R. Hershey},
  title = {{End-To-End Diarization for Variable Number of Speakers with Local-Global Networks and Discriminative Speaker Embeddings}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp39728.2021.9414841},
}
Figure