Vairiational Stochastic Games

Zhiyu Zhao, Haifeng ZhangarXiv 2025 · DOI

Abstract

This paper introduces a unified decentralized framework that treats multi-agent stochastic games as a probabilistic inference problem. By reformulating general-sum games through the lens of variational inference, the authors provide a robust way to find $\epsilon$-Nash equilibria while naturally handling non-stationarity and unaligned agent objectives. The proposed framework, Variational Stochastic Games (VSG), is evaluated on complex synthetic environments, demonstrating superior convergence and stability compared to standard multi-agent reinforcement learning (MARL) baselines.

1. Introduction

In single-agent reinforcement learning (RL), the "Control as Inference" (CAI) framework has been highly successful by framing policy search as an inference problem. However, extending this to Multi-Agent Systems (MAS) is notoriously difficult due to two major hurdles: non-stationarity and unaligned objectives. In general-sum games, agents learn simultaneously, making the environment appear constantly shifting, and they often pursue competing goals. Existing variational approaches have largely been limited to cooperative settings. This work bridges that gap, providing a rigorous mathematical foundation for decentralized inference in competitive or mixed-motive stochastic games.

2. The Variational Stochastic Game Framework

The authors establish the Variational Stochastic Game (VSG) framework by defining optimality as a latent variable. Specifically, a binary random variable $O^i_t$ represents whether agent $i$ is "optimal" at time $t$. The objective is to maximize the likelihood of being optimal across a trajectory.

Graphical model of the VSG framework, illustrating the dependencies between states, actions, and optimality variables.

To make this inference tractable, the authors derive an Evidence Lower Bound (ELBO) for the log-likelihood of optimality. Maximizing this bound naturally introduces entropy regularization, which encourages exploration without the need for manual tuning. Furthermore, the framework incorporates variational opponent modeling, allowing agents to infer the strategies of others from observed history, even without access to their internal reward structures.

Two primary algorithms are introduced:

  • VPG (Variational Policy Gradient): A decentralized algorithm for tabular settings.
  • MAI (Multi-agent Inference): A variational actor-critic method designed for complex, continuous environments.

3. Experimental Evaluation

The framework was evaluated on two challenging synthetic environments: a Differential Game with a complex reward landscape and a Non-atomic Routing Game involving self-interested agents splitting commodities across routes.

Performance comparison in the Differential Game environment. MAI (red) demonstrates superior convergence to the global optimum compared to baselines.

In the Differential Game, the proposed MAI algorithm was the only method to consistently converge to the global optimum, whereas baselines like MADDPG and MASQL frequently became trapped in sub-optimal points. In the Routing Game, MAI achieved higher returns with significantly lower variance compared to independent DDPG and MASQL, highlighting its stability in decentralized settings.

4. Discussion and Conclusion

A key theoretical contribution of this work is the formal proof (Theorem 4.2) that policies derived from the VSG framework constitute an $\epsilon$-Nash equilibrium. This grounds the variational approach in game-theoretic principles. While the framework shows great promise, it faces computational overhead when modeling many opponents individually. Future work will explore mean-field approximations and applications to larger-scale systems with constrained communication. In summary, VSG provides a theoretically grounded and empirically robust path forward for decentralized multi-agent learning.

Summary updated

BibTeX
@misc{zhao2025vairiational,
  author = {Zhiyu Zhao and Haifeng Zhang},
  title = {{Vairiational Stochastic Games}},
  year = {2025},
  eprint = {2503.06037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.06037},
}
Figure