Introduction
Automatic Speech Recognition (ASR) systems, which power ubiquitous technologies like virtual assistants and in-car controls, face a significant security challenge: adversarial attacks. These attacks involve subtle, human-imperceptible modifications to audio signals that can deceive a model into transcribing incorrect or even malicious commands. While Randomized Smoothing (RS) has proven effective in securing image classification models, its application to the sequential output of speech recognition has remained non-trivial. This paper introduces Sequential Randomized Smoothing, a framework designed to bridge this gap by combining noise injection, speech enhancement, and a novel word-level voting strategy.
Methodology
The proposed defense mechanism adapts the principles of Randomized Smoothing to the sequential nature of ASR through a three-stage pipeline:
- Augmented Training: To prevent performance degradation on noisy inputs, pre-trained ASR models are fine-tuned using data augmented with Gaussian noise. This ensures the model remains functional when noise is introduced during the smoothing process.
- Speech Enhancement: The system incorporates an "off-the-shelf" speech enhancement module, specifically ASNR (A priori SNR estimation). ASNR acts as a pre-processor, filtering out a portion of the injected Gaussian noise and simplifying the transcription task for the ASR model.
- ROVER Voting: The core innovation is the use of ROVER (Recognizer Output Voting Error Reduction). Unlike standard RS, which might use a simple majority vote on a whole sentence, ROVER aligns multiple noisy transcriptions at the word level. It then selects the most frequent word for each position, effectively "averaging" the sequence to produce a stable final output.
Experimental Results
The researchers evaluated the system using the LibriSpeech dataset, focusing on both untargeted (PGD) and targeted (CW) adversarial attacks.
Robustness to Noise and Untargeted Attacks
As shown in Table 1, the combination of noise augmentation and ROVER voting significantly reduces the Word Error Rate (WER) under heavy noise. For a DeepSpeech2 model at a noise level of $\sigma=0.02$, the proposed model achieved a WER of 12%, a dramatic improvement over the 63% WER of the baseline model. This demonstrates that word-level voting captures the stability of individual components within a sequence, even when the overall sentence transcription varies across noisy samples.
Defense Against Targeted Attacks
The defense was also tested against sophisticated Carlini-Wagner (CW) targeted attacks. In these scenarios, the attacker attempts to force the model to output a specific, incorrect transcription.
The results in Table 2 indicate that the proposed defense forces attackers to use significantly higher perturbation levels. To successfully manipulate the "Trained" model ($\sigma=0.02$), the attacker required an SNR of 8dB, compared to 27dB for the vanilla model. This represents a roughly 10x increase in the required noise magnitude, making the adversarial perturbations much more likely to be audible and detectable by humans.
Discussion and Limitations
A key insight of this work is the superiority of word-level alignment over sentence-level voting for sequential tasks. By leveraging ROVER, the system achieves a favorable robustness-accuracy trade-off, maintaining a "clean" WER of approximately 8-9% while providing substantial protection.
However, challenges remain. The defense introduces a computational overhead, as it requires multiple forward passes (typically $N=16$) and a non-linear alignment step. Furthermore, while the paper provides a theoretical foundation for certified robustness based on WER, practical certification currently requires an infeasible number of samples for large-scale models. Future work may focus on optimizing the efficiency of the voting process and extending the framework to modern attention-based Transformer architectures that do not inherently provide word-level alignments.
Conclusion
Sequential Randomized Smoothing offers a practical and effective path toward securing ASR systems. By integrating speech enhancement and sequence-aware voting, the framework significantly raises the bar for adversarial attackers without requiring a complete redesign of existing ASR architectures.
Summary updated