Skip to main content
QUICK REVIEW

[Paper Review] Constrained Policy Optimization via Bayesian World Models

Yarden As, Ilnura Usmanova|arXiv (Cornell University)|Jan 24, 2022
Autonomous Vehicle Technology and SafetyEngineering11 citations
TL;DR

LAMBDA is a Bayesian model-based reinforcement learning algorithm that optimizes policies in safety-critical environments using probabilistic world models to balance optimistic exploration and pessimistic constraint handling. It achieves state-of-the-art sample efficiency and perfect constraint satisfaction on the Safety-Gym SG6 benchmark by leveraging uncertainty-aware trajectory rollouts and Augmented Lagrangian optimization.

ABSTRACT

Improving sample-efficiency and safety are crucial challenges when deploying reinforcement learning in high-stakes real world applications. We propose LAMBDA, a novel model-based approach for policy optimization in safety critical tasks modeled via constrained Markov decision processes. Our approach utilizes Bayesian world models, and harnesses the resulting uncertainty to maximize optimistic upper bounds on the task objective, as well as pessimistic upper bounds on the safety constraints. We demonstrate LAMBDA's state of the art performance on the Safety-Gym benchmark suite in terms of sample efficiency and constraint violation.

Motivation & Objective

  • To address the challenge of sample inefficiency and safety in real-world reinforcement learning by enabling safe, efficient policy learning in high-stakes environments.
  • To extend Bayesian model-based RL to constrained Markov decision processes (CMDPs) with safety constraints modeled via cost functions.
  • To improve sample efficiency while ensuring strict constraint satisfaction by leveraging model uncertainty for optimistic exploration and pessimistic safety bounds.
  • To enable end-to-end, observation-based policy learning without prior knowledge of the environment dynamics or safety specifications.

Proposed method

  • LAMBDA employs a Bayesian world model to generate model-generated trajectories, estimating optimistic upper bounds on the task objective and pessimistic upper bounds on safety constraints.
  • It uses the Augmented Lagrangian method to solve the constrained optimization problem, incorporating both task rewards and safety cost penalties.
  • The policy is optimized via a differentiable actor-critic framework that back-propagates gradients through the world model’s uncertainty estimates.
  • Uncertainty in the world model is leveraged to guide exploration with optimism and to enforce safety with pessimism, balancing risk and performance.
  • The method uses Monte Carlo sampling over multiple model instances to estimate expected returns and constraint violations under uncertainty.
  • It integrates model uncertainty into the planning process, avoiding reliance on short-horizon, myopic planning like in CEM-MPC.

Experimental results

Research questions

  • RQ1Can Bayesian world models be effectively used to balance exploration and safety in constrained MDPs?
  • RQ2Can optimistic estimation of task objectives and pessimistic estimation of safety constraints improve sample efficiency and constraint satisfaction?
  • RQ3How does LAMBDA compare to model-free and model-based baselines in terms of safety and sample efficiency on the Safety-Gym benchmark?
  • RQ4To what extent does model uncertainty enable safe policy learning without real-world constraint violations?

Key findings

  • LAMBDA achieves perfect constraint satisfaction across all tasks in the Safety-Gym SG6 benchmark, outperforming all baseline methods.
  • LAMBDA demonstrates superior sample efficiency, learning faster and achieving higher performance than model-free and model-based baselines.
  • In the PointGoal2 task, LAMBDA matches the performance of an unsafe variant while maintaining safety, highlighting its ability to handle high-stakes, partially observable environments.
  • Abllation studies show that removing pessimistic safety bounds leads to constraint violations, confirming the necessity of the pessimistic component.
  • LAMBDA outperforms CEM-MPC planning by a significant margin, demonstrating the advantage of using critics and long-horizon planning over myopic, rejection-based methods.
  • The method successfully learns complex locomotion policies in the DoggoGoal1 task despite partial observability, indicating robustness to limited state visibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.