Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

TraCeS: Learning Per-Timestep Constraint-Violation Credit from Sparse Trajectory-Level Labels

About

Ensuring safe behavior in reinforcement learning (RL) is challenging when safety constraints are implicit and cannot be densely measured. In many settings, supervision is limited to coarse approvals or rejections of whole trajectories (e.g., whether a rollout remained within an unknown safety threshold). We propose TraCeS (Trajectory-based Constraint Estimation for Safety), a method for learning per-timestep violation credit from such sparse trajectory-level labels. TraCeS trains a sequential violation estimator whose per-step credits factorize the predicted probability that a trajectory has not yet violated the constraint, and integrates this learned signal into constrained policy optimization. The method requires neither a known cost function nor a known threshold, and remains compatible with standard continuous-control algorithms. We provide a theoretical analysis of the approximation gap introduced by the learning objective, and demonstrate empirically that TraCeS improves constraint satisfaction and feedback efficiency over baselines across multiple continuous-control benchmarks, including long-horizon tasks and settings with noisy or inconsistent labels.

Siow Meng Low, Ze Gong, Akshat Kumar• 2025

Related benchmarks

TaskDatasetResultRank
Safety-constrained Reinforcement LearningSafety-Gym SafetyPointCircle1 (evaluation)
Average Reward43.2
15
Safe Reinforcement LearningBullet Safety Gym CarRun (eval environment)
Reward568.3
8
Safe Reinforcement LearningBullet Safety Gym AntRun (eval environment)
Reward590.5
8
HopperMuJoCo (eval)
Reward1.61e+3
5
CarCircle2Safety Gymnasium (val)
Reward15.2
5
PointCircle1Safety Gymnasium (eval)
Reward43.2
5
PointCircle2Safety Gymnasium (val)
Reward41.1
5
AntMuJoCo (eval)
Reward2.89e+3
5
CarCircle1Safety Gymnasium (val)
Reward17.4
5
HalfCheetahMuJoCo (eval)
Reward2.37e+3
5
Showing 10 of 22 rows

Other info

Follow for update