Achieving Fairness in Multi-Agent MDP Using Reinforcement Learning

Peizhong Ju, Arnob Ghosh, Ness ShroffICLR 2024

Introduction

In multi-agent systems such as wireless communication networks or financial markets, classical Reinforcement Learning (RL) typically aims to maximize the aggregate reward. While this approach is highly effective for single-agent scenarios, it can lead to disastrously unfair outcomes in multi-agent settings. For example, a central controller maximizing total throughput might allocate all available bandwidth to the user with the strongest signal, leaving others with nothing.

While fairness concepts like max-min or proportional fairness have been studied in systems with known rules, real-world environments are often unknown, requiring RL to learn system dynamics through interaction. This paper introduces the first provably efficient RL framework designed to achieve fairness in multi-agent, finite-horizon episodic Markov Decision Processes (MDPs) where the environment is initially unknown.

The Technical Hurdle: Breaking the Bellman Equation

Implementing fairness in RL is fundamentally difficult because fairness functions (specifically $\alpha$-fairness) are non-linear. This non-linearity creates a massive technical hurdle: it breaks the classical Bellman equation, which serves as the bedrock for most standard RL algorithms. Without the Bellman equation holding true, conventional tools like Q-learning or Value Iteration cannot be directly applied to find a fair policy.

Methodology: A Shift to Occupancy Measures

To bypass this "Bellman Break," the authors shift the RL perspective away from traditional value functions and toward state-action occupancy measures. Instead of calculating the value of a specific state, the framework evaluates how often a state-action pair will be visited. By expressing agent returns as linear functions of these measures, the fairness objective transforms into a solvable convex optimization problem.

The paper proposes three distinct algorithmic approaches based on this framework:

  1. Online FairMARL: To handle unknown environments, the authors employ an "optimism-based" approach. The algorithm maintains confidence intervals for rewards and transition probabilities. During each episode, it solves a convex optimization problem constrained by these confidence bounds, which encourages the exploration of potentially fair policies.
  2. Offline FairRL: For scenarios that rely entirely on pre-collected datasets, the paper proposes a "pessimistic" version. By subtracting an uncertainty penalty from the rewards, the algorithm ensures the learned policy does not over-rely on uncertain transitions, providing a safety net that guarantees the calculated fair policy is actually achievable.
  3. Fair Policy Gradient: Recognizing that solving a full convex optimization problem at every step is computationally heavy, the authors derive a policy-gradient method. This approach uses the chain rule to propagate fairness requirements through neural network updates, allowing the framework to scale to larger, more complex problems.

Key Theoretical and Empirical Results

The authors evaluated their algorithms using synthetic MDP environments, varying parameters like the number of agents ($N$), state space size ($S$), and horizon length ($H$) to validate their theoretical bounds. The results demonstrate significant advancements in provable RL fairness:

  • Sub-linear Regret: The Online FairMARL algorithm achieves a mathematically proven sub-linear regret bound of $\tilde{O}(\sqrt{K})$, where $K$ is the number of episodes. This guarantees that as the agent learns, the performance gap between its behavior and the "perfectly fair" optimal policy vanishes.
  • PAC Guarantees: The paper provides a "Probably Approximately Correct" (PAC) guarantee, quantifying the exact number of samples needed to find an $\epsilon$-optimal fair policy with high probability.
  • The Cost of Fairness ($C_F$): The theoretical difficulty of the problem (the regret) is scaled by a constant, $C_F$, which depends on the chosen fairness type. Because of the Lipschitz properties of the functions, max-min fairness is generally easier to bound than proportional fairness.
  • Empirical Validation: Simulations confirmed that the online algorithm consistently converges to the optimal fair value across different objectives (max-min, proportional, and $\alpha$-fairness), significantly outperforming "unfair" classical MDP approaches in terms of equity.

Limitations and Future Directions

While groundbreaking, the framework has a few notable limitations. First, it assumes a centralized controller that knows the rewards of all agents, which may not suit decentralized environments where agents wish to keep their reward data private.

Second, while the policy gradient method addresses larger spaces, the rigorous regret bounds are currently limited to tabular MDPs (where states and actions are discrete). Proving bounds for function approximation (neural networks) remains an open challenge. Finally, solving a convex optimization problem in every episode introduces computational overhead as the state-action space grows, highlighting the need for more efficient approximate solvers in future research.

Summary updated

BibTeX
@inproceedings{ju2024achieving,
  author = {Peizhong Ju and Arnob Ghosh and Ness Shroff},
  title = {{Achieving Fairness in Multi-Agent MDP Using Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=yoVq2BGQdP},
}
Figure