This paper, presented at the 2023 NDSS Symposium, explores a new frontier in machine learning security: the vulnerability of dataset distillation to backdoor attacks. As we move toward more data-efficient training methods, the authors demonstrate that the very process used to condense knowledge can be weaponized to hide malicious behaviors.
TL;DR
The authors introduce the first backdoor attacks specifically designed for dataset distillation, showing that a malicious data provider can compromise downstream models by poisoning tiny synthetic datasets. Their primary method, DOORPING, achieves near-perfect attack success rates across various architectures while remaining virtually invisible to both human moderators and state-of-the-art defenses.
What Problem Does This Paper Address?
Training modern deep neural networks (DNNs) requires massive datasets, which is expensive in terms of storage, time, and energy. Dataset distillation (DD) has emerged as a solution, condensing millions of images into a handful of highly informative synthetic samples. For example, 50,000 CIFAR10 images can be distilled into just 100 synthetic ones that still yield decent model performance.
However, this efficiency creates a new supply-chain risk. If a company outsources distillation to a third-party service, can that service provider be trusted? The authors identify a critical gap: traditional backdoor attacks—which rely on poisoning a small fraction of a massive dataset—fail in the distillation context. Because the distilled dataset is so small (e.g., 10 images per class), simple triggers are easily spotted by human inspection, and the distillation process itself often "washes out" the trigger information.
Methods
The authors propose two attack strategies:
- NAIVEATTACK: This serves as a baseline. It simply adds a pre-defined trigger (like a small white square) to the original training data before running standard distillation algorithms.
- DOORPING: This is the core contribution. Instead of using a static trigger, DOORPING treats trigger generation as an optimization problem integrated directly into the distillation loop.
The DOORPING algorithm identifies "top-k" neurons in the distillation model that are most influential for classification. It then iteratively updates the backdoor trigger to maximize the activation of these specific neurons. By doing this during the distillation process, the trigger information is explicitly "distilled" into the synthetic images alongside the legitimate features. This ensures the backdoor is preserved even in a tiny, 100-image dataset.
Datasets
The study evaluates the attacks across four widely used image benchmark datasets:
- Fashion-MNIST (FMNIST): 70,000 grayscale images of clothing.
- CIFAR10: 60,000 color images in 10 classes (e.g., airplanes, dogs).
- STL10: A dataset similar to CIFAR10 but with higher-resolution images.
- SVHN: Over 70,000 images of house numbers from Google Street View.
- CIFAR100: Used in ablation studies to test effectiveness on more complex, many-class datasets.
Key Insights and Ideas
- Distillation as an Attack Vector: The authors show that the information-compression nature of distillation can be co-opted to "hide" triggers within the abstract, noisy-looking patterns of synthetic data.
- Optimization Beats Simple Poisoning: NAIVEATTACK often fails because distillation algorithms prioritize clean data features over static triggers. DOORPING's iterative optimization ensures the trigger is "important" enough for the distillation algorithm to keep.
- Stealth Through Synthesis: Because distilled images already look abstract to humans, the optimized DOORPING triggers blend in perfectly, making human inspection (a common defense for tiny datasets) ineffective.
- Trigger Trajectories: DOORPING produces a sequence of different triggers across distillation epochs. This "trajectory" makes it significantly harder for defenses that look for a single, consistent trigger pattern.
Key Results
The empirical results highlight a stark difference between the two attack methods:
- Attack Success Rate (ASR): While NAIVEATTACK is hit-or-miss, DOORPING consistently achieves an ASR close to 1.0 (100%) across almost all tested datasets and architectures.
- Utility Preservation: The attacks are stealthy; they don't degrade the model's performance on clean data. For instance, on CIFAR10 using AlexNet, the clean test accuracy (CTA) only dropped by about 2% compared to a non-backdoored distilled model.
- Defense Circumvention: The authors tested DOORPING against nine state-of-the-art defenses across model, input, and dataset levels (including popular methods like Neural Cleanse and STRIP). DOORPING successfully bypassed or significantly outmaneuvered every single one.
Limitations and Future Work
Despite its effectiveness, the authors acknowledge a few limitations:
- Architecture Sensitivity: Distillation is often architecture-specific. If the distilled data is used to train a model with a vastly different architecture than the one used during distillation, the attack's effectiveness can decrease.
- BatchNorm Issues: Current distillation techniques struggle with BatchNorm layers, which in turn limits the types of models that can be used as "upstream" distillation models.
- Federated Learning: The attack is currently designed for centralized distillation services and cannot be easily ported to collaborative federated learning environments yet.
Future work will likely focus on making these attacks more robust across different model architectures and exploring their impact in decentralized or federated distillation settings.
Summary updated