Demystifying Limited Adversarial Transferability in Automatic Speech Recognition Systems

Hadi Abdullah, Aditya Karlekar, Vincent Bindschaedler, Patrick TraynorICLR 2022

TL;DR

While adversarial attacks transfer easily between image recognition models, they notoriously fail when applied to Automatic Speech Recognition (ASR) systems. This paper identifies six specific factors—including feature extraction (MFCCs), recurrent architectures (RNNs), and sequence-based outputs—that act as natural barriers. These findings explain why ASRs are inherently more robust against transferable optimization attacks than their image-processing counterparts.

The Transferability Problem

In the realm of AI security, "transferability" is a powerful tool for attackers. It allows a malicious actor to craft an adversarial sample on a surrogate model they control, and then use that same sample to successfully fool a target "black box" model they cannot access. While this technique works remarkably well for image classifiers, recent research highlights a glaring exception: optimization-based adversarial audio almost never transfers between different ASR systems.

For instance, audio perturbed to transcribe as "Open the door" on one system will likely just sound like noise to another. Even when two ASRs are trained on identical data with the same parameters, the transferability rate often hovers near 0%. The research community recognized this failure but lacked a concrete understanding of why. This paper seeks to uncover the architectural and data-driven roadblocks within the ASR pipeline that prevent these attacks from succeeding across different models.

Methodology: Deconstructing the Pipeline

The authors faced a unique challenge: real-world ASRs (like DeepSpeech) are so complex that their baseline transferability is already 0%, making it impossible to measure the impact of changing a single variable. To overcome this, they built a simplified, yet realistic ASR pipeline to serve as a control, achieving a baseline transferability rate of 42%.

The standard ASR pipeline and the six potential factors evaluated for their impact on adversarial transferability.

With this baseline established, they performed an exhaustive ablation study, systematically removing or modifying components of the ASR pipeline to observe changes in the transferability rate. Their methodology included:

  • Generic Optimization Attack: Formulating a model-agnostic, gradient-based attack to ensure results weren't biased toward a specific algorithm.
  • Systematic Modification: Testing six specific hypotheses by altering the input type, removing the feature extraction layer (MFCC), replacing the Recurrent Neural Network (RNN) with a Convolutional Neural Network (CNN), and changing the output from a sequence of characters to a single label.

To support these tests, the authors utilized the Google Speech Commands dataset for primary audio experiments and the NIST Special Database to compare image and audio domains by rasterizing handwritten digits into 1D vectors.

Key Insights: Why ASRs Resist Attacks

The ablation study revealed several structural reasons why ASRs naturally resist transferable attacks:

  • The "Sequence" Penalty: The most significant finding is that ASRs are "Sequence-to-Sequence" models. Unlike an image classifier that only needs to predict one label correctly, an ASR must correctly assign a character to every single frame of audio. This multi-decision requirement makes it exponentially harder for an adversarial perturbation to remain effective across different models.
  • MFCCs as a Shield: The Mel Frequency Cepstral Coefficient (MFCC) algorithm—a standard audio feature extraction method—acts as a natural regularizer. By filtering out high-frequency noise and smoothing the input, it effectively blunts the sharp, precise perturbations that optimization attacks rely upon.
  • RNNs Add Complexity: The recurrent nature of RNNs creates highly complex decision boundaries that are difficult for a surrogate model to mimic accurately.
  • Vocabulary and Length Matter: As the model's vocabulary size or the length of the target phrase increases, transferability plummets.

Quantitative Results

The authors quantified the exact impact of each factor on the transferability rate, starting from their 42% control baseline.

Ablation study results showing how altering specific ASR components impacts the adversarial transferability rate compared to a 42% baseline.

As illustrated above, simplifying the architecture drastically increases vulnerability:

  • Output Type: Changing the ASR to output a single label (mimicking an image classifier) caused transferability to skyrocket to 99%.
  • RNN Removal: Replacing the complex RNN with a simpler CNN increased transferability to 88%.
  • MFCC Removal: Stripping away the feature extraction layer increased transferability to 60%.
  • Vocabulary Size: Increasing the vocabulary from 9 to 30 words dropped transferability to 19%.
  • Sequence Size: Increasing the phrase length from one word to four words crushed transferability to just 4%.

Limitations and Future Directions

This study primarily focuses on optimization-based attacks. The authors acknowledge that other vectors, specifically signal processing attacks—which exploit the physical properties of sound and the feature extraction layer itself—do exhibit high transferability. They suggest the research community should pivot toward these more physically-grounded threats.

Furthermore, because the study required a non-zero baseline, the models tested were simpler than production-grade systems like Alexa or Siri. While the trends are clear, absolute transferability in the wild remains much lower due to the massive vocabularies and sequence lengths used in real-world applications. Ultimately, these findings suggest a compelling cross-domain lesson: other fields, such as image recognition, might benefit from adopting ASR-style sequence labeling and feature regularization to improve their own adversarial robustness.

Summary updated

BibTeX
@inproceedings{abdullah2022demystifying,
  author = {Hadi Abdullah and Aditya Karlekar and Vincent Bindschaedler and Patrick Traynor},
  title = {{Demystifying Limited Adversarial Transferability in Automatic Speech Recognition Systems}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=l5aSHXi8jG5},
}
Figure