[Paper Review] Enabling Differentially Private Federated Learning for Speech Recognition: Benchmarks, Adaptive Optimizers and Gradient Clipping
This paper presents the first practical framework for differentially private federated learning (DP-FL) in end-to-end automatic speech recognition (ASR), leveraging per-layer gradient clipping and layer-wise adaptive gradient normalization to mitigate gradient heterogeneity in deep transformer models. It achieves strong privacy guarantees—(7.2, 10⁻⁹)-DP with only a 1.3% absolute WER degradation—under realistic user-scale conditions, establishing a benchmark for future DP-FL research in ASR.
While federated learning (FL) and differential privacy (DP) have been extensively studied, their application to automatic speech recognition (ASR) remains largely unexplored due to the challenges in training large transformer models. Specifically, large models further exacerbate issues in FL as they are particularly susceptible to gradient heterogeneity across layers, unlike the relatively uniform gradient behavior observed in shallow models. As a result, prior works struggle to converge with standard optimization techniques, even in the absence of DP mechanisms. To the best of our knowledge, no existing work establishes a competitive, practical recipe for FL with DP in the context of ASR. To address this gap, we establish extbf{the first benchmark for FL with DP in end-to-end ASR}. Our approach centers on per-layer clipping and layer-wise gradient normalization: theoretical analysis reveals that these techniques together mitigate clipping bias and gradient heterogeneity across layers in deeper models. Consistent with these theoretical insights, our empirical results show that FL with DP is viable under strong privacy guarantees, provided a population of at least several million users. Specifically, we achieve user-level (7.2, $10^{-9}$)-DP (resp. (4.5, $10^{-9}$)-DP) with only a 1.3% (resp. 4.6%) absolute drop in word error rate when extrapolating to high (resp. low) population scales for FL with DP in ASR. Although our experiments focus on ASR, the underlying principles we uncover - particularly those concerning gradient heterogeneity and layer-wise gradient normalization - offer broader guidance for designing scalable, privacy-preserving FL algorithms for large models across domains. Code of all experiments and benchmarks is available at https://github.com/apple/ml-pfl4asr.
Motivation & Objective
- To close the gap in practical, scalable DP-FL for large ASR models, particularly end-to-end transformers.
- To address the challenge of gradient heterogeneity across layers in deep models under FL with DP.
- To establish a competitive, reproducible benchmark for DP-FL in ASR with strong (ε, δ)-DP guarantees.
- To demonstrate that per-layer clipping, when combined with layer-wise gradient normalization, enables convergence and high performance under strong privacy constraints.
- To provide theoretical and empirical validation of the proposed optimization strategy for large-scale, privacy-preserving FL in speech recognition.
Proposed method
- Proposes per-layer gradient clipping combined with layer-wise adaptive gradient normalization to reduce bias and heterogeneity in deep transformer models during DP-FL.
- Employs a large 250M-parameter vanilla encoder-based transformer model trained with CTC loss for end-to-end ASR.
- Uses user-level (ε, δ)-differential privacy with Gaussian noise injection per client, calibrated via clipping bounds and privacy accounting.
- Applies LAMB as the central optimizer and SGD as the local optimizer, with learning rate warm-up and decay for stable training.
- Introduces a seed model fine-tuning strategy using pre-trained models from related domains to improve convergence.
- Employs rigorous privacy accounting and convergence analysis, with theoretical justification for the proposed clipping and normalization scheme.
Experimental results
Research questions
- RQ1Can DP-FL be effectively applied to large-scale end-to-end ASR models despite gradient heterogeneity across layers?
- RQ2Does per-layer clipping, when combined with layer-wise gradient normalization, improve convergence and performance in DP-FL for ASR?
- RQ3What is the trade-off between privacy budget (ε, δ) and ASR model accuracy under realistic user population scales?
- RQ4How do data heterogeneity, optimizer hyperparameters, and model initialization affect convergence in DP-FL for ASR?
- RQ5Can a practical, competitive training recipe be established for DP-FL in ASR that matches central training performance under strong privacy guarantees?
Key findings
- With a population of several million users, the method achieves (7.2, 10⁻⁹)-DP with only a 1.3% absolute increase in word error rate (WER) compared to non-private central training.
- For lower population scales, the method achieves (4.5, 10⁻⁹)-DP with a 4.6% absolute WER degradation, demonstrating strong privacy-accuracy trade-offs.
- Per-layer clipping combined with layer-wise gradient normalization reduces gradient heterogeneity and clipping bias, enabling convergence in deep models where standard methods fail.
- The model achieves competitive performance even with heterogeneous client data, especially when fine-tuning from a pre-trained seed model, including those from different domains.
- The theoretical analysis confirms that the proposed method stabilizes training dynamics and improves convergence under DP-FL.
- The benchmark and codebase (https://github.com/apple/ml-pfl4asr) are publicly released, enabling reproducibility and future research in DP-FL for ASR.
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.