Diffusion Policies creating a Trust Region for Offline Reinforcement Learning

Tianyu Chen, Zhendong Wang, Mingyuan Zhou
2/3/2026

No official code found. Best implementation: TianyuCodings/Diffusion_Trusted_Q_Learning (28 stars, last commit 2024-05-31). 1 more below.

Abstract

Offline reinforcement learning (RL) leverages pre-collected datasets to train optimal policies. Diffusion Q-Learning (DQL), introducing diffusion models as a powerful and expressive policy class, significantly boosts the performance of offline RL. However, its reliance on iterative denoising sampling to generate actions slows down both training and inference. While several recent attempts have tried to accelerate diffusion-QL, the improvement in training and/or inference speed often results in degraded performance. In this paper, we introduce a dual policy approach, Diffusion Trusted Q-Learning (DTQL), which comprises a diffusion policy for pure behavior cloning and a practical one-step policy. We bridge the two polices by a newly introduced diffusion trust region loss. The diffusion policy maintains expressiveness, while the trust region loss directs the one-step policy to explore freely and seek modes within the region defined by the diffusion policy. DTQL eliminates the need for iterative denoising sampling during both training and inference, making it remarkably computationally efficient. We evaluate its effectiveness and algorithmic characteristics against popular Kullback--Leibler divergence-based distillation methods in 2D bandit scenarios and gym tasks. We then show that DTQL could not only outperform other methods on the majority of the D4RL benchmark tasks but also demonstrate efficiency in training and inference speeds. The PyTorch implementation is available at https://github.com/TianyuCodings/Diffusion_Trusted_Q_Learning.

View on arXivView PDF

Code Implementations(2)

[NeuIPS2024 DTQL] Diffusion Trusted Q-Learning for Offline RL — Official PyTorch Implementation

282Shell, PythonMay 31, 20242 years ago
diffusion-modelsreinforcement-learning

code for paper "Entropy-regularized Diffusion Policy with Q-Ensembles for Offline Reinforcement Learning"

213PythonFeb 24, 20242 years ago

Similar Papers

Cite this paper

@article{chen2026diffusion,
  title  = {Diffusion Policies creating a Trust Region for Offline Reinforcement Learning},
  author = {Tianyu Chen and Zhendong Wang and Mingyuan Zhou},
  year   = {2026},
  eprint = {2405.19690},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.19690},
  url    = {https://arxiv.org/abs/2405.19690},
  journal = {NEURIPS 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/2405.19690.svg)](https://codeofpaper.com/paper/2405.19690)

Discussion