Papers › Safe Offline Reinforcement Learning with Feasibility-Guided Diffusion Model

Safe Offline Reinforcement Learning with Feasibility-Guided Diffusion Model

19 Jan 2024arXiv:2401.10700archive 2025-07-28

Yinan Zheng, Jianxiong Li, Dongjie Yu, Yujie Yang, Shengbo Eben Li, Xianyuan Zhan, Jingjing Liu

Safe offline RL is a promising way to bypass risky online interactions towards safe policy learning. Most existing methods only enforce soft constraints, i.e., constraining safety violations in expectation below thresholds predetermined. This can lead to potentially unsafe outcomes, thus unacceptable in safety-critical scenarios. An alternative is to enforce the hard constraint of zero violation. However, this can be challenging in offline setting, as it needs to strike the right balance among three highly intricate and correlated aspects: safety constraint satisfaction, reward maximization, and behavior regularization imposed by offline datasets. Interestingly, we discover that via reachability analysis of safe-control theory, the hard safety constraint can be equivalently translated to identifying the largest feasible region given the offline dataset. This seamlessly converts the original trilogy problem to a feasibility-dependent objective, i.e., maximizing reward value within the feasible region while minimizing safety risks in the infeasible region. Inspired by these, we propose FISOR (FeasIbility-guided Safe Offline RL), which allows safety constraint adherence, reward maximization, and offline policy learning to be realized via three decoupled processes, while offering strong safety performance and stability. In FISOR, the optimal policy for the translated optimization problem can be derived in a special form of weighted behavior cloning. Thus, we propose a novel energy-guided diffusion model that does not require training a complicated time-dependent classifier to extract the policy, greatly simplifying the training. We compare FISOR against baselines on DSRL benchmark for safe offline RL. Evaluation results show that FISOR is the only method that can guarantee safety satisfaction in all tasks, while achieving top returns in most tasks.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.10700")

Code

Syntology Ran 9 of 10 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhengyinan-air/fisor officialmentioned in papermentioned on GitHubjax report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 9 ran; 1 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · violated contract
1ran · fixture could not drive it
5ran
1unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ZhengYinan-AIR/FISOR. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_q ZhengYinan-AIR/FISOR/jaxrl5/agents/fisor/fisor.py official repository ran · fixture could not drive it no licence file found · pointer only · efbad980c5e8e094 · report
cosine_beta_schedule zhengyinan-air/fisor/jaxrl5/networks/diffusion.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 87d1bc442d93916d · report
evaluate zhengyinan-air/fisor/jaxrl5/evaluation.py official repository ran no licence file found · pointer only · e9deb66cfd03bf3c · report
evaluate_pr zhengyinan-air/fisor/jaxrl5/evaluation.py official repository ran no licence file found · pointer only · b65945d27009d941 · report
expectile_loss ZhengYinan-AIR/FISOR/jaxrl5/agents/fisor/fisor.py official repository ran · violated contract no licence file found · pointer only · ad221b0896e1bcd0 · report
get_weight_decay_mask zhengyinan-air/fisor/jaxrl5/networks/mlp.py official repository ran no licence file found · pointer only · 1049990078a4b0f2 · report
linear_beta_schedule zhengyinan-air/fisor/jaxrl5/networks/diffusion.py official repository ran no licence file found · pointer only · 0cd44ae2231fcb3b · report
safe_expectile_loss ZhengYinan-AIR/FISOR/jaxrl5/agents/fisor/fisor.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 7e821a429b5ff00e · report
vp_beta_schedule zhengyinan-air/fisor/jaxrl5/networks/diffusion.py official repository ran no licence file found · pointer only · 4567300f0e6b808c · report
subsample_ensemble zhengyinan-air/fisor/jaxrl5/networks/ensemble.py official repository unverified no licence file found · pointer only · c021b9fd8bb7677d · report

Tasks

Offline RLReinforcement Learningreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections