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 · OpenReview

TL;DR

This paper tackles the challenge of speaker diarization (figuring out who spoke when) when the number of speakers is unknown and potentially larger than what the model was trained on. They propose a novel approach that combines global and local attractor-based neural diarization with unsupervised clustering to overcome this limitation, achieving state-of-the-art results on challenging datasets.

What Problem Does This Paper Address?

Speaker diarization is crucial for understanding conversations in various applications, from transcribing meetings to analyzing call center interactions. Traditional methods often rely on clustering speaker embeddings, which are flexible in handling varying speaker counts. However, recent end-to-end neural diarization (EEND) models, while achieving high accuracy, often struggle with accurately estimating the number of speakers, especially when it exceeds the number seen during training. This limitation arises from the attractor calculation module in EEND models, which, despite being generalized by Transformer encoders, can be constrained by the training data's speaker count. The paper aims to bridge this gap by enabling EEND models to handle an "unlimited" number of speakers, even when the training data has a fixed, smaller set.

Methods

The core innovation lies in augmenting existing attractor-based EEND models (EEND-EDA) with a two-pronged strategy:

  • Local Attractors and Subsequence Processing: The authors hypothesize that in any short segment of speech, the number of active speakers is relatively small. They split the input audio sequence into short subsequences and apply the EEND-EDA model to each subsequence independently. This generates "local attractors" for each subsequence, effectively allowing the model to handle a limited number of speakers within each segment.
  • Unsupervised Clustering of Local Attractors: To connect these local diarization results and infer the global speaker count, they employ unsupervised clustering. Local attractors from all subsequences are converted into a new representation. Then, an affinity matrix is constructed based on the similarity of these converted attractors. Crucially, they propose a novel method for estimating the number of clusters (speakers) by analyzing the eigenvalues of this affinity matrix, specifically using an "eigenratio" instead of the traditional "eigengap" to be more robust to noise. They also incorporate "cannot-link" constraints during clustering to ensure attractors from the same subsequence are assigned to different speakers.
  • Inference Switching Strategy: For inference, they combine the strengths of both global and local attractors. They first estimate the number of speakers using the global attractors. If this estimate is small (e.g., less than four, based on their training setup), they use the more accurate global attractor-based inference. If the estimate is larger, they switch to the local attractor-based inference with unsupervised clustering.

Datasets

The paper utilizes both simulated and real-world datasets:

  • Simulated Datasets: Used for training and evaluation. They created simulated multi-talker recordings with varying numbers of speakers (1-6) and overlap ratios, following established protocols. Notably, they trained on mixtures with up to 4 speakers and evaluated on 5- and 6-speaker mixtures to demonstrate the method's ability to handle unseen speaker counts.
  • Real Datasets:
    • CALLHOME: Used for model adaptation and testing.
  • DIHARD II & III: Used for evaluation, these datasets are known for containing mixtures with a larger number of speakers (up to 9-10).

Key Insights and Ideas

  • Decomposition is Key: Breaking down a long recording into smaller subsequences, where speaker counts are manageable, is a powerful strategy to overcome the limitations of fixed-capacity models.
  • Local Attractors as Building Blocks: Local attractors, derived from short segments, act as robust building blocks that can be aggregated to represent the entire conversation, even with a large number of speakers.
  • Eigenvalue Analysis for Speaker Counting: The proposed eigenratio-based clustering for estimating the number of speakers from the affinity matrix is a novel and effective way to handle the uncertainty in speaker counts, especially in low-data regimes (short subsequences).
  • Hybrid Inference for Robustness: Combining global and local attractor-based inference based on the estimated speaker count provides a practical and effective way to leverage the strengths of both approaches.

Key Results

The proposed method demonstrates significant improvements, particularly in mismatched conditions (more speakers during testing than training):

  • Simulated Data: Achieved DERs of 11.84% on CALLHOME, 28.33% on DIHARD II, and 19.49% on DIHARD III, outperforming conventional EEND-EDA and other baselines, especially for higher speaker counts.
  • Speaker Counting: The confusion matrices show that the proposed method can estimate the number of speakers more accurately in mismatched conditions compared to EEND-EDA.
  • State-of-the-Art Performance: The results on DIHARD II and III are competitive with, and in some cases better than, carefully tuned challenge submissions.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the "unlimited" nature of speaker handling is relative to the model's ability to cluster effectively. While it surpasses the training data limit, extremely large numbers of speakers might still pose challenges.
  • The inference switching strategy relies on the accuracy of the initial global attractor-based speaker count estimation. Errors here can impact performance.
  • Future Work:
    • The authors suggest an "online extension of the proposed method using online clustering methods" as a promising direction. This would enable real-time diarization for 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