Research
Analytic Planning under Uncertainty with Moment Closure
Analytic Planning under Uncertainty with Moment Closure Overview Research area: Model-based reinforcement learning (MBRL), with ties to stochastic dynamics modeling, uncertainty propagation, and conti
- arXiv
- 2608.02519
- Published
- 2026-08-03
- Authors
- Shishir Sharma, Doina Precup
AI summary
Analytic Planning under Uncertainty with Moment ClosureOverview
Research area: Model-based reinforcement learning (MBRL), with ties to stochastic dynamics modeling, uncertainty propagation, and continuous control.
Technical level: Advanced. The paper assumes familiarity with Markov decision processes, the Bellman optimality equation, temporal-difference learning, Gaussian distributions, and ensembles of neural dynamics models.
Scope: The paper proposes and evaluates a planning framework in which the Bellman backup for a learned stochastic dynamics model is computed in closed form rather than by Monte Carlo sampling, by pairing a Gaussian predictive distribution with a value function class whose expectation under that Gaussian is analytic.
What This Paper Is About
Model-based reinforcement learning agents that imagine future states usually estimate value targets by sampling rollouts from a learned dynamics model, which introduces variance into the targets; the alternative, using only the model's predicted mean, discards predictive uncertainty and biases value estimates when the value function is nonlinear. The authors ask whether the Bellman expectation itself can be computed analytically under learned stochastic dynamics, without imposing restrictive constraints on the policy or reward. They show that this is possible when the predictive transition distribution and the value function class are "moment-compatible," and they instantiate the idea with a Gaussian transition model and a radial-basis value function.
Key Contributions
-
A moment-compatibility principle. The paper defines a condition under which the state-value expectation in the Bellman backup admits a closed-form expression in the predictive distribution's parameters, and frames this as a design principle rather than a single fixed functional form. Candidate pairings named include polynomial value functions with elliptical distributions (Gaussian, Laplace, Student-$t$) and Random Fourier Features with a Gaussian predictive distribution.
-
Decoupling greedy action selection from the expectation. Using a quadratic (NAF-style) action-value parameterization, the inner maximization is removed from the Bellman backup, so the backup reduces to an expectation over the state-value function alone. The authors emphasize that this places the tractability requirement entirely on the value representation, leaving the policy free of constraints — unlike classical linear-quadratic routes that restrict the value function jointly in state and action.
-
A closed-form Gaussian–RBF backup. The specific instantiation uses a mixture of Gaussian radial basis functions for the state-value function, whose expectation under a Gaussian next-state distribution is given in closed form (Eq. 7 of the paper), propagating both predictive mean and covariance.
-
An uncertainty-aware MBRL algorithm (MoCA). Moment-Compatible Analytic Planning trains a heteroscedastic Gaussian dynamics ensemble by maximum likelihood over bootstrap resamples, aggregates the ensemble into a single moment-matched Gaussian, and uses analytical Bellman targets inside a twin-critic, clipped-double-estimation loop. Ablations separate analytic from Monte Carlo propagation and from certainty-equivalent planning.
Main Findings
-
Analytic expectation removes sampling noise in the illustrative toy example. In the one-dimensional example with a Gaussian predictive distribution and a radial-basis value function, the exact expectation is $\mathbb{E}[V(s')]=0.057$. Monte Carlo estimates are unbiased but high-variance, especially when the value function is peaked relative to the predictive density. For a two-action comparison with true expected values $\mathbb{E}[A]=0.057$ and $\mathbb{E}[B]=0.025$ (so $A$ is better), sampling noise causes the wrong action to be selected a substantial fraction of the time at small sample counts $K$, with error falling toward zero as $K$ grows; the analytic expectation always selects correctly.
-
MoCA is more robust to observation noise on Cartpole Balance. Under homoscedastic Gaussian observation noise, at moderate noise ($\sigma=0.025$) all methods learn but SAC, BNAF, and the certainty-equivalent MoCA-CE show reduced asymptotic return, while MoCA attains higher final return with more stable learning. At higher noise ($\sigma=0.05$) the gap widens substantially. The same qualitative ordering persists under state-norm-scaled heteroscedastic noise with $\sigma_{\min}=0.0$ and $\sigma_{\max}=0.05$.
-
Analytic propagation outperforms Monte Carlo propagation on Pendulum Swingup. Under homoscedastic noise with $\sigma \in {0.025, 0.05}$, MoCA achieves the highest return and fastest convergence. MoCA-MC improves as samples increase from $K=4$ to $K=16$ but remains significantly below the analytic method in learning speed and asymptotic performance. MoCA-CE and the model-free baselines perform substantially worse.
-
Predictive uncertainty is well calibrated. For MoCA on Pendulum Swingup, empirical $1\sigma$ coverage remains close to the nominal 68% level throughout training, and the epistemic standard deviation stabilizes as the ensemble converges.
-
The robustness comes from planning under uncertainty, not larger sampling budgets. The authors attribute the gains to analytic propagation of predictive uncertainty rather than to model-based learning alone, and report that this robustness does not stem from increased Monte Carlo budgets.
-
Restricting model evaluation avoids model exploitation. Because analytic expectation removes Monte Carlo variability from target construction, optimism from off-support model queries would no longer be masked by noise; the method therefore restricts model evaluation to observed $(s,a)$ pairs and avoids Dyna-style synthetic rollouts.
Methodology in Plain English
The starting point is the standard Bellman target, which contains a maximum over actions inside an expectation over next states. That structure is hard to integrate because the maximization makes the value a highly nonlinear function of the next state. The authors get around this by parameterizing the action-value function so that, for each state, the value is a downward-opening quadratic in the action with the state-value $V(s)$ sitting at the vertex. With that shape, the best action is available in closed form, and the maximum term vanishes from the backup — leaving only an expectation of $V$ over next states.
Since only the value function now needs to be integrable against the predictive distribution, the authors choose a value function made of Gaussian bumps (radial basis functions) with fixed centers and precisions and learned weights. When the predicted next state is Gaussian, the integral of a Gaussian bump times a Gaussian density has a known closed-form answer, so the backup is computed directly from the predicted mean and covariance rather than by drawing samples.
The dynamics model is a Gaussian that predicts both a mean and a covariance at each state–action pair, trained by maximum likelihood. To represent uncertainty about the model itself, they train an ensemble of such models on bootstrap resamples and combine them into one Gaussian by matching the mixture's first two moments — averaging the means, and building the covariance from the average of the individual covariances plus the spread of the ensemble means. On top of this, the agent uses twin critics with clipped double targets, Gaussian exploration noise plus occasional uniform random actions, and periodic target-network updates.
In the experiments, noise is injected into observations rather than into the underlying dynamics, and is restricted to Gaussian form so that the learned model is not misspecified. Two regimes are used: constant-variance noise, and noise whose standard deviation grows with a normalized state norm between $\sigma_{\min}$ and $\sigma_{\max}$.
Why This Matters
Impact on research. The paper offers a third path between two common extremes in model-based RL: Monte Carlo rollouts, which put variance directly into Bellman targets, and mean-collapse or deterministic models, which discard predictive covariance. It shows that uncertainty-aware planning need not come with restrictions on the policy or reward, because the tractability burden can be placed on the value representation alone. It also supplies a diagnostic argument — the toy example — for why sampling variance matters specifically for ranking actions rather than for estimating values.
Real-world applications (as implicated by the paper's framing):
- Control systems where sensor readings are noisy and the cost of a wrong action is high, such as the cliff-edge analogy the authors use where only a narrow band of states is safe.
- Systems where observation uncertainty grows with operating magnitude, matching the paper's state-norm-scaled noise model for high-magnitude or dynamically extreme regimes.
- Robotics and continuous control more broadly, given the use of the MuJoCo Playground and DeepMind Control Suite benchmarks.
- Settings requiring calibrated uncertainty estimates, since the method reports coverage near the nominal 68% level, which matters when downstream decisions depend on knowing how confident the model is.
Industry relevance. Removing Monte Carlo sampling from target construction reduces target variance and removes sensitivity to sampling budgets and particle counts, which matters for compute efficiency and for training stability in production RL pipelines. However, the paper's own limitation analysis notes a per-backup cost of $O(Md^3)$ from determinants and inverses of $d \times d$ matrices, dropping to $O(Md)$ when the basis precisions and predictive covariance are diagonal, as in their experiments.
Future Directions
-
Extending to Dyna-style synthetic rollouts. The authors state that doing so would require incorporating the bounded-action (BNAF) correction term inside the expectation, and that analytic treatment under bounded actions would likely require truncated Gaussian moments, which they leave for future work.
-
Scaling the value representation to higher dimensions. The radial-basis value class faces a curse-of-dimensionality problem, since the number of bases $M$ needed to maintain approximation quality grows poorly with state dimension, alongside the $O(Md^3)$ per-backup cost. Applying the analytic backup in a learned lower-dimensional latent space is suggested as one route, with full exploration left for future work.
-
Exploring other moment-compatible pairings. The paper explicitly presents moment compatibility as a design principle and names polynomial value functions with elliptical distributions and Random Fourier Features with Gaussian predictions as alternatives to the Gaussian–RBF pair; these remain untested here.
-
Broadening the empirical evaluation. The reported results cover two environments (Cartpole Balance and Pendulum Swingup) and Gaussian observation noise; whether the ordering of analytic versus Monte Carlo propagation holds under other noise structures, longer horizons, or contact-rich tasks is not established by the content reported.
Target Audience
Researchers and graduate students working on model-based reinforcement learning, uncertainty-aware value estimation, or probabilistic dynamics models who already understand Bellman backups, TD learning, and Gaussian ensembles. The paper is most useful to those designing planning or target-construction procedures in continuous control, and to practitioners evaluating whether to replace sampled imagined rollouts with analytic expectations. It is not an introductory paper; readers without background in MDPs and quadratic action-value parameterizations will find the derivations and the NAF/BNAF discussion difficult to follow.
Authors’ abstract
Effective model-based reinforcement learning in stochastic environments requires planning that accounts for predictive uncertainty. Propagating full state distributions analytically offers a principled way to do this, but has traditionally required restrictive policy or reward structures to remain tractable. Consequently, modern deep reinforcement learning has largely retreated to either stochastic sampling, which introduces significant target variance, or deterministic point estimates that ignore predictive covariance entirely. We investigate whether distribution-aware planning is possible without these constraints. Using a quadratic action-value parameterization, we first reduce the Bellman backup to an expectation over the state-value function alone; the key idea is then a compatibility principle between the predictive transition distribution and the value function class, under which this expectation is analytic in the distribution's moments. We instantiate this principle with a Gaussian transition model paired with a radial-basis value function, yielding a closed-form backup that propagates both predictive mean and covariance. Empirically, our approach reduces target variance and yields well-calibrated predictive uncertainty under stochastic observations in continuous control, providing a principled framework for planning with learned distribution models.