English

Constrained Decision Transformer for Offline Safe Reinforcement Learning

Machine Learning 2023-06-22 v2 Artificial Intelligence Robotics

Abstract

Safe reinforcement learning (RL) trains a constraint satisfaction policy by interacting with the environment. We aim to tackle a more challenging problem: learning a safe policy from an offline dataset. We study the offline safe RL problem from a novel multi-objective optimization perspective and propose the ϵ\epsilon-reducible concept to characterize problem difficulties. The inherent trade-offs between safety and task performance inspire us to propose the constrained decision transformer (CDT) approach, which can dynamically adjust the trade-offs during deployment. Extensive experiments show the advantages of the proposed method in learning an adaptive, safe, robust, and high-reward policy. CDT outperforms its variants and strong offline safe RL baselines by a large margin with the same hyperparameters across all tasks, while keeping the zero-shot adaptation capability to different constraint thresholds, making our approach more suitable for real-world RL under constraints. The code is available at https://github.com/liuzuxin/OSRL.

Keywords

Cite

@article{arxiv.2302.07351,
  title  = {Constrained Decision Transformer for Offline Safe Reinforcement Learning},
  author = {Zuxin Liu and Zijian Guo and Yihang Yao and Zhepeng Cen and Wenhao Yu and Tingnan Zhang and Ding Zhao},
  journal= {arXiv preprint arXiv:2302.07351},
  year   = {2023}
}

Comments

Published at ICML 2023

R2 v1 2026-06-28T08:40:16.876Z