Abstract
This paper proposes a novel Attention-based Encoder-Decoder network for End-to-End Neural speaker Diarization (AED-EEND). In the AED-EEND system, we incorporate the target speaker enrollment information used in target speaker voice activity detection (TS-VAD) to calculate the attractor, which can mitigate the speaker permutation problem and facilitate easier model convergence. In the training process, we propose a teacher-forcing strategy to obtain the enrollment information using the ground-truth label. Furthermore, we propose three heuristic decoding methods to identify the enrollment area for each speaker during the evaluation process. Additionally, we enhance the attractor calculation network LSTM used in the end-to-end encoder-decoder based attractor calculation (EEND-EDA) system by incorporating an attention-based model. By utilizing such an attention-based attractor decoder, our proposed AED-EEND system outperforms both the EEND-EDA and TS-VAD systems with only 0.5s of enrollment data.
Introduction
Speaker diarization—the task of determining "who spoke when"—is notoriously difficult due to two main hurdles: the overlap problem and the permutation problem. In natural conversation, people talk over each other, making it hard for traditional clustering methods to assign a single frame to multiple speakers simultaneously. Furthermore, neural networks often struggle to maintain speaker identity consistency throughout a recording; if a model outputs results for Speaker 1 and Speaker 2, it might accidentally swap their identities halfway through, leading to massive errors.
While previous models like EEND-EDA used "attractors" (vector representations of speakers) to handle a flexible number of people, they often lacked training stability. Conversely, TS-VAD systems solved the permutation problem by using pre-recorded "enrollment" speech for each speaker, but they weren't fully end-to-end and required external systems to find those enrollment clips. AED-EEND addresses these issues by combining the flexibility of attractor-based models with the stability of target-speaker enrollment in a streamlined, end-to-end framework.
Methods
The Attention-based Encoder-Decoder (AED-EEND) architecture consists of two primary components: an Embedding Encoder and an Attractor Decoder.
The Embedding Encoder uses a Transformer-like structure to convert raw acoustic features into a sequence of frame-level speaker embeddings. The Attractor Decoder replaces the traditional LSTMs used in previous models with Self-Attention and Cross-Attention modules. It takes "enrollment" information (short clips of a speaker's voice) and uses cross-attention to "look" at the entire recording, generating a refined attractor for that speaker.
Key innovations include:
- Teacher-Forcing Enrollment: During training, the model uses ground-truth labels to pick a random 1–3 second segment of a speaker's voice to act as enrollment data, teaching the model how to use a small "hint" to find that speaker elsewhere.
- Iterative Decoding: At test time, the system iteratively identifies "unclaimed" speech segments to extract enrollment embeddings and generate new speaker attractors until no significant speech remains.
- SC-Decode: To ensure enrollment data is "clean" (containing only one speaker), the researchers use a spectral clustering heuristic to pick the best frames for enrollment.
Key Results
The model was trained and evaluated on simulated data and the CALLHOME benchmark, a standard, challenging set of real-world telephone conversations.
As shown in the results, AED-EEND significantly outperforms previous baselines. On the 2-speaker CALLHOME set, it achieved a Diarization Error Rate (DER) of 7.75%, notably better than EEND-EDA (8.07%) and TS-VAD (9.51%). On the full CALLHOME set with varying speaker counts, it reached a DER of 14.00%, compared to the 15.43% of the EEND-EDA baseline.
A critical finding was the system's robustness: it remains effective even with enrollment segments as short as 0.5 seconds. This is much shorter than what traditional i-vector or x-vector systems typically require. By tying the output to a specific enrollment segment, the permutation problem is effectively resolved because each output channel is explicitly linked to a specific voice sample.
Conclusion
AED-EEND provides a streamlined, end-to-end pipeline for speaker diarization that handles overlaps and identity consistency more effectively than previous methods. While it shows superior performance on 2-3 speaker scenarios, performance slightly degrades in high-speaker-count environments (5-6 speakers), likely due to the model being primarily trained on simulations with up to 4 speakers. Future work will focus on scaling the system to more complex acoustic environments and higher speaker densities.
Summary updated