Recent improvements of ASR models in the face of adversarial attacks

Raphaël Olivier, Bhiksha Raj

Introduction

Presented at Interspeech 2022 by researchers from Carnegie Mellon University, this study provides a critical "reality check" for the robustness of modern Automatic Speech Recognition (ASR) systems. While adversarial attacks—small, intentional perturbations designed to deceive AI—are well-documented in computer vision, the ASR community has frequently relied on outdated baselines. This research systematically evaluates how contemporary architectures, including Transformers and self-supervised models like Wav2Vec2, withstand a diverse battery of adversarial challenges.

Methodology

The researchers developed a standardized evaluation framework using the Speechbrain toolkit to move the field toward a more systemic approach. They tested a representative panel of attacks against several architectures: LSTM-based and Transformer-based encoder-decoders (LAS) and encoder-only (CTC) models, as well as various scales of Wav2Vec2.

The attack suite included:

  • Optimization-based: Projected Gradient Descent (PGD) for untargeted attacks and Carlini & Wagner (CW) for targeted attacks.
  • Black-box/Heuristic: A Genetic algorithm that operates without model gradients.
  • Signal Processing: The Kenansville attack, which filters low-energy spectral components.
  • SSL-specific: A novel attack targeting the latent representations of Wav2Vec2 models.

Evaluations were conducted using the LibriSpeech dataset, specifically the test-clean set. For computationally intensive attacks like CW, a representative subset of 100 utterances was utilized to ensure feasibility.

Key Insights

The Architecture Advantage

The study found that models employing an Attention-based decoder (LAS) are generally more resilient than encoder-only (CTC) models. The increased depth and complexity of the decoder likely cause "gradient obfuscation," making it significantly harder for optimization-based attacks to identify a successful failure path.

The Transformer Paradox

Transformers exhibit a higher baseline resistance to simple PGD attacks compared to LSTMs. However, they are more susceptible to the sophisticated CW attack. This suggests that while Transformers are better at ignoring general noise, their decision boundaries remain vulnerable to precise, targeted optimization.

The SSL Transferability Trap

Perhaps the most significant finding is the vulnerability of self-supervised learning (SSL) models. Historically, targeted ASR attacks were model-specific and did not "transfer" well. However, Wav2Vec2 models sharing the same pretraining are highly susceptible to transferred attacks. An attacker can craft a perturbation on a local model and successfully deceive a remote, private model if they share the same foundation.

Word-Error Rate vs. Signal-Noise Ratio for L2 PGD, Linf PGD, and Kenansville attacks across various ASR architectures.

Key Results

The experimental results highlight the potency of modern attacks and the varying robustness of different architectures.

  • Targeted Attack Success: The CW attack achieved a 100% success rate (0% Word Error Rate relative to the target) on nearly all modern architectures, including Transformers and Wav2Vec2, although the required Signal-to-Noise Ratio (SNR) varied.
  • Transferability in SSL: In Wav2Vec2 models, transferring an untargeted PGD attack resulted in a Word Error Rate (WER) of up to 84%. Even targeted CW attacks showed partial transferability (up to 61%), a phenomenon previously considered nearly impossible in the ASR domain.
  • Resilience to Signal Processing: Older signal-processing attacks like Kenansville had negligible impact on modern models at "imperceptible" noise levels, indicating that modern ASR is significantly better at filtering simple spectral deletions.
Performance of different ASR models under clean conditions and adversarial attacks (Carlini & Wagner and Genetic).

Conclusion and Future Work

While modern ASR architectures like Transformers offer improved robustness against simple noise and heuristic attacks, they remain highly vulnerable to sophisticated optimization-based methods. The rise of self-supervised "foundation models" introduces a new security risk through high attack transferability.

Future research should expand to include Transducer (RNN-T) models and investigate the defensive role of external language models. The authors have released their code to encourage more rigorous and standardized robustness research in the ASR community.

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