Mobility Matters
Home›Model

Programmable matter

Many tiny particles with constant memory occupy nodes of the triangular lattice, move by expanding and contracting, and must self-organise into a shape or elect a leader.

What is optimised

The first question was what constant-memory, anonymous particles can do at all (leader election, shapes, coating); then rounds, with matching lower bounds where possible, and how weak a scheduler and how little orientation the algorithms can tolerate.

In the amoebot model Derakhshandeh et al. 2014 each particle occupies one node of the infinite triangular lattice (contracted) or two adjacent nodes (expanded). A particle moves by expanding into an empty neighbouring node and contracting into one of its two nodes. Particles are anonymous, have constant memory, and communicate only with neighbours; in the founding announcement each particle is a finite-state machine that reads and writes one flag per incident edge, and a pair of neighbours may combine an expansion and a contraction into a handover Derakhshandeh et al. 2014. In the circuit extension, particles also share reconfigurable circuits on which a beep reaches every particle of the circuit in the next round Feldmann et al. 2022. An adversarial scheduler activates particles; time is measured in asynchronous rounds: intervals of time in which every particle is activated at least once (the epochs of the other models; they need not be the shortest such intervals, and a bound holds for every division of the execution into consecutive rounds). The canonical amoebot model separates the core model from families of assumption variants, including concurrency Daymude et al. 2023.

How the axes work. As in the other models, level 0 assumes nothing and higher levels are stronger assumptions.

How the assumptions fit together

Matter that computes

Toffoli and Margolus coined programmable matter for matter that changes its physical properties under program control Toffoli & Margolus 1991 (as reported by Di Luna et al. 2020e, Emek et al. 2019 and Derakhshandeh et al. 2014). Derakhshandeh et al. proposed the amoebot model in a brief announcement at SPAA 2014: particles on the triangular lattice that "have constant memory (in particular, they have no identifiers)", "act asynchronously and make their decision based on local information", and move by expanding and contracting, "which resembles the behavior of amoeba" Derakhshandeh et al. 2014. The founding papers fixed many details at once: common chirality, one particle active at a time, random bits, constant memory and a structure that stays connected Derakhshandeh et al. 2014 Derakhshandeh et al. 2015b; the announcement already named compass, initialisation and fault tolerance as dimensions along which the model could vary Derakhshandeh et al. 2014. Most axes of this model are the history of removing those defaults one by one.

Removing the defaults

Di Luna et al. listed the defaults behind the early shape-formation results (chirality, a sequential schedule and, "more important, randomization") and asked: "What can be done deterministically? Is chirality necessary? ... What happens if the scheduler is not sequential?" Di Luna et al. 2020e. Their answers, and the leader-election papers that followed Emek et al. 2019 Dufoulon et al. 2021 Chalopin et al. 2026b, gave the axes orientation, scheduler, randomness and initial shape. Chalopin, Das and Kokkou observe that every deterministic two-dimensional leader-election algorithm uses at least two extra assumptions from a short menu: randomness, simply connected shape, chirality, movement, a sequential scheduler Chalopin et al. 2026b. Daymude, Richa and Scheideler then wrote the hierarchy down as the canonical amoebot model, with variants for orientation, memory, concurrency and fairness, because without it "precise systematic comparison of results under the amoebot model is difficult" Daymude et al. 2023.

Weaker particles, looser structures

Two axes push below the original model. SILBOT particles keep no memory beyond being contracted or expanded, send no messages and act asynchronously with non-atomic actions, so a step depends only on what a particle sees within two hops D'Angelo et al. 2020; this is the oblivious memory level and the weak scheduler. The connectivity axis records that the requirement that the structure stays connected at every moment is a convention of the literature rather than of the model: Dufoulon, Kutten and Moses Jr. disconnected and reconnected the structure on purpose to elect a leader faster Dufoulon et al. 2021.

Faster communication

Reconfigurable circuits push the other way. Feldmann, Padalkin, Scheideler and Dolev observed that problems such as leader election need time of the order of the diameter of the structure, since "information only travels particle by particle", and let particles link pins on their edges into circuits on which a beep reaches every particle of the circuit in the next round Feldmann et al. 2022. This is the communication axis. Circuit algorithms are stated for stationary particles that act in synchronous rounds, the synchronous value of the scheduler. With circuits a leader is elected in \(\Theta(\log n)\) rounds with high probability Feldmann et al. 2022, and in \(O(\sqrt{\log n}\,\log n)\) rounds even when each particle misses a beep with constant probability Warner & Scheideler 2026b.

