Abstract
Adversarial attacks on Automatic Speech Recognition (ASR) systems often fail in real-world settings due to Room Impulse Response (RIR) distortions. This paper presents Imperio, a system that generates robust "over-the-air" adversarial audio by simulating a distribution of room environments during optimization. By integrating room acoustics and psychoacoustic masking into the attack loop, Imperio creates inconspicuous malicious signals that remain effective across various physical layouts without prior knowledge of the target environment.
Introduction: The Challenge of Real-World ASR Attacks
Adversarial examples—inputs meticulously crafted to deceive machine learning models—have largely remained a laboratory phenomenon in the context of speech recognition. While researchers can generate audio that sounds like "Hello" to a human but is interpreted as a malicious command by a computer, these attacks typically fail when played over a loudspeaker.
The primary obstacle is the Room Impulse Response (RIR). As sound travels through a physical space, it reflects off surfaces, creating a complex pattern of echoes and frequency distortions known as reverberation. For an ASR system, this distortion is akin to reading text through a cracked, dirty window. Previous attempts at "over-the-air" attacks were either easily detectable by humans, required precise knowledge of the room's geometry, or were extremely sensitive to the positioning of the speaker and microphone.
The Imperio Framework
Imperio addresses these challenges by treating the physical room as an additional layer within a neural network optimization loop. The system's effectiveness rests on three technical pillars:
- Expectation Over Transformation (EOT): Rather than optimizing for a single environment, Imperio optimizes the attack against a distribution of potential rooms. During the generation process, the algorithm samples various simulated room geometries and reverberation times, ensuring the resulting audio is robust to diverse acoustic conditions.
- The Augmented DNN: The researchers integrated room simulation—specifically, convolution with a Room Impulse Response—and the ASR’s feature extraction process directly into the attack's optimization loop. This allows the use of gradient descent to modify raw audio samples so that the signal eventually "heard" by the ASR matches the target malicious transcription.
- Psychoacoustic Hiding: To maintain stealth, Imperio employs psychoacoustic models to calculate "hearing thresholds." This ensures that adversarial perturbations are masked by the original audio's frequencies, making the changes sound like harmless background noise to human listeners.
Experimental Setup and Datasets
The study utilized the Kaldi ASR toolkit, an industry-standard hybrid DNN-HMM system. The attack was evaluated using various audio sources, including speech, music, and nature sounds, to determine if malicious commands could be hidden in non-speech audio.
To train the "generic" attack, thousands of virtual room environments were generated using the AudioLabs simulator. Real-world validation was conducted in three distinct physical environments: a large lecture hall (77 $m^2$), a meeting room (38 $m^2$), and a standard office (31 $m^2$).
Key Results and Insights
Imperio demonstrated significant success in both simulated and physical environments:
- Success Rates: In real-world testing, the researchers achieved a 0% Word Error Rate (WER) for target transcriptions in several scenarios, indicating perfect recognition of the malicious command.
- Robustness of Generic Attacks: Surprisingly, "generic" attacks trained on a wide variety of random rooms often outperformed "adapted" attacks tailored to a specific room. This suggests that over-optimization leads to brittleness, whereas a "jack-of-all-trades" approach is more resilient to real-world variations.
- Non-Line-of-Sight Effectiveness: The attack remained effective even without a direct line of sight between the speaker and microphone (e.g., when the speaker was placed under a table).
- Stealth vs. Performance: While psychoacoustic masking slightly increased the WER in some tests, it significantly improved the inconspicuousness of the attack and stabilized performance over longer distances.
Limitations and Future Directions
Currently, Imperio operates as a white-box attack, requiring full access to the target ASR model's parameters. While effective against open-source systems like Kaldi, its applicability to proprietary "black-box" systems like Alexa or Siri remains a subject for future study. Potential defensive measures include training ASR systems to ignore imperceptible signal components or using internal confidence levels to detect anomalous inputs.
Summary updated