mlsanityData to 7 Oct 2026

Offline Safe Reinforcement Learning Using Trajectory Classification

arXiv 2412.15429 ↗First posted 19 Dec 2024cs.LG cs.AIcited by 9

On the map: Offline RL and imitation learning from data → Safe offline RL

Abstract (arXiv)

Offline safe reinforcement learning (RL) has emerged as a promising approach for learning safe behaviors without engaging in risky online interactions with the environment. Most existing methods in offline safe RL rely on cost constraints at each time step (derived from global cost constraints) and this can result in either overly conservative policies or violation of safety constraints. In this paper, we propose to learn a policy that generates desirable trajectories and avoids undesirable trajectories. To be specific, we first partition the pre-collected dataset of state-action trajectories into desirable and undesirable subsets. Intuitively, the desirable set contains high reward and safe trajectories, and undesirable set contains unsafe trajectories and low-reward safe trajectories. Second, we learn a policy that generates desirable trajectories and avoids undesirable trajectories, where (un)desirability scores are provided by a classifier learnt from the dataset of desirable and undesirable trajectories. This approach bypasses the computational complexity and stability issues of a min-max objective that is employed in existing methods. Theoretically, we also show our approach's strong connections to existing learning paradigms involving human feedback. Finally, we extensively evaluate our method using the DSRL benchmark for offline safe RL. Empirically, our method outperforms competitive baselines, achieving higher rewards and better constraint satisfaction across a wide variety of benchmark tasks.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Safe offline RL, one of 13 directions in Offline RL and imitation learning from data. Builds on 18 of its 32 references that are in the map. First posted on arXiv 19 Dec 2024.

Builds on

18 of 32 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Safe Offline Reinforcement Learning with Feasibility-Guided Diffusion Model19 Jan

Other references · 17

  1. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,406
  2. 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
  3. 2019Stabilizing Off-Policy Q-Learning via Bootstrapping Error Reductioncited by 833
  4. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  5. 2018Reward Constrained Policy Optimizationcited by 397
  6. 2015Risk-Constrained Reinforcement Learning with Percentile Risk Criteriacited by 320
  7. 2020Responsive Safety in Reinforcement Learning by PID Lagrangian Methodscited by 302
  8. 2021MetaDrive: Composing Diverse Driving Scenarios for Generalizable Reinforcement Learningcited by 281
  9. 2019Batch Policy Learning under Constraintscited by 242
  10. 2021How to Train Your Robot with Deep Reinforcement Learning; Lessons We've Learnedcited by 201
  11. 2021OptiDICE: Offline Policy Optimization via Stationary Distribution Correction Estimationcited by 121
  12. 2023OmniSafe: An Infrastructure for Accelerating Safe Reinforcement Learning Researchcited by 76
5 more
  1. 2022COptiDICE: Offline Constrained Reinforcement Learning via Stationary Distribution Correction Estimationcited by 69
  2. 2019Information asymmetry in KL-regularized RLcited by 53
  3. 2021A Primal-Dual Approach to Constrained Markov Decision Processescited by 42
  4. 2021Learning Barrier Certificates: Towards Safe Reinforcement Learning with Zero Training-time Violationscited by 36
  5. 2023Imitate the Good and Avoid the Bad: An Incremental Approach to Safe Reinforcement Learningcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 4.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Constraints Penalized Q-learning for Safe Offline Reinforcement Learning
  2. 2023Datasets and Benchmarks for Offline Safe Reinforcement Learning
  3. 2025Online Optimization for Offline Safe Reinforcement Learning
  4. 2024Latent Safety-Constrained Policy Approach for Safe Offline Reinforcement Learning
  5. 2023Constrained Decision Transformer for Offline Safe Reinforcement Learning
  6. 2023Harnessing Mixed Offline Reinforcement Learning Datasets via Trajectory Weighting
  7. 2022Robust Offline Reinforcement Learning with Gradient Penalty and Constraint Relaxation
  8. 2025SafeMIL: Learning Offline Safe Imitation Policy from Non-Preferred Trajectories