Manuscript Offprint
arXiv:2610.23387Bayesian Learning of Parametric Mean Field Games with Common Noise
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Grégoire Lambrecht , Mathieu Laurière
Center for Data Science, New York University and NYU Shanghai. gl3048@nyu.edu
Shanghai Center for Data Science; NYU-ECNU Institute of Mathematical Sciences at NYU Shanghai; NYU Shanghai, Shanghai, People's Republic of China. mathieu.lauriere@nyu.edu
Abstract. We study the inverse problem of recovering unknown parameters governing the dynamics and rewards of Mean Field Games (MFGs) from partial observations of population trajectories, made stochastic by common noise. The observer seeks to recover a consistent parameter via Bayesian inference, facing the challenge that evaluating the likelihood requires solving a new Nash equilibrium (NE) for each candidate . Due to common noise, the mean-field evolution is stochastic and equilibrium policies are population dependent, which makes solving for each parameter computationally expensive. To overcome this, we introduce the Bayesian-Extended Mean Field Game (BE-MFG), whose single NE simultaneously encodes equilibrium policies for all parameters, enabling efficient learning of the conditional density of mean-field trajectories. We formalize parameter consistency and identifiability in MFGs with common noise and investigate conditions under which consistent parameter recovery is guaranteed. On three synthetic environments of various complexity, we recover the ground-truth parameter accurately from a small number of partial, stochastic observations, outperforming an adaptation of inverse reinforcement learning for MFGs. A fourth experiment, on public electricity market data, suggests that the approach can also be applied to real-world data.
Keywords. mean field games, common noise, inverse problems, Bayesian inference
1 Introduction
Learning in multi-agent environments presents significant hurdles due to the complex, often non-stationary, strategic interactions among agents. While Deep Reinforcement Learning has demonstrated remarkable results in small-scale games like Go (Silver et al., 2016, 2017), Chess (Silver et al., 2018), Poker (Heinrich and Silver, 2016), and complex strategy games such as StarCraft (Samvelyan et al., 2019) or Stratego (Perolat et al., 2022), extending these techniques to massive populations remains challenging. As the population grows, the joint state-action space expands exponentially, rendering traditional Multi-Agent Reinforcement Learning methods computationally infeasible (Buşoniu et al., 2008; Yang and Wang, 2020; Zhang et al., 2021; Gronauer and Diepold, 2022; Wong et al., 2023).
Mean Field Games (MFGs) (Lasry and Lions, 2007; Huang et al., 2006) address this scaling problem by modeling the interaction between a representative individual and the aggregate distribution of the population. MFGs simplify high-dimensional games into a system of coupled equations describing the optimal behavior of a single agent and the macroscopic evolution of the distribution.
This framework is highly effective for applications involving large populations in continuous spaces, such as economics (Lachapelle et al., 2016; Achdou et al., 2017), finance (Cardaliaguet and Lehalle, 2018; Yang et al., 2018), engineering (Djehiche et al., 2017), crowd dynamics (Lachapelle and Wolfram, 2011; Achdou and Porretta, 2018), biological swarming (Nourian et al., 2010; Fornasier et al., 2014), and large-scale network resource management (Hanif et al., 2016; Mao et al., 2022). In many realistic settings, the population is subjected to aggregate, macroscopic shocks (such as market fluctuations or weather events) which are modeled through common noise (Carmona et al., 2016). In recent years, the numerical resolution of high-dimensional MFGs has been advanced by deep learning and reinforcement learning (RL) techniques; see (Laurière et al., 2022; Hu and
Grégoire Lambrecht is partially supported by NSF Award 1922658.
Laurière, 2024) for reviews. In particular, model-free RL algorithms (Guo et al., 2019; Subramanian and Mahajan, 2019; Elie et al., 2020; Cui and Koepp, 2021; Angiuli et al., 2022; Yardim et al., 2023) learn equilibrium policies through direct interaction with an environment implementing the MFG, but do not address the question of building this environment from real data.
Challenges. Inferring unknown model parameters from observed trajectories is central to real-world applications where the game’s specifications are not known a priori. This inverse problem is closely related to Inverse Reinforcement Learning (IRL) and Imitation Learning (IL) for MFGs, which recover reward functions or dynamics from observed equilibrium trajectories (Chen et al., 2022, 2023; Anahtarci et al., 2024), but without common noise or with access to many individual state-action trajectories. The latter is often unrealistic, e.g., due to data protection constraints in epidemiology, economics, or finance. Moreover, when the environment incorporates common noise and the latent parameter is unknown, standard IRL techniques struggle for two reasons: (1) the observer only witnesses stochastic realizations of the mean-field trajectory, necessitating a probabilistic approach to identifiability and inference; (2) the equilibrium policies are in general population-dependent, hence more complex. In short, the main challenges we tackle are:
-
Learning MFG parameters in both the dynamics and the reward;
-
Using only (state) population-level information, possibly limited to certain time steps;
-
Extracting information from noisy mean-field trajectories due to common noise;
-
Handling population-dependent policies due to mean field stochasticity.
Main Contributions. In this paper, we address the challenge of learning the latent parameters of an MFG with common noise from observed population trajectories, either state-action or state-only, and potentially truncated in time. Our main contributions, summarized through Fig. 1, are:
-
We formalize the problem of parameter identifiability in MFGs with common noise, establishing theoretical conditions under which an observer can recover a parameter consistent with the observations, and the true parameter under identifiability, using Bayesian estimation, despite the latent nature of the common noise.
-
We introduce the Bayesian-Extended Mean Field Game (BE-MFG), a novel augmented game formulation that embeds the entire parametric family of MFGs. By computing a single equilibrium for the BE-MFG, we simultaneously solve for the equilibrium policies across all parameters, bypassing the need to repeatedly solve MFGs during the inference phase.
-
We propose a scalable method combining a deep Fictitious Play (FP) algorithm with a Feature-wise Linear Modulation (FiLM) architecture and Masked Autoregressive Flows (MAF) to efficiently approximate the posterior distribution over the parameters.
-
We report numerical experiments on three synthetic environments of increasing complexity, varying parameter dimensionality, state space size, and observation type, in which the ground-truth parameter is recovered and the method is compared against an adaptation of Mean-Field IRL (MF-IRL) (Chen et al., 2022). A fourth experiment, on public electricity market data, illustrates the potential applicability of the pipeline to real-world data.
Related Work. Our work relates primarily to IL and IRL in MFGs ((Shmaya and Ziliotto, 2025) considers players performing Bayesian learning during the game, a different question). IL for MFGs, which infers the equilibrium policies used by experts, has been studied in (Ramponi et al., 2023; Lambrecht and Laurière, 2026) from a theoretical perspective. On the IRL side, (Chen et al., 2022,

Figure 1. Solving the BE-MFG once yields a Nash equilibrium that simultaneously encodes equilibrium policies for all parameters; one can simulate trajectories to learn the conditional density, which, combined with the true observations via Bayes' rule, gives the posterior, and hence the MAP estimator and the BMA policy.
(2023) recover reward functions from observed behaviors. Recent extensions have incorporated Maximum Causal Entropy (Anahtarci et al., 2024, 2025b), average reward criteria (Alkır and Saldi, 2025), and kernel-based methods (Anahtarci et al., 2025a) to improve robustness and representational capacity. However, these methods typically assume deterministic mean-field at equilibrium (no common noise) and focus solely on the reward function, leaving the transition dynamics fixed and known. Furthermore, they often require computing the forward MFG equilibrium in the inner loop of the inference, which is computationally prohibitive; meta-IRL (Chen et al., 2024) still relies on nested optimization, and model-based RL for MFGs (Huang et al., 2024) learns dynamics by exploration rather than from expert trajectories. In contrast, our Bayesian framework handles general parametric uncertainty (encompassing both rewards and dynamics) under common noise. Crucially, by formulating the inference problem through the Bayesian-Extended MFG, our method uniquely bypasses the inner-loop equilibrium computation, solving for all parameterized policies in a single forward phase.
Organization of the Paper. In Sec. 2, we formalize the setting of Parametric Mean Field Games (PMFGs). In Sec. 3, we define the concepts of consistency and identifiability. Sec. 4 presents the Bayesian learning setting, introduces the BE-MFG, establishes its equivalence to the family of PMFGs and details our algorithmic approach. Finally, Sec. 5 demonstrates the effectiveness of our method through numerical experiments.
2.1 Mean field dynamics and Nash equilibria
Notation. For any integer , and . (resp. ) denotes the set of probability measures over a finite set (resp. a measurable space ). We otherwise use standard notation, all of which is defined, together with the abbreviations, in App. A.
Main components. Let be a finite state space, be a finite action space, be a Polish space for the common noise, be a probability measure for the common noise law, be the time horizon, and be the initial probability measure. Let , be a compact set of parameters, and a reference measure on . Let and be two measurable mappings representing the transition kernel and the reward function, being moreover bounded. For any , for any define and . A Parametric Mean Field Game (PMFG) associated to the parameter is denoted by a tuple . We call a family of PMFG the set . We define a strategy as a measurable mapping from to , and a policy as a sequence of strategies. A policy is denoted by , the set of all strategies is denoted by and the set of all such policies is denoted by . Elements of and are referred to as mean field and mean field sequences respectively.
Distribution evolution. Let and consider the MFG . For any pair of population distributions , any strategy , we define the mean-field transition operator as
This operator represents the evolution of the probability distribution of an agent between time and , given that at time the agent's state distribution was , the agent used strategy , the total population was distributed according to , and the common noise value is . We consider an independent and identically distributed (i.i.d.) sequence of random variables for the common noise. We denote the common noise trajectory as . For any , we define the mean field sequence by and
This sequence represents the evolution of the population distribution when all agents follow policy and are affected by the common noise trajectory . For any pair of policies , we define the mean field sequence by: ,
This sequence represents the evolution of the state distribution of a single agent following policy when all other agents follow policy and are affected by the common noise trajectory . Best response and Nash equilibrium. When the population of agents follows the policy , a single agent wishes to find a best response to , i.e., a policy maximizing the value function:
where the process is defined by , , and . Note that under these conditions, the law of the state (conditioned on the common noise) is . We denote the law of state-action pair by . If , we will simply denote . In the sequel, we will often omit to write explicitly the common noise , but the sequences and are random variables due to .
Definition 2.1. Let . For , the set of best responses to the PMFG is . is a (mean field) Nash equilibrium (NE) for if .
This is a fixed-point condition: it implies that when the entire population follows policy , the resulting mean-field flow creates a reward and transition structure such that the same policy remains optimal for any individual agent.
Assumption 2.2. For every , if and are two Nash equilibria to , then .
The existence and uniqueness of the NE for finite-state, discrete-time MFGs has been proved under various assumptions; see e.g. (Cui and Koepp, 2021) for the finite-horizon setting and (Saldi et al., 2018; Anahtarci et al., 2023) for the infinite horizon discounted setting. Moreover, our approach only requires uniqueness of the law of the state-action mean field . In the sequel we work under Assumption 2.2 and we will focus solely on equality of laws. For this reason, we are not interested in a specific policy being a NE, and we will denote by (resp. by ) a mean field trajectory (resp. the state-action mean field trajectory) associated to some NE policy . Both are random variables due to the common noise.
Observations. We will consider two types of observations: the observation of state-action mean-fields trajectories , and the observation of only state mean-fields trajectories . To have a common framework and simplify the notation, we will denote the observations by and specify case by case whether it represents or . We denote the space of by , referring either to or . For any , we will write a realization of the state or state-action mean-fields trajectory, associated to the unique law of the NE (Assumption 2.2).
In the following, we will consider situations where the observer has only access to some time steps in the mean-fields trajectories. For this purpose, let us introduce the following notation: for any set of accessible time steps from the observer and any type of observation , let . Recalling that is random due to the common noise, let denote the probability measure over of .
2.2 Objectives
Our objective is as follows. Let be the "true parameter" unknown to the observer, be the subset of accessible snapshots. Assume that an observer sees realizations , where for any , has been generated from . The observer tries to recover a set of parameters that is consistent with the observations. We study four questions:
(Q1) How should consistency and identifiability be formalized in the presence of common noise?
(Q2) Can the observer recover a parameter consistent with the observed trajectory?
(Q3) Can the observer recover the NE policy ?
(Q4) Can the observer reconstruct a best response against the NE policy ?
We address (Q1) in the next section. To answer (Q2)-(Q4) we propose two Bayesian approaches: i) The maximum a posteriori (MAP) approach, ii) The Bayesian model averaging (BMA) approach in Sec. 4.
3 Consistency and identifiability
Injectivity from the parameter space to the observation space is often not verified. Consequently, we first introduce the notions of consistency and identifiability as necessary conditions for the inverse problem of MFGs to be well-posed.
Parameter consistency. Suppose an observer witnesses realizations of for some unknown , without knowledge of the specific common noise realization . The observer may seek a parameter to explain these observations; however, the latent nature of the common noise path forces them to consider equality in law.
Definition 3.1. Let . and are consistent with respect to for the observation if and only if . With a slight abuse of terminology, we say that is consistent with respect to if and only if and are consistent with respect to for the observation .
This notion of consistency, which refers to the equality of the laws of the observations, should not be confused with the statistical consistency of an estimator.
Remark 3.2. Even if the dependency has not been made explicit in the last definition, the consistency is dependent on the type of observations considered ( or ).
Def. 3.1 provides a natural framework for identifiability. We seek to address the following fundamental question: Does recovering a parameter that is consistent with respect to allow for the recovery of the original NE ? We give a natural situation where recovering a consistent parameter is equivalent to finding a NE, and we provide the proof in App. B.1.
Theorem 3.3. Consider the observation with . Suppose that Assumption 2.2 holds, that for every , and that there is a measurable mapping , not depending on , such that -a.s. for every . Then, for any , if , then any NE for is a NE for .
Remark 3.4. The common noise is recoverable from the observation in particular when it is carried as a shared state component. This is the case, e.g., of the Beach Bar process of (Perrin et al., 2020), in which the bar is alternatively open and closed, the status of the bar being shared by all the agents, and of the electricity model of App. I. Without common noise, the condition is trivially satisfied.
Parameter identifiability. Another natural question is: When does consistency imply equality? Consider a family of PMFGs where consistency is equivalent to equality. Then, the problem of recovering the equilibrium is equivalent to the problem of recovering a parameter consistent with some observations. We highlight that these problems have not been considered in previous work in the context of MFGs. We introduce the definition of Identifiable Family of PMFG, prove a result to characterize such models, and provide an example in App. B.1.
Definition 3.5. The family of PMFGs is identifiable with respect to for the observation if for any parameters , their consistency w.r.t. for the observation implies their equality.
To discuss when Definition 3.5 is satisfied, we extend the mapping BR to laws of partial mean-field trajectories. We will use the following notation: which is the set of all state distributions that can be generated by some policy. For any , for any , we define . Notice that the output of this mapping is not a set of policies, but a set of distributions of mean field trajectories. The definition takes the union over all policies inducing the law , and all the policies so that is well-defined. Theorem 3.6 gives what we believe is the first result on identifiability for inverse problem in discrete-time MFGs with common noise. The proof is provided in App. B.1.
Theorem 3.6. If for any , for any , we have , then is identifiable.
Corollary 3.7. If for any , , then is identifiable.
4 Bayesian setting
4.1 Maximum a posteriori and Bayesian model averaging estimators
To use the Bayesian approach, the observer wishes to consider a prior over , such that for each . Let be the time steps accessible to the observer. Recall that denotes the probability measure over of . Let be a -valued random variable with law , and let , which is the probability measure of . To define a likelihood, we need , which is ensured by the following assumption.
Assumption 4.1. One of the following conditions holds: (C1) is at most countable and is the counting measure; (C2) for any , the mapping is continuous on , and for any non-empty open subset of .
Lemma 4.2. Under Assumption 4.1, for every , , and the Radon-Nikodym derivative exists.
The proof is provided in App. B.2. Suppose that the observer has access to independent observations of the possibly truncated mean field trajectory at equilibria of , where is the true parameter. If the observer has full knowledge of for any , then they can compute the posterior associated to using Bayes' rule:
where . The observer can compute the MAP estimator . Then, they can use this recovered parameter to compute the associated NE of and sample new mean-field trajectories. But they could also use the posterior distribution to construct an averaged policy that would correspond to a BMA method,
The cornerstone of this method is to be able to compute for any . A naive approach would be to compute a NE on each node of a grid over . But computing a single NE is computationally expensive (Perrin et al., 2020; Pérolat et al., 2022; Perrin et al., 2022), and this approach would not work: we show quantitatively in App. J that already for a one-dimensional parameter, a single BE-MFG solve is cheaper than a grid of dedicated solves and recovers the parameter more accurately, and that a grid search becomes out of reach in higher dimension. To address this issue, we propose to compute a NE for an augmented MFG.
4.2 Bayesian-extended mean field games
We now introduce the concept of BE-MFG, which can be interpreted as a game in which a parameter is sampled once at time 0 and is common to all agents. This parameter remains fixed throughout the game and is observed by all agents. Conditionally on , the game reduces exactly to the PMFG . Solving for a NE in the BE-MFG will allow us to recover, simultaneously for all , the corresponding equilibrium policies.
4.2.1 Definitions
Let us start by introducing the augmented dynamic kernel and reward . For any , we define
Let be a probability distribution on . The Bayesian-Extended Mean Field Game (BE-MFG) associated to the family of PMFGs and the prior is the tuple , where is the pushforward of under the map , which defines a probability measure on . We define a Bayesian strategy as a measurable mapping from to . The set of Bayesian strategies is denoted . We define a Bayesian policy as a sequence of Bayesian strategies. A Bayesian policy is denoted by , and the set of all such policies is denoted by .
The distribution evolution, value function, best responses and NE of the BE-MFG are defined exactly as for the PMFG (Sec. 2), replacing the state space by the augmented state space , the mappings by , and the policy class by . A NE of is called a Bayesian-Extended Nash equilibrium (BE-NE). Full details are provided in Appendix B.3. We now proceed to the link between the original PMFG and the BE-MFG.
4.2.2 Link between the models
Since is common to all agents, the evolution of the system conditional on coincides with that of . Any Bayesian policy thus induces, for each , a policy in , and conversely any family is lifted to a Bayesian policy. More precisely, the mean-field flow satisfies
and the value functions satisfy , where and are the mean-field flow and value function of (App. B.3). These two identities, established in Lemmas B.3–B.8 in App. B.4, are the key tools for establishing the main result of this section:
Theorem 4.3. Let be a NE of . Define, for any and , . Then is a NE of , -a.s.
Under condition (C1) of Assumption 4.1 Theorem 4.3 holds for every .
Combined with Assumption 2.2, this result is very useful: Given access to , one obtains for any a sampler of : it suffices to simulate the policy defined above under a drawn common noise . Indeed, Assumption 2.2 guarantees that , so that the simulated trajectories are distributed according to the true conditional law . Yet is a standard MFG with common noise, and can be solved with the same algorithms as any individual PMFG , at a comparable computational cost (see App. B.4 and App. J).
4.3 Algorithms
Learning via BE-MFG Pipeline. The methodology consists of three steps (Algorithm 1, App. C):
-
Computing the BE-NE. Select a prior over and compute the BE-NE of , using a FiLM architecture (Perez et al., 2018) (App. C.3) and the FP and deep learning pipeline of (Lambrecht and Laurière, 2026) (App. C.1). By Theorem 4.3, this single solve grants access to .
-
Learning the conditional density. Train a parametric approximation , with trainable parameters , of the conditional density by simulating trajectories from , using a MAF (Papamakarios et al., 2017) (App. E.3). As a lightweight alternative, a Gaussian Process (GP) inverse regression, trained on the same simulated trajectories, directly approximates the posterior (App. E.2).
-
Bayesian inference and policy deployment. Given observations , compute the posterior via Bayes' rule, derive and , and deploy both directly using , i.e., using in place of .
Baseline: Mean Field Inverse Reinforcement Learning. As a baseline, we use the method introduced by (Chen et al., 2022). This method, as all existing methods in the literature to the best of our knowledge, requires access to full state-action observations and is not designed for the common noise setting. We adapted it to our framework following App. D. As discussed in Sec. 4 and quantified in App. J, we do not include a grid search over dedicated PMFG solves as a baseline, because its computational cost makes it uncompetitive.
5 Numerical experiments
5.1 Metrics and observations
We will evaluate the performance of our methods for each question using the following four metrics. Below, and refer respectively to the policy obtained and the induced probability measure of , using any of the method (MAF with MAP, MAF with BMA, etc.). Each experiment was conducted using five seeds.
• Law Identifiability (Q1): Wasserstein 1 distance, .
• Parameters Inference (Q2): For each example, we will introduce a specific metric to evaluate the inference.
• Equilibrium Quality (Q3): Exploitability, .
• Performance vs Expert (Q4): .
Observations: We consider for the Bayesian setting , while the MF-IRL needs intrinsically more informative observation . We let , and consider three possible sets of available time steps: the full trajectory , denoted as 'Full'; subsampling every fourth step from the terminal time , denoted as 'Sparse'; and denoted as 'Terminal'.
5.2 Experiment 1: proof of concept
We consider a variant of the Beach Bar environment (Perrin et al., 2022). In this setting, the bar is permanently open and the agents are subject to a common noise shifting their positions: at each time step and at each location, a random shift of the agents is activated with probability , the common noise intensity. In this example, is one-dimensional and appears in the reward; however the observation space is high-dimensional due to the number of states and time steps. As this environment is standard in MFGs, we defer its detailed description to App. F.
Bayesian setup: We take the uniform prior on and . We present the results as a function of , aggregated over , for ; the full sensitivity analysis in and is in App. F.
Parameter Inference Error: We measure the accuracy of parameter inference via the normalized error , expressed as a percentage, where is the true parameter and is the parameter inferred by the method under consideration (MAF, GP, or MF-IRL).

