Fighting Uncertainty with Gradients: Offline Reinforcement Learning via Diffusion Score MatchingDownload PDF

Published: 30 Aug 2023, Last Modified: 17 Oct 2023CoRL 2023 PosterReaders: Everyone
Keywords: Model-Based Reinforcement Learning, Offline Reinforcement Learning, Planning under Uncertainty, Diffusion, Score Matching
TL;DR: We propose Score Guided Planning (SGP), a gradient-based offline MBRL algorithm that stably minimizes uncertainty in high dimensions.
Abstract: Gradient-based methods enable efficient search capabilities in high dimensions. However, in order to apply them effectively in offline optimization paradigms such as offline Reinforcement Learning (RL) or Imitation Learning (IL), we require a more careful consideration of how uncertainty estimation interplays with first-order methods that attempt to minimize them. We study smoothed distance to data as an uncertainty metric, and claim that it has two beneficial properties: (i) it allows gradient-based methods that attempt to minimize uncertainty to drive iterates to data as smoothing is annealed, and (ii) it facilitates analysis of model bias with Lipschitz constants. As distance to data can be expensive to compute online, we consider settings where we need amortize this computation. Instead of learning the distance however, we propose to learn its gradients directly as an oracle for first-order optimizers. We show these gradients can be efficiently learned with score-matching techniques by leveraging the equivalence between distance to data and data likelihood. Using this insight, we propose Score-Guided Planning (SGP), a planning algorithm for offline RL that utilizes score-matching to enable first-order planning in high-dimensional problems, where zeroth-order methods were unable to scale, and ensembles were unable to overcome local minima. Website: https://sites.google.com/view/score-guided-planning/home
Student First Author: yes
Supplementary Material: zip
Instructions: I have read the instructions for authors (https://corl2023.org/instructions-for-authors/)
Video: https://www.youtube.com/watch?v=rNpHt3rNkJo&t=4s&ab_channel=HJTerrySuh
Website: https://sites.google.com/view/score-guided-planning/home
Code: https://github.com/hjsuh94/score_po
Publication Agreement: pdf
Poster Spotlight Video: mp4
10 Replies

Loading