An Effective Speaker Recognition Method Based on Joint Identification and Verification Supervisions

Ying Liu, Yan Song, Yiheng Jiang, Ian McLoughlin, Lin Liu, Li-Rong Dai2020

TL;DR

This paper introduces a novel multi-task learning framework for speaker recognition that jointly trains identification and verification tasks. By leveraging both speaker identity classification and a new triplet-based mutual information objective, the method significantly improves speaker verification performance, achieving a 22% relative reduction in Equal Error Rate (EER) on the VoxCeleb1 dataset.

What Problem Does This Paper Address?

Speaker recognition (SR) aims to identify or verify a speaker from their voice. Traditional methods like i-vectors have been largely superseded by deep learning approaches that learn discriminative speaker embeddings. However, existing deep learning methods often train models primarily for speaker identification (SID) and then use separate backends (like cosine similarity or PLDA) for speaker verification (SV). This separation can be suboptimal, as SV is an open-set task with no overlap between training and test speakers, making direct end-to-end training challenging. The paper addresses this gap by proposing a unified framework that directly optimizes for both identification and verification within a single deep neural network, aiming to learn more robust and discriminative embeddings for SV.

Methods

The proposed method builds upon a deep neural network architecture consisting of a frame-level feature extractor (based on ResNet-18) and an utterance-level aggregator. The novelty lies in the introduction of a multi-task learning framework with two distinct classifier branches:

  1. Identification Branch: This branch is trained using the additive margin softmax (AM-Softmax) loss. AM-Softmax is a standard technique for SID that encourages larger margins between speaker classes, leading to more discriminative embeddings.
  2. Verification Branch: This branch is designed to directly optimize for speaker verification. It employs a new "triplet-based mutual information" (T-MI) objective. This objective, inspired by triplet loss and mutual information concepts, trains a discriminator (a binary classifier) to distinguish between positive (same speaker) and negative (different speaker) embedding pairs. The loss used is binary cross-entropy (BCE).

To balance the influence of these two branches during training, a ramp-up/ramp-down weighting scheme is used for their respective losses. This scheme gradually increases the weight of the verification loss and decreases the weight of the identification loss over time, allowing the model to first learn general speaker characteristics and then refine them for verification.

Additionally, the paper introduces an Attentive Bilinear Pooling (ABP) method for the utterance-level aggregator. ABP uses a learned attention mechanism to weigh frame-level features before aggregating them, aiming to focus on more informative parts of an utterance. It also leverages both first and second-order statistics of the attended features.

Datasets

  • VoxCeleb1: This is the primary dataset used for evaluation. It's a large-scale benchmark for speaker recognition, containing over 140,000 utterances from 1251 speakers. The paper uses the development portion for training and a specific set of trial pairs for evaluation.

Key Insights and Ideas

  • Joint Optimization is Key: The core idea is that training a single model for both SID and SV tasks simultaneously leads to better speaker embeddings than training solely for SID and relying on a separate backend. This is because the verification task provides direct, albeit implicit, supervision for distinguishing between speakers, which is crucial for open-set SV.
  • T-MI as a Discriminator: Using a discriminator trained with BCE loss to optimize for mutual information between embedding pairs is an effective way to learn discriminative representations for verification. This approach allows for end-to-end training without needing traditional backends like PLDA.
  • Adaptive Loss Weighting: The ramp-up/ramp-down weighting scheme is crucial for effectively balancing the two distinct loss functions (AM-Softmax and BCE) during training, preventing one from dominating the other and ensuring a smooth learning process.
  • Attentive Pooling for Better Aggregation: The proposed Attentive Bilinear Pooling (ABP) method, by learning to focus on relevant frames and incorporating higher-order statistics, demonstrably improves the quality of utterance-level embeddings compared to standard pooling methods.

Key Results

The proposed multi-task learning method, when applied to a ResNet-18 backbone with ABP, achieved a significant improvement on the VoxCeleb1 dataset.

  • The system achieved an Equal Error Rate (EER) of 2.94%.
  • This represents a relative reduction of 22% compared to a baseline system using only identification supervision.
  • The ABP method itself, when used with a standard AM-Softmax loss, also showed improvements over other pooling methods, achieving an EER of 3.76% compared to 4.58% for average pooling and 4.19% for statistics pooling.

Limitations and Future Work

  • Computational Complexity: While ABP improves performance, the paper notes that a large number of attention heads (K) can increase model size and computational complexity. The authors chose K=16 as a trade-off between effectiveness and efficiency.
  • Future Work: The paper doesn't explicitly detail future work, but the success of the joint identification-verification framework suggests potential for exploring other multi-task learning configurations or applying this approach to different speech tasks. The effectiveness of the T-MI objective could also be further investigated and potentially adapted for other representation learning scenarios.

Summary updated

Abstract

<p dir="ltr">Deep embedding learning based speaker verification methods have attracted significant recent research interest due to their superior performance. Existing methods mainly focus on designing frame-level feature extraction structures, utterance-level aggregation methods and loss functions to learn discriminative speaker embeddings. The scores of verification trials are then computed using cosine distance or Probabilistic Linear Discriminative Analysis (PLDA) classifiers. This paper proposes an effective speaker recognition method which is based on joint identification and verification supervisions, inspired by multi-task learning frameworks. Specifically, a deep architecture with convolutional feature extractor, attentive pooling and two classifier branches is presented. The first, an identification branch, is trained with additive margin softmax loss (AM-Softmax) to classify the speaker identities. The second, a verification branch, trains a discriminator with binary cross entropy loss (BCE) to optimize a new triplet-based mutual information. To balance the two losses during different training stages, a ramp-up/ramp-down weighting scheme is employed. Furthermore, an attentive bilinear pooling method is proposed to improve the effectiveness of embeddings. Extensive experiments have been conducted on VoxCeleb1 to evaluate the proposed method, demonstrating results that relatively reduce the equal error rate (EER) by 22% compared to the baseline system using identification supervision only.</p>
BibTeX
@misc{liu2020effective,
  author = {Ying Liu and Yan Song and Yiheng Jiang and Ian McLoughlin and Lin Liu and Li-Rong Dai},
  title = {{An Effective Speaker Recognition Method Based on Joint Identification and Verification Supervisions}},
  year = {2020},
  doi = {10.21437/interspeech.2020-1922},
}
Figure