TL;DR
This paper introduces a novel backdoor attack on Automatic Speech Recognition (ASR) systems that uses inaudible ultrasonic triggers. The attack is highly effective, requiring less than 1% of poisoned data to achieve a near 100% success rate, and can even be demonstrated on real-world hardware. This work highlights a significant new threat vector for ASR systems, particularly those operating with high sampling rates.
What Problem Does This Paper Address?
Automatic Speech Recognition (ASR) systems are becoming ubiquitous, powering voice assistants and other applications. While ASR systems have advanced significantly, their vulnerability to adversarial attacks, specifically backdoor attacks, is a growing concern. Backdoor attacks involve subtly poisoning the training data so that a model behaves normally on clean inputs but misclassifies inputs containing a specific "trigger" into an attacker-chosen target label. Previous research on backdoor attacks in ASR has primarily focused on audible triggers, which are detectable by humans. This paper addresses the gap of exploring backdoor attacks using inaudible triggers, making them significantly harder to detect and thus more dangerous for legitimate users. The authors aim to demonstrate the feasibility and effectiveness of such attacks, especially in scenarios where high sampling rates are used.
Methods
The core of this research is a data poisoning attack where the adversary injects specially crafted examples into the ASR model's training dataset. These poisoned samples contain an inaudible ultrasonic trigger and are labeled with a target class chosen by the attacker. The researchers experimented with a sinusoidal ultrasonic pulse at 21 kHz as the trigger. They systematically varied the trigger's duration (from 20ms to 1 second), position (beginning, middle, end of the audio sample), and continuity (continuous vs. non-continuous). The audio data was preprocessed into Mel-Frequency Cepstral Coefficients (MFCCs), a standard representation for speech recognition. The attack was evaluated on three different neural network architectures: two Convolutional Neural Networks (CNNs) and one Long Short-Term Memory (LSTM) network.
Datasets
The experiments were conducted using two versions of the Speech Commands dataset:
- A subset containing 10 classes.
- The full dataset containing 30 classes.
For both versions, audio files shorter than one second were discarded. The dataset's original sampling rate of 16 kHz was up-sampled to 44.1 kHz to accommodate the ultrasonic trigger.
Key Insights and Ideas
- Inaudibility is Key: The primary insight is that inaudible triggers make backdoor attacks significantly more stealthy and dangerous. Users are unlikely to notice or suspect an attack if they cannot hear the trigger.
- Low Poisoning Rate Suffices: The attack is remarkably effective even with a very small percentage of poisoned data (less than 1% of the training set). This makes it harder for data validation mechanisms to detect the poisoned samples.
- Trigger Characteristics Matter: The duration, position, and continuity of the trigger significantly impact the attack's success rate. Longer triggers and non-continuous triggers generally lead to higher attack success rates.
- Model Differences: Different network architectures (CNNs vs. LSTMs) exhibit varying susceptibility to the attack. LSTMs, with their attention mechanisms, appear to be more robust to subtle trigger variations, though still vulnerable with carefully crafted triggers.
- Hardware Feasibility: The attack is not just theoretical; it has been successfully demonstrated on an actual Android application, proving its practical applicability.
Key Results
- High Attack Success Rate (ASRT): The paper reports achieving an ASRT close to 100% with less than 1% of poisoned data. For instance, using just 80 poisoned samples (0.59% for 10 classes, 0.21% for 30 classes) on CNNs resulted in high ASRT.
- Trigger Duration Impact: ASRT increases linearly with trigger duration. Long triggers (e.g., 1 second) are highly effective even with minimal poisoning.
- Non-Continuous Triggers Excel: Non-continuous triggers were found to be more effective than continuous ones, especially for shorter durations.
- Clean Accuracy Impact: The backdoor insertion had a negligible impact on the clean accuracy of the models, and in some cases, even slightly improved generalization, indicating the stealthiness of the attack.
- Hardware Demonstration: The attack was successfully demonstrated on an Android application by playing the ultrasonic trigger from a laptop and home cinema speakers, achieving high ASRT even at distances up to 1.5 meters in quiet environments.
Limitations and Future Work
The authors acknowledge several limitations:
- MFCC Representation: The study exclusively used MFCCs for audio representation. They suggest that validating results with other representations would be beneficial, though they don't consider it a significant limitation due to MFCC's widespread use.
- Sampling Rate Dependency: The attack relies on audio signals with sampling rates higher than 40 kHz. ASR systems using lower sampling rates (e.g., 16 kHz) would not be susceptible to this specific trigger. However, many public APIs and specialized applications do support higher rates.
- Defense Mechanisms: The paper did not investigate or implement defenses against this inaudible backdoor attack. They suggest that existing defenses like STRIP might be effective, but also note that some defenses might be computationally expensive or not applicable to audio.
Future work could focus on developing robust defenses against these inaudible triggers and exploring the attack's effectiveness with different audio representations and more complex ASR architectures.
Summary updated