TL;DR
This paper tackles the "robust fairness" problem in adversarial training, where models become highly accurate on some classes but perform poorly on others when attacked. They introduce Balance Adversarial Training (BAT), a novel method that addresses two newly identified fairness issues: source-class fairness (difficulty in generating attacks for different classes) and target-class fairness (biased attack targets). BAT significantly improves fairness without sacrificing overall performance.
What Problem Does This Paper Address?
Deep neural networks (DNNs) are susceptible to adversarial attacks, where small, imperceptible perturbations can cause misclassifications. Adversarial training (AT) is a powerful defense mechanism that involves training models on these adversarial examples. However, AT often leads to a "robust fairness" problem: the model's accuracy and robustness vary significantly across different classes. Some classes might be well-protected, while others become highly vulnerable. Previous attempts to fix this, like Fair Robust Learning (FRL), improved the performance of weaker classes but at the cost of degrading the performance of already well-performing classes, leading to an overall accuracy drop. This paper aims to solve this by understanding and mitigating the root causes of this fairness disparity.
Methods
The authors propose Balance Adversarial Training (BAT), a framework designed to address two key fairness issues observed during adversarial training:
- Source-class Fairness: This refers to the varying difficulty in generating adversarial examples for different classes. Some classes are easier to attack than others, leading to an imbalance. BAT addresses this by adjusting the attack strength and difficulty for each class. Specifically, it aims to bring samples closer to the decision boundary, making them easier for the model to learn from. This is achieved by generating "boundary examples" (both the last correctly classified and the first misclassified samples) and using a loss term that balances the perturbation strength across classes.
- Target-class Fairness: This addresses the tendency of adversarial examples to be biased towards specific target classes. BAT tackles this by introducing a uniform distribution constraint. This encourages the adversarial example generation process for each class to have a fair tendency, preventing bias towards certain classes.
The overall BAT framework combines these two fairness objectives within a min-max adversarial training setup.
Datasets
The paper evaluates BAT on the following standard datasets:
- CIFAR-10
- CIFAR-100
- ImageNette
Key Insights and Ideas
- Two New Fairness Phenomena: The paper identifies and formalizes two critical fairness issues in adversarial training: "source-class fairness" (unequal difficulty in generating attacks) and "target-class fairness" (biased attack targets). This provides a deeper understanding of why robust fairness is a problem.
- Boundary Examples are Key: The authors found that focusing on "boundary examples" (samples near the decision boundary) is crucial for improving source-class fairness. These examples are more informative for learning and balancing class performance.
- Uniform Target Distribution is Essential: For target-class fairness, forcing adversarial examples to follow a uniform distribution across classes is shown to be effective in mitigating bias.
- BAT Outperforms FRL: Unlike FRL, which degrades well-performing classes, BAT manages to improve fairness while preserving or even enhancing the performance of all classes.
Key Results
- Significant Robust Fairness Improvement: BAT consistently outperforms baseline methods (PGD-AT, TRADES, FRL) in mitigating robust fairness.
- Improved Worst-Class Accuracy: The method achieves substantial improvements in the worst-class error rate, with gains of +5-10% on average. For instance, on CIFAR-10, BAT reduces the worst-class standard error by 1.9%, worst boundary error by 13.4%, and worst robust error by 9.4% compared to TRADES.
- Balanced Performance: BAT avoids the performance degradation seen in FRL. It achieves better or similar performance on previously well-performing classes while significantly improving the weaker ones.
- Competitive Accuracy and Robustness: While there's a slight trade-off between clean accuracy and robustness (a known phenomenon), BAT maintains a comparatively high clean accuracy and achieves superior robustness and fairer results across all metrics.
Limitations and Future Work
- Limitations: The paper acknowledges that while BAT improves fairness, there's still a trade-off between adversarial robustness and clean accuracy. The authors also note that their method is primarily evaluated against white-box adversarial attacks, and its performance against black-box attacks might differ.
- Future Work: The authors suggest future research directions including studying the generalization of robust fairness under more diverse attacks and developing new metrics that consider clean accuracy, robustness, and robust fairness simultaneously. They also hint at exploring instance-reweighting techniques for better balancing clean/robust trade-offs.
Summary updated