mlsanityData to 7 Oct 2026

OSIL: Learning Offline Safe Imitation Policies with Safety Inferred from Non-preferred Trajectories

arXiv 2602.11018 ↗First posted 11 Feb 2026cs.LG cs.AI stat.MLcited by 1

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

Abstract (arXiv)

This work addresses the problem of offline safe imitation learning (IL), where the goal is to learn safe and reward-maximizing policies from demonstrations that do not have per-timestep safety cost or reward information. In many real-world domains, online learning in the environment can be risky, and specifying accurate safety costs can be difficult. However, it is often feasible to collect trajectories that reflect undesirable or unsafe behavior, implicitly conveying what the agent should avoid. We refer to these as non-preferred trajectories. We propose a novel offline safe IL algorithm, OSIL, that infers safety from non-preferred demonstrations. We formulate safe policy learning as a Constrained Markov Decision Process (CMDP). Instead of relying on explicit safety cost and reward annotations, OSIL reformulates the CMDP problem by deriving a lower bound on reward maximizing objective and learning a cost model that estimates the likelihood of non-preferred behavior. Our approach allows agents to learn safe and reward-maximizing behavior entirely from offline demonstrations. We empirically demonstrate that our approach can learn safer policies that satisfy cost constraints without degrading the reward performance, thus outperforming several baselines.

Key facts. Cited by 1 paper 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 11 of its 34 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

11 of 34 references.

References · 11

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  3. 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
  4. 2019Emergent Tool Use From Multi-Agent Autocurriculacited by 308
  5. 2021PEBBLE: Feedback-Efficient Interactive Reinforcement Learning via Relabeling Experience and Unsupervised Pre-trainingcited by 298
  6. 2019Extrapolating Beyond Suboptimal Demonstrations via Inverse Reinforcement Learning from Observationscited by 256
  7. 2019Imitation Learning via Off-Policy Distribution Matchingcited by 182
  8. 2021Core Challenges of Social Robot Navigation: A Surveycited by 97
  9. 2022Discriminator-Weighted Offline Imitation Learning from Suboptimal Demonstrationscited by 89
  10. 2020Learning from Suboptimal Demonstration via Self-Supervised Reward Regressioncited by 84
  11. 2023Benchmarks and Algorithms for Offline Preference-Based Reward Learningcited by 55

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025SafeMIL: Learning Offline Safe Imitation Policy from Non-Preferred Trajectories
  2. 2026TAIL-Safe: Task-Agnostic Safety Monitoring for Imitation Learning Policies
  3. 2025Using Non-Expert Data to Robustify Imitation Learning via Offline Reinforcement Learning
  4. 2023Offline Imitation Learning with Suboptimal Demonstrations via Relaxed Distribution Matching
  5. 2023A Simple Solution for Offline Imitation from Observations and Examples with Possibly Incomplete Trajectories
  6. 2023A Strong Baseline for Batch Imitation Learning
  7. 2024Offline Safe Reinforcement Learning Using Trajectory Classification
  8. 2021Policy Gradient Bayesian Robust Optimization for Imitation Learning