Massive Self-Assembly in Grid Environments

Wenjie Chu, Wei Zhang, Haiyan Zhao, Zhi Jin, Hong MeiarXiv 2021

Abstract: Self-assembly plays an essential role in many natural processes, involving the formation and evolution of living or non-living structures, and shows potential applications in many emerging domains. In existing research and practice, there still lacks an ideal self-assembly mechanism that manifests efficiency, scalability, and stability at the same time. Inspired by phototaxis observed in nature, we propose a computational approach for massive self-assembly of connected shapes in grid environments. The key component of this approach is an artificial light field superimposed on a grid environment, which is determined by the positions of all agents and at the same time drives all agents to change their positions, forming a dynamic mutual feedback process. This work advances the understanding and potential applications of self-assembly.

Introduction

Self-assembly—the process by which individual components autonomously form organized structures—is a fundamental concept in robotics and nanotechnology. However, creating artificial self-assembly systems faces a persistent "trilemma" of Efficiency (speed of formation), Scalability (handling thousands of agents), and Stability (avoiding deadlocks or local minima). While centralized algorithms like the Hungarian method offer optimality, they suffer from $O(n^3)$ complexity. Conversely, decentralized edge-following methods are stable but slow. This paper introduces the Artificial Light Field (ALF), a bio-inspired approach that bridges these gaps by mimicking phototaxis to guide thousands of agents into complex shapes.

Methodology: The Artificial Light Field

The ALF system superimposes a dynamic virtual light field onto a grid environment. This field acts as a shared "blackboard" (stigmergy), where the environment itself guides agent movement. The core of the system relies on two virtual functions:

  • Blue Light: Emitted by unoccupied target grids, acting as an attractor for agents outside the target shape.
  • Red Light: Emitted by agents currently outside the target shape to distribute the population and prevent overcrowding.
System architecture and the iterative process of the Artificial Light Field (ALF) approach, detailing the interaction between agents and the lightweight coordinator.

A "lightweight coordinator" manages the state by recording agent positions and broadcasting the environment's status. It does not perform path-planning; instead, it manages "grid locks" (mutexes) to prevent collisions. In each time step, agents calculate local light intensity, generate a priority queue of neighboring moves, and request a lock for their preferred next position. As the shape nears completion, agents switch strategies from aggressive center-seeking to filling peripheral gaps, ensuring high-quality final structures.

Experimental Framework

To evaluate the ALF approach, a comprehensive Self-Assembly Shape Set was developed. This benchmark includes 156 unique connected shapes categorized into 16 groups, ranging from simple convex structures to complex multi-hole designs like letters, animals, and mechanical parts. The scalability was tested across various grid sizes, from 16x16 up to 180x180, accommodating over 5,000 agents.

Results and Analysis

The ALF approach demonstrated significant improvements in both speed and scalability. It successfully coordinated 5,469 agents in a 135x135 grid—a scale that traditional centralized algorithms struggle to process. Across all 156 shapes, the system achieved a 99.9% completion quality.

Visual progression of self-assembly for various complex shapes (F, Dolphin, Cat) and a trail comparison against baseline algorithms.

In terms of computational efficiency, ALF reduced absolute completion time complexity to $O(n^2 \log n)$. Compared to the state-of-the-art centralized method (OPT-D), ALF was approximately 140 times faster in relative time. Furthermore, the algorithm is highly parallelizable; utilizing 16 threads resulted in a 12.96x speedup, reducing completion time by over 92%.

Discussion and Future Directions

While ALF provides a robust solution for grid-based self-assembly, several avenues for future work remain. The current star topology, though lightweight, could become a communication bottleneck in deployments involving millions of agents. Additionally, the model's reliance on a discrete grid and global state knowledge presents challenges for continuous 3D environments, such as UAV swarms. Future research will explore "decaying" light fields to further decentralize sensing and adapt the ALF framework to continuous vector fields.

Summary updated

BibTeX
@misc{chu2021massive,
  author = {Wenjie Chu and Wei Zhang and Haiyan Zhao and Zhi Jin and Hong Mei},
  title = {{Massive Self-Assembly in Grid Environments}},
  year = {2021},
  eprint = {2102.05037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.05037},
}
Figure