Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Goal-Conditioned Predictive Coding for Offline Reinforcement Learning

About

Recent work has demonstrated the effectiveness of formulating decision making as supervised learning on offline-collected trajectories. Powerful sequence models, such as GPT or BERT, are often employed to encode the trajectories. However, the benefits of performing sequence modeling on trajectory data remain unclear. In this work, we investigate whether sequence modeling has the ability to condense trajectories into useful representations that enhance policy learning. We adopt a two-stage framework that first leverages sequence models to encode trajectory-level representations, and then learns a goal-conditioned policy employing the encoded representations as its input. This formulation allows us to consider many existing supervised offline RL methods as specific instances of our framework. Within this framework, we introduce Goal-Conditioned Predictive Coding (GCPC), a sequence modeling objective that yields powerful trajectory representations and leads to performant policies. Through extensive empirical evaluations on AntMaze, FrankaKitchen and Locomotion environments, we observe that sequence modeling can have a significant impact on challenging decision making tasks. Furthermore, we demonstrate that GCPC learns a goal-conditioned latent representation encoding the future trajectory, which enables competitive performance on all three benchmarks.

Zilai Zeng, Ce Zhang, Shijie Wang, Chen Sun• 2023

Related benchmarks

TaskDatasetResultRank
Offline Reinforcement LearningKitchen Partial
Normalized Score90.2
62
Offline Reinforcement LearningD4RL antmaze-umaze (diverse)
Normalized Score71.2
40
Offline Reinforcement Learningantmaze medium-play
Score70.8
35
Offline Reinforcement Learningkitchen mixed
Normalized Score75.6
29
Offline Reinforcement LearningAntmaze umaze
Average Return71.2
24
Offline Reinforcement Learningantmaze large-play
Score78.2
18
Offline Reinforcement Learningantmaze medium-diverse
Score72.2
18
Offline Reinforcement LearningGym Locomotion (Medium)
HalfCheetah Score44.5
14
Offline Reinforcement LearningAntMaze-Ultra-Play
Avg Normalized Score56.6
10
Offline Reinforcement LearningAntMaze Ultra-Diverse
Avg Normalized Score5.46e+3
10
Showing 10 of 13 rows

Other info

Code

Follow for update