Evolving Modular Soft Robots without Explicit Inter-Module Communication using Local Self-Attention

Federico Pigozzi, Yujin Tang, Eric Medvet, David Ha
4/13/2022
28 citations
cs.ROcs.NE
transformer-attention

Official code: ericmedvet/jgea (27 stars, Java, Apache-2.0, last commit 2026-10-29). 1 more implementation below.

Abstract

Modularity in robotics holds great potential. In principle, modular robots can be disassembled and reassembled in different robots, and possibly perform new tasks.

Show full abstract

Nevertheless, actually exploiting modularity is yet an unsolved problem: controllers usually rely on inter-module communication, a practical requirement that makes modules not perfectly interchangeable and thus limits their flexibility. Here, we focus on Voxel-based Soft Robots (VSRs), aggregations of mechanically identical elastic blocks. We use the same neural controller inside each voxel, but without any inter-voxel communication, hence enabling ideal conditions for modularity: modules are all equal and interchangeable. We optimize the parameters of the neural controller-shared among the voxels-by evolutionary computation. Crucially, we use a local self-attention mechanism inside the controller to overcome the absence of inter-module communication channels, thus enabling our robots to truly be driven by the collective intelligence of their modules. We show experimentally that the evolved robots are effective in the task of locomotion: thanks to self-attention, instances of the same controller embodied in the same robot can focus on different inputs. We also find that the evolved controllers generalize to unseen morphologies, after a short fine-tuning, suggesting that an inductive bias related to the task arises from true modularity.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
ericmedvet/jgeaOfficial27JavaApache-2.02026-10-29
pigozzif/AttentionVSRsOfficial6Jupyter Notebook–2022-05-03
ericmedvet/jgeaOfficial100%
Apache-2.0

Java General Evolutionary Algorithm (jgea) is a modular Java framework for experimenting with Evolutionary Computation.

2716JavaJan 12, 20181 months agoApache-2.0
60Jupyter Notebook, JavaOct 28, 20214 years ago
evolutionary-roboticsmodular-robotsself-attention

Similar Papers

Cite this paper

@article{pigozzi2022evolving,
  title  = {Evolving Modular Soft Robots without Explicit Inter-Module Communication using Local Self-Attention},
  author = {Federico Pigozzi and Yujin Tang and Eric Medvet and David Ha},
  year   = {2022},
  eprint = {2204.06481},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.06481}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.06481.svg)](https://codeofpaper.com/paper/2204.06481)

Discussion