Robust End-to-end Speaker Diarization with Generic Neural Clustering

Chenyu Yang, Yu Wang

Abstract

End-to-end speaker diarization (EEND) approaches have shown exceptional performance over traditional modular approaches. To further improve EEND for real speech recordings, recent works integrate unsupervised clustering with neural models. However, these methods suffer from a lack of supervision, constraint violations in K-means, and training-inference mismatches. This paper proposes a robust generic neural clustering approach that can be integrated with any chunk-level predictor. Leveraging the sequence modeling of a recurrent neural network (RNN), the approach dynamically estimates speaker counts during inference. Experiments show that when integrated with an attractor-based predictor, the proposed neural clustering yields superior Diarization Error Rate (DER) compared to constrained K-means under mismatched conditions.

Introduction

Speaker diarization—the task of determining "who spoke when"—is critical for modern speech processing. While End-to-End Neural Diarization (EEND) models excel on short audio segments with fixed speaker counts, they often struggle with long-form audio and variable numbers of speakers. To address long recordings, audio is typically split into chunks, processed, and then linked via unsupervised clustering (e.g., K-means). This introduces several issues: unsupervised algorithms cannot leverage labeled data, simple clustering often violates "cannot-link" constraints within chunks, and there is a fundamental mismatch between supervised training and unsupervised inference.

Methodology

The authors introduce EDA-RC (Encoder-Decoder Attractor with RNN Clustering), a two-stage framework designed to overcome these limitations. The system operates as follows:

  1. Chunk-level Prediction: Audio is segmented into temporal chunks. An EEND-EDA model processes each chunk to produce "local attractors"—vector representations of the speakers present in that specific slice of time.
  2. RNN-Based Neural Clustering: Instead of geometric clustering, Gated Recurrent Units (GRUs) are employed. The GRU's hidden states act as "global speaker profiles." As the model moves through chunks, it uses a prediction step to associate local attractors with existing global hidden states.
  3. Dynamic Speaker Estimation: To handle an unknown number of speakers, the model can initialize a new hidden state if a local attractor does not match existing profiles, allowing it to discover new speakers on the fly.
Architecture of the proposed neural clustering approach, illustrating the interaction between local attractors and global speaker profiles.

Experimental Evaluation

The models were trained on 100,000 simulated 3-speaker mixtures from LibriSpeech. Testing was performed on sets with 3, 4, and 5 speakers (LS_3, LS_4, LS_5) to evaluate generalization to higher speaker counts than seen during training. Additionally, the real-world CALLHOME dataset was used to evaluate performance on natural, multilingual telephonic speech with 2 to 6 speakers.

Results and Discussion

The proposed EDA-RC approach consistently outperformed both standard EEND-EDA and EEND-EDA combined with K-means clustering across various conditions.

In mismatched conditions (trained on 3 speakers but tested on 4), the EDA-RC achieved a 20.82% Diarization Error Rate (DER), compared to 33.79% for standard EEND-EDA and 22.48% for the K-means version. On the real-world CALLHOME 5-speaker subset, the EDA-RC reached a 35.79% DER, a relative improvement of roughly 9.0% over the K-means baseline (39.34%).

Diarization Error Rate (DER) comparison on LibriSpeech datasets, highlighting performance in matched (LS_3) and mismatched (LS_4, LS_5) scenarios.

Ablation studies showed that the RNN clustering is relatively insensitive to the order of input chunks, suggesting the model learns robust speaker representations rather than relying on temporal proximity. However, the system's performance remains heavily reliant on the quality of the initial "local attractors."

Conclusion

By making the clustering "neural" and supervised, the EDA-RC model learns how to cluster based on actual speaker patterns rather than just geometric distance. This framework acts as a bridge that allows models trained on short segments to perform reliably on much longer, more complex recordings. Future work will explore replacing the RNN with more modern architectures, such as self-attention mechanisms, to further improve global speaker modeling.

Summary updated

BibTeX
@inproceedings{yang2022robust,
  author = {Chenyu Yang and Yu Wang},
  title = {{Robust End-to-end Speaker Diarization with Generic Neural Clustering}},
  booktitle = {Interspeech},
  year = {2022},
  url = {https://openreview.net/forum?id=LR68CMBPE9},
}
Figure