Rethinking Goal-conditioned Supervised Learning and Its Connection to Offline RL
Rui Yang, Yiming Lu, Wenzhe Li, Hao Sun, Meng Fang, Yali Du, Xiu Li, Lei Han, Chongjie Zhang
TL;DR
This paper addresses offline goal-conditioned RL with sparse rewards by generalizing goal-conditioned supervised learning (GCSL) into Weighted GCSL (WGCSL). WGCSL introduces a three-part weighting scheme—discounted relabeling weight (DRW), goal-conditioned exponential advantage weight (GEAW), and best-advantage weight (BAW)—and proves that it optimizes an equivalent lower bound to the goal-conditioned RL objective, enabling monotonic policy improvement. The authors provide a theoretical bridge between goal-conditioned RL and weighted supervised learning, and demonstrate strong empirical gains on a new offline benchmark spanning ten manipulation tasks, especially in high-dimensional settings like HandReach and with random datasets. The work offers a simple, stable, and effective offline approach for learning multi-goal policies from self-generated relabeled data, with broad implications for real-world robotics and offline RL applications.
Abstract
Solving goal-conditioned tasks with sparse rewards using self-supervised learning is promising because of its simplicity and stability over current reinforcement learning (RL) algorithms. A recent work, called Goal-Conditioned Supervised Learning (GCSL), provides a new learning framework by iteratively relabeling and imitating self-generated experiences. In this paper, we revisit the theoretical property of GCSL -- optimizing a lower bound of the goal reaching objective, and extend GCSL as a novel offline goal-conditioned RL algorithm. The proposed method is named Weighted GCSL (WGCSL), in which we introduce an advanced compound weight consisting of three parts (1) discounted weight for goal relabeling, (2) goal-conditioned exponential advantage weight, and (3) best-advantage weight. Theoretically, WGCSL is proved to optimize an equivalent lower bound of the goal-conditioned RL objective and generates monotonically improved policies via an iterated scheme. The monotonic property holds for any behavior policies, and therefore WGCSL can be applied to both online and offline settings. To evaluate algorithms in the offline goal-conditioned RL setting, we provide a benchmark including a range of point and simulated robot domains. Experiments in the introduced benchmark demonstrate that WGCSL can consistently outperform GCSL and existing state-of-the-art offline methods in the fully offline goal-conditioned setting.
