Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CFA: Class-wise Calibrated Fair Adversarial Training

About

Adversarial training has been widely acknowledged as the most effective method to improve the adversarial robustness against adversarial examples for Deep Neural Networks (DNNs). So far, most existing works focus on enhancing the overall model robustness, treating each class equally in both the training and testing phases. Although revealing the disparity in robustness among classes, few works try to make adversarial training fair at the class level without sacrificing overall robustness. In this paper, we are the first to theoretically and empirically investigate the preference of different classes for adversarial configurations, including perturbation margin, regularization, and weight averaging. Motivated by this, we further propose a \textbf{C}lass-wise calibrated \textbf{F}air \textbf{A}dversarial training framework, named CFA, which customizes specific training configurations for each class automatically. Experiments on benchmark datasets demonstrate that our proposed CFA can improve both overall robustness and fairness notably over other state-of-the-art methods. Code is available at \url{https://github.com/PKU-ML/CFA}.

Zeming Wei, Yifei Wang, Yiwen Guo, Yisen Wang• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)
Accuracy (Clean)84.3
273
Long-tailed Image RecognitionCIFAR-10 long-tailed (test)
Accuracy (New Classes)73.67
39
Long-Tailed Image ClassificationCIFAR100 long-tailed (test)
Natural Accuracy (all classes)56.26
30
Long-Tailed Image ClassificationTinyImageNet long-tailed (test)
Naturalness (All Classes)50.57
30
Adversarial Robustness and FairnessCIFAR-100
Clean Accuracy Avg59.29
10
Image ClassificationCIFAR-100 (test)
Clean Accuracy Avg59.15
10
Image ClassificationCIFAR-100 (test)
Avg Clean Acc55.57
10
Image ClassificationCIFAR-10 (test)
Clean Accuracy Avg78.64
10
Adversarial Robustness EvaluationTiny-ImageNet
Clean Avg Acc46.75
3
Showing 9 of 9 rows

Other info

Code

Follow for update