Improving On-Device Speaker Verification Using Federated Learning with Privacy

Filip Granqvist, Matt Seigel, Rogier van Dalen, Áine Cahill, Stephen Shum, Matthias Paulik

TL;DR

This paper tackles the challenge of improving on-device speaker verification systems by leveraging private user data to train auxiliary models. They demonstrate that by using federated learning and differential privacy, they can train a vocal characteristic classifier on user devices without compromising privacy. This auxiliary model's knowledge is then distilled into the main speaker verification system, leading to a significant performance improvement.

What Problem Does This Paper Address?

Speaker verification systems, crucial for features like "wake-up" commands on devices, typically rely on speaker embeddings. While additional information about a speaker's vocal characteristics could enhance accuracy, this data is often private and cannot be directly collected by a central server. Traditional methods for obtaining such side information involve manual labeling, which is expensive and doesn't scale. The core problem is how to effectively train models that utilize this private, distributed side information to improve speaker verification without violating user privacy.

Methods

The paper proposes a three-pronged approach:

  1. Training an Auxiliary Vocal Classification Model: They first investigate if a classifier can be trained solely on audio from trigger phrases to predict speaker-specific attributes (like vocal characteristics).
  2. Privacy-Preserving Federated Learning: To address the privacy concerns of using distributed user data, they employ federated learning combined with differential privacy (DP). This allows models to be trained on user devices, with only aggregated, anonymized updates sent to a central server. They explore different DP mechanisms (local DP, central DP, and a combination) to understand the trade-off between privacy and model utility.
  3. Knowledge Distillation via Multi-Task Learning: The knowledge learned by the privacy-preserving vocal classification model is then "distilled" into the main speaker verification system. This is achieved through multi-task learning, where the speaker embedding network is trained to perform both its original task (speaker identification) and the new task of predicting the vocal characteristics. A temperature parameter is used to soften the output distribution of the vocal classification model, aiding in knowledge transfer.

Datasets

The primary dataset used for training and evaluation originates from the Japanese language (ja_JP). The speaker verification system is trained on approximately 1.7 million utterances from 18,700 speakers. The vocal classification model is initially trained on a limited offline dataset and then further trained using data distributed across millions of real devices via federated learning. An evaluation dataset of 93,600 utterances from the same speaker population is used for performance assessment.

Key Insights and Ideas

  • Privacy-Enhancing AI is Feasible for Speaker Characteristics: The paper strongly suggests that it's possible to train useful models on sensitive speaker attributes using federated learning and differential privacy, demonstrating a practical application beyond theoretical exploration.
  • Federated Learning + Differential Privacy Offers a Spectrum of Utility/Privacy: The experiments with different DP mechanisms highlight that there's a clear trade-off. While strong local DP can significantly impact accuracy, central DP offers better utility with less stringent local privacy guarantees. A hybrid approach provides a good balance.
  • Auxiliary Information Significantly Boosts Speaker Verification: Distilling knowledge from the vocal classification model into the speaker embedding network provides a tangible performance improvement, showing that vocal characteristics are indeed valuable side information.
  • Multi-Task Learning is an Effective Distillation Method: Using multi-task learning to train the speaker embedding network to predict both speaker identity and vocal characteristics is shown to be the most successful method for knowledge transfer.

Key Results

  • Vocal Classification Accuracy: The vocal classification model achieves high accuracy (e.g., 94.6% with central DP, 94.1% with combined local and central DP) even when trained with privacy constraints.
  • Speaker Verification Improvement:
    • Distilling knowledge from an offline-trained vocal classification model resulted in a 1.5% absolute improvement in Equal Error Rate (EER) for speaker verification.
  • Distilling knowledge from a federated learning-trained vocal classification model (using privacy-preserving methods) led to a significant 6% relative improvement in EER compared to the baseline system.
  • Performance Trade-offs: The paper quantifies the impact of different DP mechanisms on accuracy and signal-to-noise ratio (SNR), showing that stronger privacy (local DP) leads to lower SNR and accuracy.

Limitations and Future Work

  • Simulation-Based DP Evaluation: While the paper explores various DP mechanisms, a significant portion of the vocal classification model training and evaluation for DP was done in simulation with limited central data. The full benefits and challenges of on-device federated training with DP on real devices are acknowledged.
  • Tuning of Hyperparameters: The weight y for the side information classification loss in the multi-task learning setup was "roughly tuned," suggesting potential for further optimization.
  • Future Work: The authors implicitly suggest further exploration into optimizing the privacy-utility trade-off for federated learning and differential privacy. They also highlight the potential for using this approach with other types of private side information.

Summary updated

BibTeX
@inproceedings{granqvist2020improving,
  author = {Filip Granqvist and Matt Seigel and Rogier van Dalen and Áine Cahill and Stephen Shum and Matthias Paulik},
  title = {{Improving On-Device Speaker Verification Using Federated Learning with Privacy}},
  booktitle = {Interspeech},
  year = {2020},
}
Figure