Saved in:
Bibliographic Details
Main Authors: Xue, Ruiqi, Yuan, Lei, Cheng, Kainuo, Yang, Jing-Wen, Yu, Yang
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.01356
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911640444731392
author Xue, Ruiqi
Yuan, Lei
Cheng, Kainuo
Yang, Jing-Wen
Yu, Yang
author_facet Xue, Ruiqi
Yuan, Lei
Cheng, Kainuo
Yang, Jing-Wen
Yu, Yang
contents Learning constraint-satisfying policies from offline data without risky online interaction is crucial for safety-critical decision making. Conventional methods typically learn cost value functions from abundant unsafe samples to define safety boundaries and penalize violations. However, in high-stakes scenarios, risky trial-and-error is infeasible, yielding datasets with few or no unsafe samples. Under this limitation, existing approaches often treat all data as uniformly safe, overlooking safe-but-infeasible states - states that currently satisfy constraints but inevitably violate them within a few steps - leading to deployment failures. Drawing inspiration from the concept of knowledge-data integration, we leverage large language models (LLMs) to incorporate natural language knowledge into the policy to address this challenge. Specifically, we propose PROCO, a model-based offline safe reinforcement learning (RL) framework tailored to datasets largely free of violations. PROCO first learns a dynamics model from offline data and constructs a conservative cost function by grounding natural-language knowledge of unsafe states in LLMs, enabling risk estimation even without observed violations. Using the cost function and learned model, PROCO performs model-based rollouts to synthesize diverse counterfactual unsafe samples, supporting reliable feasibility identification and feasibility-guided policy learning. Across a range of Safety-Gymnasium tasks with exclusively safe or minimally risky training data, PROCO integrates seamlessly with a variety of offline safe RL algorithms and consistently demonstrates reduced constraint violations and improved safety performance compared to both the original methods and other behavior cloning baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2605_01356
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Model-Based Proactive Cost Generation for Learning Safe Policies Offline with Limited Violation Data
Xue, Ruiqi
Yuan, Lei
Cheng, Kainuo
Yang, Jing-Wen
Yu, Yang
Machine Learning
Artificial Intelligence
Learning constraint-satisfying policies from offline data without risky online interaction is crucial for safety-critical decision making. Conventional methods typically learn cost value functions from abundant unsafe samples to define safety boundaries and penalize violations. However, in high-stakes scenarios, risky trial-and-error is infeasible, yielding datasets with few or no unsafe samples. Under this limitation, existing approaches often treat all data as uniformly safe, overlooking safe-but-infeasible states - states that currently satisfy constraints but inevitably violate them within a few steps - leading to deployment failures. Drawing inspiration from the concept of knowledge-data integration, we leverage large language models (LLMs) to incorporate natural language knowledge into the policy to address this challenge. Specifically, we propose PROCO, a model-based offline safe reinforcement learning (RL) framework tailored to datasets largely free of violations. PROCO first learns a dynamics model from offline data and constructs a conservative cost function by grounding natural-language knowledge of unsafe states in LLMs, enabling risk estimation even without observed violations. Using the cost function and learned model, PROCO performs model-based rollouts to synthesize diverse counterfactual unsafe samples, supporting reliable feasibility identification and feasibility-guided policy learning. Across a range of Safety-Gymnasium tasks with exclusively safe or minimally risky training data, PROCO integrates seamlessly with a variety of offline safe RL algorithms and consistently demonstrates reduced constraint violations and improved safety performance compared to both the original methods and other behavior cloning baselines.
title Model-Based Proactive Cost Generation for Learning Safe Policies Offline with Limited Violation Data
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.01356