Abstract
As deep learning models grow in complexity, the demand for efficient training methods has led to the rise of Dataset Distillation (DD). DD condenses massive datasets into small, synthetic subsets that retain the original's performance. However, this paper, presented at the 30th NDSS Symposium, reveals a critical security flaw in this process. The authors introduce DOORPING, an optimized backdoor attack that embeds malicious triggers directly into the synthetic data during the distillation process. Unlike traditional poisoning, DOORPING ensures high attack success rates (ASR) while maintaining the utility of the distilled data, effectively bypassing modern backdoor defenses.
Introduction
Training state-of-the-art Deep Neural Networks (DNNs) is computationally expensive and data-intensive. Dataset Distillation (DD) has emerged as a solution, allowing users to train models on a fraction of the original data (e.g., 100 synthetic images instead of 50,000). This "distillation-as-a-service" model often involves third-party providers. This paper investigates whether a malicious provider could compromise the integrity of the distilled data by "baking in" a backdoor—a hidden trigger that causes the model to misclassify specific inputs at inference time.
The Challenge of Distillation Poisoning
Standard backdoor attacks typically involve adding a static trigger (like a small pixel patch) to a subset of the training data. However, the authors demonstrate that these "naive" attacks are largely ineffective against dataset distillation. The distillation process acts as a natural filter; because it seeks to condense the most informative features into a tiny footprint, it often smooths out or ignores the static triggers used in traditional poisoning. To succeed, an attack must be robust enough to survive the intense data compression inherent in DD.
Methodology: From Naive Poisoning to DOORPING
The researchers evaluated two distinct attack frameworks:
1. NAIVEATTACK
This approach mirrors traditional poisoning. Triggers are added to the source dataset before the distillation process begins. The distillation algorithm then treats these poisoned samples as part of the ground truth. While simple, this method yields inconsistent results as the distillation process often fails to preserve the trigger's influence in the final synthetic set.
2. DOORPING (Optimized Backdoor Attack)
To overcome the limitations of NAIVEATTACK, the authors developed DOORPING. This method treats the backdoor injection as a bi-level optimization problem. Instead of a static trigger, DOORPING iteratively updates the trigger at every epoch of the distillation process.
The core mechanism involves identifying "top-k" neurons in the model that are most susceptible to influence. The trigger is then optimized to specifically activate these neurons. By integrating the trigger optimization directly into the distillation loop, the "backdoor knowledge" becomes an inseparable part of the synthetic data distribution. The authors also explored Invisible Backdoor Attacks, utilizing subtle perturbations rather than visible patches to further enhance stealth.
Experimental Evaluation
The attacks were tested across five major image classification benchmarks:
- Fashion-MNIST (FMNIST)
- CIFAR10 & CIFAR100
- STL10
- SVHN
The researchers utilized standard architectures, including AlexNet, ConvNet, and VGG11, to verify the effectiveness of the distilled backdoors.
Key Findings
The study yielded several critical insights into the vulnerability of dataset distillation:
- Near-Perfect Success Rates: DOORPING consistently achieved an Attack Success Rate (ASR) of nearly 100% across various datasets and architectures. This stands in stark contrast to NAIVEATTACK, which showed high volatility and lower success rates.
- Preserved Utility: The Clean Test Accuracy (CTA) of models trained on backdoored synthetic data remained within 1-2% of models trained on clean synthetic data. This lack of performance degradation makes the attack nearly impossible to detect through standard validation.
- Cross-Architecture Transferability: Backdoors embedded using one architecture (e.g., ConvNet) remained effective even when the end-user trained a different architecture (e.g., VGG11) on the distilled data.
- Resilience to Defenses: The authors tested DOORPING against nine state-of-the-art defense mechanisms, including Neural Cleanse and STRIP. DOORPING successfully bypassed all of them. The reason is fundamental: most defenses look for "outliers" or anomalies in the data. In DOORPING, the backdoor is not an outlier; it is baked into the core distribution of the synthetic images.
Conclusion and Future Outlook
The emergence of DOORPING highlights a significant security gap in the "distillation-as-a-service" pipeline. As synthetic data becomes more prevalent, the assumption that data compression provides a layer of security is proven false. Current defenses are ill-equipped to handle attacks where the malicious behavior is integrated into the data's fundamental features. Future research must focus on developing defensive strategies specifically tailored to the unique properties of distilled and synthetic datasets.
Summary updated