NRI-FGSM: An Efficient Transferable Adversarial Attack for Speaker Recognition Systems

Hao Tan, Junjian Zhang, Huan Zhang, Le Wang, Yaguan Qian, Zhaoquan GuInterspeech 2022

Abstract

Deep neural network (DNN), though widely applied in Speaker Recognition Systems (SRS), is vulnerable to adversarial attacks which are hard to detect by humans. The black-box model vulnerability against adversarial attacks is crucial for the robustness of SRS, especially for the latest models such as x-vector and ECAPA-TDNN. The state-of-the-art transferable adversarial attack methods start with generating the adversarial audio from white-box SRS, then utilizing this audio to attack the black-box SRS. However, these methods often have a lower success rate in SRS than in the image processing domain. To improve the attack performance on SRS, we propose an efficient Nesterov accelerate and RMSProp optimization-based Iterative-Fast Gradient Sign Method (NRI-FGSM), which integrates the Nesterov Accelerated Gradient method and the Root Mean Squared Propagation optimization method with adaptive step size. Through extensive experiments on both closed-set speaker recognition (CSR) and open-set speaker recognition (OSR) tasks, our method achieves higher attack success rates of 97.8% for CSR and 61.9% for OSR tasks than others, and meanwhile maintains a lower perturbation rate with signal-to-noise ratio (SNR) and perceptual evaluation of speech quality (PESQ) metrics. It is worth mentioning that our work is the first to attack the ECAPA-TDNN SRS model successfully.

Introduction

Deep Neural Networks (DNNs) have revolutionized Speaker Recognition Systems (SRS), enabling secure applications in smartphone unlocking, banking, and forensic identification. However, these systems are inherently vulnerable to adversarial attacks—small, intentional perturbations added to an audio signal that cause the AI to misidentify the speaker while remaining imperceptible to humans.

The most significant threat comes from black-box transferable attacks. In this scenario, an attacker lacks knowledge of the target system's architecture or parameters. Instead, they craft an attack on a known "white-box" model, hoping the adversarial example "transfers" its effectiveness to the target black-box system. While such attacks are highly effective in image recognition, they have historically struggled in the audio domain due to the complexity of speech signals and the tendency of optimization methods to get trapped in local maxima.

Methodology: The NRI-FGSM Approach

To address these challenges, we propose NRI-FGSM (Nesterov accelerate and RMSProp optimization based Iterative-Fast Gradient Sign Method). This approach introduces three critical technical improvements to enhance transferability:

  1. Nesterov Accelerated Gradient (NAG): Standard momentum-based attacks calculate gradients at the current position. NAG instead calculates the gradient at a "look-ahead" position, allowing the optimization process to anticipate the landscape and skip over local traps, leading to a more stable and global perturbation direction.
  2. RMSProp Optimization: Rather than using a fixed step size, NRI-FGSM employs an adaptive step size based on the moving average of squared gradients. This allows for faster convergence and more precise adjustments during the iterative process.
  3. The "Extra $\kappa$" Strategy: A common pitfall in adversarial attacks is stopping as soon as the white-box model is fooled. NRI-FGSM continues for a few extra iterations ($\kappa$). This "over-fitting" to the adversarial objective surprisingly makes the resulting perturbation more robust and transferable to different black-box architectures.
Impact of the iteration parameter κ on transfer attack success rate.

Experimental Setup

The proposed method was evaluated using the LibriSpeech dataset. For the registration set, 10 speakers were selected with 10 audio clips each. To test "open-set" recognition (OSR) capabilities, an imposter dataset consisting of 10 different speakers (not present in the registration set) was utilized. The attack was tested against several state-of-the-art architectures, including ResNet-34, x-vector, and the highly robust ECAPA-TDNN.

Results and Discussion

NRI-FGSM demonstrates superior performance across both Close-set Speaker Recognition (CSR) and Open-set Speaker Recognition (OSR) tasks.

Transferability and the ECAPA Breach

A key highlight of this research is the successful attack on the ECAPA-TDNN model. ECAPA-TDNN is widely regarded as one of the most robust architectures in modern speaker recognition, yet NRI-FGSM achieved significant success rates against it. As shown in the performance data, NRI-FGSM consistently outperforms standard methods like FGSM, PGD, and MI-FGSM across various victim models.

Transfer attack success rates (%) across different source (Alter-Model) and victim models.

Imperceptibility and Robustness

Beyond success rates, the quality of the adversarial audio is paramount. NRI-FGSM maintained a Signal-to-Noise Ratio (SNR) between 34-48 dB and a Perceptual Evaluation of Speech Quality (PESQ) score of up to 4.42. A PESQ score above 4.0 indicates "excellent" quality, suggesting the perturbations are virtually inaudible. Furthermore, the attack remained resilient against common defensive measures such as quantization, low-pass filtering, and audio turbulence, showing a 14.34% average improvement in success rate over traditional PGD attacks.

Conclusion

NRI-FGSM represents a significant advancement in transferable adversarial attacks for SRS. By combining Nesterov momentum with adaptive RMSProp optimization, the method achieves high success rates while maintaining excellent audio quality. While OSR tasks remain more challenging than CSR, the results indicate that current SRS architectures are more vulnerable to black-box attacks than previously thought. Future research will focus on ensemble learning techniques to further enhance the universality of these adversarial examples.

Summary updated

BibTeX
@inproceedings{tan2022nri,
  author = {Hao Tan and Junjian Zhang and Huan Zhang and Le Wang and Yaguan Qian and Zhaoquan Gu},
  title = {{NRI-FGSM: An Efficient Transferable Adversarial Attack for Speaker Recognition Systems}},
  booktitle = {Interspeech},
  year = {2022},
  url = {https://openreview.net/forum?id=r0ypC_jZrUX},
}
Figure