ECoDe: A Sample-Efficient Method for Co-Design of Robotic Agents

Kishan Reddy Nagiredla, Buddhika Laknath Semage, Thommen George Karimpanal, Arun kumar.V, Santu Rana

Abstract: Co-designing autonomous robotic agents involves simultaneously optimizing the controller and physical design of the agent. 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 a data-intensive reinforcement learning process for control optimization. To improve the sample efficiency of co-design, we propose a multi-fidelity-based exploration strategy in which we tie the controllers learned across the design spaces through a universal policy learner for warm-starting subsequent controller learning problems. Experiments performed on a wide range of agent design problems demonstrate the superiority of our method compared to baselines. Additionally, analysis of the optimized designs shows interesting design alterations, including design simplifications and non-intuitive alterations.

Introduction

In robotics, "co-design" refers to the process of optimizing both the hardware (morphology) and the software (the controller) at the same time. This is a "bi-level optimization" problem: the outer loop searches for the best body design, while the inner loop uses Reinforcement Learning (RL) to teach that specific body how to move.

The challenge is that RL is notoriously data-hungry. If you have to train a new AI from scratch for every single potential robot design, the computational cost becomes astronomical. Most existing methods either settle for simple designs or take an impractical amount of time to converge. The authors of ECoDe set out to find a way to explore "exotic" design spaces—like robots with asymmetrical limbs or non-intuitive proportions—without breaking the computational bank.

Methodology: The ECoDe Framework

ECoDe (Efficient Co-Design) relies on two primary pillars to boost efficiency: Multi-fidelity Exploration and a Universal Policy Network (UPN).

Overview of the ECoDe framework, illustrating the multi-fidelity filtering process and policy knowledge transfer via a Universal Policy Network.

1. Multi-fidelity Exploration (HyperBand)

Instead of giving every design a full training budget, ECoDe uses a "tournament" style approach. It starts with many random designs and gives them a tiny budget of RL steps. The bottom performers are discarded, and the survivors move to the next round with a larger budget. This ensures computational resources are focused only on the most promising "athletes."

2. Universal Policy Network (UPN)

This is the core innovation. Rather than training a separate neural network for every design, ECoDe trains a single UPN that takes the robot's physical parameters (e.g., limb lengths) as an extra input. This allows the AI to transfer knowledge between designs. If the AI learns how to balance a robot with long legs, that knowledge helps it learn a short-legged version much faster.

3. Reverse Filtering Strategy

Standard HyperBand starts with low-fidelity (noisy) evaluations. ECoDe cleverly reverses this order in some phases to allow the UPN to learn from high-quality, high-fidelity data first, which then makes its "guesses" for the lower-fidelity rounds much more accurate.

Experimental Evaluation

The method was evaluated on seven standardized environments from OpenAI Gym and MuJoCo, which are the gold standards for physics simulations in RL.

The suite of robotic environments used for evaluation, ranging from classic control tasks to complex MuJoCo locomotion.

These environments include:

  • Classic Control: CartPole and Acrobot (modified to allow variable limb lengths/masses).
  • MuJoCo (Locomotion): Hopper, Walker2D, Ant, and Humanoid.
  • MaxHumanoid: A high-complexity version of the Humanoid task with 16 configurable design parameters, representing a massive search space.

Key Results and Insights

ECoDe consistently outperformed state-of-the-art baselines (like Transform2Act and Coadaptation) across all environments in both performance and speed.

  • Superior Performance: In the Walker2D environment, ECoDe achieved a score of 3297.4, while the next best baseline only reached 1568.9.
  • Sample Efficiency: ECoDe found high-performing designs in the Ant environment using only 2.84 million steps, whereas other methods struggled to find walking gaits at all within that budget.
  • Computational Speed: For Walker2D, ECoDe required only 1.5 hours of wall-clock time, compared to 6 hours for Transform2Act, while producing a significantly better design.

Beyond metrics, the framework revealed fascinating design behaviors. In the Acrobot task, ECoDe discovered that making the first link as small as possible effectively simplified the problem into a one-link pendulum. When testing a constrained "broken leg" Ant robot, ECoDe evolved the morphology into a "Kangaroo rat" shape—shortening front limbs and lengthening hind limbs to enable a jumping gait.

Limitations and Future Work

Currently, ECoDe optimizes the parameters (length, mass, thickness) of a fixed skeleton; it does not yet "invent" new joints or change the fundamental topology of the robot. Furthermore, its efficiency relies on the UPN's ability to generalize across the design space. Future work may extend ECoDe to evolve the skeletal structure itself, moving toward fully automated evolutionary design for robotic life.

Summary updated

BibTeX
@inproceedings{nagiredla2024ecode,
  author = {Kishan Reddy Nagiredla and Buddhika Laknath Semage and Thommen George Karimpanal and Arun kumar.V and Santu Rana},
  title = {{ECoDe: A Sample-Efficient Method for Co-Design of Robotic Agents}},
  booktitle = {MAPoDeL @ CoRL},
  year = {2024},
  url = {https://openreview.net/forum?id=fx8ekX3m2c},
}
Figure