[Paper Review] To be Robust or to be Fair: Towards Fairness in Adversarial Training
This paper identifies a critical fairness issue in adversarial training: models exhibit severe class-wise disparities in both standard accuracy and robustness, even on balanced datasets. To address this, the authors propose Fair Robust Learning (FRL), a dynamic debiasing framework that reweights boundary errors and remaps perturbation margins, significantly improving worst-class robustness without sacrificing overall performance.
Adversarial training algorithms have been proved to be reliable to improve machine learning models' robustness against adversarial examples. However, we find that adversarial training algorithms tend to introduce severe disparity of accuracy and robustness between different groups of data. For instance, a PGD adversarially trained ResNet18 model on CIFAR-10 has 93% clean accuracy and 67% PGD l-infty-8 robust accuracy on the class "automobile" but only 65% and 17% on the class "cat". This phenomenon happens in balanced datasets and does not exist in naturally trained models when only using clean samples. In this work, we empirically and theoretically show that this phenomenon can happen under general adversarial training algorithms which minimize DNN models' robust errors. Motivated by these findings, we propose a Fair-Robust-Learning (FRL) framework to mitigate this unfairness problem when doing adversarial defenses. Experimental results validate the effectiveness of FRL.
Motivation & Objective
- To investigate why adversarial training introduces significant class-wise disparities in accuracy and robustness, even in balanced datasets.
- To understand the root cause of this fairness problem, distinguishing it from data imbalance or model capacity issues.
- To propose a novel framework, Fair Robust Learning (FRL), that mitigates class-wise robustness disparities in adversarial training.
- To validate the effectiveness of FRL across multiple datasets, models, and adversarial training methods.
Proposed method
- Propose a Fair Robust Learning (FRL) framework that dynamically reweights the boundary error of each class during adversarial training.
- Introduce a remapping strategy that increases the perturbation margin for underperforming classes to improve their robustness.
- Apply a reweighting mechanism that assigns higher loss weights to classes with higher boundary errors, encouraging the model to focus on difficult classes.
- Use a min-max optimization objective that jointly minimizes standard and robust errors while enforcing fairness through class-specific weighting.
- Implement two variants of FRL: FRL (Reweight) and FRL (Remap), with the latter showing superior performance in equalizing robustness.
- Conduct extensive ablation studies to analyze the impact of reweighting and margin remapping on class-wise performance.
Experimental results
Research questions
- RQ1Why do adversarial training algorithms cause significant disparities in standard accuracy and robustness across different classes, even when the dataset is balanced?
- RQ2What underlying mechanism in adversarial training leads to a preference for easier classes and degradation in performance on harder classes?
- RQ3Can the fairness issue in adversarial training be mitigated through dynamic reweighting of class-specific errors?
- RQ4How do different mitigation strategies—such as reweighting boundary errors versus increasing perturbation margins—affect the balance of robustness across classes?
- RQ5To what extent can the proposed FRL framework improve worst-class robustness without degrading overall model performance?
Key findings
- Adversarial training on CIFAR-10 with PGD leads to a 67% robust accuracy on 'automobile' but only 17% on 'cat', despite class balance.
- The PGD-adversarially trained model has 32.8% standard error and 82.4% robust error on 'cat' images, far exceeding the average error of 15.5% and 56.4%.
- FRL (Remap) reduces the worst-class robust error from 82.4% to 57.6% on 'cat' images, significantly improving fairness.
- Reweighting alone fails to improve robustness, as it increases standard error while reducing boundary error, indicating a trade-off.
- Remapping the perturbation margin effectively reduces boundary error without increasing standard error, making it more effective than reweighting.
- The FRL framework achieves state-of-the-art fairness in adversarial robustness across multiple datasets and models, including CIFAR-10, SVHN, and Tiny ImageNet.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.