Augmented Bayesian Policy Search
1Center for Artificial Intelligence and Data Science, University of Würzburg 2Univ. Lille, Inria, CNRS, Centrale Lille, UMR 9189 – CRIStAL 3Department of Computer Science, TU Darmstadt 4Hessian Center for Artificial Intelligence (hessian.AI)
What if Bayesian policy search knew it was solving an MDP?
TL;DR
ABS builds a better Gaussian process prior for policy search from a learned critic. The prior guides search with the deterministic policy gradient, corrected by observed returns. ABS scales Bayesian optimization to high-dimensional control problems while keeping exploration deterministic.
How it works
Deterministic policies are useful on physical systems because they avoid erratic actions and are easier to implement and interpret. Bayesian optimization explores directly over policy parameters, but usually uses only the return from each rollout. ABS also uses the trajectory. A learned critic turns this experience into a prior over nearby policies, giving the search useful information before it collects more returns.
The gradient of a GP is a GP
ABS builds on Maximum Probability of Descent (MPD), a local Bayesian optimization method. MPD models the policy return as a Gaussian process with prior mean \(m\) and kernel \(K\). The derivative of a Gaussian process is again a Gaussian process, so after observing returns \(Y\) at points \(X\), the gradient at \(\theta\) has a Gaussian posterior \(\mathcal{N}(\mu_\theta, \Sigma_\theta)\). Its mean starts from the gradient of the prior, \(\nabla_\theta m(\theta)\), and corrects it where the prior misses the observations. The usual prior is constant, so that first term vanishes and the data must do all the work. A prior that already knows the slope of the return would give a good gradient from few rollouts.
Performance difference lemma
The performance difference lemma provides such a prior. It writes the return of any policy \(\pi_x\) as the return of the current policy \(\pi_\theta\) plus the expected discounted sum of its advantages along trajectories of \(\pi_x\). Everything on the right concerns \(\pi_\theta\), whose trajectories we have, except the unnormalized discounted state visitation measure \(d^{\pi_x}\) of a policy we have not run.
Advantage mean function
ABS rolls out the central point \(\theta\), collects its return \(\widehat{J}(\pi_\theta)\) and states \(\widehat{d}^{\pi_\theta}\), and trains a critic \(\widehat{Q}^{\pi_\theta}_\phi\) on its transitions, which gives the advantage \(\widehat{A}^{\pi_\theta}_\phi\). Replacing the unknown \(d^{\pi_x}\) by \(\widehat{d}^{\pi_\theta}\) leaves a residual, which the paper bounds in Lipschitz MDPs by how far the actions of the two policies differ. Near \(\theta\) the residual is small, so the remaining term is a good prior for the return of any point \(x\). It acts like a first-order expansion of the return around \(\theta\), and the Gaussian process only has to model what it misses.
Fitness-aware policy gradient
ABS starts from the critic’s deterministic policy gradient and corrects it with observed returns. The same estimate combines information from trajectories with the outcomes of policy evaluations.
A criterion to validate critics
The same lemma also measures how good a critic is. Rolling out any point \(x\) gives its return \(\widehat{J}(\pi_x)\) and its own states \(\widehat{d}^{\pi_x}\). On those states the lemma holds exactly, so a good critic should reproduce the observed return, and the prediction error tests the critic on trajectories it was not trained on. Every acquisition thus becomes validation data, and ABS uses this score to weight an ensemble of critics.
Results
We compare ABS with MPD and with Augmented Random Search (ARS) on MuJoCo locomotion tasks of increasing dimension.
- ABS targets rollouts that are most informative about the local ascent direction. Each observed return refines the gradient estimate used for the next policy update.
- The learned prior captures useful structure in policy returns. Its predictions guide the local search, while validation against observed returns helps ABS choose which critics to trust.
- ABS consistently outperforms MPD. Its advantage becomes clearest in high-dimensional policy spaces, where the learned prior gives the search a useful direction.
- Validation weighting and critic resets work best together. Poorly performing critics receive less weight while they relearn, so resetting them does not overwhelm the ensemble.
Final remarks
- The advantage mean function acts like a first-order Taylor expansion of the policy return, bridging Bayesian optimization and reinforcement learning.
- ABS explores with deterministic policies, learns effectively in an episodic setting, and lets one trade compute for learning speed.
Citation
@inproceedings{kallel2024abs,
author = {Mahdi Kallel and Debabrota Basu and Riad Akrour and Carlo D'Eramo},
title = {Augmented Bayesian Policy Search},
booktitle = {International Conference on Learning Representations},
year = {2024},
url = {https://openreview.net/forum?id=OvlcyABNQT},
}