Manuscript Offprint
arXiv:2610.12028Policy Synthesis for Finite Populations of MDP Agents under Aggregate Reach-Avoid Chance Constraints
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Jie Fu and Anamika Dubey
Abstract—Consider a finite population of agents with decoupled Markov transition dynamics and empirical-density feedback, subject to the following constraints: with probability at least , at least a fraction of agents must reach a target region at some time , while, at each time up to , the unsafe population fraction must remain below with probability at least . However, standard mean-field methods enforce these constraints only in expectation, which fails to account for stochastic fluctuations at finite fleet size . To address this control problem, we propagate the second-order moment (variance) of the empirical density alongside the mean-field trajectory via a discrete-time Lyapunov recursion, and apply the Cantelli inequality to convert chance constraints into tractable deterministic conditions on the moments of the empirical density. We then incorporate these moment-based surrogate constraints into a gradient-based sequential convex approximation procedure for density-feedback policy synthesis. We further introduce additional moment-error bounds to construct a rigorous finite-N certificate. The method is evaluated on a gridworld environment and a power-system EV-charging aggregation problem and compared with a standard deterministic population-level LP baseline.
Index Terms—chance constraints, mean-field, Markov decision process, covariance propagation.
I. INTRODUCTION
Controlling large populations of autonomous agents subject to safety and mission requirements is a fundamental challenge in swarm robotics [2], [4], [11], multi-agent systems [3], and smart-grid applications [26]. Tracking the state of every agent individually becomes intractable as N grows because the resulting joint state space scales exponentially with N; mean-field methods instead describe the population through an aggregate distribution whose dimension is independent of N [1], [12], [13].
For finite , however, the empirical population density exhibits stochastic fluctuations around its mean-field limit, so a policy whose limiting trajectory satisfies a constraint may still violate that constraint with non-negligible probability. We therefore study policy synthesis for a finite- population subject to aggregate reach-avoid chance constraints: with probability at least , at least a fraction of the agents must occupy the target region at some time , while, at every time up to , the unsafe-region occupancy must not exceed with probability at least .
Related work. Mean-field games study equilibria among noncooperative agents, whereas mean-field control (MFC) considers a cooperative population whose aggregate objective is optimized by a centralized planner. Foundational continuous-time mean-field game theory characterizes population equilibria through coupled backward optimality and forward population-dynamics equations [12], [13]. For discrete-time mean-field MDPs, Bäuerle establishes the existence of optimal policies and convergence of finite-population control problems to their mean-field limits [7]. Related mean-field reinforcement learning (MFRL) studies develop and analyze learning algorithms for both mean-field games and cooperative mean-field control [14]–[17].
For the class of reach-avoid chance constraints, stochastic reach-avoid methods has been developed to ensure probabilistic specifications for individual stochastic systems [6]. Yet, the method does not extend directly to enforce constraints on the empirical density of a finite multi-agent population when individual agents are stochastic systems. For MFC, safety constraints have been imposed on the deterministic population distribution or the system's mean-field limit [1], [3]–[5]. Safe MFRL method [23] accounts for uncertainty in unknown transition dynamics when learning policies subject to global population constraints, but it does not account for stochastic fluctuations of the realized empirical density at finite N.
Relating the proposed problem to other work focusing on stochastic variability in control design. Risk-sensitive mean-field games [20] use an exponential objective to account for variability in an individual agent's accumulated return, rather than fluctuations in the aggregate occupancy of a finite population. Covariance steering uses the mean and covariance of a stochastic system's state to enforce trajectory-level chance constraints [9], while distribution-and density-steering methods control state distributions under non-Gaussian disturbances or in robotic swarms [21], [22]. These approaches characterize either noise intrinsic to an individual system's dynamics, or spatial dispersion of an continuum-population density. In contrast, the covariance we aim to constrain is the sampling covariance of the discrete empirical occupancy vector, which arises only because the population is finite and vanishes as .
Related finite-population work [19] formulates mean-field-type multi-agent control as a measure-valued MDP and develops discretization-based approximations with near-optimality guarantees. This measure-valued state representation avoids the exponentially large joint state space, but the planning method discretizes the measure-valued state space into a finite set of quantized empirical distributions, whose number grows combinatorially with the population size and
Jie Fu is with the Department of Electrical and Computer Engineering, University of Florida, Gainesville, FL 32611, USA fujie@ufl.edu.
Anamika Dubey is with the School of Electrical Engineering and Computer Science, Washington State University, Pullman, WA 99164, USA anamika.dubey@wsu.edu.
the number of quantization bins. Moreover, the resulting approximate policies carry no chance-constraint guarantee for the finite-N empirical density. For uncontrolled stochastic population models, [8] derives finite-size corrections to the mean-field limit at large but finite N. This is done by solving a Lyapunov equation which yields a bias-correction term of order 1/N that sharpens the mean-field estimate of a performance metric's expected value. This work does not characterize the variance of the finite-N population distribution, nor does it address chance-constrained policy synthesis.
Contribution. We study a finite population of homogeneous MDP agents with population-independent transition kernels and density-feedback policies. The goal is to synthesize a policy that, when each agent follows this policy, their collective behavior optimizes an aggregate objective subject to reach-avoid chance constraints on the empirical density. We derive first-order recursions for the mean and covariance of the finite-population empirical density under density-feedback policies and use Cantelli's inequality to obtain deterministic sufficient conditions for the reach-avoid chance constraints. Because the mean and covariance recursions are first-order approximations, we introduce bounds on the moment-approximation errors to the reach and avoid margins to derive rigorous finite-N certificates. Using these constraint surrogates, we develop a model-based Sequential Convex Approximation (SCA) algorithm that updates the density-feedback policy parameters through a sequence of second-order cone programs, using automatic differentiation to linearize the reach-avoid constraints locally. The method is validated using two experiments.
A. Swarm MDP and Empirical Density
A finite-horizon MDP is , where and are finite state and action spaces, is the transition kernel, is the reward, and is the mean initial population density. A swarm of homogeneous agents evolves on . The empirical density is
where is agent 's state at time . We allow to be random with known mean and covariance ; deterministic initialization is recovered by setting . Each agent selects actions via the time-varying density-feedback policy , parameterized by , where is the slice of parameters used at time and is the number of features. Specifically, we use the softmax-linear policy
where is a twice continuously differentiable feature vector that may include state and population-density information. We write for brevity when the time index is clear from context. Because the transition kernel and reward are population-independent, the density-feedback policy couples the agents through the controlled transition dynamics.
Remark 1 (Density-Dependent Reward: General Case). The reward in Problem 1 depends only on an agent's state-action pair and not on the population density. More general density-dependent rewards arise in congestion models and coverage control but are outside the present scope.
B. Reach-Avoid Chance Constraints
Let be disjoint target and unsafe regions, and define the free region as . Define the aggregate density in region as . Let denote the set of time steps.
Problem 1 (Chance-Constrained Reach-Avoid). Given , find policy parameters and a reach time solving
where is the population-average one-step reward conditional on .
The constraints in (3b)–(3c) are bound the reach and avoid violation probabilities separately, with the avoid guarantee imposed at each time .
III. MEAN-FIELD DYNAMICS AND COVARIANCE PROPAGATION
A. Mean-Field Trajectory
For a fixed finite horizon and under the regularity and initial-concentration assumptions stated below, concentrates around the deterministic mean-field trajectory as . This trajectory is defined by the mean-field flow equation [1]:
We distinguish from the true finite-N expectation . Define the conditional-mean map
As shown below, the finite-population process satisfies exactly, whereas the deterministic trajectory satisfies . By Jensen's inequality,
in general when density feedback makes nonlinear. So setting on the right-hand side does not reproduce on the left. Accordingly, is a nominal deterministic population trajectory and a leading-order approximation to the finite-N mean, not the exact expectation.
Define the time-t occupation measure by
For compactness, define and . The flow matrix is defined by . The mean-field flow can then be written compactly as
B. Exact Conditional Moments and First-Order Covariance Propagation
The empirical density itself is a finite-state Markov process under a density-feedback policy. For an arbitrary density , define the effective one-agent transition matrix
The conditional-mean map in (6) then satisfies . Conditional on for an attainable empirical density , there are agents in state . Given this count vector, agents randomize their actions independently and their physical transitions are conditionally independent. Consequently,
exactly. Define
Summing the covariances of the conditionally independent categorical next-state indicators gives the exact identity
For density feedback, fluctuations of propagate through the Jacobian of . Let
where, coordinatewise,
(16)
When the policy is density independent, the second term vanishes and .
We say that the initial empirical density satisfies the initial concentration condition if
This condition holds for deterministic initialization and for independently sampled initial states; in the latter case,
Proposition 1 (First-Order Covariance Approximation). Assume a fixed horizon, the initial concentration condition, and that is twice continuously differentiable in a neighborhood of the nominal trajectory. Linearizing the conditional-mean map around the nominal trajectory gives the following first-order approximation to :
The recursion is initialized with , including for deterministic initialization.
Proof sketch. The law of total covariance and (11)–(14) give
Linearizing the conditional-mean map around yields
Under this linearization, describes how existing population fluctuations propagate to the next time step. Because fluctuates around at rate , the variation of contributes only a smaller-order term after multiplication by ; we therefore evaluate at . This gives (19).
Remark 2 (Aggregate action constraints). For constraints on actions aggregated across the population, an analogous first-order variance approximation can be derived for the empirical occupation measure; see Appendix.
IV. CANTELLI CHANCE-CONSTRAINT CERTIFICATION
The standard MF approach enforces only the nominal constraints and , but these mean-field conditions alone do not imply the finite-N chance constraints (3b)–(3c). Write for the exact finite-population mean and for the expected fraction of agents in . Here, is the indicator vector for .
We use Cantelli’s inequality to derive deterministic sufficient conditions based on the first two moments, following a construction similar to that used in chance-constrained MPC [10].
Proposition 2 (Cantelli Bounds). For any t and policy , the reach bound below holds when , and the avoid bound holds when :
where denotes the exact finite-population variance. Specifically, when the relevant variance is zero, the corresponding probability bound equals one, and the Cantelli condition reduces to for reach or for avoid.
Proof. For the reach bound, let and . If , Cantelli's inequality gives
Since , taking complements yields (21). If the variance is zero, is constant almost surely and the conclusion follows directly. The bound on the avoid condition is derived analogously.
Lemma 1 (Sufficient Cantelli Conditions). Setting and , the chance constraints (3b)–(3c) are implied by:
Proof. For the reach constraint, let d_r := m_t^*^N(\mathcal{T}) - \alpha_r. Condition (23) ensures and
Therefore,
and substituting this inequality into (21) gives the required probability bound. For the avoid constraint, set . Condition (24) gives and , so the same argument applied to (22) yields the avoid bound. If either variance is zero, the corresponding random variable is constant almost surely and the conclusion follows directly.
Corollary 1 (Robust Finite-N Certificate). Let be the covariance approximation produced by Proposition 1. Suppose validated deterministic bounds are available for the mean and variance approximation errors, respectively, such that
Then the exact finite-N chance constraints are implied by
Proof. The first enclosure lower-bounds the exact reach mean and upper-bounds the exact unsafe mean; the second upper-bounds the relevant exact variance. Thus (26)–(27) imply the conditions of Lemma 1.
Replacing the moments in (23)–(24) with and , for , gives surrogate constraints. These constraints are nonlinear in through (9) and (19).
V. CHANCE-CONSTRAINED MEAN-FIELD POLICY SYNTHESIS
Using the mean-field and first-order covariance approximations, we formulate the following approximate synthesis problem:
s.t. (27), (26), (9), (19).
Recall that is the occupancy measure.
Because the problem is nonconvex, we solve it using the sequential convex approximation (SCA) method. At each SCA iteration, we linearize the mean-field trajectory and solve a trust-region SOCP that takes one policy-improvement step subject to the Cantelli reach-avoid constraints. We first derive the required Jacobians, then formulate the SOCP subproblem, and finally describe the trust-region update and the search over candidate reach times.
A. Linearization of the objective function
Given the policy parameter at iteration k, the objective function has the following first-order Taylor expansion:
Recall that , which is a function of through both the parameterized policy and . Let , and denote the Jacobian of the mean-field density with respect to the policy parameters, with because is fixed. Here is the total number of policy parameters.
Proposition 3. The Jacobian of at iterate is
where and , and propagates forward via
Consequently, the linearized occupation measure and mean trajectory are and .
Proof. By (9), .
Since depends on both directly and through , the chain rule with , , gives exactly (29):
Here, and
The flow matrix is constant, -independent, so differentiating directly gives , i.e. (30). Substituting the expression for above into this combines the pair (29)–(30) into a single linear recursion in :
The first term propagates the density sensitivity, while the second captures the direct effect of the policy parameters. is then recovered from via (29).
For ,
B. SOCP Subproblem
For a finite-N certificate, let and be validated upper bounds satisfying (25) throughout the current trust region. Linearising the mean and freezing these bounds gives the k-th SCA subproblem:
where are slack variables, is the reward function written in the vector form, is fixed (see below), is the trust-region radius,
is the linearized mean trajectory of Proposition 3, and
is a certified upper bound on the Cantelli standard deviation of region . Here is the first-order covariance recursion evaluated at the current iterate. The resulting constraints are the robust conditions (26)–(27) with a linearized mean. Problem (32) is an SOCP (the objective and constraints are affine in ; the trust region is a second-order cone constraint), solvable in polynomial time.
a) Fixed-covariance surrogate: The mean trajectory is linearized as , whereas the covariance surrogate is held at . This is because depends on through the nonlinear Lyapunov recursion (19), which contains the term . Freezing keeps the constraints affine in and preserves the SOCP form of the subproblem. The trust region keeps this approximation local, and the covariance is recomputed after every accepted step. By Proposition 1, the change in covariance over a gradient step is typically . Such a small error can be negligible or absorbed into the error of Corollary 1.
b) Trust-Region Update: For each SCA run, is fixed to one candidate reach time. Since a step that improves J can violate the robust constraints after linearization, we accept or reject it using an -penalty merit function evaluated at the nonlinear robust margins,
(35)
where we define the robust standard-deviation margin . Then
The bounds and are recomputed or validated at the candidate policy; penalizes constraint violation. If the SOCP is feasible, set and evaluate the candidate using the nonlinear merit function. The trust-region radius is then updated as:
where , , and is the acceptance tolerance. Candidates that fail the merit-function acceptance test are rejected and the trust-region radius is reduced.
If instead the SOCP (32) is infeasible, the trust region may be too small to reach the required constraint shifts. We therefore increase up to . If infeasibility persists at , we terminate the current SCA run and proceed to the next candidate .
c) Choose candidate reach time: The existential reach constraint requires only that (32b) holds at some , not a specific terminal time . Given an initial warm-start policy, we enumerate the top- candidate time steps by their initial reach margins (descending). We run SCA for each candidate in turn and stop when both margins in the merit function (35) satisfy and . If no candidate satisfies both margins, we return the infeasible result with the largest across all candidates. Because the search stops at the first candidate satisfying both margins, rather than comparing all candidates, the returned policy may be suboptimal in reward.
Algorithm 1: SCA for Reach-Avoid Swarm Control
Input:
Output:
1 Compute via forward sim. and Lyapunov recursion at ;
2 Compute or validate for the initial trust-region radius ;
3 Rank by descending;
set candidates;
4 foreach do
5 ;
6 ;
7 for do
8 Compute ;
9 Compute or validate for the current trust region;
10 Compute via Prop. 3;
11 Solve SOCP (32) ;
12 if infeasible then
13 if then
14 break; // proceed to the next
15 ; continue;
16 ;
17 if then
18 ;
19 ;
20 else
21 ;
22 Evaluate ;
23 if and then
24 Store the candidate;
25 break; // first candidate satisfying both margins
26 Store if is the largest infeasible value so far;
27 return stored
VI. EXPERIMENTAL VALIDATION
We validate the algorithm using two case studies. As a baseline, we use a mean-field LP that solves the mean-field relaxation of Problem 1 directly over the occupation measure , rather than over policy parameters :
enforcing only the mean constraints. Since is existential, (37) is solved once for each candidate and the best feasible reward is kept. Because the objective and constraints are linear in , (37) is an LP and is solved exactly. The policy is recovered as (uniform where ).
A. Gridworld Environment
Our first case study is a discrete gridworld (Fig. 1, , : up/down/left/right/stay, ). Transitions: intended action with probability 0.9; otherwise
Code is available at https://github.com/jiefu2017/mfmdp-swarm-control.

