Abstract
End-to-end neural diarization (EEND) systems have revolutionized the task of determining "who spoke when," particularly in handling overlapping speech. However, these models typically suffer from a "speaker cap," failing to detect more speakers than they were exposed to during training. We present EEND-GLA, a novel framework that overcomes this scalability bottleneck by combining supervised global attractors with unsupervised clustering of local block-based attractors. This approach allows for an unlimited number of speakers in both offline and online scenarios. Furthermore, we introduce a Block-Wise Speaker-Tracing Buffer (BW-STB) to enable low-latency, real-time diarization. Experimental results on simulated and real-world datasets, including CALLHOME and DIHARD, demonstrate that EEND-GLA significantly reduces Diarization Error Rates (DER), especially in high-speaker-count environments.
Introduction
Speaker diarization has transitioned from cascaded systems to end-to-end neural architectures. While EEND models excel at overlapping speech, their fixed output layers often limit them to a pre-defined maximum number of speakers. If a model trained on four speakers encounters a conversation with six, it typically fails to identify the additional participants. EEND-GLA addresses this by decoupling the feature extraction from the speaker-counting mechanism, utilizing a hybrid attractor strategy to scale gracefully to any number of speakers.
Methods
Global and Local Attractors
The core innovation of EEND-GLA lies in its dual-attractor architecture.
- Global Attractors: The system calculates vectors (attractors) representing each speaker across the entire recording. This supervised method is highly accurate for small, known groups within the training cap.
- Local Attractors: To handle unlimited speakers, the audio is segmented into short blocks (e.g., 5 seconds). The model generates attractors for each block. Since the number of speakers within a 5-second window is usually small, the model can accurately represent them even if the total speaker count for the full recording is high.
To link these local blocks, the system converts local attractors into "relative speaker embeddings" using a Transformer decoder. These embeddings are then clustered via an affinity matrix to establish speaker identities across the entire session.
Online Diarization with BW-STB
For real-time applications, the authors developed the Block-Wise Speaker-Tracing Buffer (BW-STB). Traditional online methods often sample random frames, which can break temporal continuity. BW-STB instead stores entire blocks of audio, preserving the necessary context for calculating accurate local attractors. To prevent the buffer from being dominated by the most talkative participants, a Speaker-Balanced Sampling strategy is employed, ensuring that infrequent or quieter speakers are still tracked effectively.
Key Insights
A critical discovery during development was that the latent space of EEND models already separates into distinct clusters for unseen speakers. Visualizations showed that a model trained on four speakers would still produce six distinct embedding clusters when fed a six-speaker recording; the failure occurred because the attractor generator was hard-coded to stop at four. EEND-GLA leverages this inherent separability by using unsupervised clustering on top of these embeddings.
Experimental Results
The framework was evaluated on both simulated mixtures (1–6 speakers) and real-world benchmarks like CALLHOME and DIHARD II/III.
- Scalability: On simulated 6-speaker data, EEND-GLA achieved a DER of 20.42%, a massive improvement over the 33.28% recorded by the standard EEND-EDA model.
- Real-World Benchmarks: The offline EEND-GLA-Large model reached a DER of 11.84% on CALLHOME, outperforming both spectral clustering and previous EEND iterations.
- Online Performance: The online version using BW-STB achieved a DER of 14.29% on CALLHOME, significantly better than the ~19.5% seen in prior online EEND attempts.
- Efficiency: The system maintains a Real-Time Factor (RTF) between 0.16 and 0.38 on a standard CPU, confirming its suitability for live processing.
Conclusion and Future Work
EEND-GLA successfully breaks the speaker limit in neural diarization. While it currently assumes a limited number of speakers per block, it effectively handles an unlimited number per recording. Future research will focus on refining the clustering algorithms to handle extremely long recordings and improving robustness in high-density "cocktail party" environments where many speakers overlap within a single short window.
Summary updated