Speech2Phone: A Novel and Efficient Method for Training Speaker Recognition Models

Edresson Casanova, Arnaldo Cândido, Christopher Shulby, Frederico Santos de Oliveira, Lucas Rafael Stefanel Gris, Hamilton Pereira da Silva, Sandra Maria Aluísio, Moacir Antonelli PontiBracis 2020

TL;DR

This paper introduces Speech2Phone, a novel and efficient method for training speaker recognition models that significantly reduces the amount of training data required. By leveraging phoneme reconstruction, Speech2Phone achieves competitive results compared to state-of-the-art methods that use orders of magnitude more data, making speaker recognition more accessible for under-resourced scenarios.

What Problem Does This Paper Address?

Speaker recognition, the task of identifying or verifying a speaker based on their voice, is crucial for many applications like voice assistants and authentication systems. Current state-of-the-art (SOTA) methods, such as those using GE2E or Angular Prototypical loss functions, typically require massive datasets (thousands of hours of speech) to achieve high accuracy. This reliance on large datasets poses a significant barrier for languages or domains with limited available speech data, hindering the development and deployment of speaker recognition systems in such contexts. The paper aims to bridge this gap by proposing a method that is effective with significantly smaller datasets.

Methods

The core innovation of Speech2Phone lies in its training objective: instead of directly learning speaker embeddings, the model is trained to reconstruct a specific phoneme (in this case, the /a/ phoneme) from a short audio segment. The hypothesis is that to accurately reconstruct a phoneme, the model must implicitly learn speaker-specific characteristics. This approach allows for dimensionality reduction in the embedding layer and requires less data.

The authors explored three different neural network architectures for this task:

  • Dense Network: A fully connected feed-forward network.
  • Convolutional Network: A fully convolutional neural network, leveraging translational invariance for phoneme detection.
  • Recurrent Network: A recurrent neural network designed to analyze segments sequentially, potentially capturing temporal patterns.

The input to these models consists of Mel Frequency Cepstral Coefficients (MFCCs) extracted from 5-second audio segments. The output is the reconstruction of a 1-second segment of the /a/ phoneme.

Datasets

  • VCTK: An English language dataset with 109 speakers and approximately 44 hours of speech.
  • Common Voice (CV): A multilingual dataset. For this work, the Portuguese (PT), Spanish (ES), and Chinese (ZH) subsets were used.
  • Speech2Phone Dataset: A newly created dataset specifically for this research. It comprises 40 male speakers (aged 20-50) reading Portuguese sentences, totaling approximately 3 hours and 23 minutes of speech. This dataset was designed to be phonetically balanced and includes short recordings of the /a/ phoneme for training.

Key Insights and Ideas

  • Phoneme Reconstruction as a Proxy for Speaker Identity: The central idea that reconstructing a phoneme implicitly captures speaker characteristics is a powerful insight. It suggests that detailed acoustic modeling at a fine-grained level can be leveraged for speaker recognition, even with limited data.
  • Efficiency Through Data Reduction: The most striking insight is the dramatic reduction in data requirements. Achieving comparable results to SOTA methods with 500x less data is a significant advancement for practical applications.
  • Shallow Architectures Excel in Low-Data Regimes: The experiments revealed that a simpler, shallow architecture (the dense network) performed best in the open-set scenario when trained on limited data. This suggests that deeper, more complex models are more prone to overfitting and memorizing speaker-specific artifacts rather than generalizing.
  • Trade-off Between Open-Set and Closed-Set Performance: Convolutional and recurrent models, while showing promise, tended to perform better in closed-set scenarios (where test speakers were seen during training) but suffered a significant drop in performance in open-set scenarios. This highlights the importance of generalization for real-world speaker verification.

Key Results

  • Speech2Phone vs. SOTA: The best Speech2Phone model (dense network trained on the full Speech2Phone dataset) achieved competitive results against SOTA models like Fast ResNet-34 trained with Angular Prototypical and GE2E loss functions, despite using approximately 500 times less training data (3.5 hours vs. 2000 hours).
  • Best Performing Architecture: In open-set speaker identification experiments using the Speech2Phone dataset, the dense network (Experiment 1) achieved the highest accuracy (76.96%).
  • Speaker Verification Performance: In speaker verification tasks, the Speech2Phone approach (Experiment 4) achieved the best Equal Error Rate (EER) on the English VCTK dataset and competitive results on multilingual Common Voice datasets, often outperforming or closely matching models trained on vastly larger datasets. For instance, on the VCTK dataset, Speech2Phone achieved an EER of 22.70%, while Fast AngleProto achieved 23.80%.

Limitations and Future Work

  • Dataset Specificity: The Speech2Phone method requires a specific dataset format, which limited its evaluation on very large, existing datasets.
  • Language Factor: The authors acknowledge that the experimental setup doesn't allow for a definitive conclusion on whether language itself affects model performance, as differences in EER on English datasets might be due to dataset characteristics (e.g., number of speakers, sample quality) rather than the language itself.
  • Future Directions:
    • Larger Datasets: The authors plan to create and release a larger Speech2Phone dataset.
  • Hybrid Approaches: Exploring hybrid methods combining Speech2Phone with loss functions like Angular Prototypical to leverage both phoneme reconstruction and metric learning on larger datasets.
  • Robustness to Noise: Investigating the insertion of noise into the training data to improve model robustness.
  • Multispeaker Synthesis: Utilizing multispeaker speech synthesis and voice cloning to generate more diverse training data.

Summary updated

BibTeX
@inproceedings{casanova2020speech,
  author = {Edresson Casanova and Arnaldo Cândido and Christopher Shulby and Frederico Santos de Oliveira and Lucas Rafael Stefanel Gris and Hamilton Pereira da Silva and Sandra Maria Aluísio and Moacir Antonelli Ponti},
  title = {{Speech2Phone: A Novel and Efficient Method for Training Speaker Recognition Models}},
  booktitle = {Bracis},
  year = {2020},
}
Figure