Improving Adversarial Robust Fairness via Anti-Bias Soft Label Distillation

Shiji Zhao, Xizhe Wang, Xingxing Wei · DOI

TL;DR

This paper tackles the "robust fairness" problem in deep learning, where models are strong against adversarial attacks on some classes but weak on others. They propose a novel method, Anti-Bias Soft Label Distillation (ABSLD), which cleverly adjusts the "smoothness" of teacher model's soft labels for different classes. This leads to significantly improved fairness without sacrificing overall robustness, outperforming existing methods.

What Problem Does This Paper Address?

Deep neural networks (DNNs) are notoriously vulnerable to adversarial attacks – small, imperceptible perturbations to input data that cause misclassifications. While Adversarial Training (AT) and its variant, Adversarial Robustness Distillation (ARD), have been successful in improving robustness, they often suffer from a "robust fairness" issue. This means the models become highly robust for some classes (often termed "easy classes") but remain vulnerable for others ("hard classes"). This disparity creates security risks, as attackers can target these weaker classes. The paper aims to address this imbalance and ensure that DNNs are robust across all classes.

Methods

The core of the paper's contribution lies in identifying and exploiting the role of soft label smoothness in achieving robust fairness. The authors argue that the degree to which a model's output probabilities are "smoothed" for different classes during training influences its fairness. They propose Anti-Bias Soft Label Distillation (ABSLD), which operates within the Knowledge Distillation (KD) framework.

Instead of using a fixed temperature for all classes in KD, ABSLD adaptively adjusts the teacher model's temperature for each class. This temperature controls the smoothness of the teacher's soft labels. Specifically:

  • Sharper soft labels (lower temperature) are applied to "harder" classes, increasing their learning intensity.
  • Smoother soft labels (higher temperature) are applied to "easier" classes.

This adaptive re-tempering aims to reduce the gap in error risk between different classes, thereby improving robust fairness. The temperature is dynamically adjusted based on the student model's current error risk for each class.

Datasets

The experiments were conducted on the following datasets:

  • CIFAR-10
  • CIFAR-100
  • Tiny-ImageNet

Key Insights and Ideas

  • Soft label smoothness matters for fairness: The paper's central insight is that the degree of smoothness in soft labels, not just the sample itself, significantly impacts a model's robust fairness. This is a novel perspective compared to previous work focusing on sample re-weighting.
  • Adaptive temperature control is key: By dynamically adjusting the teacher's temperature for each class, ABSLD can effectively balance robustness and fairness. This adaptive approach is more effective than static methods.
  • Dataset bias can contribute to unfairness: The paper's theoretical analysis suggests that inherent biases in the dataset itself can lead to class-wise unfairness, even with optimal training strategies. This highlights the challenge of achieving perfect fairness.

Key Results

  • Outperforms state-of-the-art: ABSLD consistently outperforms existing AT, ARD, and robust fairness methods across various attacks (FGSM, PGD, CW∞, AA) on CIFAR-10, CIFAR-100, and Tiny-ImageNet.
  • Improved worst-class robustness: The method significantly boosts the robustness of the weakest classes, directly addressing the fairness issue. For example, on CIFAR-10 with ResNet-18, ABSLD improved worst-class robustness by up to 3.2% compared to the best baseline.
  • Reduced Normalized Standard Deviation (NSD): ABSLD achieved the best comprehensive performance by reducing the NSD, a metric that balances average robustness and fairness. For instance, on CIFAR-10, it reduced NSD by up to 0.032.
  • Ablation studies confirm effectiveness: Experiments showed that adjusting soft labels for both clean and adversarial examples (as done in ABSLD) is more effective than only adjusting for adversarial examples.

Limitations and Future Work

  • Trade-off between robustness and fairness: While ABSLD significantly improves fairness, the paper acknowledges that the overall robustness might slightly decrease in some cases compared to previous methods. Solving this trade-off remains an open research direction.
  • Applicability to one-hot labels: The proposed method relies on soft labels and may not be directly applicable to adversarial training methods that exclusively use one-hot labels. Combining it with label smoothing operations might be necessary.
  • Computational cost: Adversarial training and distillation are inherently time-consuming. While ABSLD is efficient, further optimizations could be explored.

Summary updated

BibTeX
@inproceedings{zhao2024improving,
  author = {Shiji Zhao and Xizhe Wang and Xingxing Wei},
  title = {{Improving Adversarial Robust Fairness via Anti-Bias Soft Label Distillation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=kW30LbNwdV},
}
Figure