Abstract
With the success of deep learning algorithms in various domains, studying adversarial attacks to secure deep models in real world applications has become an important research topic. Backdoor attacks are a form of adversarial attacks on deep networks where the attacker provides poisoned data to the victim to train the model with, and then activates the attack by showing a specific small trigger pattern at the test time. Most state-of-the-art backdoor attacks either provide mislabeled poisoning data that is possible to identify by visual inspection, reveal the trigger in the poisoned data, or use noise to hide the trigger. We propose a novel form of backdoor attack where poisoned data look natural with correct labels and also more importantly, the attacker hides the trigger in the poisoned data and keeps the trigger secret until the test time. We perform an extensive study on various image classification settings and show that our attack can fool the model by pasting the trigger at random locations on unseen images although the model performs well on clean data. We also show that our proposed attack cannot be easily defended using a state-of-the-art defense algorithm for backdoor attacks.
Introduction
Deep learning models are increasingly deployed in critical infrastructure, making their security paramount. Backdoor attacks represent a significant threat where a model is compromised during training to respond to a specific trigger at inference time. Traditional attacks, such as BadNets, typically involve inserting visible triggers into training data and intentionally mislabeling them. However, such blatant manipulations are easily detected by human auditors or simple data-cleaning scripts. To be effective in real-world scenarios—where developers might use third-party datasets or pre-trained models—an attack must be stealthy. This research introduces "Hidden Trigger Backdoor Attacks," which utilize clean labels and hidden triggers to bypass visual inspection and automated defenses.
Methodology: Feature Space Collisions
The core of this attack is an optimization-based approach designed to create "feature collisions." Unlike previous methods that rely on visible patches in the training set, this method ensures that poisoned images appear natural and are correctly labeled.
- Setup: The attacker identifies a source category (to be misclassified), a target category (the desired output), and a secret trigger patch.
- Optimization via PGD: Using Projected Gradient Descent (PGD), the attacker generates poisoned images ($z$) that are visually similar to the target class in pixel space but reside near the source class (with the trigger applied) in the model's feature space.
- Generalization: To ensure the model learns the trigger itself rather than specific image artifacts, the optimization process samples random source images and trigger locations. This forces the network to associate the "ghost" features of the trigger with the target label.
Key Insights and Results
The effectiveness of this approach stems from its ability to hide malicious signals within the natural distribution of the target class.
Stealth and Defense Evasion
A critical advantage of this method is its resistance to state-of-the-art defenses like "Spectral Signatures." These defenses typically flag outliers in the feature space. Because the poisoned images are optimized to remain close to the target distribution, they do not appear as statistical anomalies.
Performance Benchmarks
The researchers evaluated the attack on ImageNet and CIFAR-10:
- ImageNet: The attack reduced the accuracy of patched source images from ~99% to ~44%, while maintaining ~98% accuracy on clean data.
- CIFAR-10: The attack was even more potent, dropping patched validation accuracy to ~18%.
- Visual Fidelity: Poisoned images remain indistinguishable from clean target images to the human eye, satisfying the $\epsilon$-constraint for pixel-level changes.
Conclusion
Hidden Trigger Backdoor Attacks expose a significant vulnerability in the deep learning supply chain. By decoupling the trigger from the training data and utilizing clean labels, these attacks bypass both human inspection and current automated outlier detection methods. While the attack's success varies with the depth of model fine-tuning, it highlights the need for more robust verification techniques that go beyond simple feature-space analysis to ensure the integrity of trained neural networks.
Summary updated