In the natural world, the relentless "arms race" between predator and prey has sculpted both physical forms and behavioral instincts. Claws, armor, and speed are optimized alongside the strategies to deploy them. In contrast, most "Embodied AI" research focuses on training a controller (the "brain") for a static robot (the "body"). CompetEvo, presented at IJCAI-24, challenges this paradigm by asking: what happens if we let the body and the brain evolve together in the heat of battle?
The Challenge of Adversarial Co-evolution
Existing research in body-brain co-optimization often targets single-agent tasks like locomotion in isolation. CompetEvo addresses adversarial co-evolution, where agents must optimize their physical attributes specifically to defeat an opponent. This is inherently difficult because the "optimal" body is a moving target, shifting as the opponent adapts their own strategy and physique.
Methodology
The CompetEvo framework treats competition as a two-player Markov game. The agent's policy is split into two components: a morphology sub-policy (determining physical traits) and a tactics sub-policy (controlling movement and combat).
- Morphological Encoding: Using base models like the Ant (4 legs), Bug (6 legs), and Spider (8 legs), the researchers parameterized limb length, girth, and torso distance. A key physical constraint was implemented: "brawnier" limbs generate more power but increase the agent's mass, creating a natural trade-off between strength and agility.
- Continuous Self-Practice: To maintain training stability, the framework employs $δ$-Uniform opponent sampling. Agents compete against a historical pool of their own past versions, ensuring that evolved traits are robust against a wide range of strategies rather than over-fitting to a single current opponent.
- Training Curriculum: The process begins with a "Warming-up" phase for basic locomotion, followed by competition where "dense" rewards (movement-based) are gradually replaced by "sparse" rewards (winning/losing).
Key Insights: Task-Driven Morphology
The most significant finding was that evolution produced distinct, task-specific body types. In run-to-goal, agents evolved limbs oriented toward the direction of travel to resist lateral forces. In sumo, they developed "brawny" lower legs to lower their center of gravity and maximize impulsive force.
Emergent "Martial Arts"
Beyond physical changes, complex behaviors emerged that were never explicitly programmed:
- Throwing: Agents evolved long front legs to leverage inertia and "flip" themselves over or past opponents.
- Wrestling: The six-legged
evo-buglearned to use its limbs to clamp onto an opponent and overturn them. - Defensive Bracing: The
evo-spiderdeveloped legs of varying lengths to create a stable "triangular support" structure, making it nearly impossible to topple.
Results and Performance
In symmetric competitions (e.g., Evo-Ant vs. Original Ant), morph-evolved agents consistently achieved near-100% win rates as training progressed. These advantages were often generalizable; evolved agents typically maintained their edge even when facing different species. A notable exception occurred in run-to-goal where the smaller, standard Ant could occasionally slip under the larger evo-bug, highlighting that increased size is not a universal advantage in every tactical niche.
Conclusion and Future Directions
CompetEvo demonstrates that co-evolving morphology and tactics leads to superior performance and the emergence of sophisticated physical strategies. While current work uses fixed skeletal topologies, future research could explore evolving the entire skeleton from scratch or investigating team-based dynamics where agents evolve specialized roles like "tanks" or "scouts."
Summary updated