Towards Understanding and Mitigating Audio Adversarial Examples for Speaker Recognition

Guangke Chen, Zhe Zhao, Fu Song, Sen Chen, Lingling Fan, Feng Wang, Jiashui Wang · DOI

Abstract

Speaker Recognition Systems (SRSs) are increasingly used for sensitive authentication, yet they remain vulnerable to adversarial examples. This paper provides the first systematic evaluation of 22 audio transformations and adversarial training techniques. We demonstrate that image-domain defenses often fail in audio and propose Feature Compression (FeCo), a novel feature-level defense. When combined with adversarial training, FeCo improves model accuracy by 13.6% and significantly increases the effort required for successful adaptive attacks.

Introduction: The Vulnerability of Speaker Recognition

Speaker Recognition Systems (SRSs) are ubiquitous in modern technology, powering everything from banking security to smart home assistants. However, these systems are susceptible to adversarial examples—audio inputs meticulously crafted to deceive AI models while remaining perceptually normal to human listeners.

Overview of a standard Speaker Recognition System (SRS) pipeline.

The core challenge lies in the lack of unified, rigorous evaluation for SRS defenses. Many existing solutions were tested only against non-adaptive attacks, where the adversary is unaware of the defense. Furthermore, the sequential and high-frequency nature of audio data means that defensive strategies successful in the image domain do not always translate effectively to speech.

Systematic Evaluation of Defensive Strategies

The researchers investigated two primary defensive pillars: input transformations and adversarial training.

Input Transformations

The study categorized 22 different transformations across three levels:

  1. Waveform-level (W-transformations): Modifications in the time domain (e.g., quantization, smoothing) and frequency domain (e.g., low-pass and band-pass filtering).
  2. Speech Compression: Evaluation of standard codecs like MP3, AAC, and OPUS.
  3. Feature-level (F-transformations): Introduction of Feature Compression (FeCo), which applies clustering (e.g., k-means) to the acoustic feature matrix (MFCCs) to disrupt adversarial perturbations at the source.
Taxonomy of the 22 audio transformations evaluated in the study.

Adversarial Training (AdvT) and Adaptive Attacks

To ensure robustness, the models were retrained using adversarial examples. The defenses were then stress-tested using "adaptive" attacks, where the attacker employs techniques like Backward Pass Differentiable Approximation (BPDA) and Expectation Over Transformation (EOT) to bypass non-differentiable or randomized filters.

Key Insights: Audio vs. Images

The study revealed several critical differences between audio and image adversarial landscapes:

  • BPDA Limitations: While BPDA is a "silver bullet" for breaking non-differentiable defenses in images, it often fails against Constant Bit Rate (CBR) audio compression because the transformation is too complex to approximate simply.
  • Compression Modes: CBR compression is significantly more effective at stopping attacks than Variable Bit Rate (VBR), as VBR tends to preserve the adversarial signal to maintain perceptual quality.
  • The Power of Randomness: Randomized transformations like FeCo prove much harder to bypass than deterministic ones, as they prevent attackers from calculating stable gradients.

Results and Impact

The combination of FeCo and Adversarial Training emerged as the most effective defense. In white-box scenarios, this pairing increased model accuracy by 13.62% over standard adversarial training and raised the computational cost for attackers by two orders of magnitude (from 100 to ~27,500 queries). Importantly, these transformations maintained high usability, with minimal degradation of benign voice recognition accuracy.

Conclusion and Future Directions

This research highlights the unique challenges of securing audio-based AI. While FeCo and CBR compression offer strong protection, the authors note that current metrics like SNR do not fully capture human perception of audio quality. Future work will focus on developing audio-specific imperceptibility metrics and testing these defenses against proprietary commercial systems.

Summary updated

BibTeX
@article{chen2023towards,
  author = {Guangke Chen and Zhe Zhao and Fu Song and Sen Chen and Lingling Fan and Feng Wang and Jiashui Wang},
  title = {{Towards Understanding and Mitigating Audio Adversarial Examples for Speaker Recognition}},
  journal = {IEEE TDSC},
  year = {2023},
  doi = {10.1109/tdsc.2022.3220673},
}
Figure