Introduction
Multi-Agent Reinforcement Learning (MARL) has become a cornerstone for modeling complex real-world systems, ranging from urban traffic management to financial market simulations. To manage the computational complexity of these high-dimensional environments, researchers frequently employ parameter sharing, where a single policy network controls multiple agents. While efficient, this technique introduces significant challenges in game-theoretic interpretation and the practical calibration of simulation parameters to match empirical data. This paper addresses these gaps by formalizing the equilibrium reached under parameter sharing and introducing CALSHEQ, a dual-RL algorithm for stable, automated calibration.
Theoretical Framework: Shared Equilibria
The authors demonstrate that parameter sharing fundamentally alters the underlying game dynamics. They introduce the concept of a Shared Equilibrium, defined as a symmetric pure Nash equilibrium within a higher-level "Functional Form Game." In this framework, the shared policy must learn to be robust across the entire distribution of agent "supertypes" it might represent. The paper provides mathematical proof that agents utilizing self-play in this setting naturally converge toward this Shared Equilibrium under conditions of extended transitivity and bounded rewards.
The CALSHEQ Algorithm
Calibrating MARL simulations—adjusting agent parameters so emergent behaviors (e.g., market share) match real-world targets—is traditionally a computationally expensive "black-box" optimization problem. Naive approaches like Bayesian Optimization (BO) often fail because large parameter jumps disrupt the agents' learning process.
To overcome this, the authors propose CALSHEQ (Calibration of Shared Equilibria). This method utilizes a two-timescale stochastic approximation framework:
- Shared Agent Policy: Learns the optimal behavior for agents given current parameters.
- RL Calibrator: A separate agent that adjusts the distribution of agent types to minimize the error between simulation outcomes and real-world targets.
By updating the calibrator on a slower timescale than the agents, CALSHEQ ensures that agents can adapt to shifting parameters smoothly, maintaining equilibrium throughout the training process.
Experimental Evaluation
The framework was evaluated in a simulated $n$-player market environment. In this scenario, 5 to 10 merchant agents compete for transactions among 500 customers, while also competing against a public reference facility. The task involved calibrating 23 parameters simultaneously to hit targets related to transaction distributions and market shares.
Key Results
CALSHEQ demonstrated significant improvements over the Bayesian Optimization baseline in terms of both accuracy and stability.
As shown in the total market share results, CALSHEQ's smooth updates prevent the catastrophic performance drops seen in the BO baseline. Furthermore, CALSHEQ proved highly effective at matching fine-grained behavioral distributions, such as transaction percentiles.
Conclusion
CALSHEQ provides a robust solution for the calibration of complex agent-based models. By treating calibration as a dual-RL problem on distinct timescales, the algorithm achieves high-fidelity alignment with real-world data without sacrificing the stability of the underlying multi-agent equilibrium. This approach sets a new baseline for controlling emergent behaviors in large-scale simulations.
Summary updated