Continuous Strategy Replicator Dynamics for Multi-Agent Learning

Aram GalstyanarXiv 2009

Introduction

Multi-Agent Reinforcement Learning (MARL) involves multiple agents learning concurrently through interaction. Analyzing the long-term behavior of such systems is complex. While "replicator dynamics" from evolutionary biology have been used to study discrete action spaces, many real-world scenarios—such as auction bidding or investment levels—involve continuous strategy spaces. This paper extends replicator dynamics to continuous actions, modeling Q-learning agents with Boltzmann exploration through coupled integral-differential equations.

Methodology

The framework considers stateless Q-learning agents in repeated games with continuous action spaces $[0, 1]$.

  • Boltzmann Exploration: Agents select actions based on a distribution $P(x) \propto \exp(\beta Q(x))$, where $eta = 1/T$ is the inverse temperature. High $\beta$ implies greedy exploitation, while low $\beta$ implies random exploration.
  • Continuous Replicator Dynamics: The evolution of strategy probability density functions is described by integral-differential equations derived from the underlying Q-learning process.
  • Free Energy Minimization: Steady-state strategies are shown to minimize a "free energy" functional, which balances expected reward (energy) against exploration noise (entropy).

Theoretical Insights: Exploration as Entropy

A key finding is that the Boltzmann action-selection mechanism introduces an entropic term into the dynamics. Agents do not simply maximize payoffs; they minimize free energy, which inherently values strategy diversity.

Evolution of strategy probability distributions as the inverse temperature $\beta$ increases.

As shown in Figure 4b, the steady-state strategy profiles are continuous distributions. As the temperature decreases (increasing $\beta$), the entropic term vanishes, and the distributions collapse into Dirac delta functions that align with the game's pure Nash equilibria. An exception occurs in games with uniformly mixed Nash equilibria, where the replicator dynamics settle on the Nash equilibrium regardless of temperature because the uniform distribution already maximizes entropy.

Empirical Validation

The analytical predictions were tested against Monte Carlo simulations of Q-learning agents in various two-player games, including bi-linear and quadratic payoff structures.

Steady-state analysis and simulation validation for a bi-linear payoff game.

In bi-linear games, the equations accurately predict phase transitions. At high temperatures, agents settle into symmetric strategies, but as temperature drops, the system bifurcates into asymmetric steady states (Figure 3a). Across all tested games, the Monte Carlo simulations matched the predicted probability distributions almost perfectly (Figure 3b). In quadratic coordination games, the framework revealed "metastable" states where agents can become trapped in sub-optimal equilibria for long periods as temperature approaches zero.

Conclusion and Future Work

This research provides a robust mathematical bridge between discrete and continuous MARL. Future work includes extending the model to multi-state Markov games and applying statistical mechanics to analyze macroscopic behavior in systems with a large number of agents. Further formal proofs regarding the uniqueness of steady-state solutions are also required.

Summary updated

BibTeX
@misc{galstyan2009continuous,
  author = {Aram Galstyan},
  title = {{Continuous Strategy Replicator Dynamics for Multi-Agent Learning}},
  year = {2009},
  eprint = {0904.4717},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0904.4717},
}
Figure