Figure 2. Beach Bar, , . Left: metrics as a function of noise level for two available timestep schemes. Right: posterior for , , .
Results. Figure 2 shows that with state-only observations (), the MAF estimator recovers with high accuracy even under the Sparse regime, corresponding to only five time steps out of , and outperforms MF-IRL on all metrics, despite MF-IRL having access to the more informative . Across all settings, MAP outperforms BMA for both MAF and GP, suggesting that with the learned conditional densities remain insufficiently sharp for reliable posterior sampling. Figure 2 confirms this picture at the posterior level: even for , the likelihood curves remain spread. However, the MAP estimate aligns closely with the true even for . Overall, these results demonstrate the reliability of the proposed method. From sparse, state-only, and potentially partial observations, without any knowledge of agent actions, the observer successfully recovers the parameter, reproduces the law of the observed densities, derives a near-optimal policy, and recovers a NE under . These findings go significantly beyond existing inverse MFG results, which require either no common noise or direct access to state-action trajectories.
5.3 Experiment 2: higher parametric dimension space
We now demonstrate our method on a higher-dimensional inference problem, where both the spatial preferences and congestion aversion of agents are unknown.
Model: Agents move on a torus; at each location, a common noise shock of probability replaces the chosen move by a uniformly random one. The reward combines an attraction to hotspots and a congestion penalty of intensity ; full equations are given in App. G.
Bayesian setup: We consider . The observer considers the prior being the density of while using GP and Dirichlet while using MAF. We vary the ground truth across the three scenarios (Bullseye, Dual Core, Corridor) provided in Figure 11 in App. G, showing three realizations of trajectories with . We refer to this model as the Entertainment District environment.
Parameter Inference Error: Since and have very different effects on the equilibrium, we distinguish the inference error between these two parameters. For , we use the District Error (L1) , and for , we use the normalized error , expressed as a percentage. Challenges: While the general shape of is partially recoverable from agent aggregation patterns, finding precise values at both hot and non-hot spots is difficult due to congestion-induced non-trivial behavior. Moreover, the absence of prior knowledge on the congestion level makes this a genuinely hard 10-dimensional inference problem.

