Privacy Attacks for Automatic Speech Recognition Acoustic Models in A Federated Learning Framework

Natalia A. Tomashenko, Salima Mdhaffar, Marc Tommasi, Yannick Estève, Jean-François Bonastre · DOI

Abstract

This paper investigates methods to effectively retrieve speaker information from personalized speaker-adapted neural network acoustic models (AMs) in automatic speech recognition (ASR). This problem is especially important in the context of federated learning (FL) of ASR acoustic models, where a global model is learned on a server based on updates received from multiple clients. We propose an approach to analyze information in neural network AMs based on a neural network "footprint" on a so-called Indicator dataset. Using this method, we develop two attack models that aim to infer speaker identity from updated personalized models without access to the actual users’ speech data. Experiments on the TED-LIUM 3 corpus demonstrate that the proposed approaches are highly effective, achieving an equal error rate (EER) of 1–2%.

Introduction

Federated Learning (FL) is frequently presented as a privacy-preserving paradigm for training speech recognition models because raw audio data remains on the user's device. However, this study reveals a significant vulnerability: the personalized model updates ($W_s$) transmitted back to the central server can act as a biometric proxy, leaking sufficient information to identify a speaker with high accuracy.

The objective is to demonstrate that an adversary, such as a malicious server administrator, can perform Speaker Verification—determining if two distinct model updates originated from the same individual—by analyzing the internal "footprint" of the neural network after it has adapted to a specific user.

Methodology: Probing the Model Footprint

The core of the proposed attack involves an Indicator Dataset, a small, arbitrary set of speech data (approximately 32 minutes) used as a probe. This dataset is independent of the users being targeted.

Overview of Attack Model A1 using the Indicator Dataset to extract statistical profiles from personalized models.

The researchers developed two primary attack models:

  1. Attack Model A1 (Statistical): This model passes the Indicator Dataset through both the global model ($W_g$) and the user's personalized model ($W_s$). It calculates the difference ($\Delta$) in activations at specific hidden layers. By deriving the mean ($\mu$) and standard deviation ($\sigma$) of these differences, a statistical profile of the speaker is created.
  2. Attack Model A2 (Neural): A more advanced approach where a secondary Time Delay Neural Network (TDNN) is trained to function as a speaker embedding extractor. This network learns to map activation differences from the Indicator Dataset to a unique speaker ID.

Key Insights and Results

The effectiveness of these attacks is evaluated using the Equal Error Rate (EER), where a lower percentage indicates a more successful attack.

EER across different hidden layers for Attack Model A1, highlighting the extreme leakiness of the first layer and the importance of variance ($\sigma$).
  • The First Layer is the Most Vulnerable: Attack A1 achieved a remarkably low 0.86% EER using the first hidden layer. This suggests that the initial layers of acoustic models are highly sensitive to speaker-specific traits.
  • Variance as a Biometric Identifier: In the first layer, speaker information is primarily captured in the standard deviation ($\sigma$) of the activation changes rather than the mean. This indicates that the way a model's sensitivity fluctuates across different acoustic inputs is a unique identifier.
  • No Audio Access Required: The attacker does not need access to the user's original voice data. They only require the global model, the personalized update, and the small Indicator Dataset to act as a catalyst for extraction.
  • Layer Gradient: As the analysis moves deeper into the network (from layer 1 to 13), speaker-specific information generally decreases. This aligns with the model's transition from processing raw acoustic features to higher-level linguistic and phonetic classification.

Conclusion

This research demonstrates that model updates in Federated Learning for ASR are not inherently private. Simple statistical analysis of model "footprints" can identify speakers with near-perfect accuracy. While the use of i-vectors for speaker adaptation may contribute to this leakiness, the results underscore the urgent need for robust privacy-preserving mechanisms, such as Differential Privacy or Secure Multiparty Computation, to protect user identity in FL frameworks.

Summary updated

BibTeX
@inproceedings{tomashenko2021privacy,
  author = {Natalia A. Tomashenko and Salima Mdhaffar and Marc Tommasi and Yannick Estève and Jean-François Bonastre},
  title = {{Privacy Attacks for Automatic Speech Recognition Acoustic Models in A Federated Learning Framework}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2021},
  doi = {10.1109/icassp43922.2022.9746541},
}
Figure