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

Synthesis of Reward Machines for Multi-Agent Equilibrium Design (Full Version)

Muhammad Najib, Giuseppe PerelliarXiv 2024

TL;DR

This paper introduces a formal framework for equilibrium design in multi-agent systems using finite-state "reward machines" to dynamically incentivize desired behaviors. By transforming the incentive design problem into an augmented auxiliary game, the authors demonstrate that finding an approximately optimal reward structure is decidable and lies within the $\Delta^P_2$ complexity class. This allows a system designer to automatically synthesize history-dependent incentives that guide rational agents toward globally optimal outcomes.

What Problem Does This Paper Address?

In multi-agent systems, independent agents act rationally to maximize their own preferences, which often leads to suboptimal outcomes for the system as a whole (e.g., traffic congestion). While mechanism design solves this by building entirely new games from scratch, equilibrium design tackles situations where the game structure is already fixed. In this setting, a designer can only modify the game's incentive structures (such as offering subsidies or bonuses) to steer the agents toward a better Nash Equilibrium.

Prior approaches to equilibrium design relied on static, memoryless subsidy schemes—meaning an agent is rewarded simply for being in a specific state. However, static rewards cannot capture history-dependent incentives (e.g., "reward the delivery robot only if it chose the safer corridor to get here"). This paper addresses this gap by using Reward Machines (finite-state Mealy machines) to implement dynamic, history-aware incentives within multi-player mean-payoff games. The core challenge is the payoff improvement problem: deciding whether a bounded reward budget can successfully boost the designer's global payoff past a specific threshold.

Methods

The authors model the multi-agent system as a concurrent game where both the players and the designer have quantitative goals defined by mean-payoff objectives (the long-run average reward).

To solve the payoff improvement problem, they introduce a technique called Reward Engineering:

  1. Auxiliary Game Reduction: They construct an auxiliary game ($\mathcal{G}'$) that adds the designer into the game as an active player ("Agent 0"). At each step, Agent 0's actions consist of choosing how much reward to distribute to the other players, subject to a strict budget constraint ($\beta$). The cost of these rewards is directly subtracted from Agent 0's payoff.
  2. Strategy-to-Machine Translation: They prove a mathematical correspondence showing that any winning strategy for Agent 0 in this auxiliary game can be compiled directly back into a finite-state reward machine for the original game.
  3. $\epsilon$-Approximation Framework: Because mean-payoff games can sometimes require infinite memory to achieve absolute mathematical optimality, an exact binary search might never terminate. To guarantee algorithmic termination, the authors develop an approximation algorithm (Algorithm 1) that computes solutions within an arbitrarily small error margin ($\epsilon$).

The paper analyzes two perspectives: the weak improvement problem (optimistic: assuming agents will pick the best possible equilibrium for the designer) and the strong improvement problem (pessimistic: assuming agents will pick the worst possible equilibrium).

Datasets

Not discussed in the paper. This work is purely theoretical and algorithmic; no empirical datasets or benchmarks were evaluated.

Key Insights and Ideas

  • Memory is a Game-Changer: Dynamic incentives are strictly more powerful than static ones. As illustrated in the paper's robot environment example, a robot might normally take a risky path ($r$) over a safe path ($l$). A memoryless subsidy cannot incentivize the safe path efficiently, but a reward machine can remember the path history and selectively reward the robot only when it reaches the destination via the safe route.
Figure 1: Graphical representation (left) and game arena (right) for Example 1.
  • The Active Designer: Turning the passive designer into an active player in an augmented game elegantly collapses a complex synthesis problem into a standard game-theoretic verification problem.
  • The Infinite Memory Paradox: The authors reveal that finding the absolute best reward machine can be impossible because optimal payoffs in mean-payoff games sometimes demand infinite memory. This elegantly justifies why computer scientists must settle for $\epsilon$-approximate finite-state reward machines.

Key Results

  • Complexity Classification: The authors prove that both the strong and weak variants of the $\epsilon$-improvement problem are decidable in polynomial time using a Turing machine equipped with an NP oracle, placing them firmly in the $\Delta^P_2$ ($\text{P}^{\text{NP}}$) complexity class.
  • Hardness Proofs: They establish lower bounds showing that the strong improvement problem is NP-hard (via a reduction from the Hamiltonian Path problem) and the weak improvement problem is coNP-hard.
  • Automated Synthesis: The paper provides a concrete recipe to automatically construct the underlying Mealy reward machine once a valid strategy profile in the auxiliary game is identified.
Figure 2: Reward machine M.

Limitations and Future Work

A primary limitation is that the framework assumes players operate with perfect information and finite memory. Additionally, the necessity of using $\epsilon$-approximations means the system cannot guarantee absolute mathematical optimality, though it can get arbitrarily close.

For future work, the authors suggest:

  • Combining quantitative mean-payoff objectives with qualitative Linear Temporal Logic (LTL) goals in a lexicographic order.
  • Exploring multi-valued logics like LTL[F] to handle richer rational verification scenarios.
  • Integrating reward machines with normative systems (dynamic norms) to explore the balance between obligations (restricting actions) and incentives (rewarding actions).

Summary updated

BibTeX
@misc{najib2024synthesis,
  author = {Muhammad Najib and Giuseppe Perelli},
  title = {{Synthesis of Reward Machines for Multi-Agent Equilibrium Design (Full Version)}},
  year = {2024},
  eprint = {2408.10074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.10074},
}
Figure