Diffusion Policies with Value-Conditional Optimization for Offline Reinforcement Learning

Yunchang Ma, Tenglong Liu, Yixing Lan, Xin Yin, Changxin Zhang, Xinglong Zhang, Xin Xu · DOI

Abstract

DIVO (DIffusion policies with Value-conditional Optimization) is a novel offline reinforcement learning framework that integrates the expressive power of diffusion models with the efficiency of one-step policy optimization. By utilizing a Positive Advantage Diffusion (PAD) mechanism to filter datasets for high-quality actions and an Adaptive Diffusion-based Policy Optimization (ADPO) process to generate high-value targets, DIVO overcomes common pitfalls in offline RL such as overestimation and excessive conservatism. Experimental results on the D4RL benchmark show that DIVO achieves state-of-the-art performance, particularly in challenging sparse-reward environments like AntMaze, while maintaining high inference speed.

Introduction

Offline Reinforcement Learning (RL) focuses on learning optimal policies from static, pre-collected datasets without environment interaction. A primary challenge in this domain is overestimation: when an agent selects an out-of-distribution (OOD) action, the Q-value function often predicts an inaccurately high reward, leading to policy failure. To mitigate this, researchers employ behavioral constraints to keep the agent's actions close to the training data.

While diffusion models have emerged as powerful tools for modeling complex, multi-modal data distributions, their application in RL has been hindered by two main issues: excessive conservatism (mimicking suboptimal data) and high computational costs (backpropagating through the entire diffusion chain).

The DIVO Framework

DIVO introduces two innovative components to address these limitations:

1. Positive Advantage Diffusion (PAD)

PAD employs a binary weighted mechanism to train the diffusion model. Instead of modeling the entire behavior policy, PAD calculates the "advantage" of an action—determining if it is superior to the average action in a given state. The diffusion model is then trained to prioritize actions with positive advantages, effectively "cleaning" the dataset and focusing the model on high-quality transitions.

2. Adaptive Diffusion-based Policy Optimization (ADPO)

Unlike traditional diffusion-RL methods where the diffusion model is the policy, DIVO uses a standard one-step deterministic policy (e.g., TD3). During training, the diffusion model acts as a high-quality "action proposer." If a sampled action shows a positive advantage, it serves as a regularization target for the policy. If not, the policy relies on its internal optimization. This decoupling avoids expensive backpropagation through the diffusion process, ensuring training stability and fast inference.

Experimental Evaluation

The authors evaluated DIVO on the D4RL benchmark, focusing on two primary domains:

  • Gym Locomotion: Tasks such as HalfCheetah, Hopper, and Walker2d across Medium, Replay, and Expert data levels.
  • AntMaze: Challenging navigation tasks with sparse rewards that require "stitching" suboptimal trajectory segments.
Visual representation of the D4RL locomotion tasks: HalfCheetah, Hopper, Walker2d, and Ant.

Key Results

DIVO demonstrated superior performance compared to state-of-the-art baselines, including Diffusion-QL, IQL, and Decision Transformer (DT).

Performance comparison of DIVO against state-of-the-art baselines on D4RL Gym tasks.
  • Benchmark Performance: DIVO achieved a total average score of 1318.3 across all tasks, significantly outperforming the next best baseline, DTQL (1239.9).
  • AntMaze Superiority: In the difficult antmaze-large-play task, DIVO scored 58.0, a substantial lead over previous methods that often struggled to exceed 20 or 50.
  • Efficiency: By utilizing a one-step policy for inference, DIVO eliminates the slow multi-step sampling process typically required by diffusion-based policies during deployment.

Conclusion and Future Work

DIVO successfully combines the multi-modal modeling capabilities of diffusion with the stability of standard RL actors. While the framework shows some sensitivity to hyperparameters like guidance strength ($\eta$) and regularization weight ($\beta$), and depends on initial Q-function accuracy, it sets a new standard for offline RL performance. Future research may extend DIVO to multi-agent systems or high-dimensional robotic manipulation tasks.

Summary updated

BibTeX
@inproceedings{ma2025diffusion,
  author = {Yunchang Ma and Tenglong Liu and Yixing Lan and Xin Yin and Changxin Zhang and Xinglong Zhang and Xin Xu},
  title = {{Diffusion Policies with Value-Conditional Optimization for Offline Reinforcement Learning}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11246521},
}
Figure