FairTest: Search-Based Fairness Testing for Multi-Agent Reinforcement Learning Systems

Xiaotong Wang, Xuan Xie
9/23/2026
cs.SEcs.LG
rl

No confident code implementation found for this paper.

Abstract

Multi-agent Reinforcement Learning (MARL) trains a team of agents that share one environment and learn their policies together. Training maximizes the team return, and a high return does not imply that the rewards are shared fairly among the agents in every episode.

Show full abstract

Testing is an established way to discover the failures of deep reinforcement learning, yet few methods address the fairness of MARL. In this work, we propose FairTest, a search-based testing approach that seeks the unfair executions of a MARL policy. The design combines search guidance with test prioritization. The guidance scores each candidate with three fitness functions. One measures the fairness of the runs already performed, another predicts the fairness from abstract states and fairness features, and the third reads the decision uncertainty from the policy. Crossover and mutation derive further candidates from the observed executions. The prioritization ranks the candidates by the predicted fairness and the decision uncertainty, so that the runs reach the candidates where failures are expected. FairTest is evaluated on three environments and two MARL algorithms, and four baselines are given the same budget. It detects the most fairness failures compared to three baselines with statistical significance and large effect sizes. The failure count exceeds that of the strongest baseline by 221% on average and coverage improves by an average of 23%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026fairtest,
  title  = {FairTest: Search-Based Fairness Testing for Multi-Agent Reinforcement Learning Systems},
  author = {Xiaotong Wang and Xuan Xie},
  year   = {2026},
  eprint = {2609.27309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.27309v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.27309.svg)](https://codeofpaper.com/paper/2609.27309)

Discussion