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).4metadata:5 source: https://skillmd.com/skills/qhjqhj00/beard-eval6 skill_kind: dataset_eval7 source_arxiv: 2411.092658 bibtex_key: zhou2024beard9 confidence: medium10---1112# beard-eval1314> BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation — Zheng Zhou et al. (2024) (arXiv:2411.09265, 2024)1516## What this evaluates1718Evaluates 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.1920## Datasets2122- **CIFAR-10** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD23- **CIFAR-100** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD24- **TinyImageNet** — total ?; splits: train (-1), test (-1); repo https://github.com/zhouzhengqd/BEARD2526## Metrics2728- `Robustness Ratio (RR)` — range: [0, 1]29 - Ratio of a model's robust accuracy under adversarial attacks to its clean accuracy, measuring resilience relative to standard performance.30- `Attack Efficiency Ratio (AE)` — range: [0, 1]31 - Quantifies the efficiency of adversarial attacks in degrading model performance on distilled datasets compared to original datasets.32- `Comprehensive Robustness-Efficiency Index (CREI)` **(primary)** — range: [0, 1]33 - Composite metric aggregating robustness and attack efficiency scores to rank distillation methods within a unified adversarial game framework.3435## Input / output format3637**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.3839**Output**: Predicted class label for each test image (clean or perturbed).4041## Scoring recipe4243```python44model = train(distilled_dataset, epochs=1000, optimizer='Adam')45adv_images = apply_attacks(test_images, attacks=['FGSM','PGD','C&W','DeepFool','AutoAttack'], eps=8/255)46clean_acc = accuracy(model, test_images)47robust_acc = accuracy(model, adv_images)48RR = robust_acc / clean_acc49AE = compute_attack_efficiency(robust_acc, clean_acc)50CREI = aggregate(RR, AE)51return RR, AE, CREI52```5354## Common pitfalls5556- IPC settings (1, 10, 50) drastically change the training dataset size, making direct performance comparisons across IPC levels misleading without normalization.57- 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.58- Models are trained from scratch with varying architectures and normalization techniques across distilled datasets, introducing confounding variables when comparing robustness.5960## Evidence (verbatim from paper)6162> 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.6364## Citation6566```bibtex67@misc{zhou2024beard,68 title={BEARD: Benchmarking the Adversarial Robustness for Dataset Distillation},69 author={Zheng Zhou et al. (2024)},70 year={2024},71 note={arXiv:2411.09265}72}73```7475- arXiv: 2411.09265