Offline Reinforcement Learning with Discrete Diffusion Skills
RuiXi Qiao, Jie Cheng, Xingyuan Dai, Yonglin Tian, Yisheng Lv
TL;DR
This work addresses long-horizon, sparse-reward offline RL by introducing Discrete Diffusion Skills (DDS), a hierarchical framework that learns a compact discrete skill space with a Transformer encoder and a diffusion-based decoder. A high-level policy trained via offline Q-learning methods selects skills, while the diffusion decoder generates actions conditioned on the chosen skill and current state. DDS demonstrates strong performance on long-horizon tasks like AntMaze and Kitchen, offers improved interpretability through discrete skills, and enhances online exploration when used with pre-trained skills. The approach leverages relabeled offline datasets for high-level learning and shows robustness to various skill-space configurations, though data quality and excessive skill counts can hinder performance. Overall, DDS provides a scalable pathway to combine discrete skill abstractions with diffusion-based action generation in offline RL, with potential applications in robotics and autonomous systems.
Abstract
Skills have been introduced to offline reinforcement learning (RL) as temporal abstractions to tackle complex, long-horizon tasks, promoting consistent behavior and enabling meaningful exploration. While skills in offline RL are predominantly modeled within a continuous latent space, the potential of discrete skill spaces remains largely underexplored. In this paper, we propose a compact discrete skill space for offline RL tasks supported by state-of-the-art transformer-based encoder and diffusion-based decoder. Coupled with a high-level policy trained via offline RL techniques, our method establishes a hierarchical RL framework where the trained diffusion decoder plays a pivotal role. Empirical evaluations show that the proposed algorithm, Discrete Diffusion Skill (DDS), is a powerful offline RL method. DDS performs competitively on Locomotion and Kitchen tasks and excels on long-horizon tasks, achieving at least a 12 percent improvement on AntMaze-v2 benchmarks compared to existing offline RL approaches. Furthermore, DDS offers improved interpretability, training stability, and online exploration compared to previous skill-based methods.