Fig. 1. The gridworld environment. Start (red, S) at ; wall at x = 2 with three impassable cells (black) and three open gap cells , , (orange) that every route must cross; three reach targets (green, T) and one reward-only target (blue, R), both past the wall.
TABLE I
GRIDWORLD RESULTS. , : SURROGATE CANTELLI MARGINS ( INDICATES THAT THE SURROGATE CONDITION IS SATISFIED). :
EMPIRICAL MEAN TOTAL REWARD. : EMPIRICAL REACH
PROBABILITY. : MAXIMUM EMPIRICAL PER-CELL AVOID VIOLATION
RATE. EMP. MET? INDICATES WHETHER BOTH EMPIRICAL REACH AND
AVOID REQUIREMENTS ARE MET.
| N | MF-LP (baseline) | SCA (proposed) | ||||||
|---|---|---|---|---|---|---|---|---|
| emp. met? | ||||||||
| 10 | 9.39 | 0.91 | 0.38 | ✓ | 9.38 | 1.00 | 0.40 | |
| 20 | 9.38 | 0.95 | 0.39 | ✓ | 8.97 | 1.00 | 0.12 | +.029/+ .000 |
| 50 | 9.37 | 1.00 | 0.44 | × | 9.23 | 1.00 | 0.08 | +.000/+ .000 |
| 100 | 9.38 | 1.00 | 0.47 | × | 9.28 | 1.00 | 0.12 | +.090/+ .000 |
a uniformly random other action executes instead (probability 0.1/4 each). Moves into a wall cell, or off the grid, leave the agent in place. Start: (5,0). A wall at separates the swarm from three reach targets (reward 0.5 each) and one reward-only target (0,5) (reward 1.0, not in ): higher reward, but not reach-designated, mirroring the reward/safety tension of the reach-avoid setting considered here. The wall has three physically impassable cells (2,0), (2,2), (2,4) and three openings (2,1), (2,3), (2,5); every route from the start to any target must pass through one of these openings.
Rather than one avoid constraint, we consider three independent per-cell instances of the avoid clause in (37) (and its Cantelli counterpart (32c)), tracking each cell's instantaneous occupancy (congestion): for opening , , i.e. , (), which means the probability that more than of agents occupy the same opening simultaneously is at most . Reach parameters: , (), which means with probability at least , at least of the agents reach the target.
Table I reports the surrogate Cantelli margins at the selected by each method, together with Monte Carlo estimates over 500 trials (fleet sizes ), using Algorithm 1 with the LP-based warm start. reports the maximum over the three per-cell violation rates. The target values are and .
Key findings. (1) SCA achieves positive Cantelli margins and stays under budget ( ) for . At N = 10, the empirical reach rate is 100% and the empirical per-cell violation rate is also 40%. However, and mean that the surrogate Cantelli conditions are not satisfied. This reflects the conservatism of the distribution-free Cantelli bound: the empirical trials meet both requirements even though the surrogate test does not.
In comparison, the MF-LP violation rate does not decrease with , rising from 0.38 at to 0.47 at . This is because the MF-LP's mean trajectory sits exactly at the boundary, . By the central limit theorem, the occupancy is approximately Gaussian for large , and because a Gaussian is symmetric about its mean, . Lastly, for , the SCA reward is within of the MF-LP reward: the three reach targets give SCA freedom to redistribute reward-collection time without sacrificing much of the safety margin.
B. EV-Charging Aggregator
Our second case study is an EV-charging application in which the avoid constraint is a transformer capacity limit on the aggregate action, i.e. on the occupation measure itself.
Environment. States are state-of-charge (SOC) bins in increments; the target set is (). Three actions: fast charging (reward 3; advances SOC by 2 bins w.p. 0.6, else 1 bin), slow charging (reward 1; advances by 1 bin w.p. 0.9, else unchanged), and idle/no-charging (reward 0; SOC unchanged deterministically). SOC 10 is absorbing. All agents start at SOC 0. The policy feature vector is : a bias, normalized SOC, and a global density-feedback feature reporting how much of the fleet has already reached the target. Rather than bounding how many agents occupy an unsafe state, the operational constraint here is that, with probability at least , no more than a fraction of the fleet may fast-charge simultaneously, at any time. Define the empirical occupation measure as , the fraction of agents in state taking action at time . With ,
For the aggregate-action constraint (38), we use the occupation-measure variance approximation in Appendix, with . The surrogate Cantelli condition and SCA subproblem then use , the Jacobian of , for this constrained quantity. The following parameters are used: , , (), , (). Unlike in the gridworld case study, the reach time is fixed at because the requirement is that at least of the fleet attain an SOC of at least by the terminal time. The avoid/congestion constraint is then active over the entire charging window.
Key findings. (1) The MF-LP maximum per-time-step violation rate remains near the CLT-predicted 50% level (0.45–0.52) across all tested fleet sizes, which is a property of the LP's mean-only formulation. (2) SCA uses the occupation-measure variance approximation in (39). It satisfies the surrogate conditions for (, at ). As grows, the aggregate charging fraction concentrates around its mean, reducing the uncertainty margin required by the surrogate constraint. For , the observed violation rate remains at or below 0.08. Figure 2 illustrates the corresponding mean charging profiles: the MF-LP fast-charging fraction sits at the limit, whereas the SCA fraction remains around 0.42. We also observe that SCA's slow-charging fraction is higher than MF-LP's, especially at earlier timesteps: because SCA's average fast-charging fraction is lower, it must rely more on slow-charging throughout to still satisfy the reach constraint.
TABLE II
EV-CHARGING RESULTS. : SURROGATE CANTELLI MARGINS ( INDICATES THAT THE SURROGATE CONDITION IS SATISFIED), WITH COMPUTED USING (39). : EMPIRICAL MEAN TOTAL REWARD. : EMPIRICAL REACH PROBABILITY. : MAXIMUM EMPIRICAL PER-TIMESTEP MARGINAL AVOID VIOLATION RATE. EMP. MET? INDICATES WHETHER BOTH EMPIRICAL REQUIREMENTS ( AND ) ARE MET.
| MF-LP (baseline) | SCA (proposed) | |||||||
|---|---|---|---|---|---|---|---|---|
| emp. met? | ||||||||
| 20 | 19.11 | 1.00 | 0.45 | × | 17.62 | 1.00 | 0.27 | +.138/-.134 |
| 50 | 19.09 | 1.00 | 0.49 | × | 17.56 | 1.00 | 0.06 | +.196/+.000 |
| 100 | 19.09 | 1.00 | 0.52 | × | 17.99 | 1.00 | 0.08 | +.199/+.000 |
| 200 | 19.09 | 1.00 | 0.51 | × | 18.31 | 1.00 | 0.07 | +.200/+.000 |
Lastly, as an ablation study, we tested replacing the scalar feature with the full density vector (raising from 3 to , and from 1,188 to 5,148 parameters). The two feature designs produced similar results, so we omit the full-density results.
Computational performance. On an Apple M1 Pro with 16 GB RAM, the gridworld policy has 18,000 parameters and uses at most 25 SCA iterations for each of up to three candidate reach times. Including SCA and the 500-trial evaluations of both methods, the runtime per fleet size was 53–174 s. The EV policy has 1,188 parameters and uses one fixed reach time; the corresponding runtime was 12–15 s. The experiments used Python 3.14, JAX 0.11, and CVXPY 1.9.
VII. CONCLUSION
We presented a policy synthesis framework for chance-constrained reach-avoid control of finite-N swarms on discrete MDPs. The proposed method optimizes a density-feedback policy via Sequential Convex Approximation over a sequence of SOCPs for constrained policy gradient updates. In both case studies, the MF-LP baseline's mean-only solution lies on the active constraint boundary, causing its violation probability to approach approximately rather than vanish as increases. The standard-deviation penalties in the SCA constraints decrease at rate , reducing conservatism for larger populations. Future work includes extending this approach to true mean-field-type MDPs, where the transition kernel and reward function are coupled to
MF-LP (baseline)

