Mean-Field Control on Sparse Graphs: From Local Limits to GNNs via Neighborhood Distributions

Tobias Schmidt, Kai CuiNeurIPS 2026

TL;DR

When coordinating millions of agents, standard multi-agent reinforcement learning (MARL) hits a wall—unless you assume everyone interacts equally with everyone else (Mean-Field Control). Real-world networks like power grids and social webs aren’t well-mixed soups; they are sparse graphs where local structure is everything. This paper rebuilds Mean-Field Control for sparse networks by tracking distributions of local neighborhoods rather than just individual states, proving along the way why Graph Neural Networks (GNNs) are the mathematically natural tool for the job.

What Problem Does This Paper Address?

Imagine trying to coordinate thousands of routers, drones, or epidemic interventions. Tracking every agent's exact state creates an exponential explosion of possibilities—the infamous curse of dimensionality.

Classical Mean-Field Control (MFC) sidesteps this by taking the limit as the number of agents $N \to \infty$. It assumes agents are interchangeable and interact via a global average—the "mean field." This works brilliantly if everyone talks to everyone (a complete, dense graph).

However, real-world systems are usually sparse. On a power grid or in a social network, you only interact with a handful of immediate neighbors. Because everyone's local wiring is different and stochastic, symmetry breaks down. Two networks can have the exact same global average of infected nodes, yet require completely different quarantine strategies depending on whether those infections are clustered together or scattered. Classical MFC is blind to this distinction.

Methods

To bring MFC to sparse graphs without losing its mathematical elegance, the authors change what "state" means.

Instead of defining the global system state as a probability distribution over individual agent states (e.g., "30% of nodes are infected"), they lift the state space to a probability distribution over decorated rooted graphs—essentially, local network subgraphs centered on a specific agent ("rooted"), with each node labeled by its current state ("decorated"). Using Benjamini–Schramm (local weak) convergence—a way of taking the infinite limit of sparse graphs by sampling random local views—they formulate a rigorous Sparse-MFC (SMFC) problem.

Figure 1: Overview of the Sparse Mean-Field Control Framework. (Top Left) The physical N-agent system on a sparse graph where agents interact locally. (Top Right) The rigorous mean-field limit where the state is redefined as a probability measure µt over the space of decorated rooted graphs. (Bottom) Our Horizon-Dependent Locality result (Theorem 2) establishes the (T −t)-hop neighborhood at time t as sufficient statistic for optimal control.

While a distribution over potentially infinite subgraphs sounds impossible to compute, the authors tame it using a Lifted Markov Decision Process (MDP) and a hierarchical policy gradient architecture (SMFAC):

  1. GNN Encoder & Global Pooling: A message-passing GNN encodes each node's local neighborhood across a finite training graph, then averages these embeddings (mean pooling) to represent the global neighborhood distribution.
  2. Meta-Policy: An actor network reads this pooled summary and outputs parameters $\psi_t$ for a shared local policy.
  3. Decentralized Execution: Individual agents plug their immediate local neighborhood into that shared local policy to pick actions—enabling Centralized Training, Decentralized Execution (CTDE).

Datasets

Rather than static datasets, the authors evaluate their RL framework on two synthetic SIR (Susceptible-Infected-Recovered) epidemic control environments:

  • A $20 \times 20$ grid topology (400 agents).
  • A graph consisting of 20 disjoint triangles (60 agents), specifically constructed to test scenarios where concentrated vs. dispersed infections yield identical global state averages but require distinct local interventions.

