[Paper Review] Adversarial Attacks against Neural Networks in Audio Domain: Exploiting Principal Components
This paper investigates adversarial attacks on speech-to-text neural networks using principal component analysis (PCA) in both white-box and black-box settings. It demonstrates that PCA can effectively craft adversarial audio samples with 100% success rate in fooling DeepSpeech, while also showing PCA fails as a defense mechanism, highlighting vulnerabilities in audio-based deep learning systems.
Adversarial attacks are inputs that are similar to original inputs but altered on purpose. Speech-to-text neural networks that are widely used today are prone to misclassify adversarial attacks. In this study, first, we investigate the presence of targeted adversarial attacks by altering wave forms from Common Voice data set. We craft adversarial wave forms via Connectionist Temporal Classification Loss Function, and attack DeepSpeech, a speech-to-text neural network implemented by Mozilla. We achieve 100% adversarial success rate (zero successful classification by DeepSpeech) on all 25 adversarial wave forms that we crafted. Second, we investigate the use of PCA as a defense mechanism against adversarial attacks. We reduce dimensionality by applying PCA to these 25 attacks that we created and test them against DeepSpeech. We observe zero successful classification by DeepSpeech, which suggests PCA is not a good defense mechanism in audio domain. Finally, instead of using PCA as a defense mechanism, we use PCA this time to craft adversarial inputs under a black-box setting with minimal adversarial knowledge. With no knowledge regarding the model, parameters, or weights, we craft adversarial attacks by applying PCA to samples from Common Voice data set and achieve 100% adversarial success under black-box setting again when tested against DeepSpeech. We also experiment with different percentage of components necessary to result in a classification during attacking process. In all cases, adversary becomes successful.
Motivation & Objective
- To investigate the feasibility of crafting targeted adversarial attacks on speech-to-text neural networks using PCA in both white-box and black-box settings.
- To evaluate PCA as a defense mechanism against adversarial attacks in the audio domain.
- To assess the robustness of DeepSpeech to adversarial perturbations generated via PCA-based reconstruction with varying component retention.
- To explore the transferability and detectability of adversarial attacks under different reconstruction fidelity levels.
Proposed method
- Crafted adversarial audio samples using the Connectionist Temporal Classification (CTC) loss function to target DeepSpeech with specific transcribed outputs.
- Applied PCA to reduce dimensionality of adversarial waveforms, testing their effectiveness against DeepSpeech under varying component retention (10% to 95%).
- Generated black-box adversarial attacks by applying PCA to clean Common Voice samples before crafting perturbations, without access to model weights or architecture.
- Used DeepSpeech as the target model, leveraging its RNN-based LSTM architecture and CTC-based sequence-to-sequence learning for speech transcription.
- Measured attack success via transcription failure (zero correct classifications) and evaluated perceptual similarity using normalized edit distance and similarity index.
- Evaluated adversarial robustness by comparing reconstructed audio fidelity and model misclassification rates across different PCA component thresholds.
Experimental results
Research questions
- RQ1Can PCA be effectively used to generate adversarial audio samples in a black-box setting with minimal model knowledge?
- RQ2Does applying PCA as a defense mechanism successfully mitigate adversarial attacks in speech-to-text systems?
- RQ3What is the relationship between reconstruction fidelity (via PCA component retention) and adversarial success rate in audio attacks?
- RQ4How perceptually similar are adversarial samples with high PCA component retention (e.g., 95%) to original audio, and can they evade human detection?
- RQ5To what extent do adversarial attacks crafted via PCA transfer across different audio models, particularly given DeepSpeech’s benchmark status?
Key findings
- The authors achieved a 100% adversarial success rate on all 25 crafted adversarial waveforms in the white-box setting, with DeepSpeech failing to transcribe the original input and instead outputting the targeted sentence.
- When using PCA to reconstruct adversarial samples with 95% of frequency components retained, the average similarity index was 87.85% and normalized edit distance was 9, indicating high perceptual similarity to original audio.
- Even with only 10% of components retained, adversarial attacks achieved 100% success rate, though the average similarity index dropped to 27.42% and normalized edit distance increased to 46, indicating high corruption.
- PCA was ineffective as a defense mechanism, as DeepSpeech failed to transcribe any of the PCA-reconstructed adversarial samples, confirming that PCA does not remove adversarial perturbations.
- The study demonstrates that adversarial attacks can be successfully generated in a black-box setting using PCA on clean data, achieving 100% success without knowledge of model parameters.
- The 95% reconstruction case is more effective for real-world attacks due to higher perceptual similarity, making adversarial samples harder to detect despite complete transcription failure.
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.