Skip to main content
QUICK REVIEW

[Paper Review] End-to-End Neural Speaker Diarization with Self-attention

Yusuke Fujita, Naoyuki Kanda|arXiv (Cornell University)|Sep 13, 2019
Speech Recognition and SynthesisComputer Science53 references12 citations
TL;DR

This paper proposes Self-Attentive End-to-End Neural Diarization (SA-EEND), replacing BLSTM with self-attention in an end-to-end model to directly predict speaker turns. The method achieves state-of-the-art performance by modeling global speaker characteristics and handling overlaps more effectively than BLSTM-based or clustering-based approaches, with significant DER reductions on simulated and real datasets including CALLHOME and CSJ.

ABSTRACT

Speaker diarization has been mainly developed based on the clustering of speaker embeddings. However, the clustering-based approach has two major problems; i.e., (i) it is not optimized to minimize diarization errors directly, and (ii) it cannot handle speaker overlaps correctly. To solve these problems, the End-to-End Neural Diarization (EEND), in which a bidirectional long short-term memory (BLSTM) network directly outputs speaker diarization results given a multi-talker recording, was recently proposed. In this study, we enhance EEND by introducing self-attention blocks instead of BLSTM blocks. In contrast to BLSTM, which is conditioned only on its previous and next hidden states, self-attention is directly conditioned on all the other frames, making it much suitable for dealing with the speaker diarization problem. We evaluated our proposed method on simulated mixtures, real telephone calls, and real dialogue recordings. The experimental results revealed that the self-attention was the key to achieving good performance and that our proposed method performed significantly better than the conventional BLSTM-based method. Our method was even better than that of the state-of-the-art x-vector clustering-based method. Finally, by visualizing the latent representation, we show that the self-attention can capture global speaker characteristics in addition to local speech activity dynamics. Our source code is available online at https://github.com/hitachi-speech/EEND.

Motivation & Objective

  • To address the limitations of clustering-based speaker diarization, which cannot directly minimize diarization errors and struggles with speaker overlaps.
  • To develop an end-to-end neural diarization model that bypasses clustering and optimizes directly for diarization performance.
  • To investigate whether self-attention mechanisms improve robustness and accuracy in speaker diarization, especially under variable overlap conditions.
  • To analyze whether self-attention captures both global speaker characteristics and local speech activity dynamics in latent representations.

Proposed method

  • The model uses a self-attention-based encoder-decoder architecture to directly output joint speaker activity per time frame, bypassing clustering.
  • It employs a permutation-free objective function to train the model end-to-end with minimal diarization error optimization.
  • Multi-head self-attention computes pairwise similarities across all frames, enabling global context modeling beyond local recurrence.
  • The model is trained on simulated mixtures with varying overlap ratios and evaluated on real datasets including CALLHOME and CSJ.
  • Domain adaptation is applied to improve generalization on real-world data, reducing overfitting to simulated training conditions.
  • Latent representations are visualized to analyze attention head behavior, distinguishing between speaker-identity and temporal feature learning.

Experimental results

Research questions

  • RQ1Can a self-attention-based end-to-end model outperform BLSTM-based EEND in speaker diarization under varying speaker overlap conditions?
  • RQ2Does the self-attention mechanism capture global speaker characteristics beyond local speech dynamics?
  • RQ3How does the proposed SA-EEND compare to state-of-the-art x-vector clustering-based systems on real-world audio?
  • RQ4To what extent does domain adaptation improve generalization of the model on real test sets?
  • RQ5Can visualization of attention weights confirm that some heads learn speaker-specific global patterns while others detect speech activity?

Key findings

  • The SA-EEND model achieved significantly lower diarization error rates (DER) than the BLSTM-based EEND on all simulated mixtures, with the largest improvement on high-overlap conditions (β=2).
  • On real datasets, SA-EEND trained on simulated data outperformed the x-vector clustering-based method on CSJ and matched it on CALLHOME, demonstrating strong generalization without domain adaptation.
  • After domain adaptation, SA-EEND achieved even better performance than the x-vector system on CALLHOME, reducing confusion and miss errors significantly.
  • Visualization showed that some self-attention heads learned speaker-dependent global patterns via long-range frame similarity, while others acted as position-independent filters for speech activity detection.
  • The self-attention mechanism improved robustness to variable overlap ratios, reducing DER degradation on low-overlap test sets compared to BLSTM-EEND.
  • The model’s performance on real data was further enhanced when trained on real data, though it suffered from overfitting on simulated mixtures due to limited real data and low overlap ratio.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.