TL;DR
This paper introduces EEND-EDA, an end-to-end neural diarization system that can handle an unknown number of speakers by using an encoder-decoder to dynamically generate speaker-wise "attractors." This approach significantly improves upon previous fixed-speaker-number EEND models and offers a more flexible and accurate solution for identifying "who spoke when."
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. Traditional methods often rely on a cascade of separate modules (speech activity detection, speaker embedding, clustering), which can be complex and struggle with overlapping speech. While end-to-end neural diarization (EEND) models offer a more integrated approach, a major limitation has been their inability to handle a flexible number of speakers, typically requiring the number of speakers to be known beforehand. This paper tackles this limitation by proposing an EEND architecture that can adapt to an unknown and variable number of speakers.
Methods
The core innovation is the Encoder-Decoder Based Attractor Calculation (EDA) module. Here's how it works:
- Frame-wise Embeddings: An encoder (based on Transformers) processes the input audio features to generate frame-wise embeddings, capturing the acoustic characteristics of each time segment.
- Attractor Generation: An LSTM-based encoder-decoder then takes these embeddings and sequentially generates "attractors." These attractors are learned representations that aim to capture the unique characteristics of each speaker present in the audio. The key is that the number of attractors is not fixed beforehand.
- Flexible Speaker Count: The EDA module continues generating attractors until a stopping condition is met, determined by an "attractor existence probability." This allows the system to output a flexible number of speaker representations.
- Diarization: The final diarization results (which speaker is active at each time frame) are computed by calculating the dot product between the frame-wise embeddings and the generated speaker attractors. This naturally handles speaker overlap, as overlapping speech segments will have higher dot product values with multiple attractors.
- SAD Post-processing: To enable fairer comparisons with traditional cascaded methods, the authors propose a Speech Activity Detection (SAD) post-processing step. This aligns the EEND-EDA's output with external SAD results, helping to mitigate errors from false alarms and missed speech.
- Iterative Inference: To overcome the empirical limitation of the number of speakers being tied to the training data, an iterative inference method is introduced. This process decodes speakers iteratively, selecting silence frames between iterations, allowing for more speakers than initially trained for.
Datasets
The authors used a combination of simulated and real-world datasets:
- Simulated Datasets: Created by mixing single-speaker recordings from corpora like Switchboard-2, Switchboard Cellular, and NIST Speaker Recognition Evaluation. These were generated with varying numbers of speakers and overlap ratios (β).
- Real Datasets:
- CALLHOME: Telephone conversations, used for both 2-speaker and 3-speaker evaluations.
- CSJ: Japanese speech data.
- AMI headset mix: Meeting recordings.
- DIHARD II & DIHARD III: Datasets from diarization challenges, featuring diverse domains and a large number of speakers.
Key Insights and Ideas
- Attractors as Speaker Signatures: The core idea of using learned "attractors" as speaker-specific representations is powerful. Unlike fixed embeddings, these attractors are dynamically generated and adapt to the specific audio content, leading to better performance.
- Shuffled Input Order is Key: For the EDA module, feeding shuffled sequences of embeddings to the decoder significantly outperformed chronological order. This suggests that the global distribution of embeddings is more important than their temporal sequence for attractor generation.
- Flexibility Trumps Fixedness: EEND-EDA's ability to handle a flexible number of speakers, even in fixed-speaker evaluations, demonstrates the advantage of adaptive attractors over fixed ones.
- SAD Post-processing for Fair Comparison: The proposed SAD post-processing is a crucial step for bridging the gap between EEND and cascaded systems, allowing for more meaningful performance comparisons.
Key Results
- State-of-the-Art Performance: EEND-EDA consistently outperformed conventional cascaded methods and previous EEND approaches on various datasets, including CALLHOME, CSJ, AMI, DIHARD II, and DIHARD III.
- Improved DERs: For two-speaker evaluations, EEND-EDA with shuffled input achieved DERs as low as 2.44% on simulated data and 8.07% on CALLHOME. For three-speaker evaluations, it achieved 6.21% on simulated data and 10.41% on CALLHOME.
- Handling Overlap: The method demonstrated strong performance even with significant speaker overlap.
- Iterative Inference Effectiveness: The iterative inference method allowed the system to handle more speakers than it was explicitly trained for, showing promising results on challenging datasets like DIHARD III.
Limitations and Future Work
- Empirical Speaker Limit: While EDA is designed for flexible speaker counts, the actual number of speakers it can handle is empirically limited by the maximum number of speakers in the training data.
- Simulation Protocol: The authors suggest exploring better simulation protocols to generate more diverse and realistic training data, especially for handling a larger number of speakers.
- Unsupervised Clustering: Introducing unsupervised clustering into EEND-EDA is proposed as a way to further remove the limitation on the output number of speakers imposed by training datasets.
- Architecture Exploration: Investigating attention-based LSTM or Transformer encoder-decoders, or alternative encoder architectures like Conformers, are suggested for future work.
- Large Speaker Counts: Handling a very large number of speakers (e.g., in DIHARD III) remains a challenge, and further research is needed in this area.
Summary updated