Enforcing Fair Predicted Scores on Intervals of Percentiles by Difference-of-Convex Constraints

Yutian He, Yankun Huang, Yao Yao, Qihang Lin

TL;DR

This paper introduces a novel approach to machine learning fairness by focusing on enforcing fairness only within specific percentile intervals of predicted scores, rather than across the entire distribution. This "partial fairness" allows for better predictive performance and aligns with practical concerns where fairness is more critical in contested decision regions. The authors propose a difference-of-convex (DC) optimization framework solvable by an inexact DCA (IDCA) algorithm, providing theoretical guarantees and demonstrating empirical effectiveness.

What Problem Does This Paper Address?

Ensuring fairness in machine learning models is crucial, especially in high-stakes applications like loan applications or college admissions. Current fairness methods often aim for "full fairness," meaning fairness is enforced across all possible predicted scores. However, this can be overly restrictive, leading to a significant drop in predictive accuracy. More importantly, in many real-world scenarios, fairness concerns are not uniform across all score ranges. For instance, in admissions, individuals near the decision threshold are more likely to be scrutinized for fairness than those with extremely high or low scores. This paper addresses the limitation of full fairness by proposing a more nuanced approach: partial fairness, which selectively enforces fairness within specific percentile intervals of interest.

Methods

The core of this paper lies in its novel framework for achieving partial fairness. The authors introduce two statistical metrics, partial statistical parity (pSP) and partial demographic parity (pDP), to quantify fairness within a specified percentile interval. To implement this, they formulate the model training as a constrained optimization problem. The key innovation here is the use of difference-of-convex (DC) constraints. These constraints, derived from the partial fairness metrics, are then embedded into the training objective. The optimization problem is solved using an inexact difference-of-convex algorithm (IDCA), a variant of the difference-of-convex algorithm (DCA) that allows for approximate solutions to subproblems. The paper also provides theoretical analysis of IDCA's convergence and complexity, aiming to find a "nearly KKT point."

Datasets

The authors evaluate their proposed method on several publicly available datasets:

  • a9a: A dataset for predicting income, with gender as the sensitive attribute.
  • bank: A dataset for predicting term deposit subscriptions, with age as the sensitive attribute.
  • law school: A dataset for predicting bar exam pass rates, with race as the sensitive attribute.
  • ACS dataset: A dataset for predicting working adults' yearly income, with gender as the sensitive attribute.
  • CelebA dataset: Used for a deep learning experiment, predicting the "Attractive" attribute with gender as the sensitive attribute.

Key Insights and Ideas

  • Partial Fairness is More Practical: The paper argues that enforcing fairness only in critical percentile intervals (e.g., near decision boundaries) is more practical and less detrimental to predictive performance than enforcing full fairness across all scores.
  • DC Optimization for Partial Fairness: The formulation of partial fairness constraints as difference-of-convex (DC) functions allows for leveraging existing powerful optimization techniques.
  • IDCA for Efficient Training: The proposed IDCA algorithm provides a theoretically grounded and empirically effective way to solve the DC-constrained optimization problems arising from partial fairness.
  • Theoretical Guarantees: The paper provides complexity analysis for IDCA, offering theoretical assurances about its convergence properties, which is a significant contribution.

Key Results

  • Improved Accuracy-Fairness Trade-off: Across multiple datasets (a9a, bank, law school, ACS), the proposed partial fairness approach consistently achieves higher classification accuracy than baseline methods for comparable levels of fairness. For example, on the bank and law school datasets, the approach offers a superior accuracy-fairness trade-off.
  • Effective Score Distribution Alignment: Figures 3-8 visually demonstrate how the proposed method effectively aligns the score distributions between sensitive groups within the specified percentile intervals, achieving the desired partial fairness.
  • Robustness to Interval Choice: Experiments in Section G.6 show that the proposed method is robust to the choice of the percentile interval, maintaining high and stable fairness levels across different interval selections.
  • Theoretical Guarantees for IDCA: The paper provides theoretical guarantees for IDCA, showing it can find a nearly KKT point with a specific oracle complexity, which is a novel contribution for constrained DC optimization.

Limitations and Future Work

  • Choice of Interval: While the paper provides guidelines, the selection of the specific percentile interval I can still be a hyperparameter that influences the outcome. The authors suggest that users can select I based on historical data or by examining regions of significant unfairness.
  • Computational Cost: While IDCA is efficient, solving DC optimization problems can still be computationally intensive, especially for very large datasets or complex models.
  • Generalization of Metrics: The paper focuses on partial statistical parity and demographic parity. Future work could explore extending the partial fairness concept to other fairness metrics like group AUC fairness, equality of opportunity, and equality of odds, as briefly mentioned in Appendix A.
  • SSG vs. IDCA: While SSG (Algorithm 3) is presented as a comparison, it lacks theoretical guarantees and can sometimes fail to find feasible solutions, highlighting the importance of the theoretically sound IDCA.

Summary updated

BibTeX
@inproceedings{he2026enforcing,
  author = {Yutian He and Yankun Huang and Yao Yao and Qihang Lin},
  title = {{Enforcing Fair Predicted Scores on Intervals of Percentiles by Difference-of-Convex Constraints}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=ZY2jNXUeja},
}
Figure