Figure 3. District, , . Left: metrics as a function of the district scenario for the three sampling schemes. Right: inferred for the Dual Core scenario, , .
Results: Figure 3 reports metrics averaged over , for each ground truth. The Bayesian approach consistently succeeds across all three scenarios. As shown in Figure 3, it accurately reconstructs the shape of despite the 10-dimensional nature of the problem, and does so from a single observation ( ) with remarkably low variance across seeds. The MF-IRL baseline partially outputs a near-uniform , inconsistent with the observed trajectories, and fails on all remaining metrics. This is particularly striking given that MF-IRL operates on the more informative observations.
5.4 Experiments 3 & 4: dynamic inference and application to real data
To show that our framework also applies to dynamics inference and to the state-action observation setting , we consider the Susceptible–Infected–Susceptible (SIS) epidemic model (Cui and Koepp, 2021) (App. H.1). To illustrate that the method can be applied to real data, we consider an MFG of electricity producers, whose common noise is the observed electricity demand, and apply the BE-MFG pipeline to public data of the French electricity market (App. I).
6 Conclusion
We introduced a Bayesian framework for learning the latent parameters of MFGs with common noise from partial, population trajectories. The central contribution, the BE-MFG, embeds the entire parametric family into a single augmented game whose Nash equilibrium simultaneously encodes equilibrium policies for all parameters, bypassing repeated forward solves. We formalized identifiability under common noise and established consistency guarantees. On three synthetic environments of increasing complexity, we recover the ground-truth parameter accurately and derive near-optimal policies, consistently outperforming MF-IRL despite the latter having access to more informative observations. A fourth experiment, on public electricity market data, suggests that the pipeline can also be run on real-world observations, although the model we use there is deliberately stylized and we make no claim of predictive value. Limitations: We provided the basic ideas around identifiability but one should look for general sufficient conditions. Moreover, we restricted our study to finite state models; scaling the BE-MFG approach to continuous state-action spaces via function approximation is a natural next step.
Acknowledgements
Grégoire Lambrecht is partially supported by NSF Award 1922658.
The authors gratefully acknowledge the NYU Center for Data Science and NYU Shanghai for providing the computational resources, the access to the scientific literature, and the research tools without which this work would not have been possible.
AI use statement
In this work, we used generative AI tools to assist with implementing the code of the experiments, improving the English of the manuscript, analyzing the numerical results, creating the figures, and detecting typographical and formatting issues. The research questions, the model and problem formulation, the theoretical statements and their proofs, the design of the experiments, and the interpretation of the results are our own. We have reviewed all AI-assisted work. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
References
Yves Achdou and Alessio Porretta. Mean field games with congestion. Annales de l'Institut Henri Poincaré C, Analyse non linéaire, 35(2):443–480, 2018.
Yves Achdou, Jiequn Han, Jean-Michel Lasry, Pierre-Louis Lions, and Benjamin Moll. Income and wealth distribution in macroeconomics: A continuous-time approach. Technical report, National Bureau of Economic Research, August 2017. URL http://www.nber.org/papers/w23732.
Şevket Kaan Alkır and Naci Saldi. Inverse reinforcement learning for mean-field games with average reward criterion. In 2025 IEEE 64th Conference on Decision and Control (CDC), pages 7272–7277. IEEE, 2025.
Berkay Anahtarci, Can Deha Kariksiz, and Naci Saldi. Q-learning in regularized mean-field games. Dynamic Games and Applications, 13(1):89–117, 2023.
Berkay Anahtarci, Can Deha Kariksiz, and Naci Saldi. Maximum causal entropy inverse reinforcement learning for mean-field games. arXiv preprint arXiv:2401.06566, 2024.
Berkay Anahtarci, Can Deha Kariksiz, and Naci Saldi. Kernel based maximum entropy inverse reinforcement learning for mean-field games. arXiv preprint arXiv:2507.14529, 2025a.
Berkay Anahtarci, Can Deha Kariksiz, and Naci Saldi. Maximum causal entropy IRL in mean-field games and GNEP framework for forward rl. Journal of Machine Learning Research, 26(121):1–40, 2025b.
Andrea Angiuli, Jean-Pierre Fouque, and Mathieu Laurière. Unified reinforcement q-learning for mean field game and control problems. Mathematics of Control, Signals, and Systems, 34(2):217–271, 2022.
Lucian Buşoniu, Robert Babuška, and Bart De Schutter. A comprehensive survey of multiagent reinforcement learning. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews), 38(2):156–172, 2008.
Pierre Cardaliaguet and Charles-Albert Lehalle. Mean field game of controls and an application to trade crowding. Mathematics and Financial Economics, 12(3), 2018.
René Carmona, François Delarue, and Daniel Lacker. Mean field games with common noise. Annals of Probability, 44(6), 2016.
Yang Chen, Libo Zhang, Jiamou Liu, and Shuyue Hu. Individual-level inverse reinforcement learning for mean field games. In Proceedings of the 21st International Conference on Autonomous Agents and Multiagent Systems, pages 253–262, 2022.
Yang Chen, Libo Zhang, Jiamou Liu, and Michael Witbrock. Adversarial inverse reinforcement learning for mean field games. In Proceedings of the 2023 International Conference on Autonomous Agents and Multiagent Systems, pages 1088–1096, 2023.
Yang Chen, Xiao Lin, Bo Yan, Libo Zhang, Jiamou Liu, Neset Özkan Tan, and Michael Witbrock. Meta-inverse reinforcement learning for mean field games via probabilistic context variables. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 38, pages 11407–11415, 2024.
Kai Cui and Heinz Koeppl. Approximately solving mean field games via entropy-regularized deep reinforcement learning. In International Conference on Artificial Intelligence and Statistics, pages 1909–1917. PMLR, 2021.
Boualem Djehiche, Alain Tcheukam, and Hamidou Tembine. A mean-field game of evacuation in multilevel building. IEEE Transactions on Automatic Control, 62(10), 2017.
Romuald Elie, Julien Perolat, Mathieu Laurière, Matthieu Geist, and Olivier Pietquin. On the convergence of model free learning in mean field games. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pages 7143–7150, 2020.
Massimo Fornasier, Benedetto Piccoli, and Francesco Rossi. Mean-field sparse optimal control. Philosophical Transactions of the Royal Society A, 372(2014):20130400, 2014.
Sven Gronauer and Klaus Diepold. Multi-agent deep reinforcement learning: a survey. Artificial Intelligence Review, 55(2):895–943, 2022.
Xin Guo, Anran Hu, Renyuan Xu, and Junzi Zhang. Learning mean-field games. Advances in Neural Information Processing Systems, 32, 2019.
A. F. Hanif, Hamidou Tembine, and Mohamad Assaad. Mean-field games for resource sharing in cloud-based networks. IEEE/ACM Transactions on Networking, 24(1):624–637, 2016.
Johannes Heinrich and David Silver. Deep reinforcement learning from self-play in imperfect-information games. arXiv preprint arXiv:1603.01121, 2016.
Ruimeng Hu and Mathieu Laurière. Recent developments in machine learning methods for stochastic control and games. Numerical Algebra, Control and Optimization, 14(3):435–525, 2024.
Jiawei Huang, Niao He, and Andreas Krause. Model-based RL for mean-field games is not statistically harder than single-agent RL. In Forty-first International Conference on Machine Learning, 2024.
Minyi Huang, Roland P Malhamé, and Peter E Caines. Large population stochastic dynamic games: closed-loop McKean-Vlasov systems and the nash certainty equivalence principle. Commun. Inf. Syst., 6(1):221–252, 2006.
Ian T Jolliffe and Jorge Cadima. Principal component analysis: a review and recent developments. Philosophical transactions of the royal society A: Mathematical, Physical and Engineering Sciences, 374(2065):20150202, 2016.
Aimé Lachapelle and Marie-Therese Wolfram. On a mean field game approach modeling congestion and aversion in pedestrian crowds. Transportation Research Part B: Methodological, 45(10):1572–1589, 2011.
Aimé Lachapelle, Jean-Michel Lasry, Charles-Albert Lehalle, and Pierre-Louis Lions. Efficiency of the price formation process in presence of high frequency participants: a mean field game analysis. Mathematics and Financial Economics, 10(3), 2016.
Grégoire Lambrecht and Mathieu Laurière. Population-aware imitation learning in mean-field games with common noise. arXiv preprint arXiv:2605.03357, 2026.
Jean-Michel Lasry and Pierre-Louis Lions. Mean field games. Japanese journal of mathematics, 2(1):229–260, 2007.
Mathieu Laurière, Sarah Perrin, Julien Pérolat, Sertan Girgin, Paul Muller, Romuald Élie, Matthieu Geist, and Olivier Pietquin. Learning in mean field games: A survey. arXiv preprint arXiv:2205.12944, 2022.
Weichao Mao, Haoran Qiu, Chen Wang, Hubertus Franke, Zbigniew Kalbarczyk, Ravishankar Iyer, and Tamer Basar. A mean-field game approach to cloud resource management with function approximation. Advances in Neural Information Processing Systems, 35:36243–36258, 2022.
Mojtaba Nourian, Peter E Caines, and Roland P Malhamé. Synthesis of Cucker-Smale type flocking via mean field stochastic control theory: Nash equilibria. In 2010 48th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 814–819. IEEE, 2010.
George Papamakarios, Theo Pavlakou, and Iain Murray. Masked autoregressive flow for density estimation. Advances in neural information processing systems, 30, 2017.
Ethan Perez, Florian Strub, Harm De Vries, Vincent Dumoulin, and Aaron Courville. Film: Visual reasoning with a general conditioning layer. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018.
Julien Perolat, Bart De Vylder, Daniel Hennes, Eugene Tarassov, Florian Strub, Vincent de Boer, Paul Muller, Jerome T Connor, Neil Burch, Thomas Anthony, et al. Mastering the game of Stratego with model-free multiagent reinforcement learning. Science, 378(6623):990–996, 2022.
Julien Pérolat, Sarah Perrin, Romuald Elie, Mathieu Laurière, Georgios Piliouras, Matthieu Geist, Karl Tuyls, and Olivier Pietquin. Scaling mean field games by online mirror descent. In Proceedings of the 21st International Conference on Autonomous Agents and Multiagent Systems, pages 1028–1037, 2022.
Sarah Perrin, Julien Perolat, Mathieu Laurière, Matthieu Geist, Romuald Elie, and Olivier Pietquin. Fictitious play for mean field games: continuous time analysis and applications. In Proceedings of the 34th International Conference on Neural Information Processing Systems, pages 13199–13213, 2020.
Sarah Perrin, Mathieu Laurière, Julien Pérolat, Romuald Élie, Matthieu Geist, and Olivier Pietquin. Generalization in mean field games by learning master policies. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 36, pages 9413–9421, 2022.
Giorgia Ramponi, Pavel Kolev, Olivier Pietquin, Niao He, Mathieu Laurière, and Matthieu Geist. On imitation in mean-field games. In Advances in Neural Information Processing Systems, volume 36, 2023.
Naci Saldi, Tamer Basar, and Maxim Raginsky. Markov–Nash equilibria in mean-field games with discounted cost. SIAM Journal on Control and Optimization, 56(6):4256–4287, 2018.
Mikayel Samvelyan, Tabish Rashid, Christian Schroeder De Witt, Gregory Farquhar, Nantas Nardelli, Tim G. J. Rudner, Chia-Man Hung, Philip H. S. Torr, Jakob Foerster, and Shimon Whiteson. The starcraft multi-agent challenge. In Proceedings of the 18th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 2186–2188, 2019.
Eran Shmaya and Bruno Ziliotto. Bayesian learning in mean field games. SIAM Journal on Control and Optimization, 63(3):1783–1797, 2025.
David Silver, Aja Huang, Chris J Maddison, Arthur Guez, Laurent Sifre, George Van Den Driessche, Julian Schrittwieser, Ioannis Antonoglou, Veda Panneershelvam, Marc Lanctot, et al. Mastering the game of Go with deep neural networks and tree search. Nature, 529(7587), 2016.
David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, et al. Mastering the game of Go without human knowledge. Nature, 550(7676), 2017.
David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, Timothy Lillicrap, Karen Simonyan, and Demis Hassabis. A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play. Science, 362(6419), 2018.
Jayakumar Subramanian and Aditya Mahajan. Reinforcement learning in stationary mean-field games. In Proceedings of the 18th International Conference on Autonomous Agents and MultiAgent Systems, pages 251–259, 2019.
Alexander Wong, Thomas Bäck, Anna V Kononova, and Aske Plaat. Deep multiagent reinforcement learning: Challenges and directions. Artificial Intelligence Review, 56:5023–5056, 2023.
Chungang Yang, Jiandong Li, Min Sheng, Alagan Anpalagan, and Jia Xiao. Mean field game-theoretic framework for interference and energy-aware control in 5G ultra-dense networks. IEEE Wireless Communications, 25(1):114–121, 2018.
Yaodong Yang and Jun Wang. An overview of multi-agent reinforcement learning from game theoretical perspective. arXiv preprint arXiv:2011.00583, 2020.
Batuhan Yardim, Semih Cayci, Matthieu Geist, and Niao He. Policy mirror ascent for efficient and independent learning in mean field games. In International Conference on Machine Learning, pages 39722–39754. PMLR, 2023.
Kaiqing Zhang, Zhuoran Yang, and Tamer Başar. Multi-agent reinforcement learning: A selective overview of theories and algorithms. Handbook of Reinforcement Learning and Control, pages 321–384, 2021.
A Notation and abbreviations
Table 1. Abbreviations.
| Abbreviation | Meaning |
|---|---|
| BE-MFG | Bayesian-Extended Mean Field Game (Sec. 4.2) |
| BE-NE | Bayesian-Extended Nash equilibrium, i.e., a NE of the BE-MFG |
| BMA | Bayesian model averaging |
| FiLM | Feature-wise Linear Modulation |
| FP | Fictitious Play |
| GP | Gaussian Process |
| IL / IRL | Imitation Learning / Inverse Reinforcement Learning |
| MAF | Masked Autoregressive Flow |
| MAP | maximum a posteriori |
| MF-IL | Mean Field Imitation Learning |
| MF-IRL | Mean-Field Inverse Reinforcement Learning |
| MFG | Mean Field Game |
| NE | Nash equilibrium |
| PCA | principal component analysis |
| PMFG | Parametric Mean Field Game |
| RL | Reinforcement Learning |
| SIS | Susceptible-Infected-Susceptible |
Table 2. Main notation.
| Symbol | Meaning |
|---|---|
| General | |
| and | |
| probability measures on a finite set , on a measurable space | |
| Borel -algebra on , , induced by the Euclidean topology | |
| law of a random variable | |
| product measure, absolute continuity, Radon-Nikodym derivative of two probability measures | |
| , dist | Wasserstein-1 distance on a metric space : , where is the set of couplings with marginals and |
| Parametric MFGs (Sec. 2) | |
| finite state and action spaces | |
| common noise space, common noise law, common noise trajectory () | |
| common noise intensity (experiments) | |
| time horizon, initial distribution | |
| parameter set, reference measure on | |
| transition kernel, reward and PMFG associated with | |
| policy, set of strategies, set of policies | |
| mean-field transition operator | |
| population flow under ; flow of a single agent playing against a population playing | |
| state-action counterpart of | |
| value of against , set of best responses to | |
| a NE of and its (state, state-action) mean-field trajectories | |
| exploitability of in | |
| Observations and identifiability (Sec. 2–3) | |
| type of observation and its space | |
| observed time steps, observation restricted to | |
| probability measure of | |
| true (unknown) parameter | |
| number of observations, -th observation | |
| laws generated by some policy, best-response map on laws | |
| Bayesian setting (Sec. 4) | |
| prior on , random parameter with law | |
| prior predictive measure, likelihood | |
| posterior after observations | |
| MAP estimator, BMA policy | |
| BE-MFG, its transition kernel and reward | |
| Bayesian strategies, Bayesian policies, value function of | |
| a BE-NE, and the policy it induces in (Thm. 4.3) | |
| learned approximation of , trainable parameters | |
B Additional definitions, lemmas and proofs
B.1 Identifiability and consistency
We first present the proof of Theorem 3.3.
Proof. By assumption . Since is the first marginal of , we deduce that .
Since the kernel does not depend on the parameter, the mean-field transition operator of (1) does not depend on it either. Consequently, the flows induced by a given policy are the same in and in ; in particular
Step 1: the deviation values coincide. Let . We prove by induction on that there is a measurable mapping , depending only on , such that
For , is deterministic. Assume the identity holds at rank . By (2) and (6),
which is of the announced form and completes the induction. The same mappings give . Since the state-action flow of the deviating agent is obtained from its state flow and from , there is therefore a measurable mapping , depending only on and , such that
By recoverability of the common noise, -a.s., so that -a.s., where maps to evaluated at the first marginal of and at ; the same identity holds for with the same . As , we conclude that
Step 2: the equilibrium values coincide. By (6), , which is the image of by a measurable mapping depending only on . The same mapping applied to gives , so that yields
Conclusion. Taking the supremum over in (7), using that is a NE of , and then (8),
i.e. , which means that is a NE for .
We now pass to the proof of Theorem 3.6.
Proof. Suppose that is not identifiable. Therefore, there exists two distinct parameters , such that . In the two situations, and , this leads to . By definition and . Therefore . That concludes the proof.
We now give an example of identifiable family of PMFGs, satisfying the condition of Corollary 3.7.
Example B.1. Let , , , , and . Let for any , and . Suppose that . The condition in Corollary 3.7 is satisfied for any such that .
Finally, we prove the statement in Example B.1.
Proof. For any , and because of the presence of the common noise. Yet, . That is enough to conclude that Cor.3.7 is verified.
B.2 Existence of the likelihood
We prove Lemma 4.2.
Proof. Let such that , i.e., . Since for every , we get for -almost every .
Under (C1), is the counting measure on the countable set , so the integral is the sum , whose terms are non-negative. Hence for every .
Under (C2), the set is open in , since is continuous, and . Since charges every non-empty open subset of , , i.e., for every .
In both cases, implies for every , i.e., . Since these are finite measures, the Radon-Nikodym theorem gives the existence of .
B.3 BE-MFG: full definitions
We provide the full definitions for the BE-MFG , following the same structure as Sec. 2 with augmented state space .
Distribution evolution. For any pair of population distributions , any strategy , we define the mean-field transition operator as
Let be a -valued extra source of randomness for all the paper, with density . The evolution of the population distribution when all agents follow policy and are affected by the common noise trajectory is defined by where and for ,
The evolution of the state distribution of a single agent following policy when all other agents follow policy is defined by where and for ,
Value Function of BE-MFG. When the population of agents follows the policy , and a single agent follows , its associated Bayesian-Extended value function is:
(11) where the process is defined by , , , and . Note that under these conditions, the law of the state (conditioned on the common noise) is . We define the Bayesian best responses and the NE in the exact same way that for the original PMFGs.
Definition B.2. For , the set of Bayesian best responses to the PMFG is defined by . A policy is a (mean field) Bayesian-Extended Nash equilibrium (BE-NE) for if .
B.4 BE-MFG and PMFG: link between the models
This appendix collects the technical lemmas used in the proofs of the main results concerning the BE-MFG framework. The first two lemmas establish that the population flow in the BE-MFG reduces, type by type, to the population flow in the corresponding PMFG. Specifically, Lemma B.3 shows this reduction when the BE-MFG policy is constructed from a single MFG policy via a point-mass embedding of the parameter, while Lemma B.4 establishes the same conclusion when the BE-MFG policy is constructed from a family of PMFG policies. The next two lemmas, Lemmas B.5 and B.6, extend these reduction results to the setting where a deviating agent follows a policy different from the population. These four lemmas together ensure that the BE-MFG and the family of PMFGs are consistent in terms of population dynamics, regardless of whether one agent deviates. Building on these results, Lemmas B.7 and B.8 show that the value function in the BE-MFG decomposes as the expectation over parameters of the corresponding value functions in the PMFGs, again under the two respective policy constructions. This decomposition is the key identity linking Nash equilibria of the BE-MFG to Nash equilibria of the parametric MFGs, and it is what the subsequent proof of Theorem 4.3 exploits directly.
Lemma B.3. Let and be such that for any and ,
Then
where is defined as in (9) and is defined as in (1).
Proof. Let be the state-action trajectory of a representative agent following policy when the population follows , in the BE-MFG. This trajectory is defined as in Equation (11), and the marginal law of at each time step is . Let be the state-action trajectory of a representative agent following policy when the population follows , in the PMFG , where is defined as in the lemma statement. This trajectory is defined as in Equation (3), and the marginal law of at each time step is .
We prove by induction on that, conditionally on ,
Base case. By definition, and , so the relation holds at .
Inductive step. Suppose that holds -a.s. for some . By definition of ,
By the induction hypothesis, , so
Hence . Now, by Equation (5),
and . Since -a.s. by the induction hypothesis, we conclude that
which completes the induction and the proof.
Lemma B.4. Let be a family of policies, and define by
Then
where is defined as in (9) and is defined as in (1).
Proof. We prove by induction on that, conditionally on ,
Base case. By definition, and , so the relation holds at .
Inductive step. Suppose that holds -a.s. for some . By the induction hypothesis,
Therefore, for any agent with type and state x, the action distribution under satisfies
Now, by Equation (5) and the induction hypothesis,
where -a.s. by the induction hypothesis. Since the action and transition distributions coincide with those of the PMFG under policy , we conclude that
which completes the induction and the proof.
Lemma B.5. Let and be such that for any and ,
Then
where is defined as in (10) and is defined as in (2).
Proof. The proof follows the same induction argument as in the proof of Lemma B.3. Lemma B.3 is required to identify the population flow at each step of the induction.
Lemma B.6. Let be two families of policies, and define by
Then
where is defined as in (10) and is defined as in (2).
Proof. The proof follows the same induction argument as in Lemma B.4, which is also required to identify the population flow at each step of the induction.
Lemma B.7. Let and define, for any and ,
Let and define similarly. Then
Proof. By definition of in (11), we have
where is the trajectory of a representative agent acting under while the population follows . By Lemma B.3, -a.s. In the proof of Lemma B.5 it is shown that the joint law of conditioned on is equal to . Using the definition of in (5) and the fact that , we obtain
Taking expectations and conditioning on yields
which completes the proof.
Lemma B.8. Let be a family of policies and define by
Let and define similarly. Then
Proof. By construction of and , we have for any and ,
Hence and satisfy the assumptions of Lemma B.7, which directly gives
The proof of Theorem 4.3 requires selecting, for each parameter, a best response in , in such a way that the resulting family is again a Bayesian policy. The following lemma shows that such a measurable selection always exists, and that no measurable selection theorem is needed: since A is finite, the selection can be written explicitly.
Lemma B.9. For every , there exists such that, for every , , where and denote the policies induced by and as in Theorem 4.3.
Proof. Let and . An agent deviating from the population policy faces a finite-horizon MDP whose state is the pair , where is the population mean field. Given and , is a function of only, so is a Markov chain and the strategies of , which are mappings from to , are sufficient: the dynamic programming principle applies over the policy class used throughout. Define on
for .
Each is Borel measurable. We proceed by downward induction on . For this is the measurability of . Assume is Borel. The mapping is Borel by measurability of , and is Borel as a finite sum of products of measurable mappings, using that is measurable. Composing with and summing over the finite set preserves measurability. Since is bounded, an immediate induction gives , so the integrand is bounded and integrating against preserves Borel measurability in by the Fubini–Tonelli theorem. Hence is Borel, and so is , being a maximum of finitely many Borel mappings.
Selection. Write and . Fix a total order < on the finite set , chosen once and independently of , and let
For each , we have
the first intersection expressing that is a maximizer of , and the second that no action smaller than is one. Both are finite intersections of Borel subsets of , so is Borel and is Borel. Therefore defines a Bayesian strategy and . By the dynamic programming principle, for every the induced policy maximizes over , i.e. .
Remark B.10. The finiteness of is what makes the selection explicit, so that no measurable selection theorem is needed. Continuity of and in would be sufficient but is not required: only their measurability, together with the boundedness of , is used. Under condition (C1) of Assumption 4.1, is at most countable and the statement is immediate.
We now provide the proof of Theorem 4.3.
Proof. Let be given by Lemma B.9 applied to , and define
The mapping is measurable, being a difference of values associated with two policies of , and since for every . Applying Lemma B.7 twice,
where the inequality holds because is a NE of . A non-negative measurable mapping with non-positive integral vanishes almost everywhere, so q-a.s. Since means exactly that , we conclude that is a NE of , q-a.s.
Dimension of the BE-MFG. At first sight, the BE-MFG reintroduces a curse of dimensionality: its state space is , and Bayesian policies depend on mean fields in . However, the mean fields generated by the BE-MFG have a specific structure: for any Bayesian policy , for every (Lemmas B.3–B.4), so that the population never leaves the set . Consequently, as in Theorem 4.3, Bayesian strategies only need to be evaluated at mean fields of the form , i.e., it suffices to consider strategies defined on instead of : the augmentation enlarges the state space, but not the space of mean fields on which the policy depends. Moreover, when and depend regularly on , a neural network policy can share information across parameters, which is impossible when each parameter is solved separately. This is the parametrization we use (App. C.3).
C Computing Nash equilibrium for PMFG and BE-MFG
The overall Bayesian inference pipeline of Sec. 4.3 is summarized in Algorithm 1. Its first step, computing the BE-NE, is detailed in the rest of this section.
Algorithm 1 Bayesian Inference for PMFGs
Require: PMFGs ; prior over ; available time steps ; observations .
1: Compute a BE-NE of .
2: Compute conditional density to learn the conditional distributions , by sampling mean-field trajectories using and .
3: Compute posterior using and the observations .
4: Return , , .
C.1 Algorithms for general MFGs with common noise
Computing a Nash equilibrium for a MFG with common noise requires solving a fixed-point problem: the policy must be a best response to the mean-field flow it induces. We rely on the FP algorithm (Perrin et al., 2020), which iteratively trains a best response against the average of the policy history, and has been shown to converge to a Nash equilibrium under standard assumptions. Each best response is trained by maximizing the expected return of a representative agent against the current aggregate mean-field flow, using a neural network policy (Algorithm 2). The FP loop is summarized in Algorithm 3. Once FP has converged, the history of policies encodes the Nash equilibrium as an implicit mixture. To obtain a single compact policy, we distill this history into a single neural network via Mean Field Imitation Learning (MF-IL, Algorithm 4), which matches the state-action mean-field trajectory induced by to the aggregate of the history, following (Lambrecht and Laurière, 2026).
Algorithm 2 Best Response Algorithm
Require: MFG ; Sequence of policies ; Iterations ; Batch size ; Initial Parameters ; Optimizer.
1: for do 2: Reset batch loss: . 3: Sample a batch of i.i.d. common noises for . 4: for do 5: Compute the aggregated sequence induced by . 6: Compute the mean-field sequence induced by the learner responding to . 7: Accumulate the loss:
8: end for 9: Compute the gradient and update parameters via the optimizer to obtain . 10: end for 11: Return Optimized parameters defining the best response policy .
Algorithm 3 Fictitious Play for MFG with Common Noise
Require: MFG ; Initial policy ; Number of iterations .
1: for do 2: Train as the best response to , using Algorithm 2. 3: end for 4: Return policy tuple .
Algorithm 4 Mean Field Imitation Learning (MF-IL)
Require: MFG ; Policy sequence ; Initial parameters for parametric policy ; Optimizer; Iteration number ; Batch size .
1: for do 2: Sample common noises . 3: for do 4: Compute from . 5: Generate induced by . 6: end for 7: Compute . 8: Obtain by one step of gradient of . 9: end for 10: Return Trained parametric policy .
C.2 Nash equilibrium for PMFGs
To compute the NE policies from which we sample observations of the ground truth model , we apply the algorithms of App. C.1 with a standard Multi-Layer Perceptron (MLP) as the parametric policy.
C.3 Nash equilibrium for BE-MFG
To compute the BE-NE , we apply the same FP pipeline of App. C.1, replacing the standard MLP policy with a FiLM-conditioned policy. We briefly describe how FiLM works and refer to (Perez et al., 2018) for more details.
Architecture. The network takes as input the time step , the state , the current mean field , and the parameter , and outputs a softmax distribution over actions. The backbone consists of linear layers of hidden dimension with tanh activations. At each layer , before applying the activation, the hidden representation is modulated by a small MLP applied to :
The FiLM MLP maps to a hidden layer of size , then outputs a vector of size which is split into the scale and shift applied to the backbone activations.
The learnable parameters of the network are for the FiLM MLPs, for the backbone layers, and the output layer weights.
Motivation. The BE-NE must represent a family of NE policies indexed by . A naive shared MLP with concatenated to the input tends to average over rather than sharply distinguishing between parameter regimes. FiLM solves this by allowing to directly rescale and shift the internal representations at every layer, making the network's computation path highly sensitive to . This is essential: if does not distinguish between different values of , the simulated trajectories will be incorrectly distributed, corrupting the training of and all downstream inference.
D Mean field inverse reinforcement learning
We refer to (Chen et al., 2022) for the original description of the method. In this appendix we describe precisely how we adapted it to our setting.
Overview of the original method.. The MFIRL framework of (Chen et al., 2022) recovers a reward function from expert state-action trajectories issued of a PMFG in absence of common noise, meaning that the kernel does not depend on an extra source of randomness , and the policies are sequences of population-unaware policies . We denote the previous set by . We emphasize that in absence of common noise, the mean fields trajectories at equilibrium are deterministic. Given a state-action mean-field trajectory for an unknown parameter , the method solves the objective
where is a discount factor, , and is a Boltzmann best response to under , computed by backward induction via the soft Q-function
with , where is a temperature. In the original paper the Q-function is tabular, which is tractable because there is no common noise and the state space is small.
Adaptations required by our setting
(i) Common Noise Approximation. Our setting considers PMFGs where the transition kernel depends explicitly on a common noise realization . When applying MF-IRL, we replace by its common noise averaged counterpart .
Under common noise, the mean-field trajectory is stochastic, so the observer has access to independent realizations rather than a single deterministic trajectory. We approximate by the average , and compute using , where .
We therefore follow the population-unaware approximation: the Boltzmann policy is computed from the soft Q-function evaluated at the fixed averaged mean field , using the common noise averaged transition matrix .
This approximation is consistent with the population-unaware/aware policy distinction introduced in (Lambrecht and Laurière, 2026) for the common-noise setting.
Concretely, our implementation computes the averaged transition matrix once, then runs the backward scan
where uses the parametric reward at the empirical density, and .
(ii) Requirement of state-action observations ( ). The backward induction requires the full state-action mean-field trajectory . The method therefore cannot be applied when the observer only sees state distributions , which is the harder and more realistic setting we also evaluate. This is a structural limitation relative to our Bayesian approach, which handles both and .
(iii) Handling partial observations (). The original paper observes the full trajectory. When only a subset of time steps is available we construct the full -step empirical flow by nearest-future imputation: for any unobserved step , we substitute the next observed step , or the last observed step if none exists. This natural imputation allows the backward induction to run over the full horizon, and we investigate its degradation as decreases.
The full procedure is given in Algorithm 5.
Algorithm 5 Adaptation of MF-IRL to our setting
Require: Family of PMFGs ; parametric reward ; expert state-action trajectories at accessible steps ; temperature ; discount ; Initial guess ; Number of iterations ; Optimizer.
1: Compute empirical mean-field: for .
2: Impute missing steps: for , set
3: Compute the common noise averaged transition matrix .
4: for for to do
5: Compute .
6: Compute the loss .
7: Proceed with one gradient step to obtain .
8: end for
9: Return .
E Learning
E.1 Principal component analysis
Since is high-dimensional, we first apply principal component analysis (PCA) to a training set sampled using the BE-NE and the prior . Centering the trajectories and computing the SVD of the centered matrix, we retain the top components explaining 99% of the variance, yielding a projection where refers to the dimension of the observation space . Each observation is then mapped to a normalized PCA embedding . PCA is a well understood and classic method in the Machine Learning literature (Jolliffe and Cadima, 2016).
E.2 Gaussian processes estimation
We describe the GP-based method used as a lightweight alternative to the MAF. Contrary to the MAF, it does not learn the conditional density : it is an inverse regression, which directly models the map in PCA space, and outputs a Gaussian approximation of the posterior used for MAP and BMA inference.
GP training in PCA space.. We place a GP prior on the map with a linear kernel , making the model equivalent to Bayesian linear regression in the PCA feature space. Given training pairs sampled from the BE-NE and the prior , the Gram matrix is and the GP is fitted by computing , where stacks the targets and is a hyperparameter controlling the confidence of the model. The training algorithm is summarized in Algorithm 6.
Posterior inference for . For a single observation , let be its PCA embedding and . The GP posterior is Gaussian with
where is the posterior variance measuring the uncertainty of the estimate. The MAP estimator is .
Multiple observations (N > 1). When N i.i.d. observations ( ) are available, each observation yields an independent GP posterior , where is the predicted parameter and is the associated posterior variance. Each approximates the single-observation posterior, which is proportional to . Since the observations are conditionally independent given , Bayes' rule (4) involves the product of the likelihoods and a single prior factor, whereas the product of the N single-observation posteriors contains the prior N times. We therefore combine them as
When the prior is Gaussian, , is Gaussian, , with
When the prior is uniform on , is constant on , and is the product of the Gaussians restricted to . Both reduce to the single-observation GP posterior when . The BMA policy is then .
Algorithm 6 Training the Linear Gaussian Processes Estimator
Require: Family of PMFGs ; BE-NE policy of ; Type of observations ; available time steps ; Number of PCA training samples ; PCA variance threshold ; Number of GP training samples ; Noise hyperparameter .
1: Sample i.i.d. pairs with and , using .
2: Compute PCA projection retaining variance; store mean and normalization .
3: Sample i.i.d. pairs with and .
4: for to do
5: Project: .
6: end for
7: Compute Gram matrix: for all .
8: Compute , where .
9: Return .
E.3 Masked auto regressive flows
Normalizing flows like MAF are powerful density estimators that transform a simple distribution into a complex one through a series of bijective transformations, making them ideal for capturing the intricate dependencies in Mean Field trajectories.
MAF learns the conditional density by transforming a simple base distribution (where is the dimension retained by the PCA as explained in E.1) into a complex one through a sequence of bijective coupling layers. At each layer, the current representation (with the PCA embedding of ) is split into two halves and only the second half is transformed:
where is a two-hidden-layer network with tanh activations. Let be the trainable parameters of a MAF, and denote the transformation defined above. By the change-of-variables formula, the MAF approximates the log-likelihood of a PCA-projected observation under parameter as:
where is the final transformed variable and is the input. The MAF thus returns a tractable scalar approximation of for any pair, which is the quantity needed for Bayesian inference. The training objective is the expected negative log-likelihood (NLL) over pairs sampled from the BE-NE and the prior :
which is minimized by stochastic gradient descent as detailed in Algorithm 7.
Ensemble of MAF.. It is important to note that training a MAF can be highly sensitive to the initial values of its parameters. To mitigate the dependency on a specific initialization and ensure more robust density estimation, we employ an ensemble approach. Specifically, we train M independent MAF models starting from different random initializations. Let us denote the models . We then aggregate their outputs by averaging their log-likelihoods to produce a more stable and reliable estimate of the global log-likelihood. For each and , define
Algorithm 7 Training MAF
Require: Family of PMFGs ; BE-NE policy of ; Type of observations ; available time steps ; Initial parameters for the MAF ; Number of iterations ; Batch size ; Optimizer; Number of PCA training samples ; PCA variance threshold .
1: Sample i.i.d. pairs with and , using .
2: Compute PCA projection retaining variance; store mean and normalization .
3: for to do
4: Sample an i.i.d. batch of parameters from prior .
5: for to do
6: Sample one common noise trajectory .
7: Compute associated mean field trajectory .
8: Project into PCA space: .
9: end for
10: Compute NLL loss: .
11: Update using one step of the Optimizer on .
12: end for
13: Return Trained estimator .
F Experiment 1 (Beach Bar): details
F.1 Model description
Let , , , and . The environment is disrupted by external events that simultaneously displace all agents at specific locations. This is governed by a common noise whose frequency depends on a constant . Given , and common noise , the dynamics are governed by a transition kernel that incorporates both common noise and idiosyncratic noise (represented by a uniform shift ). Let for any , . The common noise is , where is the distribution of with and . The reward function, reflecting a preference for a central bar at and a penalty for overcrowding, is parameterized by : . Fig. 4 shows realizations of the mean field for two different values of : while the agents try to be close to the bar, larger leads to lower density values because the agent spread more across states.


