Abstract
In this study, we investigate whether noise-augmented training can concurrently improve adversarial robustness in automatic speech recognition (ASR) systems. We conduct a comparative analysis of the adversarial robustness of four different ASR architectures, each trained under three different augmentation conditions: (1) background noise, speed variations, and reverberations; (2) speed variations only; (3) no data augmentation. We then evaluate the robustness of all resulting models against attacks with white-box or black-box adversarial examples. Our results demonstrate that noise augmentation not only enhances model performance on noisy speech but also improves the model's robustness to adversarial attacks.
Introduction
Automatic Speech Recognition (ASR) systems have become ubiquitous in modern technology, yet they remain vulnerable to various forms of signal degradation. Broadly, these degradations fall into two categories: environmental noise and adversarial noise. Environmental noise includes natural disturbances such as background chatter, traffic, and reverberation. In contrast, adversarial noise consists of carefully engineered perturbations designed to deceive machine learning models while remaining nearly imperceptible to human listeners. For instance, a subtle change in an audio signal could cause an ASR system to transcribe "play music" as "buy expensive product."
While techniques like noise-augmented training are standard for improving performance in noisy environments, defending against adversarial attacks typically requires specialized "adversarial training." However, adversarial training is computationally intensive and difficult to scale. This study explores a more efficient alternative: does training a model to handle natural environmental noise inherently provide a defense against malicious adversarial attacks?
Methodology
To address this question, we conducted a comprehensive comparative study across four prominent ASR architectures:
- CTC (Connectionist Temporal Classification): Utilizing a wav2vec 2.0 acoustic model.
- Seq2seq 1: An encoder-decoder model using CRDNN architecture.
- Seq2seq 2: An encoder-decoder model using LSTM architecture with distinct tokenization.
- Transformer: An attention-based architecture, representing the current industry standard.
Each architecture was subjected to three training regimes:
- Baseline (No Augmentation): Trained on clean data only.
- Speed-Augmented: Trained with variations in speech tempo.
- Fully Augmented: A comprehensive "stress test" incorporating speed variations, background noise from the MUSAN corpus (music, speech, technical noise), and reverberation simulated via Room Impulse Responses (RIR).
The robustness of these models was evaluated using three attack vectors: the C&W attack (a sophisticated white-box targeted attack) and two black-box untargeted attacks, Alzantot and Kenansville. The primary dataset used was the first 100 hours of the clean English LibriSpeech corpus.
Key Insights and Discussion
The core finding of this research is that noise-augmented training effectively raises the "noise floor" of the ASR system. By training the model to ignore random environmental fluctuations, we force an adversary to introduce much larger and more distinct perturbations to successfully manipulate the model's output.
The Perceptibility Trade-off
One of the most significant observations involves the perceptibility of successful attacks. While an attacker might still achieve a high success rate on paper, the adversarial audio required to fool a noise-robust model is significantly more distorted. Metrics such as the Scale-Invariant Signal-to-Distortion Ratio (SI-SDR) indicate that noise-augmented models require higher levels of audible distortion for an attack to succeed.
Architectural Variations
The impact of augmentation varied by architecture. Models trained from scratch, such as the Seq2seq variants, showed the most dramatic improvements in robustness. In contrast, models relying on massive pre-trained components (like CTC/wav2vec 2.0) exhibited a baseline level of robustness even without specific augmentation, though they still benefited from the fully augmented regime. Furthermore, the study found that a diverse mix of augmentations (speed + noise + reverb) was far more effective than single-type augmentations.
Results
Quantitative results highlight the defensive benefits of noise augmentation:
- Attack Success Rate: For the Seq2seq 1 model, the success rate of the C&W targeted attack fell from 88.3% in the baseline to 74.0% in the fully augmented model.
- Computational Effort: The effort required for an attacker to find a successful perturbation increased. For the CTC model, the average number of iterations to find a "first hit" rose from 155 to 343.
- Transcript Integrity: Under the Alzantot attack, the Word Error Rate (WER) of the adversarial transcript for the Seq2seq 2 model dropped from 51.29% to 33.13%, suggesting the robust model better preserved the original semantic meaning despite the attack.
Conclusion and Future Work
This study demonstrates that noise-augmented training provides a significant, "free" boost to adversarial robustness. While heavy augmentation can occasionally lead to a minor performance penalty on perfectly clean speech, the security gains are substantial. Future research should focus on scaling these findings to larger datasets and optimizing the specific blend of noise types to maximize defense without compromising general accuracy. Ultimately, we argue that noise-augmented training should be considered a foundational security layer for all production ASR systems.
Summary updated