atlas

Research map / Reinforcement learning / Policy gradient and actor-critic

Imitate the Good and Avoid the Bad: An Incremental Approach to Safe Reinforcement Learning

AAAI 2024 · Reinforcement learning › Policy gradient and actor-critic · approach: Safety layers and shielding · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Self-Imitation Safe RL (SIM), a non-adversarial imitation method that imitates good trajectories and avoids bad ones (by reward threshold and cost constraint or oracle) to solve constrained RL without local cost constraints.

Problem

Constrained RL typically converts trajectory-level cost constraints into per-state surrogate cost constraints, which can cause over- or under-estimation of cost and thus conservative or aggressive policies; the paper targets safe RL that enforces trajectory-level constraints directly.

Approach

Label trajectories generated by the current policy as good (high reward, satisfying the cost limit) or bad (low reward or violating the cost limit), then train the policy via a non-adversarial distribution-matching objective that maximizes KL divergence between the mixed good/policy occupancy and the bad occupancy, with a discriminator-like ratio estimator K updated cooperatively; the good and bad

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Imitate good trajectories and avoid bad trajectories instead of using the initial policy aloneInitial policy π⁰ · SafetyGym (six environments)expected reward while safeHelped
Use only good demonstrations, removing bad demonstrations (ablation)SIM · SafetyGym (two environments)expected reward and safetyHurt
Use only bad demonstrations, removing good demonstrations (ablation)SIM · SafetyGym (two environments)expected reward and safetyHurt
Replace the non-adversarial update with two adversarial discriminators (ablation)SIM · SafetyGym (two environments)policy performance and stabilityHurt
Use GAIL with only good demonstrations (ablation)GAIL · SafetyGym (two environments)expected reward and safetyHurt
Use GAIL with only bad demonstrations (ablation)GAIL · SafetyGym (two environments)expected reward and safetyHurt
Use GAIL with both good and bad demonstrations and two discriminators (ablation)GAIL · SafetyGym (two environments)expected reward and safetyHurt
Use BC with one good demonstration instead of SIMSIM · Two SafetyGym environmentsexpected reward while satisfying the constraintHurt
Use BC with both good and bad demonstrations instead of SIMSIM · Two SafetyGym environmentsexpected reward while satisfying the constraintHurt
Start with an entry-level or medium-level pre-trained policy rather than an expert-level oneSIM · SafetyCarButton and SafetyCarPushexpected rewardHurt
Improve an entry-level or medium-level initial policy with SIM rather than leaving it as PPO-LagrangianPPO-Lagrangian · SafetyCarButton and SafetyCarPushexpected rewardHelped
Apply SIM using an oracle to identify constraint-violating trajectories when the cost function is unknownUnconstrained initial policy · SafetyPointGoal and SafetyCarPushsafety with competitive expected rewardHelped

Surprising findings

Limitations

Experimental setup

Datasets: Safety-Gym (SafetyPointGoal, SafetyCarGoal, SafetyPointButton, SafetyCarButton, SafetyPointPush, SafetyCarPush) Mujoco Circle Mujoco Velocity

Benchmarks: Safety-Gym Mujoco Circle Mujoco Velocity

Metrics: expected return expected cost CVaR cost

Baselines: PPO-Lagrangian FOCOPS CUP CPO PPO-unconstrained BC BC-GB GAIL variants

Builds on: PPO PPO-Lagrangian GAIL IQ-learn

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy