Abstract
Backdoor attacks traditionally require access to clean training data and significant computational resources for retraining. This paper introduces Data-Free Backdoor Attack (DFBA), a novel method that injects backdoors into pre-trained models through direct parameter manipulation. By "hard-wiring" a dedicated backdoor path through the network, DFBA achieves a 100% attack success rate without needing any training data or retraining. The attack is shown to be provably undetectable by state-of-the-art defenses and maintains high utility on clean inputs.
Introduction
The machine learning supply chain faces a significant security threat from backdoor attacks. In these scenarios, a compromised model behaves normally on standard inputs but misclassifies any input containing a specific "trigger" into a target class chosen by the attacker. Historically, these attacks have relied on two key prerequisites: access to clean data for fine-tuning and a retraining process that often leaves detectable statistical fingerprints.
DFBA addresses these limitations by moving away from training-based poisoning. It enables attackers to compromise models—such as those found on public repositories like Hugging Face—without requiring the original, often private, training data.
Methodology: Constructing the Backdoor Path
The core of DFBA is the surgical construction of a backdoor path. Instead of using gradient descent to teach the network to recognize a trigger, the authors manually configure a sequence of neurons across layers to form a signal chain from input to output.
1. Neuron Selection and the Backdoor Switch
The attacker selects a single neuron or filter in each layer. In the first layer, this neuron is modified to act as a "switch." A trigger pattern is optimized to maximize this neuron's activation while ensuring it remains inactive for natural, clean images. The bias is then calculated to ensure the neuron only fires when the trigger is present.
2. Signal Propagation and Amplification
In the intermediate layers, weights are adjusted to amplify the signal from the switch neuron. This ensures the backdoor signal remains dominant as it propagates through the network, effectively bypassing the standard logic of the model for clean inputs.
3. Target Mapping
At the final classification layer, the weights associated with the backdoor path are modified to strongly favor the attacker's target class. Because this path is only activated by the specific trigger, the model's performance on clean data remains largely unaffected.
Evaluation and Results
The authors evaluated DFBA on standard benchmarks including MNIST, Fashion-MNIST, CIFAR-10, GTSRB, and ImageNet (using ResNet-50/101).
Key Findings
- Effectiveness: DFBA consistently achieved a 100% Attack Success Rate (ASR) across various architectures (FCN, CNN, VGG, ResNet).
- Stealth and Utility: The impact on clean classification accuracy was minimal, typically less than 3%.
- Efficiency: The attack is remarkably fast; injecting a backdoor into a ResNet-18 model takes approximately 0.06 seconds on a single GPU.
- Defense Bypassing: The method successfully bypassed six state-of-the-art defenses, including Neural Cleanse and Fine-pruning.
Theoretical Insights
The paper introduces the concept of "Pruned Classifier" Duality. For clean data, a backdoored model behaves like a version of the original model where the backdoor path neurons have been removed. Given the high redundancy in modern neural networks, removing one neuron per layer has a negligible impact. Furthermore, because the backdoor is manually "hard-wired," it avoids the statistical anomalies that many current defenses are designed to detect.
Conclusion and Future Work
DFBA represents a significant shift in backdoor attack methodology, demonstrating that high-performance, undetectable backdoors can be injected without any training data. While currently requiring white-box access and focusing on patch triggers in CNNs, future research aims to extend this path-based approach to Transformer architectures and more complex trigger types.
Summary updated