Evolving Embodied Intelligence: Graph Neural Network--Driven Co-Design of Morphology and Control in Soft Robotics

Jianqiang Wang, Shuaiqun Pan, Alvaro Serra-Gomez, Xiaohan Wei, Yue Xie

TL;DR

Co-designing a soft robot's body (morphology) and brain (controller) is notoriously difficult because physical mutations break traditional neural network architectures. This paper introduces a Graph Attention Network (GAT) framework that allows controllers to gracefully inherit and adapt skills across generations of evolving robot shapes. By treating the robot as a dynamic graph, the approach significantly boosts learning efficiency, stability, and final performance on complex locomotion and manipulation tasks.

What Problem Does This Paper Address?

In the realm of embodied intelligence, a robot's behavior emerges from the tight coupling of its physical body and its control system. Ideally, we want to optimize both simultaneously—a process known as morphology-and-control co-design.

However, a major roadblock is fragile controller inheritance. Traditional control policies rely on Multi-Layer Perceptrons (MLPs) with fixed input and output dimensions. If an evolutionary algorithm mutates a robot's body—adding a voxel, removing an actuator, or shifting a sensor—the underlying network architecture breaks. As a result, offspring robots usually have to relearn control strategies entirely from scratch, making the co-evolutionary process computationally expensive and highly unstable.

Methods

The authors overcome this architectural mismatch by representing soft robots as graphs and utilizing Graph Attention Networks (GATs) combined with Deep Reinforcement Learning (DRL).

  1. Graph-Based Representation: Each soft robot is modeled as a graph $G = (V, E)$, where nodes represent position sensors (tied to voxel vertices) and edges capture spatial adjacency. Nodes hold feature vectors containing local information (coordinates, voxel type, velocity) and global properties.
  2. GAT-Based Policy: Instead of flattening inputs into a fixed vector, a GAT processes the graph, using attention mechanisms to learn which structural connections are most critical for control. The node embeddings are pooled and passed to a lightweight MLP head that outputs actuator commands.
  3. Topology-Consistent Inheritance (MAPWEIGHTS): When a robot's body mutates via a Genetic Algorithm (GA), the graph reconfigures naturally. The authors introduce an inheritance scheme where:
  4. Shared GAT message-passing layers and MLP hidden layers are transferred completely intact.
  5. Actuator outputs that match the parent are copied directly.
  6. New actuators are initialized randomly, and removed ones are discarded.
Figure 1: Overview of the proposed GAT-based policy framework with DRL inheritance. The parent con- troller (top) represents the robot as a graph, where nodes denote position sensors and edges capture spatial relationships. A GAT encodes node features, which are pooled into a fixed-length vector and passed through a lightweight MLP head to generate actuator control signals. During inheritance (bottom), the trained controller is transferred to the child. When morphology changes, connections to removed actuators are discarded, and new ones are initialized for added actuators.

The authors evaluated two feature-construction strategies: Global-Transfer (where node features are averaged uniformly) and Local-Transfer (where each node retains individualized feature vectors).

Datasets

The framework was evaluated using EvoGym, a standardized 2D simulation benchmark for evolving soft robots. The authors tested their method across four representative tasks of varying difficulty:

  • Pusher-v1 (Medium difficulty; 700 robots trained)
  • Thrower-v0 (Medium difficulty; 500 robots trained)
  • Carrier-v1 (Hard difficulty; 500 robots trained)
  • Catcher-v0 (Hard difficulty; 500 robots trained)

Key Insights and Ideas

  • Graphs as the Natural Interface for Embodiment: Graph structures inherently accommodate variable node and edge counts, making them uniquely suited to bridge the gap between changing physical bodies and neural controllers.
  • Local vs. Global Attention Trade-offs: The optimal feature representation depends heavily on the task. Fine-grained, component-level coordination tasks (like pushing, throwing, and carrying) favor Local-Transfer because individualized node representations allow for precise local coordination. Conversely, tasks requiring rapid, system-wide synchronization (like catching a fast-moving object) benefit more from Global-Transfer.
  • Architecture Drives Learning, Environment Drives Form: Interestingly, across all methods (MLP and GAT), the evolved physical structures eventually converged toward similar task-specific functional patterns (e.g., grasp-like shapes for carrying). This indicates that while environmental demands dictate the final physical form, the controller architecture determines how fast and reliably the robot can learn to use it.

Key Results

The GAT-based approaches consistently matched or outperformed traditional MLP baselines across the board:

  • Higher Peak Fitness & Faster Convergence: In tasks like Thrower-v0, the GAT-Local-Transfer method achieved substantially higher final fitness scores (~6.25) compared to the MLP baselines (~3.26 to 3.35), while also converging faster in early generations.
  • Enhanced Robustness: GAT variants demonstrated significantly lower variance across independent training runs, proving that attention-guided inheritance provides a much more stable and reliable evolutionary trajectory.
  • Qualitative Superiority: Visually, GAT-co-designed robots developed sophisticated, human-like throwing mechanics utilizing multiple actuators in a coordinated fashion, whereas MLP baselines often resorted to inefficient, high-jumping behaviors that lost momentum.
Figure 3: Impact of inheritance on evolution. We examine the influence of inheritance on evolutionary progress by tracking the fitness of the top-performing robot across generations. Each curve shows the mean performance over three independent runs, with shaded regions representing the standard deviation. Our GAT-based inheri- tance methods achieve higher peak fitness than baselines, with reduced variance across runs. GA-GAT-PPO- Local-Transfer, which provides individualized node representations, outperforms on Pusher-v1, Thrower-v0, and Carrier-v1, where localized coordination is critical. In contrast, GA-GAT-PPO-Global-Transfer, which employs a shared mean representation, performs best on Catcher-v0, a task that requires broader system-level coordination.

Limitations and Future Work

Despite the strong long-term performance, the authors note a couple of key limitations:

  • Initial Learning Sluggishness: Because GATs are architecturally complex, they must learn both the control policy and the relational attention weights simultaneously. This can cause them to optimize more slowly in the very early stages of training compared to simple MLPs.
  • Mutation Instability: When new nodes or edges are introduced via mutation, they are initialized without prior knowledge, which can cause temporary performance dips or training instability immediately following a mutation.

Future Directions: To mitigate these issues, the authors suggest exploring attention regularization, lightweight GAT variants to reduce computational overhead, and hybrid architectures that combine the rapid adaptation of MLPs with the structural flexibility of GATs.

Summary updated

BibTeX
@misc{wang2026evolving,
  author = {Jianqiang Wang and Shuaiqun Pan and Alvaro Serra-Gomez and Xiaohan Wei and Yue Xie},
  title = {{Evolving Embodied Intelligence: Graph Neural Network--Driven Co-Design of Morphology and Control in Soft Robotics}},
  year = {2026},
  eprint = {2603.19582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.19582},
}
Figure