Federated Self-Learning with Weak Supervision for Speech Recognition

Milind Rao, Gopinath Chennupati, Gautam Tiwari, Anit Kumar Sahu, Anirudh Raju, Ariya Rastrow, Jasha Droppo

TL;DR

This paper introduces a framework for updating on-device Automatic Speech Recognition (ASR) models using federated self-learning combined with "weak supervision" from user interactions. By leveraging signals like user feedback and session context without requiring human-labeled transcripts, the authors achieve a 10% relative improvement in accuracy on new use cases while mitigating the common problem of "forgetting" older tasks.

What Problem Does This Paper Address?

Modern voice assistants increasingly run ASR models directly on edge devices to enhance privacy and reduce latency. However, these models need to adapt over time to new words, changing user behavior, and different acoustic environments.

Adapting these models is difficult because:

  1. Privacy: Utterances cannot be sent to the cloud for manual transcription.
  2. Label Scarcity: There are no ground-truth human transcripts available on the device.
  3. Resource Constraints: Edge devices lack the memory and compute power to run the massive "teacher" models typically used in semi-supervised learning.
  4. Catastrophic Forgetting: As a model learns new trends (e.g., a new viral song title), it often loses accuracy on general, older tasks.

Methods

The authors propose a federated continual learning approach for RNN-Transducer (RNN-T) models. The core components include:

  • Federated Self-Learning with EMA Teacher: Instead of a giant cloud model, the system uses a "paired teacher" on the device. This teacher is an Exponential Moving Average (EMA) version of the student model. The teacher generates "pseudo-labels" for unlabeled audio, which the student then learns from.
  • Weak Supervision: The system looks for clues in user behavior. For example, if a user cancels a request or repeats it, that's a signal of failure. If the system eventually recovers the correct intent (e.g., through a follow-up turn), that information is used as a "weak" label.
  • Policy Gradient Training: To handle noisy feedback (like a simple "thumbs down" or inferred semantic errors), the authors use the REINFORCE algorithm. This allows the model to treat user feedback as a reward signal to be optimized.
  • Rehearsal Training: To prevent catastrophic forgetting, the authors use "cloud pseudo-devices." These simulate devices using historical, human-labeled datasets to provide a stabilizing gradient during the federated update process.
Fig. 1. Workflow of federated self-learning with weak supervision: a paired teacher model produces a label with clean audio. The self- label loss enforces consistency for the student with augmented audio. Alternate weak supervision loss minimizes the expected feedback score for a hypothesis inferred from multi-turn session data.

Datasets

The researchers evaluated their approach on two main fronts:

  • Internal Voice-Assistant Dataset: A massive dataset comprising 4500 hours of de-identified audio from 800,000 devices. They specifically looked at a "Delta" test set (capturing new 2021 trends) and a "General" test set (older, established use cases).
  • SLURP Dataset: A public Spoken Language Understanding resource used to benchmark the system's ability to handle semantic labels.
  • Librispeech: Used for initial pre-training of the models.

Key Insights and Ideas

  • The EMA Teacher is Essential: The authors found that if the teacher model isn't updated via EMA, the system fails to improve on new use cases. The EMA update allows the teacher to slowly absorb the student's learning without falling into an error-feedback loop.
  • User Behavior as a Loss Function: Traditional ASR training requires knowing exactly what was said. This paper shows you can improve a model just by knowing if the user was happy with the result, even if that signal is noisy.
  • Balancing New and Old: Rehearsal training acts as a vital anchor. While self-learning on new data significantly boosts performance on current trends, it causes a regression on older data. Rehearsal training cuts this regression by more than half.
  • Robustness to Noise: Their policy-gradient approach proved surprisingly resilient. Even when the simulated user feedback was highly noisy ($\sigma = 0.4$), the model still showed significant improvements.

Key Results

  • 10% Relative Improvement: On the internal "Delta" dataset, the self-learning scheme achieved a ~10% relative Word Error Rate Reduction (WERR) compared to the baseline.
  • SLURP Success: On the public SLURP benchmark, self-learning improved the model by 19%, coming within striking distance of a fully supervised "Oracle" model.
  • Weak Supervision Gains: Adding NLU (Natural Language Understanding) feedback scores provided additional gains over pure self-learning, as shown in the table below.
Table 3. Performance of federated self-learning with weak supervi- sion on voice-assistant data. WERR numbers are relative to WER of the initial model. Multiple forms of weak supervision such as ASR and NLU labels from an alternate SLU model, and NLU feedback scores for the hypothesis served are contrasted.

Limitations and Future Work

  • Hyperparameter Sensitivity: The performance is sensitive to the EMA decay rate ($\delta$) and the update frequency ($u$). If the teacher is updated too aggressively, the training can diverge.
  • Sparse Annotations: On datasets like SLURP, which have few "slots" per utterance, the gains from weak supervision were limited. The method works best when there is rich semantic feedback.
  • Simulated vs. Real Feedback: While the authors simulated noisy user feedback, future work could involve deploying this in a live environment to see how actual, non-simulated human behavior impacts the learning loop.

Summary updated

BibTeX
@inproceedings{rao2023federated,
  author = {Milind Rao and Gopinath Chennupati and Gautam Tiwari and Anit Kumar Sahu and Anirudh Raju and Ariya Rastrow and Jasha Droppo},
  title = {{Federated Self-Learning with Weak Supervision for Speech Recognition}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096983},
}
Figure