Characterizing Speech Adversarial Examples Using Self-Attention U-Net Enhancement

Chao-Han Huck Yang, Jun Qi, Pin-Yu Chen, Xiaoli Ma, Chin-Hui Lee · DOI

Introduction

Deep Neural Networks (DNNs) have revolutionized Automatic Speech Recognition (ASR) systems, enabling the widespread adoption of voice-controlled interfaces like Siri and Alexa. However, these systems remain vulnerable to adversarial examples—audio signals modified with subtle, mathematically optimized perturbations. These perturbations are often imperceptible to human listeners but can cause an ASR system to misinterpret a command entirely, such as transcribing "play music" as "open the door."

While previous research has focused primarily on detecting these attacks to reject malicious inputs, this study by researchers from Georgia Tech and IBM explores a proactive mitigation strategy. The authors propose U-Net$_{At}$, a specialized speech enhancement model designed to "heal" adversarial audio, restoring its original intelligibility before it reaches the ASR engine.

Methodology: The U-Net$_{At}$ Architecture

The proposed defense centers on a novel 1D U-Net architecture enhanced with self-attention mechanisms. The U-Net structure, characterized by its contracting and expanding paths, is traditionally used for tasks like image segmentation and audio source separation.

Self-Attention Gates

The core innovation of U-Net$_{At}$ is the integration of Self-Attention Gates within the upsampling blocks. Adversarial perturbations in audio often rely on specific temporal dependencies and patterns over time to deceive the ASR's feature extraction. By incorporating attention, the model can focus on these long-range temporal features, allowing it to more effectively distinguish between legitimate speech signals and adversarial noise.

Adversarial Training (AdvT)

To further bolster the model's robustness, the researchers employed Adversarial Training. The U-Net$_{At}$ model was fine-tuned using a mixture of clean audio and adversarial examples. This process acts as a form of regularization, teaching the network to recognize and neutralize the specific mathematical signatures of gradient-based noise.

Experimental Setup

The effectiveness of the defense was evaluated using several key datasets and attack vectors:

  • LibriSpeech: A standard corpus of English speech (30 hours for training, 5 hours for testing).
  • DEMAND: A database of environmental noise (e.g., traffic, cafes) used to establish baseline performance against natural noise.
  • Attack Models: The defense was tested against the Carlini & Wagner (C&W) gradient-based attack and Evolutionary-optimized black-box attacks.

Key Insights: The Denoising Paradox

A significant finding of this research is the "Denoising Paradox." The authors observed that standard speech enhancement models, such as basic DNNs or Wave-U-Net, often decreased the intelligibility of adversarial speech (as measured by PESQ and STOI) despite improving the Signal-to-Noise Ratio (SNR). This indicates that adversarial noise is fundamentally different from natural environmental noise; traditional denoising techniques can inadvertently garble the underlying speech further. In contrast, the self-attention mechanism in U-Net$_{At}$ proved capable of "healing" the audio by capturing the specific temporal patterns used by attackers.

Results and Performance

The U-Net$_{At}$ defense demonstrated substantial improvements across multiple metrics:

  • Speech Quality: The Perceptual Evaluation of Speech Quality (PESQ) score for adversarial examples improved from 1.13 to 2.78.
  • Intelligibility: The Short-Term Objective Intelligibility (STOI) rose from 0.83 to 0.96.
  • ASR Robustness: Under gradient-based attacks, the Word Error Rate (WER) saw an absolute decrease of 2.22%. For evolutionary attacks, the WER decreased by 2.03%.
  • Attack Success Rate: Most notably, the Rate of Success Attack (RoSA) for the DeepSpeech model plummeted from 90.23% to 18.23% when the defense was active.

Furthermore, the defense significantly raised the "cost" of a successful attack. In adaptive scenarios where the attacker is aware of the defense, they were forced to increase noise levels from a stealthy 7.63 dB to a highly audible -3.21 dB to maintain a 100% success rate, effectively stripping the attack of its covert nature.

Conclusion and Future Work

U-Net$_{At}$ represents a significant step forward in characterizing and mitigating speech adversarial examples. By leveraging self-attention and adversarial training, the model can restore the quality of compromised audio and force attackers to use more conspicuous noise.

However, challenges remain. The researchers note that real-world variables—such as room acoustics and microphone quality—add complexity that simple simulations may not fully capture. Additionally, the computational overhead of self-attention layers must be optimized for real-time performance on edge devices. Future research will focus on integrating these enhancement layers more deeply into ASR architectures to create a more unified and resilient system.

Summary updated

BibTeX
@inproceedings{yang2020characterizing,
  author = {Chao-Han Huck Yang and Jun Qi and Pin-Yu Chen and Xiaoli Ma and Chin-Hui Lee},
  title = {{Characterizing Speech Adversarial Examples Using Self-Attention U-Net Enhancement}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  doi = {10.1109/icassp40776.2020.9053288},
}
Figure