NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RW-VoiceShield: Raw Waveform-based Adversarial Attack on One-shot Voice Conversion

Ching-Yu Yang, Shreya G. Upadhyay, Ya-Tse Wu, Bo-Hao Su, Chi-Chun Lee2024

TL;DR

This paper introduces RW-VoiceShield, a novel method for protecting voices from being cloned by advanced one-shot voice conversion (VC) systems. By directly injecting imperceptible adversarial noise into the raw audio waveform, RW-VoiceShield effectively disrupts the VC model's ability to replicate a target speaker's voice while preserving speech quality. This approach offers a more robust defense than previous methods that operate on spectrograms, which can be less effective.

What Problem Does This Paper Address?

The rapid advancement of one-shot voice conversion (VC) technology allows for the realistic alteration of a speaker's voice using just a single sample. While this has exciting applications, it also poses significant privacy and security risks, enabling malicious actors to clone voices for fraud, identity theft, and misinformation (deepfakes). Existing defense mechanisms, like audio deepfake detection, are reactive and don't prevent replication. While some methods attempt to shield voices by adding adversarial perturbations, they often work on acoustic features (spectrograms) rather than the raw waveform. This "two-stage" approach can lead to feature mismatch and reduced effectiveness, as vocoders (used to synthesize speech) might not perfectly reconstruct the perturbed features, or the feature representation itself might be too limited to carry the adversarial information effectively. This paper addresses the need for a more direct and robust defense against one-shot VC by attacking the raw audio waveform itself.

Methods

The core of RW-VoiceShield is a generative model, specifically a modified Wave-U-Net, trained to produce adversarial perturbations. Unlike prior methods that extract acoustic features (like mel-spectrograms), perturb them, and then synthesize speech using a vocoder, RW-VoiceShield directly operates on the raw audio waveform.

Here's a breakdown of the key steps:

  1. Adversarial Perturbation Generation: The model takes the original audio waveform ($x$) of the speaker to be protected, along with speaker embeddings from both the protected speaker ($E_x$) and a target speaker ($E_y$). It then generates an adversarial perturbation ($\delta x$).
  2. Waveform Manipulation: This perturbation ($\delta x$) is carefully scaled and added to the original waveform ($x$) to create an "adversarial input" ($x'$). The scaling ensures a controlled Signal-to-Noise Ratio (SNR), balancing attack effectiveness with perceptual quality.
  3. Loss Function: The training objective is to minimize the similarity between the speaker embedding of the adversarial input ($E_{adv}$) and the original speaker's embedding ($E_x$), while simultaneously maximizing the similarity between $E_{adv}$ and the target speaker's embedding ($E_y$). This encourages the perturbed voice to sound like the target speaker, not the original. Two loss functions are explored: cosine similarity (CS) and mean squared error (MSE).
  4. Attack Scenarios: The method is evaluated in both "white-box" (full model knowledge) and "black-box" (limited model knowledge) scenarios, demonstrating its adaptability.

The key innovation is the direct waveform manipulation, bypassing the potential pitfalls of feature-space attacks.

Datasets

  • CSTR VCTK Corpus: Used for training the generative model and for evaluating the effectiveness of the attack. Speakers were split into training, validation, and testing sets.
  • VoxCeleb1 and VoxCeleb2: Merged with CSTR VCTK for retraining the speaker encoder in the black-box scenario.

No new benchmarks were introduced; the paper focuses on evaluating against existing state-of-the-art VC models.

Key Insights and Ideas

  • Direct Waveform Attack is Superior: Attacking the raw waveform directly, rather than spectrograms, proves more effective. This avoids issues with vocoder reconstruction and feature limitations inherent in two-stage methods.
  • Imperceptible Noise, Significant Impact: The adversarial noise added is imperceptible to humans, yet it significantly disrupts the VC model's ability to accurately capture and replicate the original speaker's characteristics.
  • Preserving Speaker Identity in Adversarial Input: While the output of the VC model is made to sound different, the adversarial input itself (the perturbed audio before being fed into the VC model) still retains the original speaker's characteristics, as verified by speaker verification systems. This is crucial for ensuring the defense doesn't degrade the original audio quality or identity.
  • Generalizability: The trained generative model can infer adversarial noise for different inputs without needing to be retrained for each specific protected utterance, making it more practical.

Key Results

  • High Attack Success Rate (ASR): RW-VoiceShield achieved an ASR of 0.94 in the white-box scenario with a high SNR (19.98), significantly outperforming a baseline spectrogram-based attack (ASR 0.53 at SNR 4.01). In the black-box scenario, ASR was still strong at 0.85.
  • Preservation Success Rate (PSR): The method maintained a high PSR (0.99 in white-box, 0.98 in black-box), indicating that the original speaker's characteristics were well-preserved in the adversarial input.
  • Perceptual Quality: Metrics like PESQ and STOI showed that the adversarial inputs maintained good perceptual quality, with RW-VoiceShield often outperforming the baseline.
  • Subjective Tests: Human listeners confirmed the effectiveness, with a significant reduction in perceived similarity between the attacked VC output and the original speaker's voice. Conversely, adversarial inputs were correctly identified as belonging to the original speaker.
  • t-SNE Analysis: Visualizations showed distinct clusters for adversarial outputs, separating them from original outputs and protected inputs, confirming the attack's effectiveness in disrupting VC replication.

Limitations and Future Work

  • Generalizability to Diverse VC Models: While evaluated on a state-of-the-art one-shot VC model (FreeVC), future work aims to enhance the model's generalizability to effectively attack a wider range of VC models.
  • Computational Cost: While the attack is effective, the computational cost of generating perturbations and the training process itself could be areas for optimization.
  • Adaptive Attacks: The paper doesn't deeply explore how the defense might fare against adaptive attacks specifically designed to counter RW-VoiceShield.

The authors suggest future research will focus on improving the model's ability to generalize and attack various VC architectures more effectively.

Summary updated

BibTeX
@misc{yang2024rw,
  author = {Ching-Yu Yang and Shreya G. Upadhyay and Ya-Tse Wu and Bo-Hao Su and Chi-Chun Lee},
  title = {{RW-VoiceShield: Raw Waveform-based Adversarial Attack on One-shot Voice Conversion}},
  year = {2024},
  doi = {10.21437/interspeech.2024-458},
}
Figure