Researchers have developed "cellular bricks"—modular 3D units that use a decentralized Neural Cellular Automata (NCA) to identify their collective shape and detect structural damage. By running the same local neural network on every block, hundreds of modules can reach a global consensus on their configuration without any central controller or global positioning.
The Challenge: Decentralized Intelligence
In traditional modular robotics, achieving a "global" understanding of a system's state usually requires a central "brain" or complex, hand-coded rules that don't scale well. Biological systems, like the Hydra or a regenerating salamander, solve this differently. Individual cells don't have a map of the whole body; they communicate locally to "infer" their position and the overall state of the organism. This paper tackles the challenge of decentralized shape inference: how can a collection of identical physical modules, using only local neighbor-to-neighbor communication, figure out what 3D object they have formed?
Hardware and Physical Implementation
The authors combine custom hardware with a learned, fully distributed algorithm. Each "cellular brick" is a 3D cube built from six PCBs housing an ESP32-S2 microcontroller, an RGB LED for visual feedback, and a custom digital serial protocol for communication across all six faces.
The 3D Neural Cellular Automata (NCA)
Every brick runs the exact same small neural network. Each maintains a 28-dimensional state vector (including hidden memory and shape classification channels). In each step, a brick "looks" at the states of its immediate neighbors using a 3D convolution with a cross-shaped kernel. Based on this local neighborhood, the internal neural network calculates an update to the brick's own state.
Key Results and Robustness
- High Accuracy: In simulation, the system achieved 98.97% accuracy across nearly 500 different shapes from the ShapeNet dataset.
- Physical Success: In real-world hardware trials with up to 197 bricks, the system achieved a 100% success rate in reaching consensus for shapes like planes, guitars, and tables.
- Real-time Convergence: Physical bricks reached a global consensus in roughly 3 minutes (about 60 update cycles).
- Damage Detection: The model predicted the direction of structural damage with over 90% accuracy. Because the logic is entirely local, the system is incredibly resilient; the collective could still reach a correct consensus even when 15% of the modules were failing.
Future Directions
Currently, the bricks are passive and cannot move themselves. To achieve true biological-style regeneration, future versions would need actuation (e.g., magnetic docking or robotic limbs) to physically move new bricks into place. The authors suggest a future "pool" of bricks where an existing structure could autonomously recruit and incorporate new modules to repair itself.
Summary updated