Abstract
Efficiency in robot learning is highly dependent on hyperparameters. Robot morphology and task structure differ widely and finding the optimal setting typically requires sequential or parallel repetition of experiments, strongly increasing the interaction count. We propose a training method that only relies on a single trial by enabling agents to select and combine controller designs conditioned on the task. Our Hyperparameter Mixture Policies (HMPs) feature diverse sub-policies that vary in distribution types and parameterization, reducing the impact of design choices and unlocking synergies between low-level components. We demonstrate strong performance on continuous control tasks, including a simulated ANYmal robot, showing that HMPs yield robust, data-efficient learning.
Introduction
Reinforcement Learning (RL) is notoriously sensitive to hyperparameters (HPs). A set of HPs that works for a quadruped robot running might fail for a robotic arm picking up a cup. Traditionally, finding the "right" settings requires running dozens of parallel experiments or sequential trials (grid search, Bayesian optimization, or Population-Based Training), which is computationally expensive and data-inefficient.
Furthermore, different phases of a single task might benefit from different controller behaviors. For example, a robot might need coarse, aggressive exploration early in a movement but fine-grained, smooth control to stabilize at the end. Standard RL agents usually commit to a single policy distribution type, forcing a compromise that may be sub-optimal for the task's entire duration.
Methods
Hyperparameter Mixture Policies (HMPs) eliminate the need for expensive offline hyperparameter tuning by enabling a single agent to learn from a diverse ensemble of sub-policies concurrently. This hierarchical approach consists of:
- Low-Level Sub-Policies ($\pi^L$): A diverse set of "worker" policies, each with different hyperparameters (e.g., learning rates, network architectures, activation functions) or distribution types (e.g., Gaussian, Categorical, Kumaraswamy).
- High-Level Selector ($\pi^H$): A master policy that learns to weight or select which sub-policy to use based on the current state.
Key Technical Innovations: * Single-Trial Learning: Unlike Population-Based Training, HMP trains all components within a single agent's lifetime. * Decoupled KL Constraints: To prevent one sub-policy from "collapsing" or being overwritten by another's gradient, the authors enforce independent trust-region constraints (KL-divergence) for each component. * Mixed Distribution Support: A method to combine continuous and discrete distributions by approximating discrete components with "piece-wise constant pseudo-densities," allowing gradients to flow across different types of controllers.
Experimental Setup
The researchers evaluated HMPs across several challenging simulation environments:
- DeepMind Control Suite: Standard torque-control benchmarks like Cartpole, Cheetah, and Humanoid.
- RaiSim: A high-fidelity simulator used for the ANYmal quadruped robot, focusing on learning PD-control targets for locomotion.
- Metaworld: A suite of robotic manipulation tasks (e.g., Bin Picking, Drawer Open).
- OpenAI Gym: Used to compare against HOOF (a gradient-free hyperparameter optimizer).
Results and Discussion
HMP consistently outperformed or matched state-of-the-art algorithms like DDPG and RHPO across the DeepMind Control Suite and Metaworld. In ANYmal locomotion tasks, HMP successfully learned to make the robot run, whereas standard Gaussian policies with high variance frequently caused the robot to fall.
Key Insights: * Synergy over Selection: The agent doesn't just pick the "best" sub-policy; it learns to combine them. In Cartpole, the agent used a "bang-bang" (discrete) controller for the high-energy swing-up phase and switched to a narrow Gaussian (continuous) controller for precise stabilization. * Robustness to "Bad" Choices: Even if some sub-policies are initialized with poor hyperparameters, the HMP agent learns to ignore failing components and rely on successful ones. * Automatic Curriculum: The high-level selector naturally creates a curriculum, favoring exploratory (high-variance) policies early in training and shifting to exploitative (low-variance) policies as the task is mastered. * Qualitative Specialization: t-SNE visualizations of policy activations showed clear, consistent clustering, proving that the agent learns distinct "modes" of behavior tied to specific sub-policies.
Conclusion
While HMP reduces the need to tune low-level HPs, it introduces its own HPs for the high-level selector. Additionally, running multiple sub-policies in parallel increases computational cost per training step. Future work includes scaling diversity to more components and demonstrating "on-the-fly" adaptation on physical hardware where sample efficiency is critical.
Summary updated