Figure 4. Mean Field Equilibrium Trajectories for two different values of , with , on the same common noise realization.
F.2 Hyperparameters
F.3 Full sensitivity analysis

Figure 5. Sensitivity analysis, MAF, Averaged Metrics per , , .
| N = 1 | N = 10 | N = 100 | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.8 | 6.8 | 7.2 | 11.2 | 10.2 | 14.4 | 2.7 | 4.6 | 3.9 | 4.4 | 7.6 | 14.1 | 2.8 | 3.4 | 6.1 |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| 0.2 | 0.2 | 0.2 | 0.2 | 0.1 | 0.1 | ||||||
| True | 0.0 | 0.1 | 0.2 | 0.0 | 0.1 | 0.0 | 0.0 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.0 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | ||||||
| True | 0.1 | 0.1 | 0.1 | 0.0 | -0.0 | -0.0 | 0.1 | 0.1 | 0.0 | 0.0 | -0.1 | -0.0 | 0.1 | 0.1 | 0.0 | 0.0 | -0.0 | -0.1 | ||||||
| Law Ident. () BMA | -0.1 | -0.2 | -0.3 | -0.5 | -0.8 | -0.9 | -0.1 | -0.2 | -0.3 | -0.5 | -0.8 | -0.8 | -0.1 | -0.2 | -0.3 | -0.5 | -0.7 | -0.8 | ||||||
| True | 0.1 | 0.1 | 0.3 | 0.3 | 0.2 | 0.1 | 0.2 | 0.1 | 0.3 | 0.3 | 0.2 | 0.1 | 0.1 | 0.2 | 0.3 | 0.3 | 0.2 | 0.2 | ||||||
| True | 0.3 | 0.3 | 0.2 | 0.2 | 0.1 | 0.1 | 0.3 | 0.3 | 0.2 | 0.2 | 0.1 | 0.1 | 0.2 | 0.2 | 0.2 | 0.2 | 0.1 | 0.1 | ||||||
| True | -0.0 | -0.0 | 0.0 | -0.0 | 0.0 | 0.0 | -0.0 | -0.0 | 0.0 | -0.0 | 0.0 | 0.0 | -0.0 | 0.0 | 0.0 | 0.0 | 0.1 | 0.0 | ||||||
| True | -0.2 | -0.2 | -0.2 | -0.2 | -0.3 | -0.3 | -0.1 | -0.1 | -0.2 | -0.2 | -0.2 | -0.3 | 0.0 | -0.0 | -0.1 | -0.1 | -0.1 | -0.2 | ||||||
| Law Ident. () BMA | -0.8 | -1.5 | -1.5 | -1.6 | -1.7 | -1.6 | -0.5 | -1.3 | -1.3 | -1.4 | -1.6 | -1.6 | -0.2 | -0.6 | -0.8 | -0.9 | -1.1 | -1.4 | ||||||
| True | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | ||||||

