Bayesian Meta-Reinforcement Learning with Laplace Variational Recurrent Networks
Joery A. de Vries, Jinke He, Mathijs M. de Weerdt, Matthijs T. J. Spaan
TL;DR
This paper reframes memory-based meta-reinforcement learning through a Bayesian lens and introduces Laplace Variational Recurrent Networks (Laplace VRNNs) to obtain posterior uncertainty without redesigning existing architectures. By applying the Laplace approximation to the latent-variable posterior, it yields a Gaussian distribution over environment representations that can be used for posterior predictive decision-making and uncertainty estimation, even for non-Bayesian baseline agents. The authors formulate a probabilistic graphical model aligned with memory-based meta-RL, derive practical lower bounds, and show that Laplace VRNNs can match variational baselines with far fewer learnable parameters. Empirical results in supervised and reinforcement learning tasks demonstrate useful posterior statistics and robust performance, though the approach relies on simplifying assumptions (e.g., Gaussian posteriors and Jacobian-based curvature) and incurs computational costs in Jacobian calculations. Overall, the method provides a lightweight, architecture-preserving avenue for uncertainty quantification and more robust decision-making in meta-RL.
Abstract
Meta-reinforcement learning trains a single reinforcement learning agent on a distribution of tasks to quickly generalize to new tasks outside of the training set at test time. From a Bayesian perspective, one can interpret this as performing amortized variational inference on the posterior distribution over training tasks. Among the various meta-reinforcement learning approaches, a common method is to represent this distribution with a point-estimate using a recurrent neural network. We show how one can augment this point estimate to give full distributions through the Laplace approximation, either at the start of, during, or after learning, without modifying the base model architecture. With our approximation, we are able to estimate distribution statistics (e.g., the entropy) of non-Bayesian agents and observe that point-estimate based methods produce overconfident estimators while not satisfying consistency. Furthermore, when comparing our approach to full-distribution based learning of the task posterior, our method performs on par with variational baselines while having much fewer parameters.
