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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Offline Reinforcement Learning | Kitchen Partial | Normalized Score90.2 | 62 | |
| Offline Reinforcement Learning | D4RL antmaze-umaze (diverse) | Normalized Score71.2 | 40 | |
| Offline Reinforcement Learning | antmaze medium-play | Score70.8 | 35 | |
| Offline Reinforcement Learning | kitchen mixed | Normalized Score75.6 | 29 | |
| Offline Reinforcement Learning | Antmaze umaze | Average Return71.2 | 24 | |
| Offline Reinforcement Learning | antmaze large-play | Score78.2 | 18 | |
| Offline Reinforcement Learning | antmaze medium-diverse | Score72.2 | 18 | |
| Offline Reinforcement Learning | Gym Locomotion (Medium) | HalfCheetah Score44.5 | 14 | |
| Offline Reinforcement Learning | AntMaze-Ultra-Play | Avg Normalized Score56.6 | 10 | |
| Offline Reinforcement Learning | AntMaze Ultra-Diverse | Avg Normalized Score5.46e+3 | 10 |