Other mechanisms

Not every problem in this model is about amoebots. Problem-specific axes cover modules on the square grid that rotate or slide under central control Michail et al. 2019, the hybrid model in which one finite-state agent moves passive tiles in two or three dimensions Gmyr et al. 2020 Hinnenthal et al. 2025, and, for leader election, whether particles may move at all Chalopin et al. 2026b. These axes apply to a single problem each. They are kept on the problem so that the model's own axes stay shared across problems.

Notation

Symbols of this model; the notation page has every model and the general conventions.

SymbolMeaningPapers writeUsed in
\(n\)number of particles (modules, tiles)whole model
\(D\)diameter of the configuration (largest lattice distance between two particles)whole model
\(L_{out},\ L_{max}\)length of the outer boundary and of the longest boundary of the configurationLeader election in programmable matter
\(\lambda\)bias towards having more neighbours (stochastic approach)whole model
\(\gamma\)bias towards neighbours of the same colour (separation)Separation of coloured particles
\(\alpha\)compression factor: perimeter at most \(\alpha\) times the minimumCompression
\(q\)number of orientations (alignment)Alignment
\(s\)number of energy sourcesEnergy distribution
\(k\)symmetricity of a configuration (a \(k\)-symmetric configuration admits up to \(k\) leaders)Leader election in programmable matter

Assumption axes

Each axis below says where the assumption comes from and why the community studies it. Every axis is a scale. Level 0 assumes nothing; each higher level is a stronger assumption, which makes a problem easier. Values on the same level are alternatives that do not imply each other. An algorithm designed for weaker assumptions works under stronger ones; a lower bound proved under stronger assumptions holds under weaker ones.

Orientation

0no common orientation and no chirality1common chirality1a common direction, no chirality2full common orientation (compass)

In the geometric amoebot model of Derakhshandeh et al., each particle labels its six ports clockwise from an arbitrary edge, so all particles share chirality but not a direction Derakhshandeh et al. 2015b; the 2014 announcement numbers the edges counter-clockwise and calls this the "no-compass model where particles only share their sense of orientation", as opposed to a full-compass model Derakhshandeh et al. 2014. Di Luna et al. asked whether chirality is necessary and showed that it is "computationally irrelevant for shape formation" from simply connected configurations Di Luna et al. 2020e. Emek et al. elected a leader with no orientation at all, using a procedure by which the particles reach common chirality Emek et al. 2019. Chalopin, Das and Kokkou replaced chirality by agreement on one lattice direction and found that the difficulties are different: a unique stationary leader can then be elected, but explicit termination is impossible Chalopin et al. 2026b. The canonical amoebot model lists all four levels: assorted, common chirality, common direction, and common direction and chirality Daymude et al. 2023.

Formal definitions
0no orientation
Each particle labels its six incident directions in its own clockwise or counter-clockwise order, starting anywhere.
1chirality
All particles agree on clockwise order, not on a common direction.
1common direction
All particles agree on one lattice direction, not on handedness. Chalopin, Das and Kokkou call this a common direction Chalopin et al. 2026b, but the same words mean agreement on all six directions in other papers Chalopin et al. 2026a Navarra & Piselli 2023b.
2common compass
All particles agree on all six directions.

Scheduler

0weak: non-atomic activations, an action may interleave with others1strong: atomic activations under a fair adversary2sequential: one particle active at a time2synchronous: every particle acts in every round

