Skip to main content
QUICK REVIEW

[Paper Review] Triplet Network with Attention for Speaker Diarization

Huan Song, Megan Willi|arXiv (Cornell University)|Aug 4, 2018
Speech Recognition and SynthesisComputer Science18 references9 citations
TL;DR

This paper proposes an end-to-end triplet network with self-attention mechanisms for speaker diarization, directly learning temporal speech representations from raw audio instead of relying on i-vectors. By jointly optimizing embeddings and metric learning via triplet loss, the model achieves a 12.7% diarization error rate on CALLHOME—outperforming i-vector-based baselines, including one using a larger training corpus and fine-tuned fully connected networks.

ABSTRACT

In automatic speech processing systems, speaker diarization is a crucial front-end component to separate segments from different speakers. Inspired by the recent success of deep neural networks (DNNs) in semantic inferencing, triplet loss-based architectures have been successfully used for this problem. However, existing work utilizes conventional i-vectors as the input representation and builds simple fully connected networks for metric learning, thus not fully leveraging the modeling power of DNN architectures. This paper investigates the importance of learning effective representations from the sequences directly in metric learning pipelines for speaker diarization. More specifically, we propose to employ attention models to learn embeddings and the metric jointly in an end-to-end fashion. Experiments are conducted on the CALLHOME conversational speech corpus. The diarization results demonstrate that, besides providing a unified model, the proposed approach achieves improved performance when compared against existing approaches.

Motivation & Objective

  • To address the limitation of i-vector-based speaker diarization systems that decouple feature extraction from metric learning, reducing end-to-end optimization potential.
  • To investigate whether joint representation and metric learning via triplet loss can improve diarization performance without relying on i-vectors.
  • To evaluate the effectiveness of self-attention mechanisms in modeling sequential speech features for speaker embedding learning.
  • To compare end-to-end attention-based triplet networks against conventional i-vector pipelines and triplet networks on i-vectors.
  • To demonstrate that a smaller, unified model trained on a limited dataset can outperform larger, two-stage systems.

Proposed method

  • The model uses a self-attention mechanism to learn speaker embeddings directly from raw audio features, replacing the need for i-vector extraction.
  • A triplet loss function is applied to the learned embeddings, minimizing intra-speaker distances and maximizing inter-speaker distances with a margin.
  • The network is trained end-to-end on the TEDLIUM corpus using a triplet mining strategy with margin M=64 and triplet margin α=0.8.
  • The final speaker diarization is performed using x-means to estimate the number of speakers and k-means clustering on the learned embeddings.
  • The model is evaluated using Diarization Error Rate (DER) on the CALLHOME corpus, with oracle speech activity regions and 250ms collar tolerance.
  • The architecture replaces the conventional two-stage pipeline (i-vector extraction + metric learning) with a unified, end-to-end trainable system.

Experimental results

Research questions

  • RQ1Can end-to-end learning of speaker embeddings and metric learning via triplet loss improve diarization performance compared to i-vector-based pipelines?
  • RQ2Does replacing i-vectors with raw audio-based attention networks lead to better generalization, especially when training data is limited?
  • RQ3How effective is the self-attention mechanism in modeling long-range dependencies in speech sequences for speaker representation learning?
  • RQ4Can a unified model trained on a smaller dataset outperform a two-stage system trained on a larger corpus?
  • RQ5What is the impact of joint optimization of embeddings and metric learning on clustering quality and DER?

Key findings

  • The proposed end-to-end attention-based triplet network achieved a 12.7% Diarization Error Rate (DER) on the CALLHOME corpus, outperforming the i-vector + cosine (18.7%) and i-vector + PLDA (17.6%) baselines.
  • The model surpassed the i-vector + triplet network with fully connected layers (13.4% DER), despite being trained on a significantly smaller dataset (TEDLIUM vs. larger GMM-UBM corpus).
  • t-SNE visualization confirmed that the learned embeddings effectively separate speakers while maintaining compactness within the same speaker class.
  • The model achieved 0.94 NMI and 0.94 purity in k-means clustering on the development set, indicating high-quality clustering of speaker embeddings.
  • The ablation study showed that a lower triplet margin (α=0.8) and larger margin (M=64) improved training stability and performance.
  • The results demonstrate that joint end-to-end learning of representations and metrics is more effective than sequential processing of i-vectors and metric learning.

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.