Energy-Guided Diffusion Sampling for Offline-to-Online Reinforcement Learning

Xu-Hui Liu, Tian-Shuo Liu, Shengyi Jiang, Ruifeng Chen, Zhilong Zhang +2 more
7/17/2024
cs.LG

Official code: liuxhym/EDIS (19 stars, last commit 2024-08-10).

Abstract

Combining offline and online reinforcement learning (RL) techniques is indeed crucial for achieving efficient and safe learning where data acquisition is expensive. Existing methods replay offline data directly in the online phase, resulting in a significant challenge of data distribution shift and subsequently causing inefficiency in online fine-tuning. To address this issue, we introduce an innovative approach, \textbf{E}nergy-guided \textbf{DI}ffusion \textbf{S}ampling (EDIS), which utilizes a diffusion model to extract prior knowledge from the offline dataset and employs energy functions to distill this knowledge for enhanced data generation in the online phase. The theoretical analysis demonstrates that EDIS exhibits reduced suboptimality compared to solely utilizing online data or directly reusing offline data. EDIS is a plug-in approach and can be combined with existing methods in offline-to-online RL setting. By implementing EDIS to off-the-shelf methods Cal-QL and IQL, we observe a notable 20% average improvement in empirical performance on MuJoCo, AntMaze, and Adroit environments. Code is available at \url{https://github.com/liuxhym/EDIS}.

View on arXivView PDF

Code Implementations(1)

liuxhym/EDISOfficial100%

EDIS: Energy-guided DIffusion Sampling

193PythonMay 28, 20242 years ago

Similar Papers

Cite this paper

@article{liu2024energyguided,
  title  = {Energy-Guided Diffusion Sampling for Offline-to-Online Reinforcement Learning},
  author = {Xu-Hui Liu and Tian-Shuo Liu and Shengyi Jiang and Ruifeng Chen and Zhilong Zhang and Xinwei Chen and Yang Yu},
  year   = {2024},
  eprint = {2407.12448},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.12448v2},
  journal = {ICML 2024 2024}
}

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/2407.12448.svg)](https://codeofpaper.com/paper/2407.12448)

Discussion