Abstract
End-to-end neural diarization (EEND) models excel at handling overlapped speech but often struggle to generalize to a number of speakers exceeding those seen during training. This paper introduces a hybrid approach that combines the strengths of EEND with unsupervised clustering. By extracting "local attractors" from short audio segments and clustering them globally, the system achieves robust diarization for an unlimited number of speakers.
Introduction
Speaker diarization—the process of partitioning an audio stream into homogeneous segments according to speaker identity—is a critical component of many speech processing pipelines. While traditional clustering-based methods (e.g., using x-vectors) are flexible regarding speaker counts, they typically fail in the presence of overlapped speech. Conversely, EEND models handle overlaps well but are often limited by a "speaker count ceiling" imposed by their supervised training. This work proposes a "Global and Local" attractor strategy to bridge this gap.
Problem Statement: The Speaker Count Ceiling
Standard EEND models, such as EEND-EDA (Encoder-Decoder Attractors), use supervised learning to estimate the number of speakers. Consequently, if a model is trained on mixtures of up to four speakers, its performance degrades significantly when encountering five or more speakers. The challenge is to maintain the overlap-handling capabilities of neural models while enabling the scalability of clustering algorithms.
Proposed Methodology
The core of the proposed system is a two-tiered architecture that processes audio both locally and globally.
- Subsequence Processing: The input recording is divided into short, 5-second subsequences.
- Local Attractors: For each subsequence, a local attractor module identifies the active speakers. Because the number of speakers in a short window is typically small, the local counting problem is simplified.
- Attractor Conversion and Clustering: Local attractors are projected into a common embedding space using a Transformer decoder. These "converted attractors" are then clustered across the entire recording using Constrained K-means (CLC-Kmeans), effectively stitching local identities into a global timeline.
- Inference Switching: To optimize performance, the system employs a switching strategy. If the global estimate suggests fewer than four speakers, it defaults to the standard supervised EEND output. For four or more speakers, it utilizes the local attractor clustering branch.
Key Insights: Generalization of the Embedding Space
A fundamental observation of this study is that the underlying Transformer encoders in EEND models learn to produce discriminative speaker embeddings even for speaker counts they were never explicitly trained to handle.
As shown in the visualizations above, the bottleneck in scaling EEND is not the feature extraction itself, but rather the supervised counting mechanism. By replacing the global supervised counter with a local-to-global clustering approach, the system can leverage these well-separated embeddings for any number of speakers.
Experimental Results
The model was evaluated on both simulated mixtures (up to 6 speakers) and real-world datasets including CALLHOME and DIHARD II/III.
- Generalization: On simulated 6-speaker mixtures, the proposed method achieved a Diarization Error Rate (DER) of 20.42%, a substantial improvement over the 33.28% DER of the baseline EEND-EDA.
- Real-World Performance: On the CALLHOME dataset, the system reached a DER of 11.84%, outperforming both state-of-the-art x-vector clustering (VBx) and standard EEND models.
- Robustness: On the challenging DIHARD III dataset, the system achieved a competitive 19.49% DER, demonstrating its effectiveness in noisy, multi-speaker environments.
Conclusion
The "Global and Local" attractor framework successfully extends end-to-end neural diarization to handle an unlimited number of speakers. By solving the speaker counting problem locally and the identity problem globally, the system combines the overlap-handling benefits of neural models with the scalability of unsupervised clustering. Future work will focus on adapting this architecture for online, streaming applications.
Summary updated