Introduction
Dataset distillation is a powerful technique used to compress massive datasets into tiny, synthetic versions that retain most of the original's predictive power. Because these synthetic samples are generated by an optimization process rather than being direct copies of original images, it has been widely believed that distillation acts as a natural filter against backdoor attacks.
In a typical backdoor attack, a "trigger" (like a small pixel pattern) is added to training data to teach a model a malicious shortcut. Previous work suggested that distillation "dilutes" these triggers, rendering them ineffective. This paper challenges that assumption, investigating whether distillation truly neutralizes backdoors or if previous triggers simply weren't designed to survive the "distillation squeeze." By leveraging kernel methods, the authors develop a theoretical framework to design "distillation-resilient" triggers that survive compression, achieving high attack success rates while evading state-of-the-art defenses.
Theoretical Framework and Methods
The authors analyze the problem through the lens of Kernel Inducing Points (KIP) and Reproducing Kernel Hilbert Space (RKHS). This mathematical framework allows them to treat dataset distillation as a closed-form optimization problem, which is significantly easier to analyze than complex neural network training loops.
They decompose the risk of a distilled backdoor attack into three core components:
- Conflict Loss: The internal disagreement between benign data and poisoned data (e.g., a clean dog image labeled as a dog vs. a triggered dog image labeled as a cat).
- Projection Loss: The information lost when projecting a massive dataset onto a tiny synthetic one.
- Generalization Gap: How well the distilled model's behavior on the synthetic trigger translates to real-world triggered images.
Based on this decomposition, they propose two new attack strategies:
- Simple-trigger: A baseline method that uses large trigger patterns (up to 32x32) to minimize the generalization gap.
- Relax-trigger: A sophisticated, optimization-based approach. Unlike previous methods (like DOORPING) that rely on slow, bi-level optimization, Relax-trigger uses a more efficient one-level optimization. It specifically crafts a trigger ensuring the distilled synthetic dataset remains in the "neighborhood" of the poisoned distribution, making the attack highly resilient to the distillation process.
Key Insights: Size and Distillation Dynamics
One of the primary findings is that size matters for generalization. The authors found that larger triggers naturally survive distillation better because they reduce the generalization gap. If a trigger is too small, the distillation process might discard it as noise; if it is large, the synthetic data is forced to account for it.
The most significant takeaway is that distillation is not a defense. It does not inherently destroy backdoors; rather, it acts as a filter that only preserves features that are "efficient" for the model to learn. By optimizing the trigger to be "distillation-friendly," an attacker can ensure the malicious behavior is retained. Furthermore, by using the Neural Tangent Kernel (NTK), the authors designed triggers without needing to train full neural networks repeatedly, making their attack generation significantly faster than prior state-of-the-art methods.
Empirical Results
The researchers evaluated their methods on two standard computer vision benchmarks: CIFAR-10 and the German Traffic Sign Recognition Benchmark (GTSRB).
- High Success Rates: On CIFAR-10, the Relax-trigger achieved a 100% Attack Success Rate (ASR) while maintaining clean test accuracy (CTA) comparable to benign distilled datasets.
- Defense Evasion: The authors tested their attacks against eight common backdoor defenses, including SCAn, Spectral Signatures, and STRIP. The Relax-trigger successfully evaded all eight defenses, whereas simpler attacks were often caught or neutralized.
- Resilience Across Architectures: Even when the distilled dataset was used to train a completely different architecture (like a ResNet) than the one used during distillation, the backdoor remained highly effective.
Limitations and Future Work
While highly effective, the approach has limitations. The theoretical framework relies on the Neural Tangent Kernel (NTK) approximation, which, while powerful, does not perfectly capture the dynamics of every deep learning optimizer or architecture. Additionally, while the Relax-trigger is mathematically stealthy to detection algorithms, the resulting triggers can sometimes be visually noticeable to a human observer. Future work could focus on making these distillation-resilient triggers more imperceptible and scaling these kernel-based attacks to higher-resolution datasets like ImageNet-1K, which currently poses a computational challenge for kernel matrices.
Summary updated