Maximum Entropy Behavior Exploration for Sim2Real Zero-Shot Reinforcement Learning
Organizations: Department of Mechanical Engineering, EPFL · Department of Computer Science, ETH Zurich · Max Planck Institute for Intelligent Systems
Abstract
Zero-shot reinforcement learning (RL) algorithms aim to learn a family of policies from a reward-free dataset, and recover optimal policies for any reward function directly at test time. Naturally, the quality of the pretraining dataset determines the performance of the recovered policies across tasks. However, pre-collecting a relevant, diverse dataset without prior knowledge of the downstream tasks of interest remains a challenge. In this work, we study zero-shot RL for quadrupedal control on real robotic systems, building upon the Forward-Backward (FB) algorithm. We observe that undirected exploration yields low-diversity data, leading to poor downstream performance and rendering policies impractical for direct hardware deployment. Therefore, we introduce FB-MEBE, an online zero-shot RL algorithm that combines an unsupervised behavior exploration strategy with a regularization critic. FB-MEBE promotes exploration by maximizing the entropy of the achieved behavior distribution. Additionally, a regularization critic shapes the recovered policies toward more natural and physically plausible behaviors. We empirically demonstrate that FB-MEBE achieves and improved performance compared to other exploration strategies in a range of simulated downstream tasks, and that it renders natural policies that can be seamlessly deployed to hardware without further finetuning. Videos and code available on our website.
Figures & tables
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Action Scale | |
| Proportional Gain | |
| Derivative Gain | |
| Control Frequency [Hz] |
| Network | Obs Dimension Breakdown |
|---|---|
| Critic | |
| Actor | |
| Critic (Reg) |
| Hyperparameter | Value |
| Number of training steps | 150k |
| Number of parallel environments | 2048 |
| Number of rollout steps between each agent update | 10 |
| Number of gradient steps per agent update | 10 |
| Policy delay (TD3 actor update interval) | 2 |
| Number of initial steps with random actions | 1000 |
| Hyperparameter | Critic | B | Critic | Actor |
| Learning Rate | ||||
| Soft update coefficient | ||||
| Input Variables | ||||
| Output Dim | ||||
| Embedding Hidden Units | – | – | ||
| Feed Forward Hidden Layers |
| Hyperparameter | Value |
|---|---|
| Flow architecture | RealNVP-style normalizing flow |
| Number of coupling layers | 10 |
| Hidden dimension | 64 |
| Activation function | ReLU |
| Scale output activation | Tanh |
| Masking strategy | Alternating checkerboard / channel mask |
| Hyperparameter | Value |
|---|---|
| normalizing flow update frequency | 1000 steps |
| sample buffer size | 100k |
| (for stability) | 0.1 |
| (reverse sampling strength) | 2.0 |