Stochastic Market Games

Kyrill Schmid, Lenz Belzner, Robert Müller, Johannes Tochtermann, Claudia Linnhoff-Popien · DOI

Abstract

Stochastic Market Games (SMG) extend traditional multi-agent reinforcement learning by introducing a market layer where self-interested agents can trade rewards or buy shares in each other's success. This framework transforms competitive mixed-motive scenarios into cooperative ones, steering agents toward Pareto-optimal outcomes without requiring a central controller. We demonstrate the effectiveness of SMGs across various benchmarks, showing they significantly outperform standard independent RL in internalizing externalities.

Introduction

In multi-agent systems (MAS)—such as autonomous fleets or automated factories—agents often encounter "mixed-motive" scenarios where individual goals conflict with the collective good, frequently resulting in a "tragedy of the commons." Standard independent reinforcement learning (RL) often fails in these settings as agents prioritize immediate individual gains, ignoring the negative externalities imposed on others. While human societies utilize markets and social institutions to coordinate behavior, artificial agents typically lack such mechanisms. This paper proposes Stochastic Market Games (SMG) to enable decentralized, self-interested agents to learn cooperative behavior through voluntary market interactions.

Methodology

The SMG framework augments a standard Markov Game with two primary components: Market Actions ($A^m$) and a Market Function ($\mathcal{M}$). Beyond environmental actions (e.g., movement), agents can perform market actions such as proposing trades or buying shares. The Market Function acts as a trusted intermediary that processes these actions and redistributes rewards based on voluntary agreements.

The Stochastic Market Game architecture, showing agents interacting with both the environment and a market function to redistribute rewards.

Two specific market mechanisms are explored:

  • Unconditional (Shareholder) Markets: Agents trade "shares" of future rewards. If Agent A owns a share of Agent B, A receives a dividend whenever B succeeds, aligning their long-term interests regardless of specific actions.
  • Conditional (Action) Markets: These involve bilateral contracts where Agent A pays Agent B a price if Agent B performs a specific action, allowing for direct negotiation over externalities.

Experimental Results

The researchers evaluated SMGs across several environments, including the Conflict Game, Iterated Prisoner’s Dilemma (IPD), and complex resource-allocation tasks like Smartfactory and Refinery.

Conflict game definition and overall reward performance. SMG agents maintain rewards near the Pareto frontier even as conflict increases, whereas standard stochastic game agents fail to coordinate.

Key findings include:

  • Reaching the Pareto Frontier: In the Conflict Game, SMG agents consistently achieved near-optimal collective rewards regardless of the conflict level ($\alpha$), while standard RL performance plummeted as goals diverged.
  • Solving Social Dilemmas: In the IPD, independent Q-learners usually converge to constant defection. With a market layer, agents consistently learned to cooperate after approximately 500 episodes.
  • Scalability and Robustness: In high-dimensional tasks with up to 16 agents, SMGs significantly outperformed baselines like MADDPG. Interestingly, Deep Q-Networks (DQN) were found to handle the expanded action space of markets more robustly than Proximal Policy Optimization (PPO).

Discussion and Conclusion

Stochastic Market Games demonstrate that self-interest can be leveraged as a feature rather than a flaw. By providing a mathematical mechanism for agents to "feel" their impact on others through financial-like incentives, SMGs offer a promising path toward robust coordination in decentralized systems. While current models assume a trusted entity for reward redistribution, future work will explore decentralized enforcement and endogenous pricing where agents learn to set their own trade values.

Summary updated

BibTeX
@inproceedings{schmid2021stochastic,
  author = {Kyrill Schmid and Lenz Belzner and Robert Müller and Johannes Tochtermann and Claudia Linnhoff-Popien},
  title = {{Stochastic Market Games}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/54},
}
Figure