Recent improvements of ASR models in the face of adversarial attacks

Raphaël Olivier, Bhiksha Raj · DOI

Abstract

While Automatic Speech Recognition (ASR) has seen rapid advancement through Transformer architectures and self-supervised learning (SSL) paradigms, the security of these modern systems against adversarial attacks remains under-explored. This paper summarizes a systematic evaluation of contemporary ASR robustness, revealing that while encoder-decoder architectures offer superior resistance compared to encoder-only models, the widespread adoption of pretrained SSL backbones like Wav2Vec 2.0 introduces significant vulnerabilities through highly transferable attacks. This research establishes a new baseline for measuring ASR progress, emphasizing that architectural complexity and pretraining are double-edged swords in the context of model security.

Introduction

Adversarial attacks—small, intentional perturbations designed to deceive machine learning models—have been extensively documented in computer vision but remain less understood in the context of modern ASR. Historically, ASR robustness research has focused on aging benchmarks like DeepSpeech2. However, the state-of-the-art has moved toward more complex structures, including Transformers, Listen-Attend-Spell (LAS) encoder-decoder models, and self-supervised pretraining.

Researchers Raphael Olivier and Bhiksha Raj address this gap by systematically evaluating how these architectural shifts influence security. Their work, presented at ICASSP 2022, establishes a standardized evaluation framework and provides an open-source codebase to facilitate the benchmarking of future defenses against a representative battery of attacks.

Methodology

The researchers utilized the LibriSpeech dataset to evaluate a "representative panel" of adversarial attacks, categorized by their operational mechanics:

  • Untargeted Attacks: Projected Gradient Descent (PGD), which seeks any incorrect transcription, and Genetic ASR, a black-box approach that optimizes perturbations without requiring internal model gradients.
  • Signal Processing Attacks: The Kenansville attack, which exploits psychoacoustic principles by removing low-power spectral components that are imperceptible to humans but critical for model inference.
  • Targeted Attacks: The Carlini & Wagner (CW) attack and the "Imperceptible" attack, the latter of which utilizes psychoacoustic masking to hide adversarial noise within the audio signal.
  • SSL-Specific Attacks: A novel method targeting the latent representations of self-supervised models like Wav2Vec 2.0.

These attacks were tested against a matrix of architectures, comparing LSTMs to Transformers and Connectionist Temporal Classification (CTC) encoder-only models to LAS encoder-decoder models. Models were trained on either the full 960-hour LibriSpeech set or a 100-hour subset, with evaluations conducted on the test-clean set.

Architectural Robustness and the "Depth Defense"

A primary finding of the study is the inherent robustness of encoder-decoder (LAS) architectures compared to encoder-only (CTC) models. LAS models consistently proved more difficult to deceive across various attack vectors. The authors hypothesize that this is a result of "gradient obfuscation." The increased depth and the complex interaction between the encoder and decoder make the mathematical path used by gradient-based attackers more "blurry," thereby complicating the search for effective adversarial perturbations.

In targeted CW attacks, Transformer-LAS models demonstrated significantly higher resilience, requiring much higher Signal-to-Noise Ratios (SNR)—approximately 37-40dB—to be successfully compromised. In contrast, LSTM-based models were fooled at much lower SNRs (14-23dB), indicating they are far more sensitive to noise and easier to manipulate.

The Pretraining Paradox

The most concerning discovery involves the use of self-supervised pretraining. Models like Wav2Vec 2.0 have become industry standards due to their ability to learn robust features from unlabeled data. However, this shared foundation creates a massive security vulnerability.

Because many downstream ASR models share the same pretrained "backbone," an adversarial attack crafted for one model is highly likely to succeed on another. The study found that PGD attacks between different Wav2Vec 2.0 models could achieve a Word Error Rate (WER) as high as 84%. This high level of transferability transforms targeted attacks—previously considered difficult to execute against private, "black-box" models—into a viable real-world threat, as an attacker can craft perturbations on a public model to fool a private one.

Discussion of Results

The comparison between Transformers and LSTMs yielded nuanced results. While Transformers showed better resistance to simple PGD attacks, they were more susceptible to sophisticated CW attacks than their LSTM counterparts. This suggests that robustness is not a monolithic trait but is highly dependent on the specific strategy employed by the adversary.

Furthermore, the Kenansville attack, which relies on signal processing, performed poorly on the high-fidelity LibriSpeech dataset. This suggests that while such attacks might be effective against low-quality or compressed audio, they do not pose a significant threat to high-fidelity ASR systems currently.

Conclusion and Future Work

The work by Olivier and Raj highlights that progress in ASR performance does not naturally equate to progress in security. The "pretraining paradox" suggests that the community must develop defenses specifically tailored to shared latent spaces.

The authors have released their framework, robust_speech, built on the SpeechBrain toolkit, to encourage the development of defenses such as Randomized Smoothing. Future research is needed to extend these evaluations to RNN-Transducer (RNN-T) architectures, which are prevalent in streaming applications, and to explore more powerful black-box attack vectors. Ultimately, this study shifts the metric of ASR "progress" to include not only how well a model hears, but how difficult it is to deceive.

Summary updated

BibTeX
@inproceedings{olivier2022recent,
  author = {Raphaël Olivier and Bhiksha Raj},
  title = {{Recent improvements of ASR models in the face of adversarial attacks}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-400},
}
Figure