Mind Your Margin and Boundary: Are Your Distilled Datasets Truly Robust?

Muquan Li, Yingyi Ma, Yihong Huang, Hang Gou, KE Qin, Ming Li, Yuan-Fang Li, Tao He

International Conference on Machine Learning 2026 · Oral

Overview

Dataset distillation—the process of compressing large real datasets into small, synthetic sets—has emerged as a powerful paradigm to accelerate machine learning training and reduce infrastructure costs. However, a critical performance gap persists: models trained on distilled datasets frequently excel on clean validation sets while suffering catastrophic degradation under adversarial attacks. This talk explores the core vulnerability of existing distilled datasets, arguing that current methods fail because they optimize for average-case signals rather than focusing on the fragile decision boundaries and weakest margins where attacks succeed.

Watch on SlidesLive

Visual summary for Mind Your Margin and Boundary: Are Your Distilled Datasets Truly Robust? by Muquan Li, Yingyi Ma, Yihong Huang, Hang Gou, KE Qin, Ming Li, Yuan-Fang Li, Tao He
Visual summary for Mind Your Margin and Boundary: Are Your Distilled Datasets Truly Robust? by Muquan Li, Yingyi Ma, Yihong Huang, Hang Gou, KE Qin, Ming Li, Yuan-Fang Li, Tao He

Key moments

  1. 0:00 Introduction and problem definition
  2. 2:00 Margin view and the C2R method overview
  3. 4:00 LSPGD and Contrastive Robustness Loss details
  4. 6:00 Experimental results and robustness drop rate
  5. 8:00 Ablation study and conclusion
  6. 9:00 Q&A session and discussion on hard examples mining

Mind Your Margin and Boundary: Are Your Distilled Datasets Truly Robust?

Speakers: Muquan Li; Yingyi Ma; Yihong Huang; Hang Gou; KE Qin; Ming Li; Yuan-Fang Li; Tao He

Conference: ICML

YouTube: https://slideslive.com/39083712

Overview

Dataset distillation—the process of compressing large real datasets into small, synthetic sets—has emerged as a powerful paradigm to accelerate machine learning training and reduce infrastructure costs. However, a critical performance gap persists: models trained on distilled datasets frequently excel on clean validation sets while suffering catastrophic degradation under adversarial attacks. This talk explores the core vulnerability of existing distilled datasets, arguing that current methods fail because they optimize for average-case signals rather than focusing on the fragile decision boundaries and weakest margins where attacks succeed.

The presenters introduce C2R (Contrastive Curriculum Robust Dataset Distillation), a novel framework designed to construct robust synthetic datasets. By combining an Attacker-Aware Curriculum (AAC) with a Contrastive Robustness Loss (CRL) and an efficient perturbation strategy called LSPGD, the authors demonstrate substantial improvements in adversarial robustness across multiple benchmark suites. This work matters for infrastructure and model deployment teams because it bridges the long-standing trade-off between training efficiency and adversarial resilience, ensuring that compressed data assets do not compromise security.

Background

▶ Watch: Introduction and problem definition (0:00)

In the broader machine learning and systems space, dataset distillation has gained traction as a solution to exploding dataset sizes in domains like computer vision and natural language processing. By reducing gigabytes or terabytes of training data into a few hundred or thousand synthetic images, organizations can drastically cut compute budgets and hardware requirements during downstream model training.

Yet, prior work in robust dataset distillation suffers from a structural blind spot: most algorithms optimize for average signals or match global class prototypes. In adversarial machine learning, robustness is not governed by the average case; it is dictated by tail-end vulnerabilities, specifically the hardest examples residing near class boundaries. When models are trained exclusively on average-case synthetic images, they develop fragile decision boundaries. Consequently, even if a model achieves high accuracy on clean test inputs, minor input perturbations can easily cross these fragile boundaries, causing misclassifications. Addressing this vulnerability requires shifting the distillation objective from global prototype matching to fine-grained boundary and margin optimization.

Key Findings

▶ Watch: LSPGD and Contrastive Robustness Loss details (4:00)

The research evaluates C2R on the DD robust benchmark, encompassing diverse datasets including CIFAR-10, CIFAR-100, Tiny ImageNet, and ImageNet subsets. To ensure the improvements are generalizable rather than overfitted to a single attack vector, the authors test against multiple adversarial algorithms: FGSM (Fast Gradient Sign Method), PGD (Projected Gradient Descent), G-Delta, and AutoAttack.

