Introduction
Modern Automatic Speech Recognition (ASR) systems, such as those powering virtual assistants, rely on massive datasets to achieve high accuracy. However, two significant challenges hinder their development: privacy concerns regarding the centralization of raw user audio and the high cost of transcribing thousands of hours of speech. While Self-Supervised Learning (SSL) has emerged as a solution to the labeling problem by allowing models to learn from unlabeled data, it typically requires centralized data storage. Conversely, Federated Learning (FL) addresses privacy by training models on decentralized edge devices but is primarily used for supervised tasks.
This paper bridges these domains by demonstrating that Federated Learning can be successfully combined with SSL to train high-performance ASR models without centralizing raw audio. By pre-training an encoder on 50,000 hours of unlabeled data using a "speaker-siloed" approach, the researchers achieved a 12-15% improvement in Word Error Rate (WER), matching the performance of traditional centralized training.
Methodology
The proposed training strategy consists of two distinct stages: Federated Pre-training and Centralized Fine-tuning.
Federated Pre-training
The authors utilize the Contrastive Predictive Coding (CPC) framework for the pre-training phase. In this setup, the model learns robust speech representations by predicting future audio frames based on past context. This process is executed using FedSGD, where simulated client devices compute updates on local data and transmit only model weights to a central server, ensuring the raw audio remains on-device.
Speaker-Siloed Data Preparation
To accurately simulate real-world federated environments where a single device typically corresponds to one user, the researchers developed a "speaker-siloed" data partitioning method. Using the Libri-Light dataset, utterances were partitioned by speaker ID and sorted by chapter and book name to mimic the temporal flow of data on a personal device. This approach introduces the "non-IID" (non-identically distributed) data challenges inherent in federated settings.
Centralized Fine-tuning
Following pre-training, the resulting encoder is integrated into a Recurrent Neural Network Transducer (RNN-T) architecture. This complete model is then fine-tuned on a smaller, labeled dataset (LibriSpeech) to perform the final speech-to-text transcription task.
Experimental Results
The experimental results demonstrate that federated pre-training is a viable and effective alternative to centralized methods.
Performance Parity and Gains
The FL-pre-trained models achieved Word Error Rates (WER) nearly identical to those trained in a centralized manner. Specifically, the FL-pre-trained model showed a 12-15% relative improvement in WER compared to a baseline model trained from scratch. Interestingly, when restricted to a smaller 5,000-hour subset, the federated model occasionally outperformed the centralized one, suggesting that the decentralized nature of FL may provide a regularizing effect.
Cross-Lingual Transfer
The representations learned from English audio via FL proved highly effective when fine-tuned for French ASR tasks. The model provided a 20% relative improvement over the baseline in the French context, indicating that the pre-training captures fundamental acoustic features of human speech that transcend specific languages.
Conclusion
This research confirms that high-quality speech representations can be learned in a privacy-preserving, decentralized manner. By achieving performance parity with centralized SSL, Federated Learning offers a path forward for developing large-scale ASR systems that respect user privacy while leveraging the vast amounts of unlabeled audio data available on edge devices. Future work will explore more communication-efficient algorithms like FedAvg and the application of these techniques to more complex architectures like Transformers.
Summary updated