Hyperspherical Contrastive Representations Unlock Planning and Exploration
Organizations: Seoul National University · Princeton University
Abstract
We develop a self-supervised reinforcement learning algorithm that learns to build towers of up to eight cubes from scratch, without prior data, rewards, demonstrations, or pretrained models. Our method, Contrastive Planning via Spherical Linear Interpolation (C-Slerp), uses contrastive representations as reusable building blocks and repeatedly composes them to infer a sequence of intermediate waypoints. Under our hyperspherical parameterization, the learned representations allow intermediate waypoints to be inferred in closed form through spherical linear interpolation, without training a separate high-level policy or performing graph search. Importantly, the representation geometry also tells us how to adjust the number of waypoints based on the difficulty of each goal-reaching problem. Experiments show that our method succeeds on long-horizon navigation and robotic manipulation tasks, including settings where strong baselines fail to achieve a single success. Ablations further show that using a fixed number of waypoints substantially degrades performance, highlighting the importance of adapting the plan to task difficulty.
Figures & tables
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | JaxGCRL | BuilderBench |
|---|---|---|
| Actor learning rate | ||
| Representation learning rate | ||
| Actor entropy learning rate | ||
| Waypoint entropy learning rate | ||
| Batch size | ||
| Representation dimension |
| Method | Parameter | Search space |
|---|---|---|
| CRL | Actor learning rate | |
| Critic learning rate | ||
| RIS | Actor learning rate | |
| Critic learning rate | ||
| KL coefficient | ||
| Prior samples |
| Parameter | JaxGCRL | BuilderBench |
|---|---|---|
| Actor learning rate | ||
| Critic learning rate | ||
| Energy function | L2 norm | L2 norm |
| Parameter | JaxGCRL | BuilderBench |
|---|---|---|
| Actor/subgoal learning rate | ||
| Critic learning rate | ||
| KL coefficient | 0.1 | 0.1 |
| Bottleneck temperature | 0.1 | 0.1 |
| Prior samples | 10 | 10 |
| Parameter | JaxGCRL | BuilderBench |
|---|---|---|
| Actor/critic learning rate | ||
| Entropy learning rate | ||
| HER probability | 0.8 | 0.8 |
| Initial entropy coefficient | 1.0 | 0.01 |
| Target entropy coefficient |
| Parameter | JaxGCRL | BuilderBench |
|---|---|---|
| Learning rate | ||
| Expectile | 0.7 | 0.7 |
| 0.2 | 0.5 | |
| 0.3 | 100 | |
| Target horizon | 25 | 10 |
| Direct-goal bootstrap fraction | 0 | 0 |
| Parameter | JaxGCRL | BuilderBench |
| Actor/critic/value learning rate | ||
| Autoencoder/cluster learning rate | ||
| Target-network update period | 10 learner steps | 10 learner steps |
| Latent dimension | 16 | 16 |
| Action regularization | 0.05 | 0.05 |
| Learned landmarks | 50 | 50 |
Robotic RL
Robotic reinforcement learning uses trial-and-error learning to help robots control, navigate, and manipulate objects.
See all 297 papers