Online Neural Diarization of Unlimited Numbers of Speakers Using Global and Local Attractors

Shota Horiguchi, Shinji Watanabe, Paola García, Yuki Takashima, Yohei Kawaguchi · DOI

TL;DR

This paper introduces EEND-GLA, a novel end-to-end neural diarization system that overcomes the limitation of fixed speaker counts in previous models. By combining global and local speaker attractors with unsupervised clustering, EEND-GLA can accurately diarize an unlimited number of speakers, even in online settings, by adapting a speaker-tracing buffer.

What Problem Does This Paper Address?

Speaker diarization, the task of identifying "who spoke when," is crucial for understanding multi-talker conversations. While end-to-end neural diarization (EEND) has shown great promise, particularly in handling overlapping speech, a significant challenge remains: accurately estimating an unlimited number of speakers. Traditional EEND models often fix the maximum number of speakers based on their architecture or training data, making them ill-suited for real-world scenarios where speaker counts can vary unpredictably. Existing methods that attempt to address this often rely on complex cascaded systems or have limitations in online inference. This paper aims to bridge this gap by proposing an EEND-based approach that can dynamically handle an arbitrary number of speakers, both offline and online.

Methods

The core innovation of EEND-GLA lies in its hybrid approach:

  • Global and Local Attractors: The system leverages EEND-EDA's ability to estimate speaker attractors (representations of speaker characteristics). It uses "global attractors" derived from the entire audio input, similar to EEND-EDA, and also computes "local attractors" from short, consecutive blocks of audio.
  • Unsupervised Clustering: To handle an unlimited number of speakers, EEND-GLA introduces unsupervised clustering. Local attractors from different blocks are clustered based on their similarity. This allows the system to group speakers across segments without a predefined limit.
  • Block-wise Speaker-Tracing Buffer (BW-STB): For online inference, the authors propose a modified speaker-tracing buffer. Instead of processing frame-by-frame, BW-STB operates on blocks of audio, ensuring that the buffer contains temporally contiguous features and results. This is crucial for maintaining speaker consistency and reducing latency.
  • Speaker-Balanced Sampling Probabilities: To improve the informativeness of the speaker-tracing buffer, a novel sampling strategy is introduced. This strategy balances the selection of frames to prevent bias towards dominant speakers, ensuring better handling of permutation ambiguity.
  • Variable Chunk-Size Training (VCT): The paper revisits VCT, specifically using minibatch reshaping, to improve online diarization performance, especially at the beginning of inference when the context is limited.

Datasets

The experiments were conducted using both simulated and real-world datasets:

  • Simulated Datasets:
    • Sim1spk to Sim4spk: Used for initial training and adaptation, containing mixtures with 1 to 4 speakers.
  • Sim5spk and Sim6spk: Used for testing unseen numbers of speakers (5 and 6 speakers).
  • Real Datasets:
    • CALLHOME: Used for adaptation and evaluation.
  • DIHARD II and DIHARD III: Used for adaptation and evaluation, featuring more challenging conditions with varying numbers of speakers (up to 10).

Key Insights and Ideas

  • Clustering is Key for Unlimited Speakers: The paper strongly suggests that unsupervised clustering of speaker representations (local attractors in this case) is a viable and effective path towards handling an unlimited number of speakers in EEND systems.
  • Local Attractors Provide Granularity: While global attractors are useful, local attractors derived from short segments are more amenable to clustering and can capture speaker characteristics within specific time windows, which is essential for block-wise processing.
  • Online Diarization Benefits from Block-wise Processing: The proposed BW-STB significantly improves online diarization by processing audio in blocks, maintaining temporal coherence and enabling lower latency compared to frame-wise approaches.
  • Speaker-Balanced Sampling is Crucial for Buffer Robustness: The speaker-balanced sampling strategy is vital for preventing the speaker-tracing buffer from becoming biased towards dominant speakers, which is a common pitfall in online diarization.
  • EEND-GLA Bridges Offline and Online Gaps: A significant advantage highlighted is that EEND-GLA's offline and online performance gaps are smaller than those of traditional cascaded methods, as the core inference mechanism is consistent.

Key Results

  • Offline Performance: EEND-GLA-Small and EEND-GLA-Large significantly outperformed EEND-EDA on datasets with an unseen number of speakers, demonstrating its ability to handle more speakers than it was trained on. For example, on simulated 6-speaker mixtures, EEND-GLA-Large achieved a DER of 20.42%, compared to EEND-EDA's 22.59%.
  • Online Performance: EEND-GLA-Small and EEND-GLA-Large using BW-STB significantly improved DERs on five- and six-speaker mixtures compared to baseline online methods. On CALLHOME, EEND-GLA-Large achieved a DER of 14.29%, outperforming BW-EDA-EEND by a large margin.
  • Real-time Factor: EEND-GLA-Small with BW-STB demonstrated a real-time factor of approximately 0.16 (10 frames/s) and 0.38 (20 frames/s) on simulated data, indicating its suitability for real-time applications.
  • Speaker Counting: Confusion matrices showed that EEND-GLA-Small with BW-STB improved speaker counting accuracy compared to EEND-EDA with FW-STB, especially for higher speaker counts.

Limitations and Future Work

  • Assumption of Bounded Speakers per Block: The method assumes that the number of speakers appearing within a short block is limited and fixed. While the total number of speakers can be unlimited, this assumption is critical for the local attractor calculation.
  • Computational Complexity of Clustering: While the paper demonstrates real-time performance, the clustering step in the inference of EEND-GLA has a theoretical complexity of O(n³), where n is the number of local attractors. The authors show it's manageable in practice for their chosen buffer lengths.
  • Future Work: The paper implicitly suggests that further exploration of different clustering algorithms and buffer management strategies could lead to even better performance. The authors also mention the potential for domain adaptation with real datasets, which they utilized for fine-tuning.

Summary updated

BibTeX
@article{horiguchi2023online,
  author = {Shota Horiguchi and Shinji Watanabe and Paola García and Yuki Takashima and Yohei Kawaguchi},
  title = {{Online Neural Diarization of Unlimited Numbers of Speakers Using Global and Local Attractors}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2023},
  doi = {10.1109/taslp.2022.3233237},
}
Figure