Introduction
Automatic Speaker Verification (ASV) systems are increasingly used for biometric security, yet they remain highly vulnerable to adversarial attacks. These attacks involve adding human-imperceptible perturbations to audio that can trick a model into misidentifying an imposter as a target user. This paper proposes a novel defense mechanism that leverages the "manifold projection" capabilities of neural vocoders to detect such malicious samples without requiring prior knowledge of the attack strategy.
Proposed Detection Framework
The core hypothesis is that adversarial perturbations are "fragile" and highly optimized for a specific waveform. By re-synthesizing the input audio through a neural vocoder, these perturbations can be effectively "washed away."
As illustrated in the figure above, the detection process involves four primary steps:
- Initial Scoring: The input audio $x$ is passed through the ASV system to obtain an initial similarity score $s$.
- Re-synthesis: The audio is processed by a feature extractor and then a neural vocoder (specifically Parallel WaveGAN) to generate a purified version, $x'$.
- Secondary Scoring: The purified audio $x'$ is scored by the same ASV system to obtain $s'$.
- Discrepancy Calculation: The detection metric is defined as the absolute difference between the two scores: $d = |s - s'|$.
Because neural vocoders are trained to reconstruct natural human speech, they act as a denoising filter. For genuine speech, the reconstruction is faithful, leading to a small $d$. For adversarial samples, the vocoder fails to reconstruct the malicious noise, causing a significant shift in the ASV score.
Experimental Setup
The researchers evaluated the system using the VoxCeleb1 and VoxCeleb2 datasets. To test the "plug-and-play" nature of the defense, they also utilized a large-scale multi-language dataset (Lrg) to train a universal vocoder. The defense was tested against the Basic Iterative Method (BIM), a potent adversarial attack. Without defense, the ASV system's Equal Error Rate (EER) jumped from 2.88% to over 99% under strong attacks ($\epsilon=20$).
Results and Analysis
The neural vocoder approach demonstrated exceptional detection performance, achieving an Area Under the Curve (AUC) of up to 99.94%. At a strict False Positive Rate (FPR) of 0.1%, the system successfully identified 96.04% of adversarial samples.
The effectiveness of this method is clearly visible in the distribution of score discrepancies. As shown above, genuine samples (dashed blue and solid cyan lines) cluster near zero discrepancy, while adversarial samples (dashed red and solid orange lines) exhibit much larger shifts in their ASV scores after re-synthesis. This clear separation allows for highly accurate threshold-based detection.
Furthermore, the neural vocoder significantly outperformed traditional baselines like the Griffin-Lim algorithm. While Griffin-Lim introduces its own artifacts that can lead to false positives, the neural vocoder maintains high fidelity for genuine speech while effectively neutralizing adversarial noise.
Conclusion
Neural vocoders provide a robust, dataset-independent defense against adversarial attacks on ASV systems. By projecting audio back onto the manifold of natural speech, they expose the fragility of adversarial perturbations. Future work will focus on optimizing computational overhead for real-time applications and evaluating the defense against adaptive attackers who may attempt to craft vocoder-robust perturbations.
Summary updated