English

Diffusion Self-Weighted Guidance for Offline Reinforcement Learning

Machine Learning 2025-12-24 v2 Machine Learning

Abstract

Offline reinforcement learning (RL) recovers the optimal policy π\pi given historical observations of an agent. In practice, π\pi is modeled as a weighted version of the agent's behavior policy μ\mu, using a weight function ww 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 ww. 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 ww) 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.

Keywords

Cite

@article{arxiv.2505.18345,
  title  = {Diffusion Self-Weighted Guidance for Offline Reinforcement Learning},
  author = {Augusto Tagle and Javier Ruiz-del-Solar and Felipe Tobar},
  journal= {arXiv preprint arXiv:2505.18345},
  year   = {2025}
}

Comments

Published in Transactions on Machine Learning Research (TMLR). 21 pages, 6 figures

R2 v1 2026-07-01T02:34:55.206Z