Key Insights and Ideas

  • Horizon-Dependent Locality (Theorem 2): How much of the graph does an agent actually need to see? For a finite time horizon $T$, the optimal action at step $t$ depends strictly on the $(T - t)$-hop neighborhood. Information simply cannot travel faster than one hop per step. As you approach the deadline $T$, your required field of view shrinks down to zero.
  • Why Shallow GNNs Work Anyway (Theorem 6): Running a $(T-t)$-layer GNN can still be expensive if $T$ is large. The authors prove that if single-neighbor interactions aren't overly strong (satisfying a spatial decay condition $\alpha \Delta^2 < 1$, where $\Delta$ is max node degree and $\alpha$ is per-edge influence), truncating the GNN to a small, fixed depth $k \ll T$ incurs an error that decays exponentially with $k$.
  • GNN + Readout isn't just a heuristic: In MARL on graphs, slapping mean-pooling onto a GNN is standard practice. By combining Deep Sets (for permutation invariance) and the Weisfeiler-Leman test (for graph isomorphism), the authors prove this exact architecture is a direct mathematical implementation of integration over the sparse mean-field state space.
  • Classical MFC is just radius zero: If you shrink the neighborhood radius to zero (or make the graph fully connected), this entire framework cleanly collapses back into standard Mean-Field Control.

Key Results

  • Theoretical Convergence: The authors prove that optimal values on finite graphs converge to the infinite SMFC limit as $N \to \infty$ (Theorem 1), and that policy gradients computed on finite graphs via standard algorithms like PPO asymptotically match the true limiting gradient (Theorem 5).
  • Empirical Validation: On the $20 \times 20$ SIR grid, classical aggregate MFC applies clumsy, uniform interventions because it cannot tell neighborhoods apart; SMFAC learns targeted, selective interventions and achieves lower loss. On the 20 disjoint triangles task, a zero-message-passing baseline fails to distinguish clustered from dispersed outbreaks, whereas a 1-layer GNN successfully separates them and finds the right control strategy. (Note: Specific numerical metrics are deferred to the paper's appendix, which is not included in the main text).

Limitations and Future Work

  • Degree & Influence Constraints: The exponential truncation guarantee (Theorem 6) relies on a uniform maximum degree $\Delta$ and sufficiently weak per-edge influence ($\alpha \Delta^2 < 1$). High-degree hubs or systems near phase transitions can make this bound vacuous.
  • 1-WL Expressivity Limits: Because standard message-passing GNNs are bounded by the 1-Weisfeiler-Leman isomorphism test, they can underfit if optimal control hinges on distinguishing complex local cycles that look identical to 1-WL (though higher-order $k$-GNNs can be swapped in).
  • Scaling Radius vs. Graph Size: While computational complexity no longer depends on total agents $N$, neighborhood sizes can still grow as $O(\Delta^{T-t})$ with the horizon.
  • Future Directions: Extending this cooperative control framework to competitive Sparse Mean-Field Games (MFGs), and tackling infinite-horizon average-reward settings (which will require new ergodicity assumptions).

Summary updated

Abstract

Mean-field control (MFC) offers a scalable solution to the curse of dimensionality in multi-agent systems but traditionally hinges on the restrictive assumption of exchangeability via dense, all-to-all interactions. In this work, we bridge the gap to real-world network structures by proposing a rigorous framework for MFC on large sparse graphs. We redefine the system state as a probability measure over decorated rooted neighborhoods, effectively capturing local heterogeneity. Our central contribution is a theoretical foundation for scalable reinforcement learning in this setting. We prove horizon-dependent locality: for finite-horizon problems, an agent's optimal policy at time t depends strictly on its (T-t)-hop neighborhood. This result renders the infinite-dimensional control problem tractable and underpins a novel Dynamic Programming Principle (DPP) on the lifted space of neighborhood distributions. Furthermore, we formally and experimentally justify the use of Graph Neural Networks (GNNs) for actor-critic algorithms in this context. Our framework naturally recovers classical MFC as a degenerate case while enabling efficient, theoretically grounded control on complex sparse topologies.
BibTeX
@inproceedings{schmidt2026mean,
  author = {Tobias Schmidt and Kai Cui},
  title = {{Mean-Field Control on Sparse Graphs: From Local Limits to GNNs via Neighborhood Distributions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=lod8FKUWPS},
}
Figure