NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantitative Fairness Games

Alessandro Bianco, Marco Faella, Fabio Mogavero, Aniello MuranoarXiv 2010 · DOI

TL;DR

This paper introduces and analyzes "Quantitative Fairness Games," where a scheduler (Player 0) fights against an adversarial environment (Player 1) to ensure that different system tasks are executed with precise long-run frequencies. The authors prove that determining whether the scheduler has a winning strategy for these quantitative fairness goals is CoNP-complete. However, if the environment is removed, the problem simplifies significantly and can be solved in polynomial time using linear programming.

What Problem Does This Paper Address?

In concurrent systems, multiple processes compete for shared resources. To ensure system stability, schedulers rely on the concept of fairness—traditionally defined qualitatively as ensuring that every process gets to make progress infinitely often.

However, classical qualitative fairness has a major loophole: a process could technically run infinitely often but have an asymptotic frequency of zero (e.g., waiting exponentially longer each time before getting a turn). To fix this, the authors explore quantitative fairness, which enforces strict mathematical constraints on how often tasks occur. They study three specific quantitative goals on colored graphs (where colors represent different tasks/processes):

  1. Balanced: All tasks achieve the exact same long-run asymptotic frequency.
  2. Bounded Difference: The absolute difference between the execution counts of any two tasks remains strictly bounded by a constant at any point in time.
  3. Frequency-$f$: Tasks occur according to a pre-defined target frequency vector $f$ (useful for priority scheduling).

The paper tackles the challenge of verifying these properties in a game-theoretic setting: can a scheduler force a system to be quantitatively fair regardless of the unpredictable, non-deterministic choices made by the environment?

Methods

The authors model the problem as a two-player game played on a finite colored graph (an arena). Player 0 represents the scheduler, and Player 1 represents the environment or internal non-determinism of the jobs.

To establish the computational complexity of finding a winning strategy, the authors use two primary techniques:

  • For the Upper Bound (CoNP-membership): They prove that quantitative fairness goals are prefix-independent (ignoring finite initial delays) and convex (closed under shuffling). By leveraging established game theory determinacy theorems, they demonstrate a crucial structural property: if Player 1 can win, they can always do so using a memoryless strategy (a strategy that depends only on the current state, not the history). This allows an algorithm to guess a memoryless strategy for Player 1 and verify its validity efficiently.
  • For the Lower Bound (CoNP-hardness): They perform a reduction from the boolean formula validity (tautology) problem. They construct a specialized gadget graph where Player 1's path choices correspond to truth assignments for variables, forcing Player 0 to balance the path's colors if and only if the formula is a tautology.

For the single-player graph setting (where Player 0 controls all moves), they reduce the frequency-$f$ goal to checking the feasibility of a system of linear equations, mapping edge flows to target frequencies.

Datasets

Not discussed in the paper. This is a theoretical computer science paper focused on complexity proofs and algorithmic formulations; no empirical datasets or benchmarks were used.

Key Insights and Ideas

  • Asymmetry in Memory Requirements: A fascinating "aha moment" in the paper is that while Player 0 (the scheduler) often requires infinite memory to maintain balance—such as tracking exactly which job has run less frequently so far—Player 1 (the adversary) never needs memory to defeat Player 0.
  • The Complexity Jump: Finding a quantitatively fair path in a single-player graph is easy (PTIME). However, introducing a second adversarial player causes a significant complexity jump to CoNP-complete, making the synthesis of robust schedulers inherently harder.

Key Results

  • CoNP-Completeness: The problem of checking whether Player 0 has a winning strategy for balanced, bounded difference, or frequency-$f$ goals is proven to be CoNP-complete.
  • PTIME for Graphs: In the absence of an adversary, verifying if a graph contains a path matching a specific target frequency vector $f$ is solvable in polynomial time (PTIME).

The authors illustrate these concepts using a non-preemptive scheduling example of concurrent jobs containing conditional branching:

Figure 1: A job in a concurrent program.

This job structure maps directly into a two-player game arena where boxes represent the environment's choices and circles represent the scheduler's choices:

Figure 2: The non-preemptive scheduling game cor- responding to two jobs of the type in Figure 1.

To prove hardness, the authors utilize the following structural subgraph gadget to embed boolean clauses into the game's color-tracking mechanism:

Figure 3: The j-th subgraph A j of A. The dotted edges from vj,i to vj,i+1 is present iff ψi ∈ψ(xj), and analogously for the lower branch.

Limitations and Future Work

The CoNP-completeness result is fundamentally a negative result for practical implementations, implying that any exact deterministic algorithm will scale poorly because it must implicitly evaluate an exponential number of adversarial memoryless strategies.

To bypass this limitation, the authors suggest exploring practically efficient heuristic algorithms tailored to specific subclasses of games. Additionally, they propose a compelling open question: if a graph or game possesses no perfectly balanced or bounded path, how do we mathematically define and find the "most balanced path" possible? This would require developing a new order relation over infinite color sequences.

Summary updated

BibTeX
@misc{bianco2010quantitative,
  author = {Alessandro Bianco and Marco Faella and Fabio Mogavero and Aniello Murano},
  title = {{Quantitative Fairness Games}},
  year = {2010},
  eprint = {1006.5097},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1006.5097},
}
Figure