End-To-End Speaker Diarization as Post-Processing

Shota Horiguchi, Paola García, Yusuke Fujita, Shinji Watanabe, Kenji Nagamatsu

TL;DR

This paper proposes a novel hybrid approach to speaker diarization that combines the strengths of traditional clustering-based methods with end-to-end neural networks. By using a two-speaker end-to-end model to refine the outputs of a clustering-based system, the authors achieve significant improvements in diarization accuracy, particularly in handling overlapping speech and a large number of speakers.

What Problem Does This Paper Address?

Speaker diarization, the task of identifying "who spoke when" in an audio recording, is crucial for many speech processing applications like transcription enrichment and speech recognition. Traditional clustering-based methods, while robust for a large number of speakers, struggle with overlapping speech because they assign each audio frame to a single speaker. Conversely, end-to-end (EEND) methods can handle overlaps by treating diarization as a multi-label classification problem, but they often perform poorly when the number of speakers is large due to data scarcity and training complexities. This paper aims to bridge this gap by developing a method that leverages the strengths of both approaches to achieve robust diarization across various scenarios, especially those with overlapping speech and many speakers.

Methods

The core of this paper's contribution lies in a post-processing strategy that refines the output of a clustering-based diarization system using a two-speaker end-to-end (EEND) model. Here's a breakdown of their approach:

  1. Initial Clustering: The process begins with a standard clustering-based diarization method, specifically using x-vectors and agglomerative hierarchical clustering (AHC). This provides an initial set of speaker segments, which are generally good but may not accurately handle overlaps.
  2. Iterative Refinement with Two-Speaker EEND: The key innovation is the iterative application of a pre-trained two-speaker EEND model. For each pair of speakers identified by the clustering method, the algorithm:
  3. Frame Selection: Selects audio frames that are likely to contain only the two speakers in question, excluding frames where other speakers are active. This is crucial for adapting the two-speaker EEND model to scenarios with more than two speakers.
  4. EEND Processing: Feeds the selected frames and their corresponding acoustic features into the two-speaker EEND model. This model outputs posterior probabilities for each of the two speakers being active in those frames.
  5. Permutation Resolution: Addresses the inherent permutation ambiguity in EEND outputs by finding the optimal correspondence between the EEND's predicted speaker activities and the original two speakers. This is done by maximizing a similarity score between the predicted and original segments.
  6. Update Strategy: Updates the diarization results for the selected speaker pair. For scenarios with only two speakers, a full update is performed. For more than two speakers, a more conservative update focuses on refining the overlapped regions to avoid introducing errors from potentially noisy frame selections.
  7. Processing Order: The order in which speaker pairs are processed is determined by the number of frames assigned to each pair by the initial clustering, processing pairs with more frames first. This heuristic helps to stabilize the refinement process.

The EEND model used is a self-attentive EEND with an encoder-decoder attractor calculation module (SA-EEND-EDA), which is capable of handling variable numbers of speakers.

Datasets

The authors evaluated their method on several standard speaker diarization datasets:

  • CALLHOME: A dataset of telephone conversations, used for both adaptation and testing.
  • AMI: A dataset of meeting recordings, used for evaluation.
  • DIHARD II: A challenging dataset with recordings from diverse domains, used for evaluation.

For pre-training the EEND model, they used simulated two-speaker mixtures (Sim2spk) derived from Switchboard and NIST datasets, along with noise and reverberation simulations.

Key Insights and Ideas

  • Hybridization is Key: The paper convincingly demonstrates that combining the robustness of clustering for speaker counting with the overlap-handling capabilities of EEND for refinement yields superior results.
  • Two-Speaker EEND as a Powerful Refiner: A pre-trained two-speaker EEND model, when strategically applied, can effectively improve the segmentation of overlapping speech segments, even in multi-speaker scenarios.
  • Frame Selection for Adaptation: The proposed frame selection mechanism is a clever way to adapt a two-speaker EEND model to datasets with more than two speakers, making better use of available training data.
  • Order Matters: The processing order of speaker pairs significantly impacts the final diarization accuracy, with a decreasing order of frame count proving effective.

Key Results

The proposed post-processing method consistently improved the performance of state-of-the-art clustering-based diarization systems across all evaluated datasets:

  • CALLHOME: The method achieved a Diarization Error Rate (DER) of 14.06%, outperforming the SA-EEND-EDA model (15.29%) and improving upon a clustering-based baseline with VB resegmentation by 1.23%.
  • AMI: The approach led to absolute improvements in DER of 3.07%, 3.14%, and 0.18% over different baselines, including one that already incorporated overlap detection.
  • DIHARD II: The method reduced DER by 2.96% and 2.91% compared to the official baseline and offered further improvements over the winning BUT system, demonstrating its effectiveness on a challenging, multi-domain dataset.

Limitations and Future Work

  • Fixed Two-Speaker EEND: The current method relies on a pre-trained two-speaker EEND model. While effective for refinement, it requires careful adaptation and frame selection for multi-speaker scenarios.
  • Computational Cost: Iteratively applying the EEND model to all speaker pairs can increase the overall computational cost compared to a single-pass clustering method.

The authors suggest that future work could explore end-to-end models capable of handling an arbitrary number of speakers directly, or investigate more efficient ways to integrate end-to-end components into the diarization pipeline. Further research into more robust frame selection strategies and alternative permutation resolution techniques could also yield additional improvements.

Summary updated

BibTeX
@inproceedings{horiguchi2021end,
  author = {Shota Horiguchi and Paola García and Yusuke Fujita and Shinji Watanabe and Kenji Nagamatsu},
  title = {{End-To-End Speaker Diarization as Post-Processing}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp39728.2021.9413436},
}
Figure