A Policy-Guided Imitation Approach for Offline Reinforcement Learning

Haoran Xu, Li Jiang, Jianxiong Li, Xianyuan Zhan
10/15/2022
cs.LGcs.AI
rl

Official code: ryanxhr/POR (58 stars, Python, MIT, PyTorch, last commit 2023-04-06).

Abstract

Offline reinforcement learning (RL) methods can generally be categorized into two types: RL-based and Imitation-based. RL-based methods could in principle enjoy out-of-distribution generalization but suffer from erroneous off-policy evaluation.

Show full abstract

Imitation-based methods avoid off-policy evaluation but are too conservative to surpass the dataset. In this study, we propose an alternative approach, inheriting the training stability of imitation-style methods while still allowing logical out-of-distribution generalization. We decompose the conventional reward-maximizing policy in offline RL into a guide-policy and an execute-policy. During training, the guide-poicy and execute-policy are learned using only data from the dataset, in a supervised and decoupled manner. During evaluation, the guide-policy guides the execute-policy by telling where it should go so that the reward can be maximized, serving as the \textit{Prophet}. By doing so, our algorithm allows \textit{state-compositionality} from the dataset, rather than \textit{action-compositionality} conducted in prior imitation-style methods. We dumb this new approach Policy-guided Offline RL (\texttt{POR}). \texttt{POR} demonstrates the state-of-the-art performance on D4RL, a standard benchmark for offline RL. We also highlight the benefits of \texttt{POR} in terms of improving with supplementary suboptimal data and easily adapting to new tasks by only changing the guide-poicy.

View on arXivView PDF

Code Implementations(1)

ryanxhr/POROfficial100%
PyTorchMIT

[NeurIPS 2022 Oral] The official implementation of POR in "A Policy-Guided Imitation Approach for Offline Reinforcement Learning"

587Python, ShellJul 29, 20223 years agoMIT
offline-reinforcement-learningpytorch

Similar Papers

Cite this paper

@article{xu2022policyguided,
  title  = {A Policy-Guided Imitation Approach for Offline Reinforcement Learning},
  author = {Haoran Xu and Li Jiang and Jianxiong Li and Xianyuan Zhan},
  year   = {2022},
  eprint = {2210.08323},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08323}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.08323.svg)](https://codeofpaper.com/paper/2210.08323)

Discussion