Abstract
In this paper, we propose an enhanced triplet method that improves the encoding process of embeddings by jointly utilizing generative adversarial mechanism and multitasking optimization. We extend our triplet encoder with Generative Adversarial Networks (GANs) and softmax loss function. GAN is introduced for increasing the generality and diversity of samples, while softmax is for reinforcing features about speakers. For simplification, we term our method Multitasking Triplet Generative Adversarial Networks (MTGAN). Experiment on short utterances demonstrates that MTGAN reduces the verification equal error rate (EER) by 67% (relatively) and 32% (relatively) over conventional i-vector method and state-of-the-art triplet loss method respectively. This effectively indicates that MTGAN outperforms triplet methods in the aspect of expressing the high-level feature of speaker information.
Introduction
Automatic Speaker Verification (ASV)—the task of confirming a person's identity via their voice—is notoriously difficult when the available audio is very short. While Deep Neural Networks (DNNs) using "triplet loss" (which pushes same-speaker embeddings together and different-speaker embeddings apart) have become popular, they face two major hurdles: feature irrelevance and poor generalization. Without strict guidance, encoders using vanilla triplet loss often extract features unrelated to speaker identity, such as background noise. Furthermore, these models often struggle with "zero-shot" scenarios involving speakers not encountered during training.
The authors introduce MTGAN to create a more robust encoder that extracts distinctive, high-level speaker features that generalize well across different environments and speakers.
The MTGAN Framework
MTGAN consists of four interconnected modules designed to optimize the embedding process through multitasking:
- The Encoder: Transforms raw audio (processed into 128x128 mel-filterbanks) into a 512-dimensional embedding.
- The Conditional GAN (Generator): Uses the encoder’s embedding and random noise to generate synthetic speech samples, forcing the system to handle a wider variety of contexts than what exists in the raw training data.
- The Discriminator: Distinguishes between real audio samples and the synthetic ones produced by the generator.
- The Classifier: A multitasking module that predicts speaker IDs using a softmax loss function, ensuring the encoder remains focused on features defining identity.
The total loss function is a weighted sum of Triplet Loss (for clustering), Softmax Loss (for identity reinforcement), and the Generator/Discriminator losses (for data diversity).
Experimental Setup
The model was trained on LibriSpeech, a large-scale corpus of English read speech, using sets of up to 2,484 speakers. Testing was conducted on the TIMIT dataset to measure the "transferability" and generalization of the algorithm to unseen acoustic environments. MTGAN was compared against traditional i-vector/PLDA systems and state-of-the-art triplet loss and softmax-only DNNs.
Key Results and Analysis
MTGAN significantly outperformed all baselines on the TIMIT test set. It achieved an Equal Error Rate (EER) of 1.81%, representing a 32% relative reduction over the previous state-of-the-art triplet method and a 67% reduction over the i-vector/PLDA baseline (5.61%).
Insights from Ablation and Optimization
- The Power of Multitasking: Ablation studies revealed that the Classifier (softmax loss) had the greatest impact on performance. Removing it caused the most significant drop in accuracy, proving that identity-based supervision is crucial for guiding triplet loss.
- Embedding Dimension: Testing various dimensions showed that 512 dimensions provided the optimal balance. Increasing the dimension to 1024 led to a slight performance decrease, likely due to overfitting.
- GAN as Data Augmentation: The GAN acts as a sophisticated, learnable data augmentation tool, creating new samples in the embedding space that help the model generalize to unseen speakers.
Conclusion
MTGAN demonstrates that combining generative adversarial mechanisms with multitasking optimization effectively captures high-level speaker information. While GAN training adds complexity, the significant gains in EER on short utterances suggest this framework is a powerful tool for robust speaker verification. Future work may explore deeper backbone architectures like ResNets to further enhance performance.
Summary updated