Figure 6. Sensitivity analysis, MAF, Standard Deviation Metrics per , , .

Figure 7. Sensitivity analysis, GP, Averaged Metrics per , , .
| N = 1 | N = 10 | N = 100 | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 10.6 | 11.9 | 26.8 | 11.3 | 164.8 | 92.8 | 10.6 | 8.0 | 24.3 | 7.6 | 3.1 | 4.9 | 10.6 | 8.0 | 24.4 | 7.8 | 1.8 | 3.3 | |||||||
| Relative Error (%) | 8.9 | 10.6 | 13.3 | 9.7 | 87.5 | 48.4 | 8.9 | 9.7 | 12.5 | 7.9 | 6.9 | 9.3 | 8.9 | 8.8 | 12.4 | 6.8 | 4.5 | 9.4 | ||||||
| True | 2.3 | 3.0 | 1.0 | 7.7 | 69.2 | 73.1 | 2.3 | 0.6 | 1.0 | 1.9 | 2.9 | 2.8 | 2.3 | 0.8 | 0.9 | 1.7 | 4.6 | 3.6 | ||||||
| True | 9.9 | 6.7 | 12.1 | 3.6 | 96.3 | 55.4 | 9.9 | 6.1 | 12.5 | 5.3 | 11.7 | 10.6 | 9.9 | 5.5 | 12.2 | 4.6 | 11.7 | 13.2 | ||||||
| True | 15.7 | 12.6 | 26.4 | 14.5 | 50.6 | 64.8 | 15.7 | 12.1 | 25.6 | 12.1 | 22.8 | 26.0 | 15.7 | 12.8 | 25.9 | 12.8 | 24.8 | 22.3 | ||||||
| Relative Error (%) | 0.1 | 0.3 | 0.4 | 0.4 | 0.6 | 0.5 | 0.1 | 0.3 | 0.4 | 0.4 | 0.4 | 0.4 | 0.1 | 0.3 | 0.4 | 0.4 | 0.4 | 0.4 | ||||||
| True | 0.0 | 0.3 | 0.4 | 0.4 | 0.5 | 0.5 | 0.0 | 0.3 | 0.4 | 0.4 | 0.4 | 0.5 | 0.0 | 0.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.3 | 2.6 | 2.7 | 2.0 | 1.5 | 2.7 | 1.2 | 1.6 | 1.5 | 2.0 | 1.5 | 2.8 | 1.2 | 1.6 | 1.7 | ||||||
| Relative Error (%) | 0.2 | 0.2 | 0.4 | 0.2 | -0.3 | -0.1 | 0.2 | 0.2 | 0.4 | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 | 0.4 | 0.2 | 0.2 | 0.2 | ||||||
| True | 0.3 | 0.1 | 0.3 | 0.2 | -0.0 | 0.1 | 0.3 | 0.2 | 0.3 | 0.1 | 0.1 | 0.1 | 0.3 | 0.2 | 0.3 | 0.2 | 0.1 | 0.1 | ||||||
| True | 0.0 | 0.1 | 0.2 | 0.1 | -0.2 | -0.4 | 0.0 | 0.1 | 0.2 | 0.1 | 0.1 | 0.1 | 0.0 | 0.1 | 0.2 | 0.1 | 0.1 | 0.1 | ||||||
| True | -0.0 | 0.0 | -0.1 | 0.0 | -0.7 | -0.5 | -0.0 | 0.0 | -0.1 | 0.0 | -0.0 | -0.0 | -0.0 | 0.0 | -0.1 | 0.0 | -0.0 | -0.1 | ||||||
| True | -0.4 | -0.6 | -1.5 | -0.4 | -1.2 | -1.2 | -0.4 | -0.6 | -1.5 | -0.4 | -0.7 | -0.7 | -0.4 | -0.6 | -1.5 | -0.4 | -0.7 | -0.7 | ||||||
| Relative Error (%) | 0.1 | 0.2 | 0.3 | 0.2 | -0.3 | -0.1 | 0.2 | 0.2 | 0.4 | 0.2 | 0.2 | 0.2 | 0.2 | 0.2 | 0.4 | 0.2 | 0.2 | 0.2 | ||||||
| True | 0.3 | 0.1 | 0.2 | 0.2 | -0.0 | 0.1 | 0.3 | 0.2 | 0.3 | 0.1 | 0.1 | 0.1 | 0.3 | 0.2 | 0.3 | 0.2 | 0.1 | 0.1 | ||||||
| True | 0.0 | 0.1 | 0.1 | 0.1 | -0.2 | -0.4 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.1 | 0.2 | 0.1 | 0.1 | 0.1 | ||||||
| True | -0.1 | -0.0 | -0.1 | 0.0 | -0.7 | -0.5 | -0.0 | 0.0 | -0.1 | 0.0 | -0.0 | -0.0 | -0.0 | 0.0 | -0.1 | 0.0 | -0.0 | -0.1 | ||||||
| True | -0.5 | -0.5 | -1.3 | -0.5 | -1.2 | -1.2 | -0.4 | -0.5 | -1.4 | -0.4 | -0.7 | -0.7 | -0.4 | -0.6 | -1.5 | -0.4 | -0.7 | -0.7 | ||||||
| True | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | ||||||
| N = 1 | N = 10 | N = 100 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 11.2 | 11.5 | 7.3 | 9.9 | 142.6 | 168.4 | 11.2 | 12.2 | 13.0 | 4.5 | 1.7 | 2.8 | 11.2 | 12.2 | 12.7 | 4.6 | 1.7 | 2.6 | 100 | ||
| Relative Error (%) | 2.0 | 4.0 | 6.6 | 4.1 | 5.2 | 57.7 | 83.4 | 4.0 | 4.9 | 5.8 | 4.7 | 5.0 | 5.3 | 4.0 | 5.8 | 6.0 | 3.9 | 3.9 | 5.0 | 80 |
| 1.625 | 1.3 | 2.5 | 1.5 | 5.2 | 91.9 | 132.9 | 1.3 | 0.4 | 1.4 | 1.4 | 4.2 | 4.1 | 1.3 | 1.2 | 1.3 | 2.4 | 2.5 | 6.0 | 60 | |
| True | 0.5 | 0.875 | 1.25 | 1.625 | 0.5 | 0.875 | 1.25 | 0.5 | 0.875 | 1.25 | 0.5 | 0.875 | 1.25 | 0.5 | 0.875 | 1.25 | 0.5 | 0.875 | 1.25 | |
| -2.0 | 13.4 | 11.0 | 7.9 | 8.0 | 24.7 | 80.8 | 13.4 | 11.3 | 9.7 | 4.0 | 5.1 | 4.4 | 13.4 | 10.5 | 9.0 | 5.5 | 3.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.0 | 0.4 | 0.9 | 0.6 | 0.2 | 0.1 | 0.2 | 0.4 | 0.9 | 0.7 | 0.2 | 0.1 | 0.2 | 0.1 | |
| 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.0 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | ||
Figure 8. Sensitivity analysis, GP, Standard Deviation Metrics per , , .

