Skip to main content
QUICK REVIEW

[Paper Review] Distance Weighted Supervised Learning for Offline Interaction Data

Joey Hejna, Jensen Gao|arXiv (Cornell University)|Apr 26, 2023
Reinforcement Learning in RoboticsComputer Science3 citations
TL;DR

This paper proposes Distance Weighted Supervised Learning (DWSL), a novel supervised learning method for learning goal-conditioned policies from offline interaction data without bootstrapping. By modeling the distribution of state-to-state distances and using LogSumExp to estimate shortest-path distances, DWSL reweights actions based on their distance-reduction potential, achieving performance that surpasses both behavior cloning and prior offline RL methods, especially in high-dimensional image domains.

ABSTRACT

Sequential decision making algorithms often struggle to leverage different sources of unstructured offline interaction data. Imitation learning (IL) methods based on supervised learning are robust, but require optimal demonstrations, which are hard to collect. Offline goal-conditioned reinforcement learning (RL) algorithms promise to learn from sub-optimal data, but face optimization challenges especially with high-dimensional data. To bridge the gap between IL and RL, we introduce Distance Weighted Supervised Learning or DWSL, a supervised method for learning goal-conditioned policies from offline data. DWSL models the entire distribution of time-steps between states in offline data with only supervised learning, and uses this distribution to approximate shortest path distances. To extract a policy, we weight actions by their reduction in distance estimates. Theoretically, DWSL converges to an optimal policy constrained to the data distribution, an attractive property for offline learning, without any bootstrapping. Across all datasets we test, DWSL empirically maintains behavior cloning as a lower bound while still exhibiting policy improvement. In high-dimensional image domains, DWSL surpasses the performance of both prior goal-conditioned IL and RL algorithms. Visualizations and code can be found at https://sites.google.com/view/dwsl/home .

Motivation & Objective

  • Address the challenge of learning robust, generalizable policies from unstructured, sub-optimal offline interaction data without dense rewards or expert demonstrations.
  • Overcome the optimization instability of offline reinforcement learning (RL) while retaining its ability to improve beyond imitation learning (IL) performance.
  • Bridge the gap between supervised IL (robust but limited to optimal data) and offline RL (capable of improvement but prone to optimization issues) by using only supervised learning components.
  • Enable scalable policy learning in high-dimensional visual observation spaces, such as real-world robotics, where data collection is expensive and sub-optimal.
  • Achieve theoretical convergence to an optimal policy within the data distribution without bootstrapping, ensuring stability and generalization.

Proposed method

  • Model the empirical distribution of discrete time-step distances between all state pairs in offline data using supervised learning.
  • Use the LogSumExp function as a smooth, differentiable approximation of the minimum distance between any two states, enabling differentiable shortest-path estimation.
  • Re-weight actions in the policy based on how much they reduce the estimated distance to the goal, effectively performing value-based policy improvement within a supervised learning framework.
  • Train a policy end-to-end using standard supervised learning objectives, with no value function bootstrapping or temporal difference learning.
  • Apply data augmentation (e.g., random shifts) in image-based experiments to improve robustness and generalization.
  • Use goal relabeling via uniform sampling from future states in each trajectory to improve sample efficiency and policy generalization.

Experimental results

Research questions

  • RQ1Can a supervised learning method achieve policy improvement beyond behavior cloning when trained on sub-optimal offline interaction data?
  • RQ2Does modeling the full distribution of state-to-state distances enable effective shortest-path estimation without bootstrapping or value function learning?
  • RQ3Can a purely supervised method outperform state-of-the-art offline goal-conditioned RL algorithms in high-dimensional image-based environments?
  • RQ4How robust is the proposed method to variations in dataset quality, including human-collected and exploratory data?
  • RQ5To what extent does the method generalize across diverse environments, including those with sparse rewards and complex visual observations?

Key findings

  • DWSL maintains behavior cloning as a lower bound across all 27 tested datasets, with performance improving on 23 of them using the same hyperparameters.
  • On 4 of 5 human-collected datasets and 6 of 8 image-based datasets, DWSL outperforms the best offline goal-conditioned RL baseline.
  • In image-based environments, DWSL surpasses both prior imitation learning and offline RL methods, demonstrating strong generalization in high-dimensional visual settings.
  • DWSL shows high robustness to hyperparameter choices and dataset variations, with minimal tuning required.
  • The method achieves theoretical convergence to an optimal policy constrained to the data distribution, without relying on bootstrapping or value function updates.
  • Visualizations show that DWSL learns meaningful distance estimates that correlate with actual shortest paths, validating its core mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.