TL;DR
This paper introduces a novel programming language approach for creating self-assembling systems that can grow arbitrary 2D shapes from simple, decentralized agents. By compiling a global shape into local agent instructions, the system achieves robust growth and regeneration, mimicking biological processes.
What Problem Does This Paper Address?
Modern engineered systems, especially those involving large numbers of distributed components (like nanostructures or swarm robotics), often rely on centralized control and sequential execution. This makes them brittle and vulnerable to failure. In contrast, biological systems, like cells assembling into complex organisms, exhibit remarkable robustness and emergent behavior from simple, locally interacting parts without a central commander. The challenge is to program these decentralized, unreliable components to achieve complex global behaviors. This paper tackles this by developing a method to program amorphous computing media – systems of identically programmed, asynchronous agents with limited capabilities – to self-assemble into predefined 2D shapes.
Methods
The core of the paper is the "global-to-local compilation" process. This involves two main phases:
- Shape Decomposition: The target 2D shape is first represented as a network of overlapping "covering discs." This disc network forms the basis for the agent program.
- Global-to-Local Compilation: This phase translates the disc network into a program for individual agents.
- Reference Points: Key locations within each disc (center, cardinal points, intersection points with neighbors) are designated as "reference points." These act as local coordinate systems.
- Boolean Language: A specialized boolean language is used to define conditions under which agents should activate or deactivate reference point roles. This language incorporates primitives for detecting messages from reference points and logical operators, including
AtLeast(k, set)andAtMost(k, set). - Transfer Function: The compiled program, or "transfer function," dictates an agent's behavior. It takes the agent's internal state and received messages (gradient and local messages) and translates them into low-level actions like changing state, emitting messages, reproducing, or dying.
- Growth Primitives: Agents recursively execute two high-level actions: "grow a disc of cells" (via replication) and "triangulate target cells" (to establish reference points).
- Local Competition: A mechanism for cells to compete for reference point roles is implemented, ensuring a unique holder for each role.
The system is inspired by biological morphogenesis and developmental biology, using mechanisms like replication, messaging, and competition.
Datasets
Not discussed in the paper. The system operates on a compiled program derived from a given 2D shape's pixel map.
Key Insights and Ideas
- Formalizing Biological Self-Assembly: The paper provides a formal programming language framework for designing self-organizing, spatially-controlled systems, drawing direct inspiration from biological morphogenesis.
- Global Shape to Local Rules: The key innovation is the compilation of a global shape into a set of local rules for individual agents, enabling emergent global behavior.
- Reference Points as Local Coordinates: Using reference points within discs creates a robust, relative coordinate system that allows agents to triangulate positions without global knowledge.
- Boolean Logic for Geometric Relations: The specialized boolean language effectively encodes complex geometric relationships between reference points, forming the core of the agent's decision-making.
- Robustness through Redundancy and Competition: The system exhibits robustness to random cell death and regional failures due to redundant role assignment, backtracking mechanisms, and the ability to regenerate lost parts.
Key Results
The system successfully compiles and grows any connected two-dimensional shape. The size of the compiled cell program is linear in the number of covering discs. The growth process is demonstrated to be robust to random cell death. Simulations show that even with significant cell death (up to 50% probability of death per created cell), the system can still approximate the compiled shape. The paper also discusses how the system can recover from sudden massive cell death and regional cell death.
Limitations and Future Work
- Lack of Noise: The current model assumes linear decay for gradient messages and no noise in messaging, which is unrealistic for real chemical gradients or communication channels.
- Uniform Cell Size and Immobile Cells: The model assumes uniform cell size and that cells are immobile and cannot overlap.
- Future Work:
- Dealing with noisy messaging.
- Exploring the robustness to non-uniform cell size and mobility.
- Extending the approach to reconfigurable robots and autonomous agents.
- Translating the 2D growth program into a 3D shape growing implementation.
Summary updated