Figure 9. Sensitivity analysis, MF-IRL, Averaged Metrics per , , .

Figure 10. Sensitivity analysis, MF-IRL, Standard Deviation Metrics per , , .
Table 3. Hyperparameters for the Beach Bar Experiment
| Hyperparameter | Value |
|---|---|
| State/Action Space | |
| Horizon () | |
| Common Noise Intensity () | |
| Prior | GP: ; MAF: Unif |
| Test Parameters | |
| Observation Horizon () | |
| Bayesian Fictitious Play Rounds () | |
| Fictitious Play Inner Epochs | |
| Distillation Epochs | |
| Monte Carlo Sample Size () | |
| Learning Rate (Fictitious Play / Distillation) | |
| Batch Size | |
| PCA Variance Threshold | |
| Normalizing Flow (MAF) Epochs | |
| Normalizing Flow Learning Rate | |
| Normalizing Flow Ensemble Size | |
| Normalizing Flow Architecture | |
| Posterior Grid Resolution () |
G Experiment 2 (District): details
G.1 Model description
Let , , and . Let for any , , where the sum and the reduction modulo 3 are taken componentwise. The common noise law is defined as , where and is the common noise intensity. The reward function, reflecting a preference for specific hotspots and a penalty for overcrowding, is: for .
G.2 Mean field illustration and ground truth
Fig. 11 shows realizations of the mean field for three different values of .

