Boosting Fair Classifier Generalization through Adaptive Priority Reweighing

Zhihao Hu, Yiran Xu, Mengnan Du, Jindong Gu, Xinmei Tian, Fengxiang He

TL;DR

This paper introduces a novel "Adaptive Priority Reweighing" method to improve the generalizability of fair machine learning classifiers. By intelligently reweighting training samples based on their proximity to the decision boundary, the method achieves better fairness performance on unseen data without sacrificing accuracy, addressing a key limitation of existing fairness techniques.

What Problem Does This Paper Address?

Machine learning models are increasingly used in critical decision-making areas like loan applications, hiring, and criminal justice. While algorithmic fairness is crucial to prevent discrimination, existing fairness-promoting methods often struggle to generalize well to new, unseen data. This means a model that appears fair on its training data might exhibit significant bias when deployed in the real world. This "generalizability gap" is a major hurdle in building trustworthy AI systems. The paper aims to bridge this gap by developing a method that ensures fairness is maintained not just during training but also on test datasets.

Methods

The core contribution is the Adaptive Priority Reweighing method. Unlike traditional reweighing techniques that assign uniform weights to entire subgroups, this method takes a more granular approach:

  • Distance to Decision Boundary: It models the distance of each sample's prediction to the decision boundary. Samples closer to the boundary are considered more "uncertain" or "critical" for generalization.
  • Priority Reweighing: These critical samples are assigned higher weights during training. This prioritizes learning from samples that are most likely to be misclassified due to distribution shifts.
  • Adaptive Nature: The weights are updated iteratively, adapting to the model's progress and the evolving data distribution.
  • Bilevel Optimization: The method can be framed as a bilevel optimization problem, where an outer loop adjusts sample weights and an inner loop trains the classifier.
  • Fairness Metrics: The method is designed to work with various fairness metrics, including Equal Opportunity, Equalized Odds, and Demographic Parity.

Datasets

The authors evaluated their method on a diverse set of datasets:

  • Tabular Datasets:
    • Adult dataset (gender as sensitive attribute)
    • COMPAS dataset (race as sensitive attribute)
    • Synthetic dataset (gender as sensitive attribute)
  • Image Dataset:
    • UTKFace dataset (race as sensitive attribute, predicting gender)
  • Language Dataset:
    • MOJI dataset (race as sensitive attribute, predicting emotions)

Key Insights and Ideas

  • Proximity to Decision Boundary is Key for Generalization: Samples near the decision boundary are most vulnerable to distribution shifts. Prioritizing these samples in reweighing is crucial for improving generalization.
  • Adaptive Reweighing Outperforms Fixed Reweighing: Simply assigning fixed weights to subgroups (like in "Equal Reweighing") is insufficient. Adapting weights based on individual sample characteristics and model progress is more effective.
  • Balancing Accuracy and Fairness is Achievable: The proposed method demonstrates that it's possible to significantly improve fairness metrics without a substantial drop in classification accuracy, a common trade-off with other methods.
  • Fine-tuning Pre-trained Models: The method is effective even when applied as a fine-tuning step on existing pre-trained models, making it practical for improving fairness in deployed systems.

Key Results

The paper presents extensive experimental results across multiple datasets and fairness metrics.

  • Equal Opportunity: On the Adult, COMPAS, and Synthetic datasets, the proposed method achieved the best performance in terms of minimizing the Equal Opportunity Gap (ΔEOP) while maintaining high accuracy. For instance, on the Adult dataset, it achieved a ΔEOP of 0.08 with an accuracy of 84.34%, significantly outperforming other methods.
  • Equalized Odds: The method also showed strong performance for Equalized Odds, achieving a low ΔEO of 0.87 on the Adult dataset with high accuracy (81.49%).
  • Demographic Parity: For Demographic Parity, the method achieved a very low ΔDP of 0.02 on the Adult dataset with high accuracy (82.31%).
  • Vision and Language Models: When fine-tuning pre-trained models like ResNet18 and DeepMoji, the method achieved the lowest ΔEO across the board, demonstrating its effectiveness beyond tabular data.

Limitations and Future Work

  • Hyperparameter Sensitivity: The performance of the adaptive reweighing method is influenced by hyperparameters like the subgroup learning rate ($\alpha$) and step size ($\eta$). While the paper explores their impact, finding optimal settings can be dataset-dependent.
  • Equalized Odds Performance: While generally strong, the paper notes that the performance for Equalized Odds was "not evident" on the Synthetic dataset, suggesting potential limitations in certain scenarios.
  • Theoretical Guarantees: The paper provides theoretical guarantees for generalization error bounds, but further exploration of these bounds for specific fairness metrics could be beneficial.
  • Future Work: The authors suggest exploring further research on algorithmic fairness, particularly concerning the trade-offs between accuracy and fairness, especially for the Equalized Odds metric. They also highlight the potential for their method to improve fairness in various AI applications.

Summary updated

BibTeX
@article{hu2023boosting,
  author = {Zhihao Hu and Yiran Xu and Mengnan Du and Jindong Gu and Xinmei Tian and Fengxiang He},
  title = {{Boosting Fair Classifier Generalization through Adaptive Priority Reweighing}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2023},
}
Figure