Imperceptible black-box waveform-level adversarial attack towards automatic speaker recognition

Xingyu Zhang, Xiongwei Zhang, Meng Sun, Xia Zou, Kejiang Chen, Nenghai YuComplex 2022

Abstract

Automatic speaker recognition is an important biometric authentication approach with emerging applications. However, recent research has shown its vulnerability to adversarial attacks. In this paper, we propose a new type of adversarial examples by generating imperceptible adversarial samples for targeted attacks on black-box systems of automatic speaker recognition. Waveform samples are created directly by solving an optimization problem with waveform inputs and outputs, which is more realistic in real-life scenarios. Inspired by auditory masking, a regularization term adapting to the energy of the speech waveform is proposed for generating imperceptible adversarial perturbations. The optimization problems are subsequently solved by a differential evolution algorithm in a black-box manner which does not require any knowledge of the inner configuration of the recognition systems. Experiments conducted on commonly used datasets, LibriSpeech and VoxCeleb, show that the proposed methods have successfully performed targeted attacks on state-of-the-art speaker recognition systems while being imperceptible to human listeners. Given the high SNR and PESQ scores of the yielded adversarial samples, the proposed methods deteriorate the quality of the original signals less than several recently proposed methods, which justifies the imperceptibility of adversarial samples.

Introduction

Automatic Speaker Recognition (ASR) has become a ubiquitous biometric authentication tool, used in everything from smartphone security to identity verification for financial services. However, like many deep learning-based systems, ASR is susceptible to adversarial attacks—subtle, intentional modifications to input data that cause models to make incorrect predictions.

Existing adversarial attacks on ASR often suffer from two limitations: they typically require "white-box" access to the model's internal parameters and they often produce audible noise, such as hissing, that a human listener can easily detect. This research introduces a novel framework for creating imperceptible, black-box attacks that operate directly on the raw audio waveform, significantly increasing their threat level in real-world scenarios.

A Black-Box Waveform-Level Attack Framework

The proposed attack treats the ASR system as a black box, meaning the attacker only has access to the system's output (the decision result) rather than its internal gradients. The process involves generating a perturbation that, when added to a source voice, misleads the system into identifying the speaker as a specific target identity.

Overview of the adversarial attack and perturbation generation process, showing the interaction between the attacker, the adversarial learning algorithm, and the black-box recognition system.

To optimize these perturbations without gradient information, the researchers employed Differential Evolution (DE). DE is an evolutionary algorithm that maintains a population of candidate solutions and iteratively improves them based on their performance against the target system. This approach allows the attack to bypass the need for internal model access.

Achieving Imperceptibility via Auditory Masking

A key innovation of this work is the use of Auditory Masking Regularization. In human psychoacoustics, a louder sound can effectively "mask" a quieter sound if they occur at similar frequencies. The authors leveraged this principle by introducing a regularization term that encourages the algorithm to place adversarial noise in the high-energy (loud) segments of the speech waveform while penalizing noise in quiet segments.

By concentrating the adversarial signal where the human ear is already saturated by the speaker's natural voice, the attack remains virtually silent to human listeners. This is a significant departure from traditional methods that often distribute noise uniformly across the signal.

Experimental Evaluation and Results

The attack was evaluated against three primary ASR tasks: Close-Set Identification (CSI), Open-Set Identification (OSI), and Automatic Speaker Verification (ASV). The researchers utilized industry-standard datasets, including VoxCeleb1, VoxCeleb2, and LibriSpeech, to test against various model architectures like GMM-UBM, i-vector, and x-vector systems.

Comparison of adversarial voices and perturbations across different attack methods. "Our Method" (6) demonstrates a perturbation that is significantly lower in amplitude and more closely follows the temporal structure of the original waveform compared to baseline methods.

Key Findings:

  • High Success Rates: The Targeted Attack Success Rate (TASR) consistently exceeded 70-80% for matched attacks. Even in the challenging OSI task, success rates remained above 69%.
  • Superior Audio Quality: The method achieved an average Signal-to-Noise Ratio (SNR) of approximately 40 dB and a PESQ score of ~4.0. A PESQ score of 4.0 indicates high-quality audio that is nearly indistinguishable from the original to human ears.
  • Commercial Viability: Transfer attacks against Microsoft Azure’s commercial speaker recognition API achieved success rates of up to 42%, demonstrating that these techniques are effective against production-grade, proprietary systems.
  • Transferability: Attacks optimized for one architecture (e.g., x-vector) often successfully fooled others (e.g., GMM-UBM), suggesting that adversarial vulnerabilities are shared across different ASR technologies.

Conclusion

This research demonstrates that it is possible to craft highly effective, black-box adversarial attacks on speaker recognition systems that are completely imperceptible to humans. By modifying the raw waveform and utilizing psychoacoustic principles, these attacks pose a significant challenge to current biometric security measures. While the current method is computationally intensive—taking several minutes per sample—it highlights a critical need for more robust fraud detection and defense mechanisms in ASR systems.

Summary updated

BibTeX
@inproceedings{zhang2022imperceptible,
  author = {Xingyu Zhang and Xiongwei Zhang and Meng Sun and Xia Zou and Kejiang Chen and Nenghai Yu},
  title = {{Imperceptible black-box waveform-level adversarial attack towards automatic speaker recognition}},
  booktitle = {Complex},
  year = {2022},
  doi = {10.1007/s40747-022-00782-x},
}
Figure