TL;DR
This paper investigates whether dataset compression techniques, designed to create smaller synthetic datasets for efficient training, can also preserve adversarial robustness. The authors find that existing methods fail to transfer robustness effectively. They propose a novel "Minimal Finite Covering" (MFC) approach that demonstrably improves both data efficiency and adversarial robustness simultaneously.
What Problem Does This Paper Address?
Deep learning models have become increasingly large and data-hungry, leading to concerns about energy consumption and carbon footprint. Dataset Condensation (DC) aims to address this by creating smaller, synthetic datasets that can train models to achieve performance comparable to training on the full, original dataset. However, most DC methods focus solely on maximizing standard test performance. A critical aspect often overlooked is adversarial robustness – a model's ability to withstand small, malicious perturbations to its input. This paper tackles the question: Do compressed datasets generated by DC methods effectively transfer adversarial robustness, and can we develop methods that achieve both efficiency and robustness?
Methods
The authors first empirically demonstrate that existing DC methods, while good at preserving standard accuracy, are ineffective at transferring adversarial robustness. To address this, they introduce a novel Robustness-Aware Dataset Compression method based on Minimal Finite Covering (MFC).
MFC is framed as finding a minimal set of points (a "coreset") that "covers" the original dataset within a certain radius. The paper formalizes this by defining η-Minimal Finite Covering (η-MFC) (finding the smallest set that covers within radius η) and k-Minimal Finite Covering (k-MFC) (finding the smallest radius to cover with a fixed set size k). They propose an algorithm to find k-MCS, which is related to the K-center problem.
Crucially, they introduce a generalized adversarial loss that allows for provable guarantees on adversarial robustness when training on the generated MFC. This generalized loss provides an upper bound for the classical adversarial loss on the original dataset, effectively bridging the gap between compressed and full datasets for robust training.
Datasets
The experiments were conducted on the following standard datasets:
- MNIST
- CIFAR10
- CIFAR100
- SVHN
Key Insights and Ideas
- DC methods overfit to test performance: Existing dataset condensation techniques prioritize standard accuracy, often at the expense of adversarial robustness. This means models trained on these compressed datasets are vulnerable to adversarial attacks.
- Coreset methods show promise for robustness: While not always achieving the highest standard accuracy, coreset selection methods (like random sampling) often exhibit better adversarial robustness compared to DC methods.
- Minimal Finite Covering (MFC) as a unified framework: The paper frames both coreset selection and dataset condensation as instances of finding minimal coverings. This provides a unified perspective and a basis for developing new methods.
- Generalized adversarial loss for provable robustness: The proposed generalized adversarial loss, when applied to MFCs, offers theoretical guarantees for adversarial robustness, which is a significant step beyond empirical observations.
- Simultaneous improvement of efficiency and robustness is possible: The proposed MFC method demonstrates that it's feasible to achieve both data compression and enhanced adversarial robustness, challenging the perceived trade-off.
Key Results
- Empirical evidence against DC: Experiments on MNIST and CIFAR10 showed that DC methods (DM, GM, TM) achieved high standard accuracy but significantly lower robust accuracy compared to random coreset selection. For instance, on SVHN, DC methods had robust accuracy as low as 0.35%, while random selection achieved 9.36%.
- MCS outperforms DC for robustness: The proposed Minimal Coreset (MCS) method consistently achieved better adversarial robustness than DC methods across various datasets. On MNIST, MCS achieved a robust accuracy of 92.83%, surpassing DC methods.
- MCS achieves balanced performance: MCS not only improved robustness but also maintained competitive standard accuracy, demonstrating a better trade-off than DC methods. For example, on MNIST, MCS achieved 96.42% standard accuracy and 92.83% robust accuracy.
- Theoretical guarantees: The paper provides theoretical guarantees that minimizing the generalized adversarial loss over an MFC dataset leads to a robust model on the original dataset.
Limitations and Future Work
- ZIP assumption: The theoretical guarantees for the generalized adversarial loss rely on a "Zero Intersection Property" (ZIP), which assumes that the fattened balls around different class samples do not overlap. This assumption might not hold for complex datasets.
- Low-dimensional data focus: The empirical evaluation of the MCS method was primarily demonstrated on low-dimensional data (MNIST). Extending these experiments to more complex, non-ZIP satisfying datasets is an important future direction.
- Relaxed Hausdorff distance: The paper mentions that relaxing the Hausdorff distance to a mean distance could lead to a soft-margin adaptation of the method, which could be explored further.
- Exploring other distance metrics: The impact of different distance metrics on downstream performance was not extensively discussed and warrants further investigation.
- Robust DC methods: The paper suggests that developing DC methods that are inherently robust would be a valuable future research direction.
- Fairness and privacy: Extending the work to investigate joint improvements in efficiency with fairness and privacy is also proposed as future work.
Summary updated