Abstract
Recent studies have exposed the substantial vulnerability of voice-activated smart devices to adversarial examples, predominantly targeting the robustness of automatic speech recognition (ASR) systems. Most adversarial examples are generated by introducing perturbations within $l_p$ norm bounds to benign audio inputs. However, these attacks are often constrained by parametric bounds or specific disturbance features, limiting their effectiveness and acoustic realism. To address these limitations, we propose a novel framework: the Diffusion-based Adversarial Attack. By leveraging DiffVC, a diffusion-based voice conversion model, we map audio to a latent space and employ Adversarial Latent Perturbation (ALP) to embed robust, less perceptible perturbations. Extensive evaluations demonstrate that our method significantly enhances targeted attack performance. Notably, the Word Error Rate (WER) increased by an average of 101 absolute points over clean speech and 25 points over the C&W attack. Success Rates (SR) also improved by 11 to 16 absolute points over existing benchmarks. Our approach further distinguishes itself through high audio quality and computational efficiency.
Introduction
Automatic Speech Recognition (ASR) systems serve as the interface for modern smart assistants and voice-controlled infrastructure. While these systems have achieved human-like accuracy, they remain susceptible to adversarial attacks—small, intentional modifications to audio signals that cause an AI to misinterpret commands (e.g., changing "Play music" to "Open the front door").
Traditional adversarial attacks typically face two major hurdles. First, the "Noise Problem": adding mathematical noise to raw waveforms often results in audible distortion if the attack is strong enough to be effective. Second, the "Dependency Problem": many attacks require a pre-existing recording of a target user to modify. This research introduces an Audio Independent Attack (AIA) that synthesizes adversarial audio from scratch using diffusion models, ensuring the resulting signals are both effective and indistinguishable from natural human speech.
Methodology
The proposed framework utilizes the generative power of diffusion models—the same technology powering state-of-the-art image generators—to create adversarial audio. The process involves three core components:
1. Diffusion-based Voice Conversion (DiffVC)
Instead of manipulating raw waveforms, the framework utilizes DiffVC to map audio into a low-dimensional latent space. This space effectively disentangles the content (the linguistic information) from the style (the speaker's unique vocal characteristics). By operating in this latent space, the attack can influence the ASR's perception without degrading the fundamental acoustic properties of the voice.
2. Adversarial Latent Perturbation (ALP)
ALP is the primary mechanism for generating the attack. Rather than adding noise to the final output, perturbations are introduced to the latent representation at the start of the diffusion process. The perturbation is optimized using a dual-purpose loss function:
- Cross-Entropy Loss: Forces the ASR model to misclassify the audio toward a target malicious command.
- Mel-spectrogram Loss: Ensures the generated audio remains mathematically and perceptually close to the original "clean" synthetic version.
3. The Skip Gradient Method
Backpropagating through the numerous steps of a diffusion process is computationally intensive and memory-heavy. To overcome this, the researchers implemented a "Skip Gradient" method. This technique approximates the complex chain of gradients as a constant ($\rho$), allowing for significantly faster generation of adversarial examples without requiring massive GPU resources.
Experimental Results
The framework was evaluated using the LibriSpeech dataset (specifically the test-clean-100 subset) against various configurations of OpenAI’s Whisper ASR model. The results demonstrate a significant leap over traditional methods like the C&W (Carlini & Wagner) and SSA (Speech Synthesizing Attack) attacks.
Attack Effectiveness
- Success Rate (SR): The ALP attack achieved a 99% success rate against Whisper, outperforming previous methods by 11–16%.
- Word Error Rate (WER): The attack reached a WER of 103.7%. In adversarial contexts, a higher WER indicates a more successful disruption of the ASR's ability to understand the original content.
Audio Quality and Efficiency
- Perceptual Quality: In human listening tests (Mean Opinion Score), the adversarial audio scored 3.75 out of 5, nearly matching the 3.96 score of clean synthetic audio. This indicates that the attacks are virtually indistinguishable from normal speech to the human ear.
- Generation Speed: The framework is remarkably efficient, generating successful attacks in an average of 35.21 seconds, a fraction of the time required by iterative optimization methods.
Discussion and Insights
The success of this method is rooted in the Manifold Hypothesis, which suggests that natural audio exists on a low-dimensional mathematical surface. By perturbing the latent space of a diffusion model, the attack ensures the resulting audio stays on this "natural" manifold. Traditional attacks often push audio "off-manifold," resulting in the robotic or static-like distortion that makes them easy to detect.
Furthermore, the latent space provides a more flexible canvas for adversarial features. Because it encompasses pitch, rhythm, and semantics, perturbations in this space are more "potent" than simple waveform tweaks.
Conclusion and Future Work
While highly effective, the current framework is a "white-box" attack, requiring access to the internal gradients of the target ASR model. Future research will focus on "black-box" scenarios and optimizing the sensitivity of the attack to varying text lengths. The ease and speed with which these high-quality, realistic adversarial commands can now be generated highlight a critical security gap in voice-activated technology, necessitating the development of more robust ASR defense mechanisms.
Summary updated