Diffusion Self-Weighted Guidance for Offline Reinforcement Learning
Augusto Tagle, Javier Ruiz-del-Solar, Felipe Tobar
TL;DR
<3-5 sentence high-level summary> SWG introduces a diffusion model that jointly samples actions and their weights by augmenting the data to Z=(A,W), enabling exact guidance from a single DM without external networks. The method derives the target score via the data-prediction formula, allowing self-guided sampling that approximates the target policy $\, \pi(a|s)$ in offline RL. Empirically, SWG achieves competitive results on D4RL benchmarks and demonstrates robust toy-case sampling and informative ablations on weight formulations and guidance scale, with SWG-R offering additional gains through resampling. While offering a simpler training pipeline than prior DM-guided offline RL approaches, SWG shows limitations in mixed-action datasets and reveals future directions such as dedicated weight modules and scalable solvers.
Abstract
Offline reinforcement learning (RL) recovers the optimal policy $π$ given historical observations of an agent. In practice, $π$ is modeled as a weighted version of the agent's behavior policy $μ$, using a weight function $w$ working as a critic of the agent's behavior. Though recent approaches to offline RL based on diffusion models have exhibited promising results, the computation of the required scores is challenging due to their dependence on the unknown $w$. In this work, we alleviate this issue by constructing a diffusion over both the actions and the weights. With the proposed setting, the required scores are directly obtained from the diffusion model without learning extra networks. Our main conceptual contribution is a novel guidance method, where guidance (which is a function of $w$) comes from the same diffusion model, therefore, our proposal is termed Self-Weighted Guidance (SWG). We show that SWG generates samples from the desired distribution on toy examples and performs on par with state-of-the-art methods on D4RL's challenging environments, while maintaining a streamlined training pipeline. We further validate SWG through ablation studies on weight formulations and scalability.