The early amoebot papers assumed "the standard asynchronous computation model, i.e., only one particle can be active at a time" Derakhshandeh et al. 2015b; in the 2014 announcement, from the set of enabled actions "a single action is arbitrarily chosen and executed" Derakhshandeh et al. 2014. Di Luna et al. dropped this for a strong scheduler that activates many particles but executes each activation atomically Di Luna et al. 2020e. Dufoulon, Kutten and Moses Jr. use strong for atomic activations and weaker for non-atomic ones, under which, they report, deterministic election of a unique leader becomes impossible in some cases (attributed by them to Bazzi and Briones and to Di Luna et al.) Dufoulon et al. 2021 Bazzi & Briones 2019. Daymude, Richa and Scheideler observed that "much of the existing literature implicitly assumes amoebot actions are isolated and reliable, reducing analysis to the sequential setting", whereas "real programmable matter systems are concurrent"; their canonical model orders the concurrency variants from asynchronous through synchronous and k-isolated to sequential Daymude et al. 2023. The fully asynchronous SILBOT model sits at the weak end: all operations are "non-atomic", with possible delays between sensing, computing and acting, so an action may be based on an obsolete observation D'Angelo et al. 2020. In the circuit extension "the amoebot structure is assumed to progress in synchronized rounds" Feldmann et al. 2022; this is the synchronous value.

Formal definitions
0weak scheduler
An activation's look, compute and move need not be atomic; concurrent activations may interfere. The scheduler of Bazzi and Briones is described as weak sequential, as non-atomic, and as fair asynchronous by different later papers Briones et al. 2023 Dufoulon et al. 2021 Chalopin et al. 2026b.
1strong scheduler
Each activation is executed atomically; the adversary chooses the order, fairly.
2sequential
At most one particle is active at any time.
2synchronous
Time proceeds in rounds; in every round every particle executes one look–compute–act cycle, and what a particle sends in a round is received in the next Feldmann et al. 2022. It is an alternative to the sequential scheduler: one activates every particle at once, the other one at a time.

Communication

0local: only between neighbouring particles1reconfigurable circuits

Feldmann, Padalkin, Scheideler and Dolev introduced reconfigurable circuits, modelled on the nervous system, because leader election and similar problems need time of the order of the diameter when "information only travels particle by particle"; with circuits, stationary particles elect a leader in \(\Theta(\log n)\) rounds with high probability Feldmann et al. 2022. Circuit algorithms are stated for stationary particles in synchronous rounds. Warner and Scheideler let each particle miss a beep with constant probability and keep most of the speed-up Warner & Scheideler 2026b.

Formal definitions
0local communication
A particle exchanges constant-size information only with the particles on adjacent nodes, by messages or by reading and writing their memory, so information travels at most one particle per activation.
1circuits
Each particle has a constant number of pins on every incident edge, shared with the neighbour across that edge, and in every round it links its pins into groups. A circuit is a connected component of the resulting graph on pins. A particle may send a beep on any of its circuits; every particle on the circuit receives it in the next round, without learning who sent it or how many did Feldmann et al. 2022. Local communication remains available.

Memory

0oblivious, silent particles (SILBOT)1constant memory and local communication

Constant memory is part of the amoebot model from its start: each particle runs a fixed finite program and reads and writes memory shared with its neighbours Derakhshandeh et al. 2015b; in the 2014 announcement the state set and the flag alphabet on each edge are finite Derakhshandeh et al. 2014. D'Angelo et al. introduced SILBOT at AAMAS 2020, in which particles are "asynchronous, without any direct means of communication (silent) and without memory of past events (oblivious)", to find "the minimal settings for PM under which it is possible to accomplish basic global tasks" D'Angelo et al. 2020 (as described by Navarra & Piselli 2023b). Each SILBOT particle is "an automaton with two states, CONTRACTED or EXPANDED (they do not have any other form of persistent memory)" D'Angelo et al. 2020. In exchange, particles see two hops instead of one, because "without communication, 1-hop visibility is not enough for a particle to decide whether it is a LEADER or not" D'Angelo et al. 2020. The canonical amoebot model lists oblivious, constant, finite and unbounded memory as its memory variants Daymude et al. 2023. Oblivious particles have since solved leader election, line formation, coating and self-stabilising election with holes D'Angelo et al. 2020 Navarra & Piselli 2023b Navarra & Piselli 2023a Chalopin et al. 2026a.

Formal definitions
0oblivious
No persistent state and no messages; a particle decides from its view only.
1constant memory
Each particle has \(O(1)\) bits of persistent memory and reads or writes neighbours' memory.

Randomness

0deterministic1randomized

