# Embodied Intelligence via Learning and Evolution

Agrim Gupta, Silvio Savarese, Surya Ganguli, Li Fei-Fei · arXiv · 2021-2-3

- **Problem** Evolved body shapes and the learnability of their controllers have been hard to study together at scale, because each candidate morphology must learn a controller before its fitness is known.
- **Method** DERL runs tournament-based evolution asynchronously over a UNIMAL morphology space, and each child morphology learns a PPO controller from a random start.
- **Results** Across seven test tasks, MVT-evolved agents outperformed FT-evolved agents at 5 million learning iterations, and mean learning time for the top 100 agents was halved within 10 generations.

![Figure 1: DERL overview. DERL (a) is a general framework to make embodied agents via two interacting adaptive processes. An outer loop of evolution optimizes a…](https://refivu.com/papers/35077a07-2c81-4b05-87d4-0a4c83ef04af/figures/figure-082c4634c710a696fee4a26de305ff80.png?thumb=512)

**Figure 1** : DERL overview. DERL (a) is a general framework to make embodied agents via two interacting adaptive processes. An outer loop of evolution optimizes agent morphology via mutation operations, some of which are shown in ( b) and an inner reinforcement learning loop optimizes the parameters of a neural controller ( c). d, Example agent morphologies in the UNIMAL design space. e, Variable terrain consists of three stochastically generated obstacles: hills, steps and rubble. In manipulation in variable terrain, an agent must start from an initial location (green sphere) and move a box to a goal location (red square).

[Original paper](https://arxiv.org/abs/2102.02202v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Agrim Gupta, Silvio Savarese, Surya Ganguli, Li Fei-Fei · Embodied Intelligence via Learning and Evolution · Original paper figure · Extracted the figure area from page 2 of the original PDF.

## Why morphology and control are hard to study together

Animal bodies and their control were shaped together, but the link between environmental complexity, the evolved body and how easily a controller can be learned has been hard to measure at scale. The study asks two questions: whether environmental complexity makes evolved morphologies better at learning new tasks, and whether a Baldwin-style effect appears when bodies and controllers evolve together.

Two difficulties block this. The space of possible morphologies is combinatorially large, and every candidate must learn a controller before its fitness is known, so evaluation is expensive. Earlier work therefore restricted the morphology search, used hand-designed controllers with few (≤ 100) parameters, or predicted fitness instead of measuring it, and it was mostly limited to flat-terrain locomotion with few degrees of freedom or cuboid bodies.

## How DERL couples evolution with learning

DERL has an outer evolutionary loop that mutates agent morphologies and an inner reinforcement learning loop that trains a neural controller for each morphology. Each agent senses the world through egocentric observations and acts through a stochastic policy, and PPO learns the policy parameters.

Generational evolution replaces the whole population at once, so every member must finish training before the next step of evolution, which scales poorly when each member is expensive to train. DERL instead uses tournament-based evolution, in which groups of 4 agents compete, the fittest becomes a parent, and its mutated child joins the population once its lifetime learning ends.

The population size stays fixed at P = 576 in each run, so the oldest member is removed after a child is added.

The large runs use 288 workers, each with 4 CPUs, for 1152 CPUs in total, and each morphology receives 5 million learning iterations.

## Which morphologies can evolve: the UNIMAL space

A morphology is stored as a kinematic tree of rigid 3D parts connected by motor-actuated hinge joints, with a sphere as the head at the root and cylinders as limbs.

Three classes of mutation change the tree: growing or deleting limbs, changing the physical properties of limbs such as length and density, and changing the joints through degrees of freedom, angular limits and gear ratios. A new limb is kept only if the centre of mass stays on the sagittal plane and the body has no self-intersections, which the authors check with a short simulation.

Under these constraints the design space contains approximately 1018 morphologies with fewer than 10 limbs.

## What each agent senses, earns and learns

Proprioceptive inputs depend on the body and include joint angles, angular velocities, velocimeter, accelerometer and gyroscope readings at the head, and touch sensors on limbs and head. Exteroceptive inputs are task-specific, and terrain is given as a 2D heightmap on a non-uniform grid that spans 1m behind to 4m ahead of the agent along its direction of motion and 4m to each side.

In flat and variable terrain the reward combines forward velocity with a small penalty on actuator input, so the reward is r\_t = w\_x v\_x - w\_c \|\|a\|\|^2 with w\_x = 1 and w\_c = 0.001. Because tournament winners are compared only on their forward progress term, there is no explicit selection pressure to reduce energy. The manipulation reward adds geodesic-distance progress terms for the box and for the box-to-goal distance, with weights of 100 each, and it gives a sparse bonus of 10 when the box reaches the start or goal region.

An episode ends early when the head falls below 50% of its original height, and the authors found this termination essential for diverse gaits, since without it almost all agents fell immediately.

## Evolved morphologies differ by environment

The study compares three evolutionary environments: flat terrain (FT), variable terrain (VT), and non-prehensile manipulation in variable terrain (MVT). In VT a new terrain is sampled from a sequence of obstacles each episode, and prior work on a 9 DoF planar 2D walker needed 107 agent-environment interactions for locomotion there.

DERL found successful morphologies in all three environments, and the initial population already had relatively high average fitness before evolution. Lineages founded by low-ranked ancestors still reached large abundance in the final population, because the tournament scheme keeps diversity while the fittest lineages grow. Figure 2 shows the fitness of the top 100 agents, lineage abundance, phylogenetic trees and Muller diagrams for each environment.

VT and MVT agents are longer along the forward direction and shorter in height than FT agents, and FT agents are less space-filling as measured by coverage. All three environments give similar masses and about 16 degrees of freedom.

FT agents typically use a falling-forward gait or a lizard-like gait, while VT agents often have two symmetrical limbs for stability, and MVT agents develop forward-reaching arms that act like claws to guide a box.

## Testing whether a morphology learns new tasks faster

Each evolved morphology is trained from scratch on eight test tasks grouped into agility, stability and manipulation, so differences in performance are attributed to the morphology. The evaluation is analogous to measuring how useful a learned representation is on downstream tasks, and here it is applied to the body rather than to a network.

The top 10 of the 100 selected agents per environment were retrained from scratch with 5 seeds, and performance is reported as median reward with n = 50. At 5 million learning iterations, MVT-evolved agents perform better than FT-evolved agents across the 7 test tasks. VT-evolved agents beat FT-evolved agents in 5 of 6 agility and stability tasks and perform similarly on the manipulation tasks.

With 1 million learning iterations, the differences between MVT or VT agents and FT agents become more pronounced across all tasks. The authors read this as evidence that morphologies from more complex environments learn new tasks both better and faster.

Cost of work is also lower for MVT-evolved agents, so they are more energy efficient on these tasks even though no explicit selection favored energy efficiency.

## A Baldwin effect in morphology

The Baldwin effect says that behaviors learned within a lifetime can become instinctive in later generations through genetic change, without Lamarckian transfer of learned knowledge. The authors note that learning is costly in energy and time, which can create selection pressure for genotypic changes that speed learning, and that prior demonstrations were simplified toy models.

For the top 100 agents in each environment, the iterations needed to reach the 75th percentile fitness of the initial population fall over generations. Average learning time is cut in half within 10 generations.

Fitness depends only on reward at the end of lifetime learning, so no term rewards fast learning directly. The authors therefore describe the result as a stronger form of the Baldwin effect than previously conjectured, since an explicit pressure for learning speed does not appear to be needed.

## Energy efficiency and stability as candidate mechanisms

The authors hypothesize that evolution finds bodies that exploit the passive dynamics of body and environment, which would simplify control and so support both morphological intelligence and faster learning over generations. Energy efficiency is measured as the cost of work, which divides energy by mass, gravity and achieved reward, so lower values indicate higher efficiency.

Passive stability is checked by whether the head stays above 50% of its original height after 400 time steps with no control.

Evolution selects lower cost of work without any direct pressure on energy, and total body mass increases in all three environments, so the gain is not simply lighter limbs. The fraction of passively stable morphologies rises over evolutionary time in all three environments, and it is higher in VT and MVT than in FT.

Figure 6 relates cost of work to final reward and to learning speed for the top 100 agents, with per-generation correlation coefficients and P values from two-tailed Pearson correlation. The caption reports that more energy-efficient morphologies perform better and learn faster across generations. Individual per-generation coefficients vary and some are close to zero, for example one panel with r = 0.05 and P = 0.6421.

The authors interpret these correlations as evidence that energy efficiency and stability may be key physical principles underlying both morphological intelligence and the Baldwin effect; they are correlations, not tested causes. They attribute the stronger environmental effect in MVT and VT to a growing set of subtasks, which would apply a higher implicit pressure toward stability and efficiency.

## Limits of the evidence

Fitness during evolution uses a single seed for each morphology, so a small change in fitness may not be statistically meaningful. A mutation counts as beneficial only when fitness rises by at least 300 in FT or 100 in VT and MVT, thresholds the authors set heuristically to match roughly the 75th percentile of fitness increases.

All results come from MuJoCo simulation in the three named environments, and the test suite covers eight tasks evaluated with 5 seeds on the top 10 agents. The 1 million iteration comparison is a separate reduced-budget test, not the main result.

The energy and stability mechanism rests on correlations and population trends, and the paper does not test it with a controlled intervention on energy or stability. The early termination rule shapes which gaits can appear, so the observed diversity of gaits is conditional on that rule.

## Paper info

- **Authors**: Agrim Gupta, Silvio Savarese, Surya Ganguli, Li Fei-Fei
- **Venue**: arXiv · Preprint
- **First published**: 2021-2-3
- **Added**: 2026-11-6
- **Updated**: 2021-2-3
- **Version**: v1
- **arXiv**: 2102.02202
- **DOI**: 10.1038/s41467-021-25874-z
- **Category**: cs.LG · cs.NE · cs.RO
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2102.02202v1) · [PDF ↗](https://arxiv.org/pdf/2102.02202v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

The intertwined processes of learning and evolution in complex environmental niches have resulted in a remarkable diversity of morphological forms. Moreover, many aspects of animal intelligence are deeply embodied in these evolved morphologies. However, the principles governing relations between environmental complexity, evolved morphology, and the learnability of intelligent control, remain elusive, partially due to the substantial challenge of performing large-scale in silico experiments on evolution and learning. We introduce Deep Evolutionary Reinforcement Learning (DERL): a novel computational framework which can evolve diverse agent morphologies to learn challenging locomotion and manipulation tasks in complex environments using only low level egocentric sensory information. Leveraging DERL we demonstrate several relations between environmental complexity, morphological intelligence and the learnability of control. First, environmental complexity fosters the evolution of morphological intelligence as quantified by the ability of a morphology to facilitate the learning of novel tasks. Second, evolution rapidly selects morphologies that learn faster, thereby enabling behaviors learned late in the lifetime of early ancestors to be expressed early in the lifetime of their descendants. In agents that learn and evolve in complex environments, this result constitutes the first demonstration of a long-conjectured morphological Baldwin effect. Third, our experiments suggest a mechanistic basis for both the Baldwin effect and the emergence of morphological intelligence through the evolution of morphologies that are more physically stable and energy efficient, and can therefore facilitate learning and control.

## Quote from the paper

Agrim Gupta, Silvio Savarese, Surya Ganguli, Li Fei-Fei (2021). Embodied Intelligence via Learning and Evolution. arXiv:2102.02202v1. https://doi.org/10.1038/s41467-021-25874-z

**BibTeX**

```
@article{gupta2021embodied,
  title = {{Embodied Intelligence via Learning and Evolution}},
  author = {Agrim Gupta and Silvio Savarese and Surya Ganguli and Li Fei-Fei},
  year = {2021},
  eprint = {2102.02202},
  archivePrefix = {arXiv},
  doi = {10.1038/s41467-021-25874-z},
  url = {https://arxiv.org/abs/2102.02202v1}
}
```

## Other paper commentary

- [Robotic Control via Embodied Chain-of-Thought Reasoning](https://refivu.com/en/papers/e0916502-601d-428e-90b1-cb59f1252a20-robotic-control-via-embodied-chain-of-thought-reasoning.md)
- [Self-supervised 6D Object Pose Estimation for Robot Manipulation](https://refivu.com/en/papers/d923d9fd-647d-4656-905f-defb6f68182a-self-supervised-6d-object-pose-estimation-for-robot.md)
- [Perceiver-Actor: A Multi-Task Transformer for Robotic Manipulation](https://refivu.com/en/papers/36489f39-2d0a-49d5-8c29-68447645c8d7-perceiver-actor-a-multi-task-transformer-for-robotic.md)
- [CogACT: A Foundational Vision-Language-Action Model for Synergizing Cognition and Action in Robotic Manipulation](https://refivu.com/en/papers/52aadf90-b60a-4301-8fb3-f8cf89016dc5-cogact-a-foundational-vision-language-action-model-for.md)
- [SafeLab: An Interactive High-Fidelity Benchmark for Embodied Safety in Scientific Robotics](https://refivu.com/en/papers/be991429-89d9-451a-b63f-ed2c214300b0-safelab-an-interactive-high-fidelity-benchmark-for-embodied.md)
- [What Does a Skill Vocabulary Cost? A Closed-Loop Decomposition over Demonstrated Motions](https://refivu.com/en/papers/5436c87a-99ef-46a3-afc4-ed0b0a217c6b-what-does-a-skill-vocabulary-cost-a-closed.md)
- [A Deep Cascade of Convolutional Neural Networks for Dynamic MR Image Reconstruction](https://refivu.com/en/papers/c81adf70-889d-4a7a-93f1-14353887187b-a-deep-cascade-of-convolutional-neural-networks-for.md)
- [Geometric Feature-Based Facial Expression Recognition in Image Sequences Using Multi-Class AdaBoost and Support Vector Machines](https://refivu.com/en/papers/35c52440-dea0-43bf-acc7-d2f2458fe00a-geometric-feature-based-facial-expression-recognition-in.md)
- [Unsupervised Dense Information Retrieval with Contrastive Learning](https://refivu.com/en/papers/2fbce187-1a33-4d74-941c-36d004c9a79b-unsupervised-dense-information-retrieval-with-contrastive.md)
- [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://refivu.com/en/papers/a16f8bfe-f6f1-4e2b-a409-c76d2ed97fc3-instructblip-towards-general-purpose-vision-language-models.md)
- [PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimization](https://refivu.com/en/papers/2832dfcd-bd57-482f-9d55-f5bae8d2c8d2-pandalm-an-automatic-evaluation-benchmark-for-llm.md)
- [Chain-of-Thought Reasoning Without Prompting](https://refivu.com/en/papers/177d9294-679d-436b-897e-3ec239de41b5-chain-of-thought-reasoning-without-prompting.md)

## Terms in this paper

- [reinforcement learning](https://refivu.com/en/terms/6c51042515d2-reinforcement-learning)
- [proximal policy optimization](https://refivu.com/en/terms/59b59e5d0f9d-proximal-policy-optimization)
- [PPO](https://refivu.com/en/terms/21c34991d674-ppo)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/35077a07-2c81-4b05-87d4-0a4c83ef04af-embodied-intelligence-via-learning-and-evolution)
