Training Large ASR Encoders With Differential Privacy

Geeticka Chauhan, Steve Chien, Om Thakkar, Abhradeep Thakurta, Arun Narayanan

Introduction

Large-scale Automatic Speech Recognition (ASR) models, such as the Conformer, typically rely on self-supervised learning (SSL) over massive datasets. While these models achieve state-of-the-art performance, they are susceptible to "unintended memorization," potentially leaking sensitive speaker information like identity or specific spoken content.

Differential Privacy (DP) offers a formal framework to mitigate these risks. However, applying standard DP-SGD to models with hundreds of millions of parameters is challenging because the added noise often overwhelms the learning signal, creating a significant "utility gap." This paper introduces techniques to bridge this gap, specifically for large ASR encoders.

Methodology

The researchers employed a 300M parameter Conformer XL architecture trained using the BEST-RQ (BERT-style Speech pre-Training with Random-projection Quantizer) method. To make private training effective, they integrated several key components:

  1. DP-SGD with Group Normalization: Standard Batch Normalization was replaced with Group Normalization to avoid privacy leaks caused by mixing statistics across samples.
  2. Public Warm-starting: A small subset (1%) of the data was used as non-private "public" data to initialize the model before the private training phase.
  3. Per-layer Clipping: Instead of a single global clipping norm, gradients were clipped layer-by-layer to prevent layers with naturally high gradients from being disproportionately suppressed by noise.
  4. Gradient-based Layer Freezing (LayerFreeze): This is the core innovation. The authors observed that certain layers are more sensitive to DP noise. By calculating the accumulated squared $\ell_2$ norm of gradients during the public warm-start, they identified and froze the top 1% of parameters (primarily bias and scale terms) that exhibited the highest variance. This reduces the optimization dimensionality and shields the model from destructive noise.
Overview of the DP-SGD training pipeline for ASR encoders.

Experimental Setup

The models were pre-trained on the LibriLight (LL) dataset (60,000 hours of unlabeled speech) and fine-tuned on LibriSpeech (LS). A 1% subset of LibriLight served as the public data for warm-starting and identifying layers for freezing. To manage the computational cost of DP training, the authors used an extrapolation strategy, scaling the noise multiplier linearly with batch and dataset size to project performance on larger private datasets.

Key Results and Discussion

The proposed approach significantly narrows the gap between private and non-private models. On the LibriSpeech benchmark, the DP-trained model (with a privacy guarantee of $\epsilon=10$) achieved a Word Error Rate (WER) of 2.81% on test-clean and 5.89% on test-other.

Impact of PerLayerClip and LayerFreeze on WER across different noise levels.

As shown in the results, the combination of per-layer clipping and LayerFreeze provides a substantial boost in utility. Notably, LayerFreeze maintains model stability even at higher noise levels where standard DP-SGD often fails. While a utility gap remains compared to the non-private baseline (2.21% / 4.29% WER), this method represents a major improvement over skipping pre-training entirely (4.43% / 11.23% WER).

Conclusion

This work demonstrates the first successful application of DP to large-scale SSL for ASR. By identifying and freezing noise-sensitive layers, the LayerFreeze technique optimizes the privacy-utility-compute trade-off. Future research may explore dynamic layer freezing and the transferability of these private encoders to a broader range of downstream speech tasks.

Summary updated

BibTeX
@inproceedings{chauhan2024training,
  author = {Geeticka Chauhan and Steve Chien and Om Thakkar and Abhradeep Thakurta and Arun Narayanan},
  title = {{Training Large ASR Encoders With Differential Privacy}},
  booktitle = {SLT},
  year = {2024},
  doi = {10.1109/slt61566.2024.10832249},
}
Figure