[Paper Review] WaveGuard: Understanding and Mitigating Audio Adversarial Examples
WaveGuard is a detection framework that identifies audio adversarial examples by analyzing discrepancies in ASR transcriptions between original and transformed audio inputs. It leverages perceptually informed audio transformations—such as Mel-spectrogram reconstruction and LPC-based recovery—to achieve robust detection even against white-box adaptive adversaries, outperforming naive compression methods significantly.
There has been a recent surge in adversarial attacks on deep learning based automatic speech recognition (ASR) systems. These attacks pose new challenges to deep learning security and have raised significant concerns in deploying ASR systems in safety-critical applications. In this work, we introduce WaveGuard: a framework for detecting adversarial inputs that are crafted to attack ASR systems. Our framework incorporates audio transformation functions and analyses the ASR transcriptions of the original and transformed audio to detect adversarial inputs. We demonstrate that our defense framework is able to reliably detect adversarial examples constructed by four recent audio adversarial attacks, with a variety of audio transformation functions. With careful regard for best practices in defense evaluations, we analyze our proposed defense and its strength to withstand adaptive and robust attacks in the audio domain. We empirically demonstrate that audio transformations that recover audio from perceptually informed representations can lead to a strong defense that is robust against an adaptive adversary even in a complete white-box setting. Furthermore, WaveGuard can be used out-of-the box and integrated directly with any ASR model to efficiently detect audio adversarial examples, without the need for model retraining.
Motivation & Objective
- Address the growing security threat posed by adversarial attacks on deep learning-based automatic speech recognition (ASR) systems.
- Develop a defense mechanism that detects adversarial audio inputs without requiring model retraining or architectural changes.
- Evaluate the robustness of audio transformation-based defenses against adaptive adversaries with full knowledge of the defense mechanism.
- Identify which audio transformation functions provide the strongest resilience to adaptive attacks in the audio domain.
Proposed method
- Apply a set of audio transformation functions $ g $ to the input audio $ x $, generating a transformed version $ g(x) $.
- Obtain ASR transcriptions for both $ x $ and $ g(x) $, then compare them using transcription similarity metrics such as CER (Character Error Rate).
- Label an input as adversarial if the transcriptions of $ x $ and $ g(x) $ differ significantly, indicating instability under transformation.
- Use perceptually informed representations—such as Mel-spectrograms and Linear Predictive Coding (LPC)—for transformation, as they preserve speech intelligibility while distorting adversarial perturbations.
- Evaluate defense robustness using a white-box adaptive attack that iteratively modifies the input to maintain high ASR success while evading detection.
- Measure detection performance using AUC (Area Under Curve) and CER between original and transformed transcriptions under both non-adaptive and adaptive attack settings.
Experimental results
Research questions
- RQ1Can audio transformation-based defenses reliably detect adversarial examples in ASR systems under non-adaptive attack settings?
- RQ2How effective are different audio transformation functions (e.g., compression, filtering, perceptual reconstruction) in detecting adversarial inputs?
- RQ3Can adaptive adversaries with full knowledge of the defense bypass WaveGuard using minimal, inaudible perturbations?
- RQ4Do perceptually informed transformations (e.g., Mel extraction-inversion, LPC) provide stronger defense than naive compression or filtering techniques?
- RQ5To what extent do adversarial examples crafted for undefended models transfer to defended models under transformation?
Key findings
- WaveGuard achieves reliable detection of adversarial examples from four recent audio attacks, including both targeted and untargeted variants, using a variety of audio transformation functions.
- Perceptually informed transformations such as Mel extraction-inversion and LPC-based recovery maintain high detection performance (AUC > 0.9) even under adaptive white-box attacks with initial perturbation bound $ \\epsilon_{\infty} = 500 $.
- The defense is broken only when perturbations exceed $ \delta_{\infty} = 2479 $ (Mel) and $ \delta_{\infty} = 2167 $ (LPC), which are over 6× higher than those needed to fool naive transformations and more than 25× higher than those required to fool an undefended model.
- These high perturbation thresholds correspond to signal-to-noise ratios above -29 dB, making them perceptible to human listeners, thus indicating practical robustness.
- In contrast, naive transformations like downsampling-upsampling and quantization-dequantization are easily bypassed by adaptive attacks with minimal perturbations.
- Adversarial examples crafted for undefended models do not transfer to defended models, even at high perturbation levels, suggesting limited transferability in the audio domain compared to the image domain.
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.