SCA, N = 100 (proposed)
timestep t
cap fast-charging fraction slow-charging fraction idle fraction
Fig. 2. Aggregate fast-charging, slow-charging, and idle fractions over time (summing to 1 at every t), MF-LP's optimal solution (top) versus the SCA solution at N = 100 (bottom). MF-LP saturates the cap at every timestep and avoids slow-charging until the departure deadline forces it (t = 9–11); SCA holds a margin below the cap throughout.
the population’s empirical density, and to chance-constrained finite-N MDPs with common noise.
APPENDIX
VARIANCE OF AGGREGATE OCCUPATION MEASURES
For a linear statistic of the empirical occupation measure, where , define
Conditioned on , agents at each state choose actions independently, so their action counts have multinomial distributions. Applying the law of total variance and linearizing the conditional mean around gives
where is the state-density covariance approximation from Proposition 1. The first term is the conditional action-sampling variance; the second propagates state-density fluctuations through the density-dependent conditional mean. Define as the square root of the right-hand side of (39). For the EV-charging example, selects the fraction of agents taking the fast-charging action.
REFERENCES
[1] B. Açikmeşe and D. S. Bayard, “A Markov chain approach to probabilistic swarm guidance,” in Proc. ACC, 2012, pp. 6300–6307.
[2] N. Demir, U. Eren, and B. Açikmeşe, “Decentralized probabilistic density control of autonomous swarms with safety constraints,” Autonomous Robots, vol. 39, no. 4, pp. 537–554, 2015.
[3] M. El Chamie, Y. Yu, and B. Açikmeşe, “Convex synthesis of randomized policies for controlled Markov chains with density safety upper bound constraints,” in Proc. ACC, 2016, pp. 6290–6295.
[4] X. Yang, Y. Hu, H. Gao, K. Ding, Z. Li, P. Zhu, Y. Sun, and C. Liu, "Risk-aware non-myopic motion planner for large-scale robotic swarm using CVaR constraints," in Proc. IROS, 2024, pp. 5784–5790.
[5] S. Wu Fung and L. Nurbekyan, “Mean-field control barrier functions: A framework for real-time swarm control,” in Proc. ACC, 2025.
[6] D. Žikelić, M. Lechner, T. A. Henzinger, and K. Chatterjee, “Learning control policies for stochastic systems with reach-avoid guarantees,” in Proc. AAAI, 2023, pp. 11926–11935.
[7] N. Bäuerle, “Mean field Markov decision processes,” Appl. Math. Optim., vol. 88, art. 12, 2023.
[8] N. Gast and B. Van Houdt, “A refined mean field approximation,” Proc. ACM Meas. Anal. Comput. Syst., vol. 1, no. 2, art. 33, 2017.
[9] K. Okamoto, M. Goldshtein, and P. Tsiotras, “Optimal covariance control for stochastic systems under chance constraints,” IEEE Control Syst. Lett., vol. 2, no. 2, pp. 266–271, 2018.
[10] M. Farina and R. Scattolini, “Model predictive control of linear systems with multiplicative unbounded uncertainty and chance constraints,” Automatica, vol. 70, pp. 258–265, 2016.
[11] B. Doerr and R. Linares, “Control of large swarms via random finite set theory,” in Proc. ACC, 2018, pp. 2904–2909.
[12] J.-M. Lasry and P.-L. Lions, “Mean field games,” Japanese J. Math., vol. 2, pp. 229–260, 2007.
[13] M. Huang, R. P. Malhamé, and P. E. Caines, “Large population stochastic dynamic games: closed-loop McKean-Vlasov systems and the Nash certainty equivalence principle,” Commun. Inf. Syst., vol. 6, no. 3, pp. 221–252, 2006.
[14] Y. Yang, R. Luo, M. Li, M. Zhou, W. Zhang, and J. Wang, “Mean field multi-agent reinforcement learning,” in Proc. ICML, 2018, pp. 5571–5580.
[15] J.-P. Fouque, M. Laurière, and M. Zhang, “Convergence of actor-critic learning for mean field games and mean field control in continuous spaces,” arXiv:2511.06812, 2025.
[16] A. Angiuli, J.-P. Fouque, and M. Laurière, “Unified reinforcement Q-learning for mean field game and control problems,” Math. Control Signals Syst., vol. 34, pp. 217–271, 2022.
[17] R. Carmona, M. Laurière, and Z. Tan, “Linear-quadratic mean-field reinforcement learning: convergence of policy gradient methods,” arXiv:1910.04295, 2019.
[18] K. Cui, C. Fabian, A. Tahir, and H. Koepp, “Major-minor mean field multi-agent reinforcement learning,” in Proc. 41st Int. Conf. Machine Learning, vol. 235, 2024, pp. 9603–9632.
[19] E. Bayraktar, N. Bäuerle, and A. D. Kara, “Finite approximations for mean field type multi-agent control and their near optimality,” Appl. Math. Optim., vol. 92, art. 7, 2025.
[20] N. Saldi, T. Başar, and M. Raginsky, “Approximate Markov-Nash equilibria for discrete-time risk-sensitive mean-field games,” Math. Oper. Res., vol. 45, no. 4, pp. 1596–1620, 2020.
[21] V. Sivaramakrishnan, J. Pilipovsky, M. Oishi, and P. Tsiotras, “Distribution steering for discrete-time linear systems with general disturbances using characteristic functions,” in Proc. ACC, 2022, pp. 4183–4190.
[22] C. Sinigaglia, A. Manzoni, F. Braghin, and S. Berman, “Robust optimal density control of robotic swarms,” Automatica, vol. 176, art. 112218, 2025.
[23] M. Jusup, B. Pásztor, T. Janik, K. Zhang, F. Corman, A. Krause, and I. Bogunovic, “Safe model-based multi-agent mean-field reinforcement learning,” in Proc. 23rd Int. Conf. Autonomous Agents and Multiagent Systems (AAMAS), 2024, pp. 973–982.
[24] P. Mestres, B. Werner, R. K. Cosner, and A. D. Ames, “Probabilistic control barrier functions: safety in probability for discrete-time stochastic systems,” in Proc. ACC, 2026, pp. 110–117.
[25] G. Rapakoulias, A. R. Pedram, and P. Tsiotras, “Steering large agent populations using mean-field Schrödinger bridges with Gaussian mixture models,” IEEE Control Syst. Lett., vol. 9, pp. 1760–1765, 2025.
[26] R. Couillet, S. M. Perlaza, H. Tembine, and M. Debbah, “A mean field game analysis of electric vehicles in the smart grid,” in Proc. IEEE INFOCOM Workshops, 2012, pp. 79–84.