Skip to main content
QUICK REVIEW

[Paper Review] Attention Mechanism in Speaker Recognition: What Does It Learn in Deep Speaker Embedding?

Qiongqiong Wang, Koji Okabe|arXiv (Cornell University)|Sep 25, 2018
Speech Recognition and SynthesisComputer Science7 citations
TL;DR

This paper investigates whether attention mechanisms trained within a deep speaker embedding network can be decoupled and applied to other speaker embedding systems, such as i-vectors and non-attentive DNNs. It demonstrates that attention weights learned from one network can generalize effectively, reducing EER by 9.0% and min C_primary by 3.8% when applied to i-vector systems, and further improving performance when combined with soft voice activity detection (VAD).

ABSTRACT

This paper presents an experimental study on deep speaker embedding with an attention mechanism that has been found to be a powerful representation learning technique in speaker recognition. In this framework, an attention model works as a frame selector that computes an attention weight for each frame-level feature vector, in accord with which an utterancelevel representation is produced at the pooling layer in a speaker embedding network. In general, an attention model is trained together with the speaker embedding network on a single objective function, and thus those two components are tightly bound to one another. In this paper, we consider the possibility that the attention model might be decoupled from its parent network and assist other speaker embedding networks and even conventional i-vector extractors. This possibility is demonstrated through a series of experiments on a NIST Speaker Recognition Evaluation (SRE) task, with 9.0% EER reduction and 3.8% min_Cprimary reduction when the attention weights are applied to i-vector extraction. Another experiment shows that DNN-based soft voice activity detection (VAD) can be effectively combined with the attention mechanism to yield further reduction of minCprimary by 6.6% and 1.6% in deep speaker embedding and i-vector systems, respectively.

Motivation & Objective

  • To investigate whether attention mechanisms trained within a deep speaker embedding network can be decoupled and reused with other speaker embedding systems.
  • To evaluate the generalization capability of attention weights across different feature representations, such as i-vectors and non-attentive DNNs.
  • To explore the synergy between attention mechanisms and soft voice activity detection (VAD) for enhanced speaker recognition.
  • To determine whether attention weights represent general frame importance or are tightly coupled to the specific frame-level features of their parent network.

Proposed method

  • Train an attention mechanism as part of a deep speaker embedding network, where attention weights are computed per frame-level feature vector and used to compute a weighted average for utterance-level representation.
  • Decouple the pre-trained attention model from its parent network and apply its attention weights to frame-level features from a non-attentive DNN or i-vector extractor.
  • Apply the attention weights in the pooling layer to compute a weighted mean of frame-level features, replacing standard statistics pooling or i-vector extraction with attention-weighted aggregation.
  • Integrate soft VAD (voice posterior) with attention weights by multiplying attention weights αₜ with voice posteriors qₜ to form a combined weighting factor for improved frame selection.
  • Use the same attention model trained on SRE04-10, Switchboard, and Fisher data to generate attention weights for evaluation on out-of-domain data, including Cantonese and Tagalog utterances.
  • Apply Kaldi’s unsupervised domain adaptation to fine-tune the PLDA in both out-of-domain and in-domain settings to improve generalization and validate robustness of attention-based pooling.

Experimental results

Research questions

  • RQ1Can attention weights learned in a deep speaker embedding network be effectively transferred to non-attentive speaker embedding systems such as i-vectors?
  • RQ2Is the attention mechanism's learned frame importance specific to its parent network’s frame-level features, or is it generalizable across different feature extractors?
  • RQ3Does combining attention weights with soft voice activity detection (VAD) further improve speaker recognition performance in both x-vector and i-vector systems?
  • RQ4How does domain shift (e.g., language and channel differences) affect the generalization of attention weights, and can domain adaptation enhance their robustness?

Key findings

  • Decoupling the attention mechanism from its parent network and applying its weights to non-attentive DNNs or i-vector systems still yields significant performance gains, with a 9.0% relative reduction in EER and 3.8% reduction in min C_primary.
  • The attention weights generalize well across different feature representations, indicating they capture general frame importance rather than being tightly coupled to a specific network’s internal features.
  • Combining attention weights with soft VAD improves performance further, reducing min C_primary by 6.6% in x-vector systems and 1.6% in i-vector systems.
  • Domain adaptation using unlabeled SRE’16 data significantly improves performance across all systems, and the trends observed in out-of-domain systems are preserved in in-domain systems.
  • The best performance is achieved by combining domain adaptation, attention weights, and soft VAD, with S2’ achieving an EER of 7.85% and min C_primary of 0.620 in the in-domain setting.
  • Even when applied to i-vector systems, attention weights derived from a DNN-based speaker embedding model reduce EER by 9.0% and min C_primary by 3.8%, demonstrating strong generalization capability.

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.