Adversarial Training (AT) has become the gold standard for defending deep neural networks against malicious perturbations. By training models on "adversarial examples"—inputs modified with imperceptible noise designed to cause misclassification—researchers can significantly enhance a model's robustness. However, this robustness often comes at a hidden cost: fairness.
In the paper "FAIR-TAT: Improving Model Fairness Using Targeted Adversarial Training," researchers from the University of Mannheim and MPI for Informatics demonstrate that standard AT often exacerbates performance disparities between classes, making "easy" classes stronger while leaving "hard" classes even more vulnerable. They propose a novel framework, FAIR-TAT, which utilizes targeted attacks to ensure a more equitable distribution of robustness.
The Adversarial Fairness Problem
Standard adversarial training typically employs untargeted attacks. In this setup, an attacker simply tries to make the model predict any label other than the correct one. This approach often pushes data points toward the nearest decision boundary, which may not be the most semantically relevant or confusing one.
This leads to what the authors call the "magnet" effect: certain classes act as sinks for errors, attracting misclassifications from various other categories. Consequently, while average robustness might increase, the performance of "vulnerable" classes often plummets, creating a significant fairness gap.
The FAIR-TAT Method
To address these disparities, the authors introduce FAIR-TAT (Fair Targeted Adversarial Training). The core innovation is shifting the training objective from general, untargeted robustness to a surgical refinement of decision boundaries using three main components:
- Targeted Adversarial Training: Instead of allowing attacks to move samples arbitrarily, FAIR-TAT forces the model to defend against specific, confusing target classes. This "surgical" approach helps the model learn the nuanced differences between truly confusing classes.
- Smart Target Sampling ($C_{FPS}$): The choice of target class is guided by the Class False Positive Score ($C_{FPS}$). This metric identifies "magnet" classes that frequently attract misclassifications. By targeting these specific classes during training, the model "hardens" the decision boundaries of the most problematic categories.
- Dynamic Perturbation Margins: Borrowing from prior work (CFA), the algorithm adjusts the "strength" ($\epsilon$) of the attack for each class. Harder classes receive smaller perturbation margins to prevent the model from being overwhelmed, while easier classes are challenged more aggressively.
Experimental Results
The researchers evaluated FAIR-TAT on three standard benchmarks: CIFAR-10, CIFAR-100, and CIFAR-10C (used to test robustness against common corruptions like fog or blur). They compared their method against standard AT and other state-of-the-art fairness-aware methods like TRADES and FAT.
The results show that FAIR-TAT consistently improves the "Worst Class" accuracy—a key metric for fairness—across various base AT methods.
On CIFAR-10 using a ResNet-18 architecture, FAIR-TAT boosted the Worst Class Clean Accuracy from 67.3% (standard AT) to 73.7%. Similar gains were observed in robust accuracy and on the more complex CIFAR-100 dataset. Furthermore, the models trained with FAIR-TAT showed improved generalization against unseen attack types like AutoAttack and Squares, and even improved performance on common corruptions, suggesting that fairness is a proxy for a more fundamentally balanced internal representation.
Conclusion and Future Directions
FAIR-TAT demonstrates that targeted adversarial training is a powerful tool for improving model fairness without compromising overall robustness. By focusing on the most confusing class relationships, the method creates more balanced and reliable neural networks.
While FAIR-TAT effectively addresses class-level disparities, the authors note that future improvements could involve instance-level target sampling—identifying specific confusing images rather than just classes. Although computationally more demanding, such an approach could further refine the fairness and robustness of deep learning models in real-world applications.
Summary updated