An End-to-End Text-independent Speaker Verification Framework with a Keyword Adversarial Network

Sungrack Yun, Janghoon Cho, Jungyun Eum, Wonil Chang, Kyuwoong Hwang

Abstract

This paper presents an end-to-end text-independent speaker verification framework that jointly optimizes a speaker embedding (SE) network and an automatic speech recognition (ASR) network. By employing adversarial training, the SE network learns to produce discriminative speaker embeddings while the ASR network acts as an adversary to minimize phonetic leakage. Experimental results on LibriSpeech and CHiME 2013 datasets demonstrate that the proposed framework significantly reduces the equal error rate (EER) in text-independent scenarios compared to state-of-the-art baselines.

Introduction

Speaker Verification (SV) is a critical biometric task used to authenticate a person's identity based on their voice. While text-dependent SV systems require users to speak a specific passphrase, text-independent systems allow for arbitrary speech, offering greater flexibility. However, text-independent SV faces the challenge of "text-dependency bias," where phonetic content (the "what") is inadvertently encoded into the speaker embedding (the "who"). This bias leads to false rejections when the enrollment and test phrases differ, and false acceptances when an imposter mimics the target's phrase.

To address this, we propose a framework that explicitly decouples speaker characteristics from phonetic content through adversarial learning.

Methodology

The proposed framework consists of two primary components: a Speaker Embedding (SE) network and a Keyword Adversarial (ASR) network.

System Architecture

The SE network utilizes a deep architecture comprising 10 "conv-res" units—combinations of 1D convolutions and residual blocks—followed by an attention mechanism. This network maps raw speech waveforms into a 128-dimensional embedding vector.

Simultaneously, the ASR network serves as an adversary. It attempts to predict the phonetic context (keywords) from the embedding generated by the SE network. The overall goal is to train the SE network to provide enough information for speaker identification while withholding enough phonetic information to "blind" the ASR network.

Overall architecture of the proposed speaker verification framework featuring the SE network, ASR network, and adversarial gradient.

Adversarial Training and Loss Functions

The framework is optimized using a composite loss function:

  1. Triplet Loss: This loss ensures that embeddings from the same speaker are clustered together in the vector space, while embeddings from different speakers are pushed apart.
  2. Adversarial Gradient: This is the core innovation. During backpropagation, the gradient from the ASR network is reversed (or penalized) when updating the SE network. This forces the SE network to "forget" phonetic features that the ASR network would otherwise use for keyword recognition.

Experimental Results

The framework was initially trained on the LibriSpeech dataset (1,000 hours, 2,400 speakers) and fine-tuned on the CHiME 2013 dataset. The evaluation focused on "Target Keyword" (TK) scenarios, where enrollment and test phrases match, and "Non-Target Keyword" (NTK) scenarios, where they differ.

Performance Comparison

The proposed model, DeepRes-TriKwdAdv, was compared against traditional GMM-UBM and the Generalized End-to-End (GE2E) loss model.

Equal Error Rate (EER) results for different models across Target Keyword (TK) and Non-Target Keyword (NTK) scenarios.

As shown in the results table, the adversarial model significantly outperforms baselines in text-independent (NTK) scenarios. For instance, with N=2 keywords, the NTK EER dropped from 20.85% (GMM-UBM) and 8.75% (GE2E) to just 4.76% with our proposed method. This indicates that the adversarial gradient effectively scrubs phonetic "leakage" from the speaker embeddings, leading to a more robust average EER.

Conclusion

We have introduced an end-to-end framework for text-independent speaker verification that utilizes a keyword adversarial network to minimize phonetic bias. By forcing the speaker embedding network to "forget" linguistic content, we achieve more robust and pure speaker representations. Future work will involve scaling this approach to continuous speech and larger open-set vocabularies.

Summary updated

Abstract

This paper presents an end-to-end text-independent speaker verification framework by jointly considering the speaker embedding (SE) network and automatic speech recognition (ASR) network. The SE network learns to output an embedding vector which distinguishes the speaker characteristics of the input utterance, while the ASR network learns to recognize the phonetic context of the input. In training our speaker verification framework, we consider both the triplet loss minimization and adversarial gradient of the ASR network to obtain more discriminative and text-independent speaker embedding vectors. With the triplet loss, the distances between the embedding vectors of the same speaker are minimized while those of different speakers are maximized. Also, with the adversarial gradient of the ASR network, the text-dependency of the speaker embedding vector can be reduced. In the experiments, we evaluated our speaker verification framework using the LibriSpeech and CHiME 2013 dataset, and the evaluation results show that our speaker verification framework shows lower equal error rate and better text-independency compared to the other approaches.
BibTeX
@inproceedings{yun2019end,
  author = {Sungrack Yun and Janghoon Cho and Jungyun Eum and Wonil Chang and Kyuwoong Hwang},
  title = {{An End-to-End Text-independent Speaker Verification Framework with a Keyword Adversarial Network}},
  booktitle = {Interspeech},
  year = {2019},
  url = {https://openreview.net/forum?id=FGbq0KvZuLN},
}
Figure