Skip to main content
QUICK REVIEW

[Paper Review] Efficient Diffusion Policies for Offline Reinforcement Learning

Bingyi Kang, Xiao Ma|arXiv (Cornell University)|May 31, 2023
Robotic Locomotion and ControlEngineering5 citations
TL;DR

This paper proposes Efficient Diffusion Policies (EDP), a method that accelerates offline reinforcement learning by approximating actions from corrupted states during training, avoiding costly diffusion sampling chains. EDP achieves 25× faster training than Diffusion-QL (5 hours vs. 5 days) and sets new state-of-the-art performance across all D4RL domains by supporting both value-based and likelihood-based RL algorithms with improved sample efficiency and generality.

ABSTRACT

Offline reinforcement learning (RL) aims to learn optimal policies from offline datasets, where the parameterization of policies is crucial but often overlooked. Recently, Diffsuion-QL significantly boosts the performance of offline RL by representing a policy with a diffusion model, whose success relies on a parametrized Markov Chain with hundreds of steps for sampling. However, Diffusion-QL suffers from two critical limitations. 1) It is computationally inefficient to forward and backward through the whole Markov chain during training. 2) It is incompatible with maximum likelihood-based RL algorithms (e.g., policy gradient methods) as the likelihood of diffusion models is intractable. Therefore, we propose efficient diffusion policy (EDP) to overcome these two challenges. EDP approximately constructs actions from corrupted ones at training to avoid running the sampling chain. We conduct extensive experiments on the D4RL benchmark. The results show that EDP can reduce the diffusion policy training time from 5 days to 5 hours on gym-locomotion tasks. Moreover, we show that EDP is compatible with various offline RL algorithms (TD3, CRR, and IQL) and achieves new state-of-the-art on D4RL by large margins over previous methods. Our code is available at https://github.com/sail-sg/edp.

Motivation & Objective

  • To address the computational inefficiency of training diffusion policies in offline RL, which requires full forward and backward passes through long Markov chains.
  • To enable compatibility of diffusion policies with likelihood-based RL algorithms (e.g., IQL, CRR) that require tractable log-likelihoods.
  • To develop a general, efficient, and scalable policy parameterization that outperforms standard Gaussian policies on complex, multi-modal offline datasets.
  • To demonstrate that diffusion policies can be both faster and more effective than existing methods in offline RL benchmarks.

Proposed method

  • EDP uses denoising diffusion probabilistic models (DDPM) to learn a noise-prediction network that maps corrupted actions to clean actions via reparameterization.
  • It introduces action approximation: instead of sampling through the full diffusion chain, actions are reconstructed from corrupted inputs using the learned noise-prediction network, drastically reducing training compute.
  • EDP approximates the policy likelihood using a Gaussian distribution with fixed variance and mean derived from the action approximation, enabling compatibility with likelihood-based algorithms like IQL and CRR.
  • It integrates DPM-Solver, an ODE-based sampler, to accelerate both training and inference by reducing the number of model calls needed for sampling.
  • Energy-based action selection (EAS) is applied during inference to improve sample quality, with 10 actions used as a trade-off between efficiency and performance.
  • The method is evaluated across multiple offline RL algorithms (TD3, CRR, IQL) and domains (gym-locomotion, AntMaze, Adroit, Kitchen), demonstrating broad compatibility and performance gains.

Experimental results

Research questions

  • RQ1Can we significantly reduce the training time of diffusion policies in offline RL without sacrificing performance?
  • RQ2Can we make diffusion policies compatible with likelihood-based RL algorithms such as IQL and CRR, which require tractable log-likelihoods?
  • RQ3Does the proposed action approximation method preserve or improve sample quality and policy performance compared to full diffusion sampling?
  • RQ4Can EDP generalize across diverse offline RL algorithms and benchmark environments, achieving state-of-the-art performance?

Key findings

  • EDP reduces training time from 5 days to 5 hours on D4RL gym-locomotion tasks, achieving a 25× speedup over Diffusion-QL.
  • EDP achieves new state-of-the-art performance on all four D4RL domains, with average scores of 85.5 (gym-locomotion), 63.0 (AntMaze), 73.4 (Adroit), and 43.8 (Kitchen) under the RAT metric.
  • On AntMaze, Adroit, and Kitchen, EDP + IQL outperforms all baselines by over 10 points in average score, demonstrating strong performance gains on complex, multi-modal tasks.
  • EDP maintains or improves performance when used with TD3, CRR, and IQL, showing compatibility and superiority over standard Gaussian policies across all algorithms and environments.
  • The ablation study confirms that OMS (best) scores can be misleading due to training instability, while RAT (average) provides a more reliable evaluation metric.
  • Using 15 model calls in DPM-Solver achieves near-optimal performance with good efficiency, and increasing the number of actions in EAS improves performance monotonically on 8 out of 9 tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.