Adversarial Attacks Against Automatic Speech Recognition Systems via Psychoacoustic Hiding

Lea Schönherr, Katharina Kohls, Steffen Zeiler, Thorsten Holz, Dorothea Kolossa

TL;DR

Researchers have developed a stealthy adversarial attack against Automatic Speech Recognition (ASR) systems by hiding malicious commands within ordinary audio, such as music or speech. By combining psychoacoustic masking—the same principle behind MP3 compression—with end-to-end backpropagation, the authors generate perturbations that are virtually inaudible to humans but achieve up to a 98% success rate against state-of-the-art models like Kaldi.

What Problem Does This Paper Address?

As voice-controlled devices like Amazon Echo and Google Home become ubiquitous, their security is increasingly critical. While Deep Neural Networks (DNNs) have revolutionized ASR, they remain vulnerable to "adversarial examples"—inputs specifically crafted to fool a model.

Previous audio adversarial attacks often suffered from two main drawbacks: they were either clearly audible as noise to human listeners, or they relied on specialized hardware (like ultrasound) that is impractical for many real-world scenarios. This paper addresses the gap of creating inaudible, targeted attacks that work on standard audio hardware by exploiting the limits of human hearing.

Methods

The authors propose a novel attack pipeline that integrates three key components:

  1. Differentiable Preprocessing: Standard ASR systems use a multi-step feature extraction process (e.g., Discrete Fourier Transforms and log-magnitude calculations) before the DNN. The authors integrated these steps into a single differentiable computational graph. This allows them to use backpropagation to calculate gradients all the way back to the raw audio waveform, rather than just the features.

    Fig. 4: Integrating preprocessing into the DNN graph to allow end-to-end backpropagation.
  2. Psychoacoustic Hiding: To ensure the attack is silent to humans, the authors utilize a psychoacoustic model based on frequency masking. Just as MP3 encoding discards sounds that are "masked" by louder adjacent frequencies, the authors constrain their adversarial perturbations to stay below the human hearing threshold for a given carrier signal.

    Fig. 2: The green line represents the hearing threshold in quiet; the dashed line shows how a masking tone raises that threshold, creating "blind spots" for the human ear.
  3. Forced Alignment: ASR is a temporal process. To find the "path of least resistance," the authors use a forced alignment algorithm to determine the optimal timing for the hidden command within the carrier audio. This ensures the malicious perturbation is placed where it is most likely to be recognized by the ASR system while remaining masked by the original audio.

Datasets

  • ASR Training: The system was evaluated against a model trained on the Wall Street Journal (WSJ) dataset, a standard benchmark for large-vocabulary speech recognition containing over 80 hours of audio.
  • Attack Evaluation: The authors tested their attack using 70 speech utterances from the WSJ test set and a separate set of music files as carrier signals.
  • User Study: 22 participants were recruited for transcription tests, and 30 participants for a MUSHRA (Multiple Stimuli with Hidden Reference and Anchor) test to evaluate audio quality.

Key Insights and Ideas

  • The "Win-Win" of Forced Alignment: The authors discovered that using forced alignment not only increases the success rate of the attack but also reduces the amount of noise needed. By finding the best temporal fit, the optimization doesn't have to "fight" the carrier signal as hard.
  • Differentiability is Key: By making the entire ASR pipeline differentiable, the attack becomes a standard optimization problem that can be solved quickly using gradient descent.
  • Psychoacoustics as a Shield: The paper demonstrates that the very features that make audio compression efficient (masking) can be weaponized to hide malicious data from human perception while keeping it visible to machines.

Key Results

  • High Success Rate: In the best configurations, the attack achieved a 98% success rate in forcing the ASR to transcribe the target malicious command.
  • Efficiency: Generating an adversarial perturbation for a 10-second audio file takes less than two minutes on a standard consumer-grade CPU (Intel Core i7).
  • Human Inaudibility: In user studies, listeners were unable to detect the hidden commands. In many cases, they could not distinguish the adversarial audio from the original carrier signal, even when using high-quality headphones.

    Fig. 5: Comparison of original (a) and adversarial (b) spectrograms. The difference (c) is kept below the hearing threshold (d).

Limitations and Future Work

  • White-Box Assumption: The current attack is "white-box," meaning the attacker needs full knowledge of the target ASR model's architecture and parameters.
  • Perfect Channel: The experiments were conducted by feeding the audio directly into the recognizer. Real-world "over-the-air" attacks would need to account for room acoustics, microphone characteristics, and background noise.
  • Defense Potential: The authors suggest that future ASR systems could be hardened by incorporating psychoacoustic models into their training or preprocessing to ignore signals that fall below human hearing thresholds.
  • Future Directions: The authors aim to explore "black-box" attacks where model parameters are unknown and investigate the existence of "universal" audio adversarial perturbations that work across different carrier signals.

Summary updated

BibTeX
@inproceedings{schonherr2019adversarial,
  author = {Lea Schönherr and Katharina Kohls and Steffen Zeiler and Thorsten Holz and Dorothea Kolossa},
  title = {{Adversarial Attacks Against Automatic Speech Recognition Systems via Psychoacoustic Hiding}},
  booktitle = {NDSS},
  year = {2019},
  url = {https://openreview.net/forum?id=WKK2Yhr1r8T},
}
Figure