Abstract
Traditional reinforcement learning (RL) algorithms often struggle with data efficiency and the requirement for high-quality, labeled datasets. We present Diffused Value Function (DVF), an approach that utilizes conditional diffusion models to estimate value functions. By generating future state distributions directly, DVF avoids the compounding errors of autoregressive models and can effectively leverage "unlabeled" state-only sequences for control tasks.
Introduction
Deep RL typically requires vast amounts of data with explicit reward signals and action labels. However, a significant portion of available robotic data consists of unlabeled state sequences, such as videos. Standard methods like Temporal Difference (TD) learning or Behavior Cloning (BC) cannot easily utilize this data. Furthermore, traditional model-based RL suffers from compounding errors during long-horizon rollouts. DVF addresses these challenges by learning a generative model of future states that is robust to long horizons and can be pre-trained on reward-free data.
Methodology: Diffused Value Functions
The DVF framework decomposes the value function ($Q$) into three primary components: an occupancy measure ($\rho$), a reward model ($r$), and a policy representation ($\phi$).
Conditional Diffusion for Occupancy Modeling
The core of DVF is a conditional diffusion model, implemented using the Perceiver I/O architecture. Unlike autoregressive models that predict states sequentially, DVF predicts the distribution of future states $s_{t+\Delta t}$ given the current state $s_t$, a time offset $\Delta t$, and a policy embedding $\phi(\pi)$. This "single-shot" prediction for any $\Delta t$ eliminates the accumulation of errors over time.
Policy and Reward Integration
The model is conditioned on a policy representation, allowing it to estimate the future states a specific behavior would reach. A separate reward model predicts the rewards associated with these states. By integrating the predicted occupancy measure with the reward model, DVF can estimate the expected return (value) for a given policy without requiring TD-learning.
Experimental Evaluation
DVF was evaluated on several benchmarks, including Mountain Car, Maze2d (D4RL), and the PyBullet Offline Suite.
Correlation and Accuracy
A key finding is the strong correlation between DVF's estimated value functions and the true environment returns. In the Mountain Car task, DVF demonstrated that it could accurately rank different policies based on their expected performance, even without being trained on rewards via traditional RL objectives.
Robustness to Data Quality
On PyBullet benchmarks (Ant, HalfCheetah, Hopper, Walker2d), DVF matched or exceeded the performance of established offline RL baselines like Conservative Q-Learning (CQL). Notably, DVF showed superior robustness when trained on "random" or "mixed" quality datasets, highlighting its ability to extract useful dynamics from sub-optimal data.
Conclusion and Future Work
Diffused Value Functions provide a powerful alternative for value estimation by leveraging the generative capabilities of diffusion models. By avoiding autoregressive unrolling, DVF maintains accuracy over long horizons and enables the use of unlabeled data. Future research will explore the use of latent state embeddings to improve efficiency and methods for adapting these models to non-stationary online RL environments.
Summary updated