Introduction
Designing a robot's physical body and its "brain" are equally important, but AI research has historically favored optimizing the brain. In the natural world, an organism's physical structure and its neural control system evolve together to survive in a specific environment. In robotics and machine learning, however, researchers typically take a fixed, human-designed robot body and use Reinforcement Learning (RL) to train its controller.
"Co-designing" both the robot's structure and its control policy is a notoriously difficult bi-level optimization problem. Progress in this area has been bottlenecked by the lack of a standardized benchmark. Existing physics environments focus almost exclusively on control, and the few existing soft-robot co-design frameworks usually test agents on trivial tasks, like walking in a straight line on flat terrain. Without a diverse, challenging suite of tasks spanning locomotion and manipulation, researchers cannot accurately evaluate or compare new co-design algorithms.
To address this, researchers have introduced Evolution Gym, the first large-scale, open-source benchmark specifically designed for co-optimizing the morphology (body) and control (brain) of soft robots.
The Evolution Gym Framework
Evolution Gym is a fast, lightweight 2D simulation environment written in C++ with Python bindings. It relies on a multi-material voxel-based representation where robots are built on a grid. A robot is an assembly of different "blocks": rigid voxels, soft voxels, and horizontal/vertical actuator voxels that expand and contract. The environment uses a 2D mass-spring dynamics system with penalty-based frictional contact, allowing for fast simulation of highly compliant, squishy soft robots.
The authors formulated co-design as a two-loop process:
- Outer Loop (Design): Evolves the physical layout of the voxels. The benchmark tests three baseline methods: a standard Genetic Algorithm (GA), Bayesian Optimization (BO), and CPPN-NEAT (a popular neuroevolution method that generates spatial patterns).
- Inner Loop (Control): For every new body proposed by the outer loop, a state-of-the-art RL algorithm (Proximal Policy Optimization, or PPO) trains a neural network controller to operate the actuators.
The Benchmark Suite
The paper introduces the Evolution Gym Benchmark Suite, consisting of over 30 unique tasks of varying difficulty (Easy, Medium, Hard).
These tasks are split into two main categories:
- Locomotion: Tasks like walking on flat ground, climbing walls, navigating soft rope bridges, and traversing pits of rigid blocks.
- Manipulation: Tasks requiring the robot to interact with objects, such as catching a falling block, throwing a box, or lifting an object out of a hole.
Key Insights and Results
By testing state-of-the-art algorithms on this new suite of complex tasks, the authors revealed several surprising insights about the current state of soft robot co-design:
- Simpler design algorithms can beat complex ones: Surprisingly, the relatively simple Genetic Algorithm (GA) outperformed the more sophisticated CPPN-NEAT and Bayesian Optimization on most tasks. The GA + PPO combination was the most robust, successfully solving "Easy" and "Medium" tasks like Carrier (catching and carrying a block) and Climber (scaling a vertical chute).
- Form follows function in surprising ways: CPPN-NEAT is the historical go-to for soft robot evolution, and it did well on simple locomotion. However, it failed miserably on complex manipulation tasks. This is because CPPN-NEAT favors generating highly regular, symmetric patterns. Manipulation tasks often require irregular, agile substructures (like a weirdly shaped hook or an asymmetrical gripper), which the simple GA was much better at discovering.
- Evolution beats human intuition: The authors manually designed bio-inspired robots for these tasks and trained them with PPO. In almost every case, the algorithms evolved bizarre, unintuitive robot shapes from scratch that outperformed the human-designed robots. For example, to cross a soft rope bridge, the algorithm evolved a robot with a massive front foot to maximize surface area and friction.
- The benchmark is genuinely hard: The hardest tasks in the suite completely broke the current state-of-the-art. None of the baseline algorithms could solve the "Hard" tasks. For example, in Beam Slider (where a robot must navigate under a beam and slide it forward), algorithms failed to even position the robots correctly, let alone manipulate the object.
Limitations and Future Work
The authors are highly transparent about the limitations of current approaches. The bi-level optimization routine—fully training a brain for every single mutated body—is incredibly slow and computationally expensive. Evaluating a single algorithm on a single task takes anywhere from several hours to 20 hours on an 80-core CPU machine.
For future work, they suggest moving away from this nested loop toward concurrent co-optimization (updating the body and brain simultaneously). They also suggest exploring gradient-based design optimization, multi-task learning (evolving a single robot that can both climb and throw), and eventually extending the simulator to handle 3D environments, flying, and swimming. Evolution Gym provides a necessary proving ground for this next generation of algorithms.
Summary updated