Figure 11. Mean Field Equilibrium Trajectories for three different scenarios of , with .
G.3 Hyperparameters
Table 4. Hyperparameters for the Entertainment District Experiment
| Hyperparameter | Value |
|---|---|
| State/Action Space | |
| Horizon () | |
| Common Noise Intensity () | |
| Prior (GP) | |
| Prior (MAF) | Dirichlet |
| Test Parameters | See Figure 11 |
| Observation Horizon () | |
| Bayesian Fictitious Play Rounds () | |
| Fictitious Play Inner Epochs | |
| Distillation Epochs | |
| Monte Carlo Sample Size () | |
| Learning Rate (Fictitious Play / Distillation) | |
| Batch Size | |
| PCA Variance Threshold | |
| Normalizing Flow (MAF) Epochs | |
| Normalizing Flow Learning Rate | |
| Normalizing Flow Ensemble Size | models |
| Normalizing Flow Architecture | layers, hidden units |
G.4 Full sensitivity analysis

Figure 12. Sensitivity analysis, MAF, Averaged Metrics per , , .

Figure 13. Sensitivity analysis, MAF, Standard Deviation Metrics per , , .

Figure 14. Sensitivity analysis, GP, Averaged Metrics per , , .

Figure 15. Sensitivity analysis, GP, Standard Deviation Metrics per , , .

Figure 16. Sensitivity analysis, MF-IRL, Averaged Metrics per , , .

Figure 17. Sensitivity analysis, MF-IRL, Standard Deviation Metrics per , , .
H Experiment 3 (SIS): details
H.1 SIS epidemic model
To evaluate our method on parameter inference related to the dynamics, we consider a Susceptible–Infected–Susceptible (SIS) epidemic model inspired by (Cui and Koepp, 2021), where the infection probability of a susceptible agent is directly modulated by the fraction of infected agents in the population. Since the goal of this experiment is solely to demonstrate that our framework also applies to dynamics and to the state-action observation setting , we do not report the full suite of metrics but focus on parameter recovery.
Model. The state space is (Susceptible and Infected), and the action space is (Go Out / Unprotected, and Social Distancing). Let denote the current mean-field distribution. The transition kernel is given by:
(12)
where is the infection transmission rate, is the recovery probability, and is a small perturbation strength for common noise events. The common noise models aggregate shocks (e.g., super-spreader events): when is active, the infection probability receives an additive perturbation , controlled by a Bernoulli intensity parameter . The key mean-field interaction lies in the term : a susceptible agent who chooses to go out faces a risk that is directly proportional to the current fraction of infected individuals and to the intrinsic transmissibility . Social distancing ( ) provides full protection against infection.
The reward function captures the trade-off between the cost of being infected and the cost of preventive action:
where is the cost of social distancing. The agent thus weighs the disutility of infection against the opportunity cost of distancing. At equilibrium, healthy agents in low-infection regimes ( ) will predominantly go out, while high-infection regimes ( ) incentivize distancing, creating a non-trivial fixed-point problem.
Bayesian setup: We consider , and . We consider only the MAF inference. The observer considers the prior being Unif([0.1, 0.8]). We vary the ground truth across . We let vary the number of observations to study posterior concentration as a function of the sample size.
Results: The SIS model presents a qualitatively different identifiability challenge compared to the previous experiments. Because enters multiplicatively in the transition kernel, the sensitivity of the equilibrium trajectory to changes in depends on the equilibrium infection level itself. In the low-infection regime ( ), small changes in produce clearly distinguishable trajectories and the parameter is well-identified. In the high-infection regime ( ), the equilibrium infection level saturates due to the clipping and the self-limiting nature of the SIS dynamics, leading to diminished sensitivity and an identifiability ceiling. But overall, the averaged error on remains inferior to 5% (Figure 18).
H.2 Hyperparameters
Hyperparameters are provided in Table 5.
I Experiment 4 (real data): details
In this section, we show that the BE-MFG can find applicability in real-world settings. We propose a simple MFG model for electricity prices, driven by an exogenous demand and by the aggregate

