[Paper Review] Federated Learning in ASR: Not as Easy as You Think
This paper investigates federated learning (FL) for automatic speech recognition (ASR) using both hybrid and end-to-end (E2E) models, implementing FL via federated averaging on the LibriSpeech corpus. Despite significant communication costs and model convergence challenges, FL yields only marginal improvements over centralized training, revealing fundamental limitations in applying FL to sequence modeling tasks like ASR due to non-IID data and gradient shrinkage.
With the growing availability of smart devices and cloud services, personal speech assistance systems are increasingly used on a daily basis. Most devices redirect the voice recordings to a central server, which uses them for upgrading the recognizer model. This leads to major privacy concerns, since private data could be misused by the server or third parties. Federated learning is a decentralized optimization strategy that has been proposed to address such concerns. Utilizing this approach, private data is used for on-device training. Afterwards, updated model parameters are sent to the server to improve the global model, which is redistributed to the clients. In this work, we implement federated learning for speech recognition in a hybrid and an end-to-end model. We discuss the outcomes of these systems, which both show great similarities and only small improvements, pointing to a need for a deeper understanding of federated learning for speech recognition.
Motivation & Objective
- To evaluate the effectiveness of federated learning in improving ASR performance while preserving user privacy.
- To compare federated learning performance between hybrid ASR and end-to-end transformer/CTC models.
- To investigate the impact of client participation frequency, model update strategies, and communication costs on FL convergence and accuracy.
- To identify systemic limitations in federated averaging when applied to non-IID, sequential speech data.
- To release reproducible training and data-organization scripts to support future research in privacy-preserving ASR.
Proposed method
- Implementing federated averaging (FedAvg) with both hybrid ASR (PyTorch-Kaldi) and end-to-end models (ESPnet) on the LibriSpeech dataset.
- Reorganizing the LibriSpeech corpus to simulate a federated setup with one speaker per client, creating non-IID data distributions.
- Evaluating multiple update strategies: C-level (client-level), E-level (epoch-level), and B-level (batch-level) updates with M- and W-averaging.
- Measuring word error rate (WER) and communication cost across different client participation frequencies and model update frequencies.
- Using a reference model trained on the full dataset as a performance benchmark.
- Analyzing model convergence, gradient shrinkage, and alignment issues in FL for sequential data.
Experimental results
Research questions
- RQ1How does federated learning performance compare between hybrid and end-to-end ASR models under identical FL settings?
- RQ2What is the trade-off between communication cost and recognition accuracy in FL-based ASR?
- RQ3To what extent do non-IID data distributions and client-specific data statistics degrade FL performance in ASR?
- RQ4How do different model update frequencies (C-, E-, B-level) affect convergence and WER in federated ASR?
- RQ5What are the key architectural and training challenges in applying FL to ASR, particularly regarding decision trees, language models, and alignment?
Key findings
- Federated learning yields only marginal improvements in WER—reducing from 8.98% to 8.81% on the LibriSpeech test set—despite high communication costs.
- E-level updates with 350 randomly selected speakers per round (E-350-W) achieved the best WER of 8.87% for the hybrid model, but required 1618 GB of communication.
- C-level updates (client-level) were most communication-efficient (317 GB) but provided only slight WER improvements over the baseline, indicating limited benefit.
- The end-to-end model showed similar performance trends to the hybrid model, suggesting that the limitations are not model-specific but stem from the FL framework itself.
- Federated averaging leads to smaller gradients and slower convergence, especially with non-IID data, which is inherent in on-device speech data grouped by speaker.
- The study identifies that alignment models and language models are not updated in the current setup, which may contribute to performance degradation and privacy leakage risks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.