Skip to main content
QUICK REVIEW

[Paper Review] Model-based Constrained Reinforcement Learning using Generalized Control Barrier Function

Haitong Ma, Jianyu Chen|arXiv (Cornell University)|Mar 2, 2021
Vehicle emissions and performanceEngineering8 citations
TL;DR

This paper proposes a model-based constrained reinforcement learning method using a generalized control barrier function (GCBF) to enhance safety and sample efficiency. By leveraging model-predicted trajectories to penalize actions that drive the system toward constraint boundaries, the approach enables safe policy optimization without violating safety constraints during training, achieving up to 73.83% fewer constraint violations and 3.36× faster convergence than baseline methods.

ABSTRACT

Model information can be used to predict future trajectories, so it has huge potential to avoid dangerous region when implementing reinforcement learning (RL) on real-world tasks, like autonomous driving. However, existing studies mostly use model-free constrained RL, which causes inevitable constraint violations. This paper proposes a model-based feasibility enhancement technique of constrained RL, which enhances the feasibility of policy using generalized control barrier function (GCBF) defined on the distance to constraint boundary. By using the model information, the policy can be optimized safely without violating actual safety constraints, and the sample efficiency is increased. The major difficulty of infeasibility in solving the constrained policy gradient is handled by an adaptive coefficient mechanism. We evaluate the proposed method in both simulations and real vehicle experiments in a complex autonomous driving collision avoidance task. The proposed method achieves up to four times fewer constraint violations and converges 3.36 times faster than baseline constrained RL approaches.

Motivation & Objective

  • To address the inherent safety risks in model-free constrained reinforcement learning, where constraint violations are unavoidable during exploration.
  • To improve sample efficiency in constrained RL by reducing reliance on long-horizon rollouts that degrade prediction accuracy and increase sampling cost.
  • To develop a model-based approach that uses predictive dynamics to enforce safety by penalizing trends toward constraint boundaries, rather than enforcing constraints at every rollout step.
  • To introduce an adaptive coefficient mechanism that enhances constraint satisfaction when the policy optimization becomes infeasible.
  • To validate the method in both simulation and real-world autonomous vehicle experiments for collision avoidance.

Proposed method

  • The method employs a generalized control barrier function (GCBF) that penalizes the rate of change in the distance to the constraint boundary, rather than enforcing constraints at every time step.
  • It uses a model-predicted trajectory over a short horizon (1–2 steps) to estimate the system's future state and compute the GCBF penalty.
  • The constrained policy gradient is computed using an approximate Lagrangian method, integrating the GCBF penalty into the actor update to maintain feasibility.
  • An adaptive conservativeness coefficient is introduced to dynamically adjust the GCBF penalty strength, improving convergence when the optimization becomes infeasible.
  • The approach combines model-based prediction with barrier function constraints to avoid constraint violations during training while maintaining high sample efficiency.
  • The method is implemented in a parallel on-board architecture with a neural-network-based controller and planner on a real autonomous vehicle platform.

Experimental results

Research questions

  • RQ1Can model-based prediction be used to improve safety in constrained reinforcement learning without requiring long-horizon rollouts?
  • RQ2Can a generalized control barrier function (GCBF) formulated on the distance to the constraint boundary effectively prevent constraint violations during policy training?
  • RQ3Does using short-horizon GCBF constraints improve sample efficiency compared to multi-step constraint enforcement?
  • RQ4Can an adaptive coefficient mechanism enhance the feasibility of constrained policy optimization when the original formulation becomes infeasible?
  • RQ5Does the proposed method achieve superior safety and convergence performance in real-world autonomous driving tasks?

Key findings

  • The proposed method reduced constraint violations during training by up to 73.83% compared to baseline constrained RL approaches.
  • The method achieved 3.36 times faster convergence than baseline model-based constrained RL, demonstrating significant improvement in sample efficiency.
  • In real vehicle experiments, the learned policy successfully executed diverse collision avoidance behaviors, including deceleration, acceleration, pulling up, and path deviation.
  • The algorithm demonstrated robust performance across nine complex traffic scenarios, including left turns, straight-through, and right turns, with varying surrounding vehicle configurations.
  • Theoretical analysis proved that the GCBF formulation requires the minimum number of sampling steps per update, supporting its efficiency advantage.
  • Despite the improvements, constraint violations still occurred due to the approximate solution technique, suggesting room for further enhancement with methods like augmented Lagrangian.

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.