Figure 18. Posterior across : , .
Table 5. Hyperparameters for the SIS Epidemic Experiment (Medium Configuration)
| Hyperparameter | Value |
|---|---|
| State/Action Space | |
| Horizon () | |
| Fixed Parameters | |
| Common Noise Intensity () | |
| Common Noise Perturbation () | |
| Prior | MAF: Unif([0.1, 0.8]) |
| Test Parameters | |
| Observation Horizon () | |
| Bayesian Fictitious Play Rounds () | |
| Fictitious Play Inner Epochs | |
| Distillation Epochs | |
| Monte Carlo Sample Size () | |
| Learning Rate (Fictitious Play / Distillation) | |
| Batch Size | |
| PCA Variance Threshold | |
| PCA Minimum Dimension () | |
| Normalizing Flow (MAF) Epochs | |
| Normalizing Flow Learning Rate | |
| Normalizing Flow Ensemble Size | |
| Normalizing Flow Architecture | |
| Posterior Grid Resolution () |
production of energy producers. We do not intend to study this model in depth, nor to claim genuine predictive value for electricity prices: such a study would require a more complex model and is beyond the scope of this paper.
I. 1 Model: a mean field game of electricity producers
For simplicity, the model deals with normalized quantities, which are dimensionless. An agent is a producer, whose state is its normalized production level, on a grid of 32 equally spaced values in , where is the standard deviation of the normalized demand, estimated on the data below. We denote by the grid step. The time horizon is one day, hours. At each hour, the producer chooses a ramp , and its production evolves as , where is an idiosyncratic noise with uniform law. The common noise is the normalized demand curve of the day, , which is exogenous. It is carried as a shared state component in the sense of Remark 3.4: the demand is common to all the producers and observed by them, so that the mean field of the model is of the form , where is the distribution of the production levels. In particular, is recovered from by projection on the first marginal, and, since the parameter introduced below only enters the reward and not the transition kernel, this model satisfies the assumptions of Theorem 3.3. The price is endogenous: given the aggregate production of the population, it is
so that the price increases when the demand exceeds the aggregate production. A producer sells its production at this price and is penalized when it produces more than the demand:
The unknown parameter is , where is the over-production penalty and is the sensitivity of the price to the gap between demand and production. The initial distribution is a discretized Gaussian centered at the production level that is consistent with the observed initial demand and price. The optimal production of a producer depends on the price, hence on the production of the whole population, and on the random demand.
I. 2 Data and protocol
We use the public data of the ENTSO-E Transparency Platform for the French bidding zone: the hourly actual total load, used as the demand, and the hourly day-ahead price, in 2018 and 2019. Days with missing values or outliers are removed. The standard deviation of the normalized demand, used to set the production grid of the model, is estimated on the 2018 data, which gives . The three periods have distinct roles:
• 2018: the daily demand curves define the common noise of the model, used to compute the BE-NE and to train the MAFs;
• January to November 2019 (311 days): the observations used to infer , each day being normalized by its own daily mean;
• December 2019 (22 days): held-out days, on which we compare the predicted and observed prices. To avoid any leakage, these days are normalized by the mean demand and price of November 2019.
The observation of a day is the pair of normalized curves : the observer does not see the distribution of the producers, but only an aggregate quantity (the price) together with the common noise.
BE-MFG. We use the Gaussian prior , , and compute the posterior on . The BE-NE is computed as in the other experiments, and the conditional density is learned by an ensemble of MAFs directly on the 48-dimensional observation. The posterior is computed on a grid of parameters, and we use the BMA policy with 64 posterior samples.
Prediction. For each day of December and each hour , the mean field is initialized from the observed price , as for , and propagated for one step with the equilibrium policy, which gives the predicted price . We report the mean squared error (MSE) between the predicted and observed prices over all hours of December, and the Wasserstein-1 distance between the empirical distributions of the predicted and observed prices.
Baselines. (i) MF-IRL (App. D), inferred on the same data; since it returns a point estimate, we predict with a dedicated PMFG solved at the estimated parameter. (ii) An autoregressive model (AR): for each hour , , fitted by least squares on January to November 2019.
I.3 Results
Table 6 and Figure 19 report the results. The BE-MFG reproduces the daily shape of the prices of December, including the morning and evening peaks, from a parameter inferred on the previous months. MF-IRL, which is not designed for common noise, returns a price that is almost insensitive to the demand, and fails. The AR regression, a statistical one-step predictor with free coefficients, is slightly more accurate than the BE-MFG, which only has two parameters and explains the prices through an equilibrium mechanism. Overall, this experiment shows that the BE-MFG pipeline can be applied to real data.
Table 6. Real data: one-step prediction of the prices of December 2019, with inferred on January to November 2019. BE-MFG: mean std over five seeds.
| Method | MSE | |
|---|---|---|
| BE-MFG (MAF, BMA) | 0.0116 ± 0.0006 | 0.071 ± 0.004 |
| MF-IRL | 0.0616 | 0.191 |
| AR (fitted on January to November 2019) | 0.0098 | 0.049 |
I.4 Hyperparameters
J Grid search
A natural approach to the inverse problem is a grid search: solve a dedicated PMFG at each node of a grid over , and select the node whose equilibrium best explains the observations. We do not use it as a baseline in the main paper, because it is not competitive: (i) it requires one NE computation per node, and computing a single NE of an MFG is already expensive; (ii) its accuracy is limited by the resolution of the grid; (iii) its number of nodes grows exponentially with the dimension of the parameter. In this appendix, we illustrate these three points numerically, on Beach Bar (), which is the most favorable case for a grid search, and on District ().
Protocol.. For a given , the quality of a policy is measured by its relative exploitability , where is the uniform policy. For the BE-MFG, we consider the policy induced at (Theorem 4.3), and its exploitability is computed with the same (non-Bayesian) best-response network as for the dedicated PMFG, so that both methods are exploited over the same class of policies. The dedicated PMFG and the BE-MFG policies are neural networks of comparable sizes (Beach Bar: parameters; District: parameters), trained with the same number of gradient steps per FP round (8,000) and the same batch size (512). We use and five seeds. The reported
...... observed price — BE-MFG (MAF, BMA) — MF-IRL — AR (fit on Jan-Nov 2019)

Figure 19. Real data: observed prices of December 2019 (dotted) and one-step predictions of the BE-MFG (BMA), MF-IRL and the AR model, one panel per day. Prices are normalized by the mean price of November 2019.
Table 7. Hyperparameters for the real-data experiment.
| Hyperparameter | Value |
|---|---|
| State/Action Space | |
| Horizon | |
| Prior | |
| Bayesian Fictitious Play Rounds | |
| Fictitious Play Inner Epochs | |
| Distillation Epochs | |
| Learning Rate (Fictitious Play / Distillation) | |
| Batch Size | |
| Normalizing Flow (MAF) Epochs | |
| Normalizing Flow Learning Rate | |
| Normalizing Flow Ensemble Size | |
| Normalizing Flow Architecture | |
| Posterior Grid Resolution | |
| BMA Posterior Samples | |
| Dedicated PMFG (MF-IRL prediction) |
wall-clock is the cumulative training time of the best responses, for both methods; it excludes the distillation and the exploitability evaluations, and the exploitability is computed for the FP average policy.
Computational cost.. Table 8 shows that, at each , a dedicated PMFG reaches 5% relative exploitability in a time comparable to the single BE-MFG solve. A grid search pays this cost at every node: a grid of 8 nodes costs 3,380 seconds, whereas a single BE-MFG solve reaches 5% at all the nodes in seconds. On District (Table 9), a grid with only three points per axis would require dedicated solves, each costing between several minutes and two hours, whereas a single BE-MFG solve reaches 10% on the three scenarios in a time comparable to one dedicated solve.
Table 8. Beach Bar: FP rounds and best-response wall-clock (seconds) to reach 5% relative exploitability (mean std over five seeds). The last row is the cost of the whole grid: the sum over the 8 nodes for the dedicated PMFGs, and the time for the single BE-MFG solve to reach 5% at all the nodes.
| FP rounds | Wall-clock (s) | |||
|---|---|---|---|---|
| PMFG | BE-MFG | PMFG | BE-MFG | |
| 0.5 | ||||
| 0.75 | ||||
| 1 | ||||
| 1.25 | ||||
| 1.5 | ||||
| 1.75 | ||||
| 2 | ||||
| 2.25 | ||||
| Grid of 8 nodes | - | - | 3,380 | |
Table 9. District (): FP rounds and best-response wall-clock (seconds) to reach 10% relative exploitability, and relative exploitability at the end of the FP budget (mean std over five seeds).
| Method | Bullseye | Dual-core | Corridor | |
|---|---|---|---|---|
| FP rounds | PMFG | |||
| BE-MFG | ||||
| Wall-clock (s) | PMFG | |||
| BE-MFG | ||||
| Rel. exploitability | PMFG | |||
| BE-MFG |
Accuracy.. We compare parameter recovery on Beach Bar with a grid search over the 5 dedicated PMFGs of Experiment 1, at . We sample 100 true parameters uniformly in . For each , a dedicated NE, computed with the same settings as the nodes of the grid, generates state observations over the full trajectory. The grid search selects the node minimizing the Wasserstein distance between the observations and trajectories simulated at the node, while the BE-MFG with MAF returns the MAP over a grid of 300 values of , which requires no additional NE computation. We also report the distance between the law of the observations and the law reconstructed with the recovered parameter, computed on independent draws. Table 10 shows that the BE-MFG recovers about 1.7 times more accurately, while both methods reproduce the law of the observations equally well.
Table 10. Beach Bar: parameter recovery from observations, for 100 parameters drawn uniformly in (mean std over five seeds and the 100 parameters).
| Method | in law | Number of NE solves | |
|---|---|---|---|
| Grid search (5 nodes) | |||
| BE-MFG (MAF, MAP) |