The first leader-election algorithm for amoebots used random bits to break symmetry Derakhshandeh et al. 2015b, and Di Luna et al. listed randomization as the "more important" of the assumptions behind the early shape-formation results Di Luna et al. 2020e. Deterministic algorithms then became a goal of their own: for a simply connected start up to \(k\) leaders are elected in a \(k\)-symmetric configuration Di Luna et al. 2020e, and Emek et al. gave the first deterministic election of a unique leader using movement Emek et al. 2019. A second use of randomness is the stochastic approach of Cannon, Daymude, Randall and Richa, who design a Markov chain whose stationary distribution favours the desired configurations and turn it into a local asynchronous algorithm Cannon et al. 2016. The design is motivated by statistical physics, and the approach has been applied to separation, alignment and bridging Cannon et al. 2019 Kedia et al. 2022 Arroyo et al. 2018.

Formal definitions
0deterministic
No random choices.
1randomized
Particles flip fair coins; guarantees hold with high probability or in expectation.

Initial shape

0connected, holes allowed1simply connected (no holes)

The first leader-election algorithm for amoebots worked on every boundary of the structure, outer and inner, and its running time depends on the longest boundary Derakhshandeh et al. 2015b (as summarised by Dufoulon et al. 2021). Several early deterministic algorithms assumed the initial configuration has no holes: Di Luna et al. start from any simply connected configuration Di Luna et al. 2020e and Gastineau et al. assume chirality and no holes Gastineau et al. 2018. Dufoulon, Kutten and Moses Jr. summarise that early deterministic algorithms that did not use movement relied on "assumptions on the initial shape ... (intuitively, that it had no 'holes')" Dufoulon et al. 2021. Emek et al. removed the assumption by letting particles move Emek et al. 2019, and Chalopin, Das and Kokkou extended self-stabilising election from simply connected systems to systems with holes Chalopin et al. 2026a.

Formal definitions
0holes allowed
The initial set of occupied nodes induces a connected subgraph; it may enclose empty regions.
1no holes
The initial configuration is connected and encloses no empty node. Also called contractible Briones et al. 2023 or hole-free Gastineau et al. 2018.

Connectivity during execution

0the system must stay connected1the system may disconnect temporarily

The founding papers required the particles to stay connected at all times, "to prevent the particles from drifting apart in an uncontrolled manner like in fluids and because in our case particles communicate only via bonds" Derakhshandeh et al. 2015b. Emek et al. still followed "the common practice" that the shape is connected at all times Emek et al. 2019. Dufoulon, Kutten and Moses Jr. observed that the model itself does not require this, and gave a leader-election algorithm that disconnects and later reconnects, gaining a large speed-up in time Dufoulon et al. 2021. In SILBOT, line formation also passes through disconnected configurations and proves that connectivity is recovered Navarra & Piselli 2023b. In centralised transformations the same distinction separates transformations that may break connectivity from those that may not Michail et al. 2019.

Formal definitions
0stays connected
At every time the occupied nodes induce a connected subgraph.
1may disconnect
Connectivity is required only initially and at the end.

Problems in this model

Problem familySelf-organising particle systems

Leader election, shape formation, coating, scattering, stochastic tasks (compression, separation, alignment, bridging), energy distribution, hybrid and centralised reconfiguration.

Papers

67 papers are cited in this model, listed under each problem that cites them, oldest first. Filter the references by this model →

Leader election in programmable matter 17 papers
  • Derakhshandeh et al. 2015b Leader Election and Shape Formation with Self-organizing Programmable Matter posed the problem, introductory result
  • Daymude et al. 2017 Improved Leader Election for Self-organizing Programmable Matter current best
  • Di Luna et al. 2020e Shape formation by programmable particles cited in text
  • Bazzi & Briones 2019 Stationary and Deterministic Leader Election in Self-organizing Particle Systems current best, lower bound
  • Gastineau et al. 2018 Distributed Leader Election and Computation of Local Identifiers for Programmable Matter current best
  • Emek et al. 2019 Deterministic Leader Election in Programmable Matter current best
  • D'Angelo et al. 2020 Asynchronous Silent Programmable Matter Achieves Leader Election and Compaction current best, lower bound
  • Gastineau et al. 2020 Leader election and local identifiers for three-dimensional programmable matter further reading
  • Daymude et al. 2023 The canonical amoebot model: algorithms and concurrency control cited in text
  • Dufoulon et al. 2021 Efficient Deterministic Leader Election for Programmable Matter current best
  • Feldmann et al. 2022 Coordinating Amoebots via Reconfigurable Circuits current best
  • Briones et al. 2023 Invited Paper: Asynchronous Deterministic Leader Election in Three-Dimensional Programmable Matter current best
  • Chalopin et al. 2025 Deterministic self-stabilising leader election for programmable matter with constant memory current best
  • Chalopin et al. 2026b Deterministic leader election for stationary programmable matter with common direction current best, lower bound
  • Chalopin et al. 2026a Silent Self-stabilising Leader Election in Programmable Matter Systems with Holes current best
  • Warner & Scheideler 2026a Brief Announcement: Fault-Tolerant 3D Leader Election in the Amoebot Model current best
  • Warner & Scheideler 2026b Brief Announcement: Leader Election with Noisy Reconfigurable Circuits in the Amoebot Model other result
