Computational Mean-field Games on Manifolds

Jiajia Yu, Rongjie Lai, Wuchen Li, Stanley OsherJournal of Computational Physics 2022

TL;DR

This paper extends Mean-field Games (MFG)—a framework for modeling the behavior of massive populations of rational agents—from flat Euclidean spaces to curved Riemannian manifolds. By combining differential geometry with a fast proximal gradient optimization algorithm on triangular meshes, the authors provide a robust toolkit for simulating how populations move, interact, and avoid obstacles on complex surfaces like spheres or character meshes.

What Problem Does This Paper Address?

Mean-field Games (MFG) are used to study how a "continuum" of agents (like a massive crowd or a swarm of drones) makes optimal decisions while interacting with one another. Traditionally, these models assume agents live in flat, Euclidean space (like a square grid).

However, many real-world problems don't fit into a flat box. Population flows happen on the Earth's surface (a sphere), and high-dimensional data often sits on low-dimensional "manifolds" (curved surfaces). Standard MFG tools struggle with these geometries because they rely on simple gradients and straight-line distances. This paper bridges that gap by formulating the math of Nash Equilibria specifically for Riemannian manifolds and providing a way to actually compute them.

Methods

The authors take a two-pronged approach:

  1. Theoretical Generalization: They redefine the core MFG equations—the Hamilton-Jacobi-Bellman (HJB) equation for agent optimality and the Continuity Equation for population flow—using the language of Riemannian metrics. They prove that for "Potential MFGs," finding the Nash Equilibrium is equivalent to solving a specific variational (optimization) problem on the manifold.
  2. Numerical Discretization: To solve these equations on arbitrary surfaces, they use triangular meshes.
  3. Representation: Population density is stored on the mesh vertices, while the "flux" (movement) is represented as vector fields on the triangles.
  4. Operators: They derive discrete versions of the gradient and divergence operators that respect the underlying geometry of the mesh.
  5. Algorithm: They adapt a Proximal Gradient Method. This involves a "gradient descent" step to minimize costs (like congestion or travel time) followed by a "proximal" step that projects the solution back onto the physical constraints of the continuity equation.

Datasets

The paper evaluates the model using several geometric meshes that serve as "synthetic datasets" for population flow:

  • U.S. Map: A subdomain of a sphere used to simulate agents moving across the country while avoiding specific "obstacle" regions.
  • "8"-shape: A complex genus-2 manifold used to test how the algorithm handles tricky topologies.
  • Homer & Kitten: Complex 3D character meshes used to demonstrate the flexibility of the method on non-mathematical, "real-world" shapes.
  • Unit Sphere: Used to test non-local interactions based on geodesic (curved) distances.

Key Insights and Ideas

  • Geometry Matters: The transition from flat to curved space isn't just a visual change; it changes the very definition of "optimal" movement. The authors show that by using the Riemannian metric $g$, agents naturally "feel" the curvature of the space.
  • Variational Stability: Solving the coupled forward-backward PDEs of MFG is notoriously difficult. By proving the equivalence to a variational form, the authors can use optimization techniques that are much more numerically stable and easier to implement.
  • Mesh Flexibility: By using triangular meshes, the framework can handle any shape that can be "triangulated," including surfaces with holes, sharp boundaries, or complex character geometries, without needing custom coordinate transformations.

Key Results

  • Obstacle Avoidance: In the U.S. map and "8"-shape experiments, agents successfully "sensed" high-cost obstacle regions and navigated around them to reach their target distribution.
  • Congestion vs. Dispersion: The authors demonstrated that changing the "interaction cost" significantly alters behavior. For example, on the "Homer" mesh, a "congested" cost forced agents to move in a more compact, efficient manner compared to a vanilla model.
  • Computational Efficiency: The proximal gradient method proved efficient. For meshes with roughly 2,500 to 3,000 vertices, the algorithm reached a solution in 2 to 5 minutes on a standard consumer laptop (Intel i7, 16GB RAM), maintaining low KKT residues (a measure of how close the solution is to the true Nash Equilibrium).

Limitations and Future Work

  • Dimensionality: The current numerical implementation is tailored for 2D manifolds (surfaces) embedded in 3D space. Extending this to higher-dimensional manifolds would require different discretization strategies, such as tetrahedral meshes or mesh-free methods.
  • Potential Games Only: The optimization approach relies on the game being a "Potential MFG." Many complex social or economic games are "non-potential," meaning they cannot be written as a single optimization problem. Solving these on manifolds would require different types of solvers (e.g., primal-dual or fixed-point methods).
  • First-Order Accuracy: The current algorithm is a first-order method. The authors suggest that exploring higher-order numerical schemes could further improve the precision of the population flow.

Summary updated

Abstract

Conventional Mean-field games/control study the behavior of a large number of rational agents moving in the Euclidean spaces. In this work, we explore the mean-field games on Riemannian manifolds. We formulate the mean-field game Nash Equilibrium on manifolds. We also establish the equivalence between the PDE system and the optimality conditions of the associated variational form on manifolds. Based on the triangular mesh representation of two-dimensional manifolds, we design a proximal gradient method for variational mean-field games. Our comprehensive numerical experiments on various manifolds illustrate the effectiveness and flexibility of the proposed model and numerical methods.
BibTeX
@article{yu2022computational,
  author = {Jiajia Yu and Rongjie Lai and Wuchen Li and Stanley Osher},
  title = {{Computational Mean-field Games on Manifolds}},
  journal = {Journal of Computational Physics},
  year = {2022},
}
Figure