EUCLID: Towards Efficient Unsupervised Reinforcement Learning with Multi-choice Dynamics Model

Yifu Yuan, Jianye Hao, Fei Ni, Yao Mu, Yan Zheng, Yujing Hu, Jinyi Liu, Yingfeng Chen, Changjie Fan

TL;DR

EUCLID is a new framework for Unsupervised Reinforcement Learning (URL) that jointly pre-trains a multi-headed dynamics model alongside an exploration policy. By specializing different "heads" of the model to different regions of the environment, it overcomes the common problem where long pre-training actually hurts downstream performance, achieving state-of-the-art sample efficiency (20x better than learning from scratch).

What Problem Does This Paper Address?

In Unsupervised Reinforcement Learning (URL), an agent explores an environment without a specific reward signal to learn "useful" behaviors. The goal is to create a foundation that allows the agent to adapt quickly to any downstream task (like walking or reaching).

However, current model-free URL methods suffer from a mismatch issue. As an agent explores more, it might "forget" early useful skills or converge on a specific behavior that is totally irrelevant to the final task. Surprisingly, researchers found that pre-training for longer can sometimes lead to worse performance on the actual task.

Mismatch Issue and EUCLID's Monotonic Improvement

The authors argue that while a policy is often task-specific and prone to this mismatch, the environment dynamics (the "physics" of how the world works) are task-agnostic. If you learn a good model of the world's physics during pre-training, you can use it to plan for any task later.

Methods

The authors introduce EUCLID (Efficient Unsupervised reinforCement Learning with multi-choIce Dynamics model). Its architecture is built on two main pillars:

  1. Model-Fused Paradigm: Instead of just pre-training a policy, EUCLID pre-trains a latent dynamics model. This model learns to predict future states in a compressed "latent" space, which is much more efficient than predicting raw pixels or high-dimensional sensor data.
  2. Multi-Choice Dynamics Model: A single model often struggles to capture the complex physics of an entire environment. EUCLID uses a multi-headed approach where different "heads" of the neural network specialize in different regions or behaviors.
Multi-Choice Dynamics Model Architecture
  • Pre-training: Multiple exploration policies are encouraged to move away from each other (using a diversity-encouraging KL-divergence term) to collect diverse data for different heads.
  • Fine-tuning: At the start of a new task, the agent performs a "zero-shot" evaluation to see which head predicts the current environment best. It then locks in that head to guide its planning.

For the actual movement, EUCLID uses a hybrid of Model Predictive Control (MPC) and policy optimization (DDPG).

Datasets

The researchers evaluated EUCLID on the URLB (Unsupervised Reinforcement Learning Benchmark), which includes:

  • Walker: A bipedal figure learning to flip, run, and walk.
  • Quadruped: A four-legged robot in a 3D environment.
  • Jaco: A 6-DOF robotic arm performing manipulation tasks (notoriously difficult due to sparse rewards).
  • Humanoid (Extension): The authors added a complex 21-joint humanoid model to test EUCLID’s ability to handle high-dimensional action spaces.

Key Insights and Ideas

  • Dynamics are more stable than policies: Because the "physics" of the robot doesn't change between the exploration phase and the task phase, the dynamics model acts as a more reliable "prior" than a pre-trained movement policy.
  • Monotonic Improvement: Unlike previous methods where performance oscillates or drops with more pre-training, EUCLID’s performance improves steadily as pre-training time increases. More data consistently leads to a better world model.
  • Specialization prevents "Averaging": In complex environments, a single-headed model often tries to "average" different physical transitions, leading to blurry or inaccurate predictions. Multi-choice learning allows the model to maintain sharp, specialized predictions for different modes of behavior.

Key Results

  • State-of-the-Art Performance: EUCLID reached a mean normalized score of 104.0% on the URLB benchmark. This means it performed as well as (or better than) an "expert" agent trained with 2 million steps of supervised data, but it did so with only 100k steps of task-specific fine-tuning.
  • 20x Data Efficiency: Compared to DDPG (a standard RL algorithm) learning from scratch, EUCLID is roughly 20 times more sample-efficient.
  • Solving Jaco: EUCLID significantly outperformed previous methods on the Jaco robotic arm tasks, which are often "stumbling blocks" for unsupervised agents due to their complexity.

Limitations and Future Work

  • Computational Overhead: Training multiple heads and running MPC (planning) during fine-tuning is more computationally expensive than simple model-free methods.
  • Head Selection: While the zero-shot head selection works well, the authors suggest that a more "fine-grained" approach—perhaps switching heads dynamically during a single episode—could further improve results.
  • Future Directions: The authors propose extending EUCLID to Multi-Agent RL and incorporating offline RL datasets to further boost the initial world model without any environment interaction.

Summary updated

BibTeX
@inproceedings{yuan2023euclid,
  author = {Yifu Yuan and Jianye HAO and Fei Ni and Yao Mu and YAN ZHENG and Yujing Hu and Jinyi Liu and Yingfeng Chen and Changjie Fan},
  title = {{EUCLID: Towards Efficient Unsupervised Reinforcement Learning with Multi-choice Dynamics Model}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=xQAjSr64PTc},
}
Figure