[Paper Review] Adversarial Attacks and Defenses for Speech Recognition Systems
This paper evaluates adversarial robustness in two distinct ASR systems—DeepSpeech and Espresso—using FGSM, PGD, and imperceptible attacks under denial-of-service and targeted threat models. It demonstrates that WaveGAN-based vocoder preprocessing significantly enhances robustness, reducing targeted attack success rates and recovering up to 84.2% of ground-truth transcripts, while randomized smoothing shows limited effectiveness as a standalone defense.
The ubiquitous presence of machine learning systems in our lives necessitates research into their vulnerabilities and appropriate countermeasures. In particular, we investigate the effectiveness of adversarial attacks and defenses against automatic speech recognition (ASR) systems. We select two ASR models - a thoroughly studied DeepSpeech model and a more recent Espresso framework Transformer encoder-decoder model. We investigate two threat models: a denial-of-service scenario where fast gradient-sign method (FGSM) or weak projected gradient descent (PGD) attacks are used to degrade the model's word error rate (WER); and a targeted scenario where a more potent imperceptible attack forces the system to recognize a specific phrase. We find that the attack transferability across the investigated ASR systems is limited. To defend the model, we use two preprocessing defenses: randomized smoothing and WaveGAN-based vocoder, and find that they significantly improve the model's adversarial robustness. We show that a WaveGAN vocoder can be a useful countermeasure to adversarial attacks on ASR systems - even when it is jointly attacked with the ASR, the target phrases' word error rate is high.
Motivation & Objective
- To assess the vulnerability of modern ASR systems—DeepSpeech and Espresso—to adversarial attacks under realistic threat models.
- To investigate the transferability of adversarial attacks across different ASR architectures with distinct architectures and training paradigms.
- To evaluate the effectiveness of preprocessing defenses—specifically randomized smoothing and WaveGAN vocoder—against both white-box and black-box attacks.
- To determine whether joint white-box attacks on both the ASR and the defense (WaveGAN) can bypass robustness mechanisms.
Proposed method
- The study employs two ASR models: DeepSpeech (RNN-based, CTC-trained) and Espresso (Transformer-based, encoder-decoder architecture).
- Two threat models are applied: a denial-of-service attack using FGSM and PGD to degrade WER, and a targeted attack using an imperceptible attack to force recognition of a specific phrase.
- Three defenses are evaluated: randomized smoothing (applied at inference and during training), WaveGAN vocoder for signal re-synthesis, and label smoothing.
- The WaveGAN vocoder is used as a preprocessing defense by re-synthesizing the input audio to a latent manifold of clean speech, thereby distorting adversarial perturbations.
- A joint white-box attack is simulated by training the attacker with access to both the ASR and the WaveGAN model, testing robustness under end-to-end attack scenarios.
- Experiments are conducted on LibriSpeech, measuring WER under clean, adversarial, and defended conditions across multiple attack types and max-norm perturbations.
Experimental results
Research questions
- RQ1How effective are FGSM and PGD attacks in degrading the word error rate (WER) of DeepSpeech and Espresso under a denial-of-service threat model?
- RQ2To what extent does the imperceptible targeted attack succeed in forcing both ASR systems to transcribe a specific phrase, and how does this vary between models?
- RQ3Does attack transferability hold between DeepSpeech and Espresso when adversarial examples are generated on one model and tested on the other?
- RQ4Can preprocessing defenses like randomized smoothing and WaveGAN vocoder reduce the success rate of adversarial attacks, and how do they compare in effectiveness?
- RQ5How does a joint white-box attack on both the ASR and the WaveGAN defense affect the system’s robustness, particularly in targeted attack scenarios?
Key findings
- The WaveGAN vocoder defense reduced targeted attack WER from 100% to 48% on DeepSpeech and 37.4% on Espresso, indicating strong robustness against imperceptible attacks.
- For the imperceptible attack, WaveGAN successfully prevented recognition of the attacker’s target phrase, though ground-truth WER remained elevated at 48% (DeepSpeech) and 37.4% (Espresso).
- Randomized smoothing improved robustness when used during training but offered limited benefit at inference time, with performance degradation on clean data.
- Espresso showed higher inherent robustness than DeepSpeech, particularly under low max-norm perturbations, and benefited more from WaveGAN-based defenses.
- Attack transferability between DeepSpeech and Espresso was limited, with FGSM and PGD attacks performing significantly worse on the target model than on the source.
- Combining WaveGAN with inference-time randomized smoothing did not improve robustness and often degraded performance, suggesting interference between defense mechanisms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.