beard-eval
BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation — Zheng Zhou et al. (2024) (arXiv:2411.09265, 2024)
What this evaluates
Evaluates the adversarial robustness of models trained on synthetically distilled datasets. It probes how well different dataset distillation methods preserve model resilience against diverse adversarial attacks across varying image-per-class (IPC) settings.
Datasets
Metrics
Robustness Ratio (RR) — range: [0, 1]
- Ratio of a model's robust accuracy under adversarial attacks to its clean accuracy, measuring resilience relative to standard performance.
Attack Efficiency Ratio (AE) — range: [0, 1]
- Quantifies the efficiency of adversarial attacks in degrading model performance on distilled datasets compared to original datasets.
Comprehensive Robustness-Efficiency Index (CREI) (primary) — range: [0, 1]
- Composite metric aggregating robustness and attack efficiency scores to rank distillation methods within a unified adversarial game framework.
Input / output format
Input: Training phase: Distilled dataset subset (images and labels) at a specific IPC setting (1, 10, or 50). Evaluation phase: Clean and adversarially perturbed test images from the original dataset.
Output: Predicted class label for each test image (clean or perturbed).
Scoring recipe
model = train(distilled_dataset, epochs=1000, optimizer='Adam')
adv_images = apply_attacks(test_images, attacks=['FGSM','PGD','C&W','DeepFool','AutoAttack'], eps=8/255)
clean_acc = accuracy(model, test_images)
robust_acc = accuracy(model, adv_images)
RR = robust_acc / clean_acc
AE = compute_attack_efficiency(robust_acc, clean_acc)
CREI = aggregate(RR, AE)
return RR, AE, CREI
Common pitfalls
- IPC settings (1, 10, 50) drastically change the training dataset size, making direct performance comparisons across IPC levels misleading without normalization.
- Adversarial attack budgets are not uniform: DeepFool and C&W use different perturbation constraints than the standard epsilon=8/255 used for FGSM, PGD, and AutoAttack.
- Models are trained from scratch with varying architectures and normalization techniques across distilled datasets, introducing confounding variables when comparing robustness.
Evidence (verbatim from paper)
By integrating metrics derived from the adversarial game framework, including RR, AE, and CREI, this evaluation can more effectively measure the models’ resilience against adversarial attacks within the competitive dynamics of the game setting.
Citation
@misc{zhou2024beard,
title={BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation},
author={Zheng Zhou et al. (2024)},
year={2024},
note={arXiv:2411.09265}
}
1---2name: beard-eval3description: Evaluates the adversarial robustness of models trained on synthetically distilled datasets. It probes how well different dataset distillation methods preserve model resilience against diverse adversarial attacks across varying image-per-class (IPC) settings. Use when the user wants to benchmark on CIFAR-10, CIFAR-100, TinyImageNet, or asks about evaluating this task. Reports Comprehensive Robustness-Efficiency Index (CREI).4---56# beard-eval78> BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation — Zheng Zhou et al. (2024) (arXiv:2411.09265, 2024)910## What this evaluates1112Evaluates the adversarial robustness of models trained on synthetically distilled datasets. It probes how well different dataset distillation methods preserve model resilience against diverse adversarial attacks across varying image-per-class (IPC) settings.1314## Datasets1516- **CIFAR-10** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD17- **CIFAR-100** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD18- **TinyImageNet** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD1920## Metrics2122- `Robustness Ratio (RR)` — range: [0, 1]23 - Ratio of a model's robust accuracy under adversarial attacks to its clean accuracy, measuring resilience relative to standard performance.24- `Attack Efficiency Ratio (AE)` — range: [0, 1]25 - Quantifies the efficiency of adversarial attacks in degrading model performance on distilled datasets compared to original datasets.26- `Comprehensive Robustness-Efficiency Index (CREI)` **(primary)** — range: [0, 1]27 - Composite metric aggregating robustness and attack efficiency scores to rank distillation methods within a unified adversarial game framework.2829## Input / output format3031**Input**: Training phase: Distilled dataset subset (images and labels) at a specific IPC setting (1, 10, or 50). Evaluation phase: Clean and adversarially perturbed test images from the original dataset.3233**Output**: Predicted class label for each test image (clean or perturbed).3435## Scoring recipe3637```python38model = train(distilled_dataset, epochs=1000, optimizer='Adam')39adv_images = apply_attacks(test_images, attacks=['FGSM','PGD','C&W','DeepFool','AutoAttack'], eps=8/255)40clean_acc = accuracy(model, test_images)41robust_acc = accuracy(model, adv_images)42RR = robust_acc / clean_acc43AE = compute_attack_efficiency(robust_acc, clean_acc)44CREI = aggregate(RR, AE)45return RR, AE, CREI46```4748## Common pitfalls4950- IPC settings (1, 10, 50) drastically change the training dataset size, making direct performance comparisons across IPC levels misleading without normalization.51- Adversarial attack budgets are not uniform: DeepFool and C&W use different perturbation constraints than the standard epsilon=8/255 used for FGSM, PGD, and AutoAttack.52- Models are trained from scratch with varying architectures and normalization techniques across distilled datasets, introducing confounding variables when comparing robustness.5354## Evidence (verbatim from paper)5556> By integrating metrics derived from the adversarial game framework, including RR, AE, and CREI, this evaluation can more effectively measure the models’ resilience against adversarial attacks within the competitive dynamics of the game setting.5758## Citation5960```bibtex61@misc{zhou2024beard,62 title={BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation},63 author={Zheng Zhou et al. (2024)},64 year={2024},65 note={arXiv:2411.09265}66}67```6869- arXiv: 2411.09265