Diffusion-Based Adversarial Purification for Speaker Verification

Yibo Bai, Xiaofei Li, Xuelong Li · DOI

TL;DR

This paper introduces Diffusion-Based Adversarial Purification (DAP), a novel method that uses diffusion models to clean up audio signals attacked by imperceptible perturbations, making Automatic Speaker Verification (ASV) systems more robust. DAP effectively removes adversarial noise while preserving the original speech quality, achieving state-of-the-art performance in adversarial purification for ASV.

What Problem Does This Paper Address?

Automatic Speaker Verification (ASV) systems are crucial for biometric authentication, but they are increasingly vulnerable to adversarial attacks. These attacks involve adding subtle, imperceptible noise to audio signals, causing ASV systems to misclassify speakers. This poses a significant threat to the security and reliability of ASV in real-world applications. Existing defense mechanisms like adversarial training and detection have limitations, prompting the need for purification methods that can restore the original audio quality without altering the speaker's identity.

Methods

The core of this paper is the Diffusion-Based Adversarial Purification (DAP) method, which leverages denoising diffusion probabilistic models (DDPMs). The process works in two stages:

  1. Forward Diffusion Process: Controlled Gaussian noise is progressively added to an adversarial audio example. This process gradually blurs the adversarial signal, making it more amenable to reconstruction.
  2. Reverse Denoising Process: A trained diffusion model learns to reverse the diffusion process. It iteratively removes the added noise, reconstructing a clean audio signal from the noisy input.

This approach aims to purify adversarial examples by transforming them back into their original, clean counterparts, thereby restoring the ASV system's correct decision-making capability. The authors highlight that their method is flexible and can handle variable-length audio signals, unlike some prior image-based purification techniques.

Datasets

  • Training: VoxCeleb2 was used for training both the ASV and DAP models.
  • Evaluation: VoxCeleb1 (specifically the O subset) was used for evaluating the DAP approach. The paper mentions using 1,000 trials from this subset for a balanced evaluation.

Key Insights and Ideas

  • Diffusion Models for Audio Security: The paper demonstrates the effectiveness of diffusion models, primarily known for generative tasks, in a security context for audio processing.
  • Purification as a Key Defense: Adversarial purification is presented as a promising defense strategy that overcomes limitations of adversarial training (modifying model parameters) and detection (potential false rejections).
  • Preserving Audio Quality: A significant contribution is the ability of DAP to purify adversarial examples while minimizing distortion to the original speech signal, a common issue with other purification methods.
  • Flexibility in Audio Length: The method's ability to handle variable-length audio is a practical advantage for real-world ASV systems.

Key Results

  • Defense Performance: DAP significantly reduces the Equal Error Rate (EER) on adversarial examples, outperforming other purification methods like spatial smoothing and adding noise. For instance, under PGD attack, DAP achieved an EER of 2.32% (iter=1k) and 2.07% (iter=80k), compared to much higher rates for other methods when no defense was applied (91.683%).
  • Reconstruction Quality: Audio quality metrics (SI-SDR, STOI, WB-PESQ, NB-PESQ) show that DAP produces purified audio signals that are much closer to the original genuine examples than other defense methods. For example, DAP achieved a SI-SDR of 11.467, STOI of 0.932, WB-PESQ of 3.120, and NB-PESQ of 3.717, significantly better than adding noise (1.556, 0.632, 1.152, 1.397 respectively).
  • Human Listening Test: A human listening test indicated that in 52% of cases, listeners could not discern differences between DAP-purified samples and original audio, with another 36% perceived as similar but with slight noise.
  • Robustness: DAP demonstrated effectiveness against different attack scenarios (PGD, BIM) and different ASV architectures (ECAPA-TDNN, Fast-ResNet34).

Limitations and Future Work

  • Human Perception of Noise: While DAP significantly improves audio quality, a portion of listeners (12%) still noticed significant noise in the purified samples.
  • Computational Cost: Diffusion models are known for their computational intensity, especially during inference. While the paper mentions a fast sampling algorithm, this remains a potential area for optimization.
  • Future Work: The authors suggest exploring further improvements in reconstruction quality and potentially extending the DAP method to other audio security tasks. They also imply that further research into optimizing the diffusion process for speed and efficiency would be beneficial.

Summary updated

BibTeX
@article{bai2023diffusion,
  author = {Yibo Bai and Xiaofei Li and Xuelong Li},
  title = {{Diffusion-Based Adversarial Purification for Speaker Verification}},
  journal = {IEEE Signal Processing Letters},
  year = {2023},
  doi = {10.48550/arxiv.2310.14270},
}
Figure