Fair Off-Policy Learning from Observational Data

Dennis Frauen, Valentyn Melnychuk, Stefan Feuerriegel

Introduction Algorithmic decision-making must be fair for legal, ethical, and societal reasons. While extensive research has focused on ensuring fairness in machine learning predictions (e.g., "Will this person default on a loan?"), comparatively little effort has addressed fairness in decision-making (e.g., "Should we give this person a loan?").

This paper introduces FairPol, a novel neural network-based framework designed to learn fair decision-making rules from historical, potentially biased observational data. By distinguishing between "action fairness" (treating similar people the same regardless of sensitive attributes) and "value fairness" (ensuring different demographic groups receive similar benefits), FairPol provides a flexible toolkit for building algorithmic systems that are both optimal and ethically grounded.

The Challenge of Off-Policy Learning The core challenge lies in off-policy learning, where the goal is to find a new, improved policy by analyzing data generated by an older, historical policy. If the historical policy was biased—such as a hiring tool that favored men—a standard machine learning model will likely "bake in" those biases. Simply removing sensitive attributes like gender or race is insufficient because other variables often act as proxies. We need a robust, scalable framework for learning fair policies from observational data that actively accounts for and mitigates these ingrained biases.

The FairPol Framework To address this, the authors propose FairPol, a two-step neural framework compatible with standard causal inference estimators like the Direct Method (DM), Inverse Propensity Weighting (IPW), and Doubly Robust (DR) estimators.

FairPol Architecture
  1. Step 1: Fair Representation Learning (Action Fairness): To ensure decisions do not depend on sensitive attributes ($S$), the model learns a latent representation ($\Phi$) of the data. It employs an adversarial domain confusion loss: one part of the network tries to predict the outcome, while an adversary network tries to guess the sensitive attribute from the representation. The base network is trained to "confuse" the adversary, effectively scrubbing sensitive information while retaining data useful for decision-making.
  2. Step 2: Custom Objectives (Value Fairness): Once the representation is "blind" to sensitive traits, the model optimizes the policy value. The authors introduce specific flavors of value fairness, such as envy-free fairness (ensuring the difference in average utility between groups is below a certain threshold) and max-min fairness (maximizing the utility of the worst-off group).

Key Insights and Empirical Results The researchers evaluated FairPol on simulated credit-lending data and real-world data from the Oregon Health Insurance Experiment (assigning health insurance to minimize medical costs while ensuring gender fairness).

  • Action vs. Value Fairness: Fairness is not a monolith. Practitioners might want a policy that ignores gender (Action Fairness) or one that ensures men and women achieve the same health outcomes (Value Fairness). FairPol allows decision-makers to choose or combine these constraints.
  • Effectiveness and Robustness: In simulated experiments, FairPol successfully reduced "action unfairness" to near zero, whereas standard unrestricted policies showed significant bias. It performed consistently well regardless of the underlying policy value estimator used.
  • Theoretical Guarantees: Beyond empirical results, the authors provide generalization bounds, offering mathematical confidence that a policy appearing fair on training data will likely remain fair when deployed in the real world.

The Price of Fairness As expected in fair machine learning, there is a trade-off between strict fairness and overall utility.

Trade-off between policy value and fairness constraints

Enforcing strict fairness constraints slightly reduces the overall policy value (total utility). However, FairPol's hyperparameter tuning allows decision-makers to navigate this trade-off smoothly, balancing ethical requirements with system performance. As the fairness constraints (like the envy-freeness parameter) become stricter, the policy values for different demographic groups converge, albeit at a slight cost to the overall average policy value.

Limitations and Future Work While FairPol is a significant step forward, the current framework focuses on binary decisions (e.g., Yes/No). Extending this to multiple discrete actions or continuous treatments is a logical next step. Additionally, adapting these fairness notions to sequential decision-making (reinforcement learning)—where decisions today affect an individual's state tomorrow—presents an exciting avenue for future research. Finally, if a sensitive attribute is perfectly correlated with a necessary feature, achieving perfect fairness without sacrificing significant performance remains an open challenge.

Summary updated

BibTeX
@inproceedings{frauen2024fair,
  author = {Dennis Frauen and Valentyn Melnychuk and Stefan Feuerriegel},
  title = {{Fair Off-Policy Learning from Observational Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=poEPRuNvM3},
}
Figure