Large-Scale Multi-Agent Deep FBSDEs

Tianrong Chen, Ziyi Wang, Ioannis Exarchos, Evangelos A. Theodorou

TL;DR

Researchers have developed a scalable deep learning framework that solves high-dimensional stochastic games with up to 3,000 agents—a massive leap from previous state-of-the-art methods that typically cap out around 100 agents. By combining Forward-Backward Stochastic Differential Equations (FBSDEs) with importance sampling and symmetry-aware neural networks, the team can find Nash Equilibria in complex systems like inter-bank lending and autonomous racing with unprecedented efficiency.

What Problem Does This Paper Address?

Finding a Nash Equilibrium (NE)—a state where no player can benefit by changing their strategy alone—is a central goal in game theory. In Stochastic Differential Games (SDG), where players make decisions in a noisy, continuous-time environment, this usually involves solving a system of coupled Hamilton-Jacobi-Bellman (HJB) equations.

The challenge is two-fold:

  1. The Curse of Dimensionality: Traditional numerical solvers for these partial differential equations (PDEs) fail as the number of states increases because they rely on grid-based discretization.
  2. The Curse of Many Agents: In Multi-Agent Reinforcement Learning (MARL), as you add more players, the complexity of internal interactions and the size of the required neural networks explode, making training unstable and computationally prohibitive.

Methods

The authors introduce SDFP-FBSDE (Scaled Deep Fictitious Play FBSDE), which builds on four key pillars:

  • Deep Fictitious Play (DFP): This decouples an $N$-player game into $N$ individual decision-making problems. Players iteratively update their strategies by assuming others' strategies are fixed from the previous round.
  • Deep FBSDE Framework: Instead of solving PDEs directly, the problem is transformed into a system of Forward-Backward Stochastic Differential Equations. A neural network learns the "adjoint states" (essentially the gradient of the value function), allowing the system to be simulated forward in time.
The FBSDE Network architecture for a single agent. It uses a backbone (like an LSTM or Fully Connected network) to propagate the value function and dynamics across time steps.
  • Importance Sampling (IS): The authors theoretically prove that adding a specific drift term to the forward process (and adjusting the backward process accordingly) doesn't change the final solution but significantly improves exploration and sample efficiency.
  • Invariant Layers (IL): For "symmetric games" where agents have identical dynamics (like banks in a market), the authors use Invariant Layers. This allows the model to treat agents as interchangeable, reducing memory complexity from $O(N^2)$ to $O(N)$.

Datasets and Environments

The framework was evaluated on three primary benchmarks:

  1. Inter-bank Lending/Borrowing: A classic problem where banks manage monetary reserves. This has an analytical solution, providing a "ground truth" for accuracy.
  2. Superlinear Inter-bank Dynamics: A more complex variant with non-linear drift where no analytical solution exists.
  3. Autonomous Racing in Belief Space: A robotics simulation where two cars compete on a track under partial observability (using an Extended Kalman Filter).

Key Insights and Results

  • Massive Scalability: The model successfully handled up to 3,000 agents. For context, baseline methods hit hardware memory limits at a fraction of that scale. The inclusion of Invariant Layers and batching keeps memory and time-per-iteration manageable even as the agent count grows exponentially.
Memory and time scaling comparisons. The proposed method (LSTM+IL+Batch) maintains low memory and time requirements as the number of agents increases, avoiding the exponential explosion seen in baselines.
  • Superior Accuracy: On the 10-agent inter-bank problem, the new method achieved a Relative Square Error (RSE) of 0.0105, compared to the baseline's 0.0423, while being significantly faster.
  • Efficiency Gains via Importance Sampling: Importance sampling was shown to drastically accelerate the convergence rate of the policy, especially when training data is limited. By proving that IS works for FBSDEs with drift, the authors provide a mathematical justification for why this "data augmentation" trick speeds up convergence.
  • Decoupled Competitive Behavior: In the racing example, the authors show that the BSDE naturally captures "competitive" vs "non-competitive" logic. When a competition loss is added, the agents naturally learn to "cut corners" to take the lead.

Limitations and Future Work

While the framework is highly scalable for symmetric games, its performance on heterogeneous games (where every agent is fundamentally different) was not the primary focus and would likely require more memory. Additionally, while Fictitious Play is powerful, its convergence in non-zero-sum games isn't always guaranteed for every possible cost function.

The authors suggest that future work could involve applying this to even more complex robotics scenarios and exploring how to extract informative features from highly noisy or partially observed input data.

Summary updated

BibTeX
@inproceedings{chen2021large,
  author = {Tianrong Chen and Ziyi Wang and Ioannis Exarchos and Evangelos A. Theodorou},
  title = {{Large-Scale Multi-Agent Deep FBSDEs}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=eT_Ozx3IWe2},
}
Figure