atlas

Research map / Reinforcement learning / Visual and representation RL

From Text to Trajectory: Exploring Complex Constraint Representation and Decomposition in Safe Reinforcement Learning

NeurIPS 2024 · Reinforcement learning › Visual and representation RL · approach: Probabilistic and autonomous RL · 1 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 TTCT, which aligns trajectories with natural-language trajectory-level constraints via contrastive learning and decomposes episodic cost into per-step costs, so policies can be trained with predicted cost instead of hand-designed cost functions.

Problem

Safe RL with trajectory-level natural language constraints requires manually designed cost functions per constraint, and episodic (sparse) cost makes credit assignment hard.

Approach

Uses text as both constraint and training signal: a causal transformer trajectory encoder and a BERT text encoder are aligned contrastively (CLIP-style plus a within-trajectory loss) to predict violations, and a cost-assignment head decomposes the predicted episodic cost into dense per-step costs used for policy training with LoRA-tuned encoders.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace ground-truth costs with TTCT-predicted costsPPO_Lag · GridAvg. C: 0.61 -> 0.28Helped
Replace ground-truth costs with TTCT-predicted costsCPPO_PID · GridAvg. C: 0.40 -> 0.28Helped
Replace ground-truth costs with TTCT-predicted costsFOCOPS · GridAvg. C: 0.58 -> 0.48Helped
Replace ground-truth costs with TTCT-predicted costsPPO_Lag · SafetyGoalAvg. C: 0.26 -> 0.19Helped
Replace ground-truth costs with TTCT-predicted costsCPPO_PID · SafetyGoalAvg. C: 0.35 -> 0.11Helped
Replace ground-truth costs with TTCT-predicted costsFOCOPS · SafetyGoalAvg. C: 0.41 -> 0.10Helped
Replace ground-truth costs with TTCT-predicted costsPPO_Lag · GridAvg. R: 2.71 -> 2.70No clear effect
Replace ground-truth costs with TTCT-predicted costsCPPO_PID · SafetyGoalAvg. R: 0.35 -> 0.36No clear effect
Add the cost assignment component (ablation)TTCT CP + PPO_Lag · GridAvg. C: 0.56 -> 0.28Helped
Add the cost assignment component (ablation)TTCT CP + CPPO_PID · GridAvg. C: 0.52 -> 0.28Helped
Add the cost assignment component (ablation)TTCT CP + CPPO_PID · SafetyGoalAvg. C: 0.29 -> 0.11Helped
Add the cost assignment component (ablation)TTCT CP + PPO_Lag · SafetyGoalAvg. R: -0.62 -> 0.23Helped

Surprising findings

Limitations

Experimental setup

Datasets: Hazard-World-Grid trajectories from random policy SafetyGoal trajectories LavaWall (zero-shot)

Benchmarks: Hazard-World-Grid SafetyGoal LavaWall

Metrics: average episodic reward average episodic cost (violation rate) accuracy F1 AUC Pareto frontier

Baselines: PPO PPO_Lagrangian CPPO_PID FOCOPS

Builds on: CLIP PPO-Lagrangian CPPO-PID FOCOPS LoRA

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