NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Towards Neural Diarization for Unlimited Numbers of Speakers Using Global and Local Attractors

Shota Horiguchi, Shinji Watanabe, Paola García, Yawen Xue, Yuki Takashima, Yohei Kawaguchi

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.

Overview of the proposed EEND system architecture, illustrating the transition from local subsequence processing to global attractor clustering.
  1. Subsequence Processing: The input recording is divided into short, 5-second subsequences.
  2. 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.
  3. 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.
  4. 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.

t-SNE visualizations of frame-wise embeddings for 3, 4, 5, and 6 speakers. The model, trained on up to 4 speakers, still produces well-separated clusters for 5 and 6 speakers.

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

BibTeX
@inproceedings{horiguchi2021towards,
  author = {Shota Horiguchi and Shinji Watanabe and Paola García and Yawen Xue and Yuki Takashima and Yohei Kawaguchi},
  title = {{Towards Neural Diarization for Unlimited Numbers of Speakers Using Global and Local Attractors}},
  booktitle = {ASRU},
  year = {2021},
  doi = {10.1109/asru51503.2021.9687875},
}
Figure