Fairness for Robust Log Loss Classification

Ashkan Rezaei, Rizal Fathony, Omid Memarrast, Brian D. ZiebartAAAI 2020

Abstract

Developing classification methods with high accuracy that also avoid unfair treatment of different groups has become increasingly important for data-driven decision making in social applications. Many existing methods enforce fairness constraints on a selected classifier (e.g., logistic regression) by directly forming constrained optimizations. We instead re-derive a new classifier from the first principles of distributional robustness that incorporates fairness criteria into a worst-case logarithmic loss minimization. This construction takes the form of a minimax game and produces a parametric exponential family conditional distribution that resembles truncated logistic regression. We present the theoretical benefits of our approach in terms of its convexity and asymptotic convergence. We then demonstrate the practical advantages of our approach on three benchmark fairness datasets.

Introduction

In the rapidly evolving field of algorithmic fairness, most researchers take a "bolt-on" approach: they take a standard classifier like logistic regression and add constraints or penalties to force it to be fair. While functional, this often leads to complex, non-convex optimization problems or models that must rely on randomized decision rules to satisfy fairness requirements.

In their work, Rezaei et al. take a different path. Instead of patching an existing model, they re-derive a classifier from the ground up using the principles of distributional robustness. The result is a "truncated" version of logistic regression that is mathematically principled, computationally efficient, and highly effective.

Methodology: Fairness via Distributional Robustness

The core of this approach is a formulation based on Distributionally Robust Optimization (DRO). The learning process is framed as a two-player minimax game between a Predictor ($P$) and an Approximator ($Q$):

  • The Predictor ($P$): Aims to minimize the worst-case logarithmic loss while satisfying specific fairness constraints, such as Demographic Parity or Equalized Odds.
  • The Approximator ($Q$): Acts as an adversary, trying to find a distribution that maximizes the loss while still matching the basic statistics of the training data.

By solving this game using Lagrangian duality, a new parametric form for the classifier emerges. It resembles standard logistic regression, but with a critical modification: the probabilities are truncated. If the model's certainty for a specific group would violate fairness, the probability is capped at a threshold determined by the fairness requirements.

The mapping from standard probabilities to truncated probabilities under different fairness constraints.

Crucially, this objective is convex, meaning it can be solved reliably and efficiently using standard optimization tools like L-BFGS, avoiding the local optima issues prevalent in non-convex "bolt-on" methods.

Empirical Evaluation

The authors evaluated their "Fair Log-loss" approach on standard fairness benchmarks, including the UCI Adult dataset (gender bias) and the ProPublica COMPAS dataset (racial bias).

Key Results

  • Superior Trade-offs: On the Adult and COMPAS datasets, the Fair Log-loss method consistently achieved a better balance between accuracy and fairness than previous state-of-the-art methods. As shown in the COMPAS evaluation, the proposed method (DP-fair log loss) achieves lower test error for a given level of fairness violation compared to several baselines.
  • Efficiency: The algorithm is roughly 15–20 times faster than competing reduction-based methods. For example, training on the Adult dataset took approximately 5 seconds, compared to 80–100 seconds for baselines.
  • Theoretical Guarantees: The model provides proofs for asymptotic convergence, ensuring that with sufficient data, it converges to the fairest possible predictor closest to the true data distribution.
Accuracy-fairness trade-off on the COMPAS dataset, comparing DP-fair log loss against state-of-the-art baselines.

Conclusion

By re-engineering logistic regression from first principles of robustness, this work provides a principled framework for fair classification. The resulting truncated logistic regression offers a unique combination of theoretical rigor (convexity, convergence) and practical performance (speed, accuracy-fairness trade-offs). While the current model requires group membership attributes at test time—a limitation in some sensitive contexts—it sets a new standard for efficient and robust fair learning.

Summary updated

BibTeX
@inproceedings{rezaei2020fairness,
  author = {Ashkan Rezaei and Rizal Fathony and Omid Memarrast and Brian D. Ziebart},
  title = {{Fairness for Robust Log Loss Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=KsEWhib4pOK},
}
Figure