The primary findings demonstrate that C2R outperforms previous robust dataset distillation methods by an average of 28% in robust accuracy across these settings. Furthermore, the evaluation highlights several key performance indicators:

  • Consistent Cross-Attack Gains: Performance improvements remain stable across different attack algorithms, confirming that the underlying distilled dataset genuinely becomes more robust rather than merely overfitting to a specific evaluation setup.
  • Lower Drop Rate: C2R exhibits the lowest drop rate in accuracy when transitioning from clean images to adversarial images, producing a flatter performance curve as the perturbation budget ($\epsilon$) increases.
  • Qualitative Clarity: Synthetic images generated via C2R display more structured visual properties than baseline methods, confirming the successful preservation of instance-level information.

Technical Deep Dive

▶ Watch: Experimental results and robustness drop rate (6:00)

The C2R framework addresses the limitations of average-case optimization by decomposing robust distillation into two core components supported by an efficient perturbation strategy.

The first component is the Attacker-Aware Curriculum (AAC) paired with LSPGD. AAC computes a score for each adversarial example to estimate its proximity to the decision boundary, where higher scores denote harder, riskier examples. Training is then structured via a curriculum that prioritizes these difficult instances. To prevent this curriculum mining from becoming a computational bottleneck, LSPGD reuses previous perturbations when they remain potent, executing a lightweight line search only when necessary.

The second component is the Contrastive Robustness Loss (CRL). Traditional methods match class means or prototypes, which fail to capture fine-grained interactions near class boundaries. CRL operates at the instance level: clean and adversarial versions of the same class are pulled together, while hard negative examples from competing classes are pushed away. To manage computational overhead, the framework employs a memory queue to store and supply hard negative samples without requiring exhaustive batch-level re-computation.

Experimental Setup & Results

▶ Watch: Ablation study and conclusion (8:00)

The experimental validation relies on established computer vision benchmarks (CIFAR-10, CIFAR-100, Tiny ImageNet, and ImageNet subsets) to test the limits of data compression and robustness. Baselines include state-of-the-art robust dataset distillation methods evaluated under standard threat models using FGSM, PGD, G-Delta, and AutoAttack.

A comprehensive ablation study validates the contribution of each architectural component:

  • AAC Alone: Improves performance by focusing training attention on low-margin, high-risk cases.
  • CRL Alone: Enhances class separation near boundaries, preventing nearby wrong classes from overtaking true classes.
  • Combined (AAC + CRL): Yields optimal robustness results, proving that curriculum prioritization and contrastive boundary separation operate synergistically.
  • LSPGD Efficiency: Maintains competitive accuracy while drastically reducing the computational cost of generating adversarial examples during distillation.
  • Hyperparameter Stability: The balance parameter ($\eta$) governing the trade-off between the AAC and CRL terms exhibits low sensitivity, ensuring stable training across different configurations.

Practical Implications

▶ Watch: Q&A session and discussion on hard examples mining (9:00)

For machine learning practitioners, infrastructure teams, and model deployers, this work proves that dataset distillation can be engineered for safety without sacrificing efficiency. In environments where models must operate in security-sensitive or noisy real-world conditions, relying on standard distilled datasets introduces unacceptable vulnerability to adversarial perturbations.

The practical trade-off traditionally associated with robust distillation—excessive computational overhead during synthetic data generation—is largely mitigated by the LSPGD and memory queue mechanisms. Infrastructure teams can adopt C2R to produce lightweight, highly compressed training sets that maintain a healthier robustness-accuracy trade-off, enabling faster iteration cycles on edge devices or cloud clusters without compromising edge-case reliability.

Key Takeaways

  • Average-Case Failure: Standard dataset distillation optimizes for average signals, leaving models vulnerable near fragile class boundaries where adversarial attacks succeed.
  • Margin-Driven Robustness: True adversarial robustness is governed by the smallest margins and hardest examples, requiring targeted curriculum learning rather than global prototype matching.
  • The C2R Framework: Combines Attacker-Aware Curriculum (AAC) and Contrastive Robustness Loss (CRL) to isolate risky instances and maximize inter-class separation.
  • Computational Efficiency: Employs LSPGD and a memory queue to reuse perturbation schedules and supply hard negatives without prohibitive compute costs.
  • Empirical Superiority: Outperforms previous robust distillation baselines by an average of 28% across CIFAR-10, CIFAR-100, Tiny ImageNet, and ImageNet subsets against multiple attack suites.

About the Speaker(s)

Authors: Muquan Li, Yingyi Ma, Yihong Huang, Hang Gou, KE Qin, Ming Li, Yuan-Fang Li, Tao He.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026