Abstract
Co-design involves simultaneously optimizing the controller and agents physical design. Its inherent bi-level optimization formulation necessitates an outer loop design optimization driven by an inner loop control optimization. This can be challenging when the design space is large and each design evaluation involves data-intensive reinforcement learning process for control optimization. To improve the sample-efficiency we propose a multi-fidelity-based design exploration strategy based on Hyperband where we tie the controllers learnt across the design spaces through a universal policy learner for warm-starting the subsequent controller learning problems. Further, we recommend a particular way of traversing the Hyperband generated design matrix that ensures that the stochasticity of the Hyperband is reduced the most with the increasing warm starting effect of the universal policy learner as it is strengthened with each new design evaluation. Experiments performed on a wide range of agent design problems demonstrate the superiority of our method compared to the baselines. Additionally, analysis of the optimized designs shows interesting design alterations including design simplifications and non-intuitive alterations that have emerged in the biological world.
Introduction
In robotics, "co-design" refers to the simultaneous optimization of a robot's hardware (morphology) and its software (controller). This is traditionally a "bi-level" optimization problem: the outer loop searches for the best body shape, while the inner loop uses Reinforcement Learning (RL) to teach that specific body how to move. The primary challenge is that RL is notoriously data-hungry. If a system must evaluate thousands of potential body designs, training a full RL policy for every single one is computationally prohibitive. Most existing methods either settle for sub-optimal designs or take an eternity to converge. The ECoDe framework addresses two missed opportunities: knowledge sharing between similar body shapes and early termination of poor designs.
Methods: The ECoDe Framework
ECoDe (Efficient Co-Design) merges two powerful concepts to achieve unprecedented sample efficiency:
- Multi-fidelity Training (HyperBand): Inspired by hyperparameter optimization, ECoDe uses a "filtering" approach. It starts by testing many designs with a very small budget of samples. Only the top performers move on to the next round to receive more training time.
- Universal Policy Network (UPN): Instead of a policy that only knows one body, a UPN takes the robot's physical parameters (like limb lengths) as an input. This allows the neural network to learn a generalized control strategy that applies across the entire design space.
Standard HyperBand starts with many designs at low fidelity. However, the authors found that if the UPN hasn't seen enough data yet, its evaluations are noisy. ECoDe reverses the order: it starts with high-fidelity training on a few designs to "warm up" the UPN, then uses that mature knowledge to more accurately filter a larger pool of designs in subsequent rounds.
Experimental Setup
The researchers evaluated ECoDe on seven modified OpenAI Gym environments, ranging from classic control to complex MuJoCo physics simulations:
- Classic: CartPole (optimizing pole length) and Acrobot (optimizing link lengths and masses).
- MuJoCo: Hopper, Walker2D, Ant, and Humanoid (optimizing limb lengths and thicknesses).
- MaxHumanoid: A particularly grueling benchmark featuring 16 configurable design parameters.
Key Insights and Results
ECoDe consistently outperformed state-of-the-art baselines (like Transform2Act and Coadaptation) in both final performance and computational speed. In the Walker2D environment, ECoDe achieved an average reward of 3297.4, while the next best baseline only reached 1568.9. Furthermore, ECoDe solved the task in just 1.5 hours, compared to 6 hours for Transform2Act.
Beyond metrics, the system demonstrated "morphological intelligence." In the Acrobot task, ECoDe discovered that by making the first link as small as possible, it could simplify a complex double-pendulum problem into a much easier single-pendulum control task. When the researchers "broke" one of the legs of the Ant robot to break its symmetry, ECoDe evolved a design with shortened front legs and elongated hind legs, resulting in a jumping/crawling gait remarkably similar to a kangaroo rat.
Conclusion and Future Work
ECoDe demonstrates that tying controllers across design spaces via a UPN significantly reduces the samples needed for inner-loop optimization. While current work focuses on optimizing the parameters of a fixed skeleton, future research aims to move beyond parameter optimization to co-designing the skeletal structure itself, potentially using graph-based neural networks to handle varying numbers of limbs and joints.
Summary updated