Fairness Through Robustness: Investigating Robustness Disparity in Deep Learning

Vedant Nanda, Samuel Dooley, Sahil Singla, Soheil Feizi, John P. Dickerson

TL;DR

Even when a deep learning model appears "fair" because it has equal accuracy across different demographic groups, it may still harbor a hidden robustness bias. This paper demonstrates that certain subgroups (e.g., based on race or gender) are often significantly closer to the model's decision boundary, making them far more vulnerable to adversarial attacks and environmental noise than others.

What Problem Does This Paper Address?

Most research into algorithmic fairness focuses on "one-shot" outcomes: Does the model predict "loan approved" at the same rate for Group A and Group B? While metrics like demographic parity and equal opportunity are vital, they don't account for the stability of those decisions.

Deep Neural Networks (DNNs) are notoriously fragile; a tiny, imperceptible change to an input (adversarial noise) can flip a prediction. The authors argue that if a model requires a large perturbation to change a prediction for a "White male" but only a tiny nudge to flip the prediction for a "Black female," the system is fundamentally unfair. This "robustness disparity" represents a degradation in the quality of service and security for specific populations, even if the baseline accuracy looks identical on paper.

Methods

The core challenge is that measuring the exact distance from a data point to a DNN's decision boundary is computationally "hard" due to the complex, non-convex nature of these models. To tackle this, the authors propose two proxy approaches:

  1. Adversarial Attacks (Upper Bound): They use state-of-the-art attacks like DeepFool and Carlini-Wagner (L2) to find the smallest possible change needed to misclassify a point. This gives them an "upper bound" on how close the decision boundary is.
  2. Randomized Smoothing (Lower Bound): This technique provides a "certified radius"—a mathematical guarantee that the model's prediction won't change within a certain distance. This serves as a "lower bound" for robustness.

To quantify the bias, they introduce a metric, $\sigma(P)$, which calculates the area under the curve of the proportion of "safe" (robust) points for a given subgroup compared to the rest of the population. Finally, they propose a mitigation strategy called AdvERM, which adds a regularization term to the standard training loss to penalize large disparities in robustness between groups.

Datasets

The authors evaluated their theories across several diverse datasets:

  • CIFAR-10 & CIFAR-100: Standard image classification benchmarks used to see if specific object classes (like "cat" vs. "dog") show robustness bias.
  • Adience: A dataset of facial images labeled for age and gender.
  • UTKFace: A large-scale facial dataset with labels for age, gender, and ethnicity.

The human-centric datasets (Adience and UTKFace) were specifically chosen to audit for biases related to sensitive social attributes.

Key Insights and Ideas

  • Robustness Bias is Pervasive: Across almost every model and dataset tested, significant robustness disparities were found. For example, in the UTKFace dataset, the "Black" subgroup was consistently less robust than other racial groups across all tested architectures (ResNet, VGG, etc.).
  • Accuracy $\neq$ Robustness: A model can have 100% accuracy on two different groups while one group remains much "closer to the edge" of the decision boundary.
  • The "Ghost" of Pre-training: Models pre-trained on ImageNet carry robustness biases into their new tasks. Even before fine-tuning begins on a specific dataset like UTKFace, the model already "prefers" the robustness of certain features over others.
  • Early Emergence: Robustness bias isn't a late-stage training artifact. The authors found that over 80% of the final robustness bias is already established after just the first epoch of training.

Key Results

  • Methodological Agreement: There was a 94% agreement between the two different adversarial attack methods (DeepFool and CW) regarding which subgroups were the least robust.
  • Subgroup Vulnerability: In UTKFace, the "Black" and "Female" subgroups often showed lower robustness. In CIFAR-10, the "cat" class was significantly less robust than the "truck" class.
  • Mitigation Success: Using their proposed AdvERM regularizer, the authors successfully reduced the robustness gap. For instance, they showed that the distribution of distances for the "cat" class in CIFAR-10 could be shifted to more closely match other classes without a catastrophic loss in overall accuracy.

Limitations and Future Work

The authors are careful to note that their work is largely observational. While they prove this bias exists and can be measured, they acknowledge several hurdles:

  • The Task Itself: They note that tasks like "predicting age/race from a face" are socially and ethically fraught, and robustness bias is just one layer of a much larger fairness problem.
  • Computational Cost: Measuring robustness via adversarial attacks or randomized smoothing is significantly more expensive than standard training.
  • The Fairness-Robustness Trade-off: While they show mitigation is possible, they suggest that in some complex real-world scenarios, increasing robustness for one group might inadvertently affect the accuracy or robustness of another.

Future work is needed to explore how these technical "fixes" interact with broader social contexts and whether these biases persist in non-image domains like natural language processing or tabular data.

Summary updated

BibTeX
@inproceedings{nanda2021fairness,
  author = {Vedant Nanda and Samuel Dooley and Sahil Singla and Soheil Feizi and John P. Dickerson},
  title = {{Fairness Through Robustness: Investigating Robustness Disparity in Deep Learning}},
  booktitle = {FAccT},
  year = {2021},
  doi = {10.1145/3442188.3445910},
}
Figure