[Paper Review] Attacking Speaker Recognition With Deep Generative Models
This paper proposes a novel GAN-based approach to generate adversarial speech samples that successfully fool deep learning-based speaker recognition systems. By modifying the Wasserstein GAN loss to incorporate real, non-target speaker data, the method enables both targeted and untargeted attacks, achieving a 75% improvement in targeted attack success rate (error rate reduced from 0.38 to 0.12).
In this paper we investigate the ability of generative adversarial networks (GANs) to synthesize spoofing attacks on modern speaker recognition systems. We first show that samples generated with SampleRNN and WaveNet are unable to fool a CNN-based speaker recognition system. We propose a modification of the Wasserstein GAN objective function to make use of data that is real but not from the class being learned. Our semi-supervised learning method is able to perform both targeted and untargeted attacks, raising questions related to security in speaker authentication systems.
Motivation & Objective
- To investigate whether deep generative models, particularly GANs, can be used to create effective adversarial attacks on modern speaker recognition systems.
- To evaluate the robustness of existing autoregressive models like SampleRNN and WaveNet against speaker recognition systems, as they are commonly used for speech synthesis.
- To develop a semi-supervised, GAN-based attack framework that improves targeted attack performance by incorporating data from non-target speakers.
- To address the challenge of mode collapse and limited diversity in targeted attacks by introducing a modified loss function that uses mixed real data distributions.
- To assess the feasibility of untargeted attacks using GANs trained on all available speaker data, regardless of class label.
Proposed method
- Propose a modified Wasserstein GAN objective that incorporates real speech samples from all speakers, not just the target class, to improve generator diversity and attack performance.
- Train a WGAN-GP with a mixed loss function that combines real data from multiple speakers to guide the generator in producing realistic, attack-ready Mel-spectrograms.
- Use a pre-trained CNN-based speaker verifier (modified AlexNet) to extract deep features (1024D) from Mel-spectrograms for evaluation and KNN-based classification during attack testing.
- Apply a K-nearest-neighbor (KNN) classifier with K=5 to map generated Mel-spectrograms to predicted speaker identities in the deep feature space.
- Train the generator to produce Mel-spectrograms that are indistinguishable from real ones by optimizing the WGAN-GP loss with gradient penalty.
- Introduce Gaussian noise to the target speaker data during training to prevent overfitting and improve generalization of the attack generator.
Experimental results
Research questions
- RQ1Can autoregressive generative models like SampleRNN and WaveNet successfully generate spoofing attacks that fool modern CNN-based speaker recognition systems?
- RQ2To what extent can standard GANs be used to perform untargeted attacks by generating Mel-spectrograms that are classified as real by the speaker verifier?
- RQ3Can a modified WGAN loss function that includes non-target speaker data improve the success rate of targeted adversarial attacks on speaker recognition systems?
- RQ4How does the inclusion of diverse real speech data (from multiple speakers) in the GAN training process affect the quality and realism of generated adversarial samples?
- RQ5What is the quantitative impact of the proposed mixed loss function on the error rate and attack success rate in targeted speaker spoofing?
Key findings
- Samples generated by SampleRNN and WaveNet were unable to fool the CNN-based speaker recognition system, with no predictions matching the target speaker.
- The proposed modified WGAN-GP with a mixed loss function achieved a 0.12 error rate in targeted attacks, representing a 75% improvement over the baseline WGAN-GP (0.38 error rate).
- Untargeted attacks using the GAN framework successfully generated Mel-spectrograms that were classified as real by the speaker verifier, with no predictions assigned to the 'other' class.
- The generator was able to learn and reproduce Mel-spectrogram features from all speakers in the dataset without mode collapse, as confirmed by visual inspection after 5000 iterations.
- The improved WGAN-GP framework produced visually indistinguishable Mel-spectrograms from real ones after 5000 generator iterations, with training taking approximately 10 hours on a single 4GB GPU.
- The KNN classifier successfully mapped generated samples to their nearest speaker in the deep feature space, enabling accurate evaluation of attack success in both targeted and untargeted settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.