Long-Term Fairness with Unknown Dynamics

Tongxin Yin, Reilly Raab, Mingyan Liu, Yang Liu

Introduction

Most contemporary "fair" machine learning models are fundamentally myopic. They are designed to satisfy fairness constraints—such as demographic parity or equal opportunity—at a single point in time, without considering how those decisions influence the underlying population over the long term. In real-world applications like credit lending or college admissions, an algorithm's decisions today directly shape the qualification levels of the population tomorrow. If these feedback loops are ignored, even well-intentioned fairness constraints can inadvertently lead to "runaway inequality" or a collapse in overall societal utility.

This research reframes the challenge of long-term fairness as a constrained reinforcement learning (RL) problem. By treating fairness as a dynamic objective rather than a static constraint, the authors demonstrate that agents can learn to navigate unknown population dynamics, making short-term sacrifices to achieve more equitable and high-performing long-term equilibria.

The Problem: The Myopic Fairness Trap

Standard fairness interventions often treat the population as a static distribution. For example, a bank might ensure that loan approval rates are equal across demographic groups in the current cycle. However, machine learning models interact with living populations. If a group is historically disadvantaged, a myopic classifier might find that members of that group are less likely to repay loans. By strictly following current data, the classifier denies loans, which in turn prevents individuals from building credit or investing in their own qualifications.

This creates a feedback loop where the "qualification rate" of the disadvantaged group continues to drop because the system provides no incentive or opportunity for improvement. The authors argue that to break these cycles, we need agents that understand long-term fairness: the ability to maximize utility while keeping cumulative fairness violations (which they term distortion) within acceptable bounds over a long time horizon.

Methodology: Constrained Reinforcement Learning

The authors formalize this problem as a Reinforcement Learning task where an agent interacts with a population whose transition dynamics are initially unknown. The agent's goal is to maximize cumulative rewards (e.g., true positive rates or profit) while ensuring that the total fairness distortion remains sublinear over time.

Algorithmic Approaches

The paper introduces two distinct methodologies to solve this constrained RL problem:

  1. L-UCBFair: This is a model-free RL algorithm designed for continuous state and action spaces. It utilizes Least-Squares Value Iteration combined with an Upper Confidence Bound (UCB) to balance exploration and exploitation. L-UCBFair is significant because it is the first algorithm of its kind to provide theoretical "safety" guarantees, specifically achieving $O(\sqrt{K})$ bounds for both regret (utility loss) and distortion (fairness violations).
  2. R-TD3: For complex, non-linear environments where theoretical assumptions may not hold, the authors adapted the Twin-Delayed Deep Deterministic Policy Gradient (TD3) algorithm. By using a Lagrangian relaxation, they convert hard fairness constraints into a dynamic penalty. This allows the deep RL agent to prioritize long-term equity by adjusting its policy based on the history of fairness violations.

To simulate human response to AI decisions, the researchers employed Replicator Dynamics from evolutionary game theory. This framework models how individuals in a population update their state (e.g., their level of qualification) based on the rewards or opportunities they receive from the agent's actions.

Experimental Evaluation

The researchers tested their algorithms using both synthetic and real-world data:

  • Synthetic Environments: Using Gaussian-distributed features, the authors visualized "phase portraits" to track how population qualification rates moved over time under different policies.
  • UCI Adult Dataset: The authors adapted this classic benchmark into a dynamic environment. They simulated how demographic and income data would shift if the population's qualification levels responded to the classifier’s behavior over multiple iterations.

Key Insights

The "Investment" Strategy

A primary finding is that RL agents can learn an "investment" strategy. Unlike greedy models that only approve the most qualified candidates today, RL agents may approve more candidates from a disadvantaged group in the short term. This "investment" drives the group toward a higher qualification rate in the future, eventually creating a state where the group is naturally more qualified, benefiting both the individuals and the system's overall utility.

The Failure of Greed

Myopic "greedy" baselines—even those equipped with fairness constraints—frequently failed. In many simulations, these baselines drove the entire population toward "universal non-qualification." Because the greedy agent only optimizes for the immediate next step, it fails to see the long-term benefit of nurturing the population, leading to a collapse where eventually no one is qualified enough to be approved, and system utility drops to zero.

Theoretical and Empirical Success

L-UCBFair proved that it is possible to bound fairness violations mathematically, ensuring that as the agent learns, its mistakes grow progressively slower. Meanwhile, in empirical tests on the Adult dataset, R-TD3 demonstrated superior robustness, successfully steering the population toward high-qualification equilibria that myopic baselines could not reach.

Conclusion and Future Directions

This research highlights that reinforcement learning is a powerful tool for addressing the temporal dimensions of social fairness. However, several challenges remain. The theoretical guarantees of L-UCBFair rely on linear assumptions that may not capture the full complexity of social dynamics. Furthermore, there is an inherent trade-off between the provable safety of linear models and the high performance of deep RL. Future work will likely focus on developing algorithms that are both non-linear and provably safe, while integrating more sophisticated behavioral models from sociology and economics to better predict how populations respond to algorithmic interventions.

Summary updated

BibTeX
@inproceedings{yin2023long,
  author = {Tongxin Yin and Reilly Raab and Mingyan Liu and Yang Liu},
  title = {{Long-Term Fairness with Unknown Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=7INd5Yu9ET},
}
Figure