Shape formation in programmable matter 18 papers
Coating 4 papers
Compression 2 papers
  • Cannon et al. 2016 A Markov Chain Algorithm for Compression in Self-Organizing Particle Systems posed the problem, current best
  • Oh et al. 2022 Brief Announcement: Foraging in Particle Systems via Self-Induced Phase Changes further reading
Convex hull formation 1 paper
  • Daymude et al. 2020 Convex Hull Formation for Programmable Matter posed the problem, current best
Scattering of particles 1 paper
  • Navarra et al. 2025 Line formation and scattering in silent programmable matter posed the problem, current best, lower bound
Separation of coloured particles 2 papers
  • Cannon et al. 2016 A Markov Chain Algorithm for Compression in Self-Organizing Particle Systems cited in text
  • Cannon et al. 2019 A Local Stochastic Algorithm for Separation in Heterogeneous Self-Organizing Particle Systems posed the problem, current best
Alignment 1 paper
  • Kedia et al. 2022 Local Stochastic Algorithms for Alignment in Self-Organizing Particle Systems posed the problem, current best
Bridging 2 papers
  • Arroyo et al. 2018 A stochastic approach to shortcut bridging in programmable matter posed the problem, current best
  • Oh et al. 2024 Single Bridge Formation in Self-Organizing Particle Systems other result
Energy distribution 2 papers
  • Daymude et al. 2021 Bio-Inspired Energy Distribution for Programmable Matter posed the problem, current best, lower bound
  • Weber et al. 2023 Energy-Constrained Programmable Matter Under Unfair Adversaries other result
Shape formation by hybrid programmable matter 9 papers
Centralised transformations of modular robots 14 papers
  • Dumitrescu et al. 2004 Motion Planning for Metamorphic Systems: Feasibility, Decidability, and Distributed Reconfiguration cited in text
  • Naz et al. 2016 A distributed self-reconfiguration algorithm for cylindrical lattice-based modular robots further reading
  • Parada et al. 2021 A new meta-module design for efficient reconfiguration of modular robots further reading
  • Michail et al. 2019 On the transformation capability of feasible mechanisms for programmable matter posed the problem, current best, lower bound
  • Schmidt et al. 2018 Efficient Parallel Self-Assembly Under Uniform Control Inputs further reading
  • Almethen et al. 2020 Pushing lines helps: Efficient universal centralised transformations for programmable matter other result
  • Akitaya et al. 2021a Characterizing Universal Reconfigurability of Modular Pivoting Robots further reading
  • Akitaya et al. 2021b Universal Reconfiguration of Facet-Connected Modular Robots by Pivots: The O(1) Musketeers cited in text
  • Bassil et al. 2022 RePoSt: Distributed Self-Reconfiguration Algorithm for Modular Robots Based on Porous Structure further reading
  • Akitaya & Stock 2023 preprint Reconfiguration of 3D Pivoting Modular Robots further reading
  • Bassil et al. 2024 ASAPs: asynchronous hybrid self-reconfiguration algorithm for porous modular robotic structures further reading
  • Gupta et al. 2023b preprint Collision Detection for Modular Robots -- it is easy to cause collisions and hard to avoid them further reading
  • Padalkin et al. 2025 Reconfiguration and locomotion with joint movements in the amoebot model cited in text
  • Kumar et al. 2026b Sublinear-Time Reconfiguration of Programmable Matter with Joint Movements further reading
Cited only in the model description 2 papers