Mobility Matters
Home›Programmable matter›Self-organising particle systems›Compression›Separation of coloured particles

Separation of coloured particles

Particles of two colours, following a local stochastic rule, must cluster by colour (or mix).

Problem statement and measurescollapse
Start: a chain, colours mixedΔe = 1, Δh = 0: contracts forwardFinal: compressed and separated
Separation by the Markov chain of Cannon et al. 2019: one particle at a time (outlined) expands into a free neighbouring node and contracts forward with probability \(\lambda^{\Delta e}\gamma^{\Delta h}\) (\(\Delta e\), \(\Delta h\): the change in its neighbours and in its neighbours of its own colour; certainly if the product is at least 1), and otherwise contracts back; moves that would disconnect the system or create a hole are refused. The chain also lets neighbours of different colours swap places (not shown). For large \(\lambda\) and \(\gamma\) the system becomes compressed and separated with high probability; for \(\gamma\) close to 1 it stays integrated.

Each particle has one of two colours. Particles run a local Markov chain with a bias \(\lambda\) towards more neighbours and a bias \(\gamma\) towards neighbours of the same colour. The system should be compressed and separated (few pairs of neighbours of different colours), or integrated (colours mixed), with high probability in the stationary distribution.

Measures: Time, asynchronous rounds; Moves, total expansions and contractions (work).

A first look

the basic problem, a simple algorithm and why some things cannot be done, for a newcomer

Think of a mixed crowd of red and blue marbles in a tray that, when shaken, sorts itself into a red patch and a blue patch, or stays mixed, depending on how 'sticky' same-coloured marbles are. The floor is the triangular lattice: the endless graph whose nodes are the corners of a tiling of the plane by equal triangles; each node is joined by an edge to six others, its neighbours. A particle occupies one node and moves in two actions: an expansion into an empty neighbouring node, after which it occupies both, then a contraction into one of the two; so one expansion and one contraction move it by one node. The system of \(n\) particles starts connected; each particle carries a fixed colour, one of two, has constant memory and no compass, and one randomly chosen particle acts at a time. The system should become compressed (its perimeter, the length of the walk around its outside, is at most a constant times the smallest possible, as in compression) and either separated (each colour mostly in one region, with few pairs of neighbours of different colours) or integrated (colours mixed), whichever is asked for. As for compression, the question is what the system looks like after running for a long time, with high probability.

1AlgorithmThe compression rule with a second bias for colour Markov chain, sequential → Cannon et al. 2019

There are two biases: \(\lambda\) rewards neighbours of any colour, and \(\gamma\) rewards neighbours of one's own colour. A randomly chosen particle does one of two things.

  1. Step. As in compression: pick a random empty neighbouring node; check locally that moving there neither splits the system nor encloses a hole (a region of empty nodes surrounded by particles); then move with probability \(\lambda^{\text{(gain in neighbours)}}\cdot\gamma^{\text{(gain in same-coloured neighbours)}}\) (certainly, if this number exceeds 1).
  2. Swap. Pick a neighbour of the other colour and exchange nodes with it, with probability \(\gamma^{\text{(gain in same-coloured neighbours of the two)}}\) (certainly, if above 1). Swaps let colours move through the middle of the system.
Why it works and what it costs. With only one colour the rule is exactly the compression rule Cannon et al. 2016. For a strong colour bias, \(\gamma > 4^{5/4} \approx 5.66\) together with \(\lambda\gamma > 6.83\) (and \(\lambda > 1\)), the system is compressed and separated with high probability Cannon et al. 2019. For \(\gamma\) very close to 1, between \(79/81\) and \(81/79\), and \(\lambda\) large enough, it is compressed but integrated. So one rule does both jobs, and a single number set by the environment decides which.

Why it matters. It showed that the biased-rule recipe extends from shape to internal organisation, here the arrangement of types.

2Lower boundA mild colour preference does not separate the colours Markov chain, sequential → Cannon et al. 2019

One might expect any preference \(\gamma > 1\) for same-coloured neighbours to separate the colours eventually. It does not. There are vastly more mixed arrangements of the colours inside a compressed system than separated ones: separation means fixing a short border between the colours, while mixing leaves almost every particle free to be either colour. A slight preference gives each separated arrangement only a slightly larger weight, which cannot make up for the huge number of mixed ones.

Why it holds. Cannon et al. 2019 prove that for \(\gamma\) between \(79/81\) and \(81/79\), which includes values slightly above 1, the system fails to separate with high probability: the number of pairs of neighbours of different colours stays large. Separation needs the colour bias to beat this counting, which is why the positive result asks for \(\gamma > 5.66\). What happens for \(\gamma\) between these ranges is not settled by the paper.

Why it matters. It is the colour version of the compression lesson: a preference must be strong enough to beat the number of disordered states.

What is known

The best upper bound against the best lower bound in each catalogued setting. Open a setting for its results, proofs and notes, or see the progress map with the branch points.

tight near-optimal polynomial gap unknown impossible· one row per catalogued setting, in tree order; each cell: best upper bound vs lower bound, and what forces the lower bound
Setting
Time
Moves
Markov chain, sequential standard
One local algorithm separates or integrates the colours depending on a single global parameter.
unknown \(\text{eventually}\) vs —
unknown — vs —

Open questions 1

Markov chain, sequential

  1. Bounds on the convergence (mixing) time.

What the community started looking at

Separation extended the stochastic approach of compression to heterogeneous systems; the question is which bias parameters give which emergent behaviour Cannon et al. 2019.

Generalisation of Compression

Separation adds two colours to compression; the same local chain compresses and, depending on a second bias, separates or integrates the colours Cannon et al. 2019.

Related problems

Separation: Robots in the plane separate by hidden colours with deterministic algorithms; here a stochastic local rule separates two visible colours.

Perspectives

  • From robots to particles Programmable matter re-asks the questions of robots in the plane on a lattice, with particles that touch, remember a little and stay connected; SILBOT takes memory and messages away again, and the stochastic approach replaces algorithms by a biased local rule.
The assumption tree (1 settings, 1 branch points)

The root assumes nothing. Going down, each edge adds the assumptions on its chips (+blue); a grey chip names the branch that leaves that axis unassumed while a sibling assumes something. Solid nodes are catalogued variants with their status per measure (Time, Moves); dashed nodes are branch points with no catalogued variant, named after the axis on which their branches differ. Axis order: Memory › Scheduler › Orientation › Randomness › Initial shape › Connectivity during execution.

tight near-optimal polynomial gap unknown impossible no variant

Know a better result, or found a mistake? Suggest a result · Report an error. Accepted contributions are acknowledged.