Abstract
In this paper we present a scalable deep learning framework for finding Markovian Nash Equilibria in multi-agent stochastic games using fictitious play. The motivation is inspired by theoretical analysis of Forward Backward Stochastic Differential Equations (FBSDE) and their implementation in a deep learning setting, which is the source of our algorithm's sample efficiency improvement. By taking advantage of the permutation-invariant property of agents in symmetric games, the scalability and performance is further enhanced significantly. We showcase superior performance of our framework over the state-of-the-art deep fictitious play algorithm on an inter-bank lending/borrowing problem in terms of multiple metrics. More importantly, our approach scales up to 3000 agents in simulation, a scale which, to the best of our knowledge, represents a new state-of-the-art. We also demonstrate the applicability of our framework in robotics on a belief space autonomous racing problem.
Introduction
Finding a Nash Equilibrium—the point where no player can benefit by changing their strategy—is a fundamental challenge in game theory. In Stochastic Differential Games (SDGs), which involve numerous agents interacting in noisy, continuous-time environments, the problem becomes computationally intractable. Traditional numerical methods often fail due to the "curse of dimensionality" as the state space expands with the number of agents.
While Reinforcement Learning (RL) has addressed some of these challenges, it frequently suffers from poor sample efficiency and instability in continuous-time settings. This work bridges the gap between deep learning and the theoretical framework of Forward-Backward Stochastic Differential Equations (FBSDEs), reformulating complex partial differential equations (PDEs) as stochastic processes that neural networks can efficiently learn to simulate.
Methodology
The proposed framework, SDFP-FBSDE (Scaled Deep Fictitious Play FBSDE), integrates four key components to achieve high scalability and accuracy:
- Deep Fictitious Play (DFP): The multi-agent game is decoupled into individual optimal control problems. Each agent treats others' strategies as fixed from the previous iteration, iteratively updating its own strategy.
- FBSDE Reformulation: The individual control problems are transformed into a system of FBSDEs. A neural network approximates the "backward" component, representing the value function's gradient.
- Importance Sampling (IS): By modifying the "forward" drift of the SDE, the authors encourage agents to explore more diverse states. This acts as a form of data augmentation, improving generalization and convergence speed.
- Invariant Layers (IL): For symmetric games with interchangeable agents, permutation-invariant feature extractors are used. This allows a single network to be shared across all agents, reducing memory complexity from $O(N^2)$ to $O(N)$.
Additionally, the use of LSTM backbones instead of simple fully connected networks allows the model to better capture temporal dependencies inherent in SDEs, leading to lower error rates and faster convergence.
Experimental Results
The framework was evaluated on two distinct simulated environments: an Inter-bank Lending/Borrowing game and a Belief-Space Autonomous Racing scenario.
Scalability and Efficiency
The most significant achievement of this framework is its ability to scale to 3,000 agents. Previous state-of-the-art FBSDE methods were typically limited to around 100 agents due to hardware constraints. The combination of Invariant Layers and efficient batching ensures that both memory and time complexity scale linearly with the number of agents.
As shown in the complexity comparison, the proposed approach maintains nearly flat time complexity compared to the exponential growth of naive implementations.
Accuracy and Robustness
On the 10-agent inter-bank lending problem, SDFP-FBSDE achieved a Relative Square Error (RSE) of 0.0105, representing a fourfold improvement over the previous baseline (0.0423). In the autonomous racing task, which involves non-linear dynamics and partially observed states, the model successfully learned competitive behaviors, such as strategic corner-cutting, demonstrating its viability for complex robotics applications.
Conclusion
The SDFP-FBSDE framework represents a significant step forward in solving large-scale stochastic games. By leveraging the symmetry of agents and the theoretical strengths of FBSDEs, it achieves unprecedented scalability and sample efficiency. While the current 3,000-agent scale relies on the permutation-invariant property of symmetric games, future work could extend these techniques to handle more complex, asymmetric interactions or incorporate mean-field theory to further refine performance in the infinite-agent limit.
Summary updated