Brief Announcement: Leader Election with Noisy Reconfigurable Circuits in the Amoebot Model
Abstract
Reconfigurable circuits substantially accelerate coordination tasks in the geometric Amoebot model, but existing circuit-based leader election assumes perfectly reliable circuit beeps and provides only Monte Carlo guarantees. We introduce a natural fault model in which circuit beeps are noisy: whenever at least one amoebot beeps on a circuit in a round, each amoebot hears that beep in the next round independently with probability , while direct neighbor-to-neighbor (pin-to-pin) communication remains reliable. In this noisy-circuit model we give a Las Vegas leader election algorithm that terminates in rounds w.h.p. Moreover, once a leader is elected, we show how to simulate any stationary algorithm that is correct in the noiseless circuit model with only an multiplicative overhead in running time. Our techniques combine robust flooding/acknowledgment primitives with a tree-based competition framework (Euler-tour representation, randomized attrition, and deterministic solitude verification).
Keywords and phrases:
Programmable matter, amoebot model, leader election, reconfigurable circuits, noisy beeps, Las Vegas algorithmsCopyright and License:
2012 ACM Subject Classification:
Theory of computation Distributed algorithms ; Computer systems organization RoboticsEditors:
George B. Mertzios and Andréa W. RichaSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Reconfigurable circuits extend the geometric Amoebot model by allowing amoebots to dynamically connect pins into wire-like broadcast media. This extension gives polylogarithmic-time solutions to fundamental tasks and provides powerful primitives such as the circuit-based prefix-scan PASC [6, 9]. In particular, leader election can be solved in rounds w.h.p. in the noiseless circuit setting [6]. However, existing circuit algorithms assume perfect circuit reception. We ask whether the speedup provided by circuits survives a fault model in which circuit beeps may be missed, while local neighbor communication remains reliable.
Our contribution
We give, to the best of our knowledge, the first leader election algorithm for the Amoebot model with noisy circuit beeps. The algorithm is Las Vegas and terminates in rounds w.h.p., which is only an factor over the noiseless circuit time bound. In the noiseless circuit model the same algorithm runs in rounds w.h.p. and remains Las Vegas, whereas the previous circuit-based leader election algorithm is Monte Carlo [6]. Beyond leader election, once a leader is elected, our primitives allow any stationary algorithm that is correct in the noiseless circuit model to be simulated in the noisy-circuit model with only an multiplicative overhead. Unlike boundary-erosion approaches, the algorithm is stationary and does not rely on simple connectedness: holes in the amoebot structure are allowed. The formulation is also lattice-generic: it covers the triangular grid and the FCC lattice uniformly, and it is parameterized by the finite symmetry group used for local orientations. Thus it separates the communication problem created by noisy circuits from grid-specific geometric case distinctions.
Related Work
Classic-model leader election started with the Amoebot model [3, 4]; the best local randomized algorithm elects a leader in asynchronous rounds w.h.p. using constant memory and no IDs or global coordinates [2]. Deterministic election without circuits uses movement to break symmetries [5] or imposes shape/orientation assumptions. For 3D, Gastineau et al. and Briones et al. study FCC-based/local deterministic variants under additional geometric or scheduler assumptions [7, 1]. In contrast, our circuit-based formulation can use the full FCC octahedral symmetry group of order 48, including orientation-reversing symmetries, rather than only the 24 proper rotations considered in prior FCC leader election work; it also allows 3D systems with holes. Fault-tolerant Amoebot work has mostly focused on crash/recovery-style faults, e.g. shape formation [8]; our faults are transient losses in long-range circuit beeps.
2 Model and results
We consider a synchronous, stationary Amoebot system on a regular lattice of constant degree ; the main examples are the triangular grid in 2D and the face-centered cubic (FCC) lattice in 3D. Initially, the system consists of identical contracted amoebots occupying a connected set of lattice nodes. Amoebots are anonymous, have constant local memory, and exchange constant-size messages with lattice neighbors. A contracted amoebot has ports, one for each incident lattice edge; if expanded particles are represented, each occupied node of the particle (head/tail) has its own locally labeled ports. Our algorithm itself does not use movement.
Orientations
Each amoebot has a local port labeling and an unknown global orientation from a finite lattice symmetry group . Adjacent amoebots can compare relative orientations, written . All procedures below use only constant local memory; whenever an -bit coordinate comparison is mentioned, it is generated and compared bit-by-bit by repeated applications of the PASC algorithm rather than stored as a word at a particle.
Reconfigurable circuits and noise
We use the circuit extension of Feldmann et al. and its subsequent structural primitives [6, 9]. Each amoebot provides a constant number of pins, and in every round it partitions its pins into partition sets. External links connect pins of neighboring amoebots; the connected components of the resulting pin graph are called circuits. A circuit is not a Boolean circuit: it is a dynamically configurable, wire-like communication bus. If an amoebot beeps on one partition set of a circuit in the noiseless model, all partition sets on that circuit receive a beep in the next round. In our noisy model, if at least one amoebot beeps on a circuit in round , then each amoebot connected to receives the beep in round independently with probability , where is a fixed constant. Direct neighbor-to-neighbor communication (pin-to-pin) is assumed reliable; this is only for efficiency, since noisy pin-to-pin beeps can be amplified as well, preserving correctness but increasing the leader-election time to and the simulation overhead to .
With this communication model in place, Theorem 1 states our Las Vegas leader-election result for noisy circuits, while Theorem 2 shows that, once a leader is available, stationary noiseless-circuit algorithms can be simulated in the noisy-circuit model with small overhead.
Theorem 1 (Noisy-circuit leader election).
In the noisy-circuit Amoebot model, there exists a Las Vegas leader election algorithm that terminates in synchronous rounds w.h.p.
Theorem 2 (Simulation of noiseless-circuit algorithms).
After electing a leader as in Theorem 1, any stationary algorithm that is correct in the noiseless circuit model can be simulated in the noisy-circuit model with an multiplicative overhead in synchronous rounds.
| Model / setting | Communication | Guarantee | Time (rounds) |
|---|---|---|---|
| Geometric Amoebot [3, 2] | local | varies | typically poly |
| Circuit extension [6] | noiseless circuits | Monte Carlo | w.h.p. |
| Noisy circuits (this work) | miss prob. on circuits | Las Vegas | w.h.p. |
| Noiseless circuits (this work) | noiseless circuits | Las Vegas | w.h.p. |
3 Robust circuit primitives
The main technical obstacle is that one noisy circuit beep gives only a constant-probability reception opportunity at each amoebot. We therefore replace every logical circuit beep by a short robust broadcast/termination protocol. Both primitives below are used on chains, Euler tours, or circuit-connected parts of the structure, but they only use reliable local communication and repeated noisy circuit beeps.
Flooding primitive
Assume each amoebot initially has a private bit . The flooding task is to let all amoebots decide whether . Whenever an amoebot initially has , or hears a circuit beep for the first time, it becomes informed, repeatedly beeps on the circuit, and reliably informs its local neighbors. Repeated circuit beeps quickly create informed “seeds” throughout the structure, and local propagation fills the remaining gaps.
Lemma 3 (Flooding).
For constant , flooding terminates in rounds w.h.p. After termination, all amoebots have determined whether at least one beep occurred.
Proof sketch.
Let and beep on the circuit for rounds. For a constant , every local segment of length on the relevant chain/Euler tour contains at least one amoebot that received a beep w.h.p.; this follows from independence and a union bound over the possible segments. Reliable local communication then informs all nodes within another rounds. The all-zero case is detected by the absence of any informed amoebot.
Acknowledgment primitive
For higher-level protocols, it is not sufficient that all amoebots eventually learn a bit; a reference amoebot must also know when dissemination has completed. We implement an acknowledgment (ACK) primitive on a chain of amoebots with a designated reference amoebot, as is standard in circuit-based constructions. The chain is equipped with a dedicated ACK circuit, initially disconnected. Whenever an amoebot becomes informed, it connects its local ACK pins to the predecessor direction, so the ACK circuit gradually becomes connected from the tail toward the reference amoebot. The tail periodically beeps on the ACK circuit; only once the circuit is fully connected can such a beep reach the reference amoebot, and noisy reception is overcome within rounds w.h.p. by the same segment-hit and local-propagation argument as for flooding.
Lemma 4 (Acknowledgment).
For constant , the ACK primitive completes in rounds w.h.p.: the reference amoebot learns that all amoebots on the chain have received the bit.
4 Leader election
The algorithm maintains a forest of rooted trees whose roots are leader candidates. Each tree is represented by an Euler tour, realized as a chain of amoebots, and the root is the reference amoebot for that chain. An attrition round consists of three logical phases. First, in Coin, each root flips a fair coin and broadcasts the outcome along its Euler tour using flooding and ACK; the tree becomes a -tree or a -tree. Second, in Compare, each amoebot compares its tree bit with its local neighbors. Third, in Merge, every -tree adjacent to a -tree merges into a neighboring -tree by locally splicing Euler tours. The unique tree that remains at the end is a spanning tree of the entire amoebot structure.
Lemma 5 (Attrition).
After attrition rounds, only one candidate tree remains w.h.p. Each attrition round can be implemented in synchronous rounds w.h.p.
Proof sketch.
If more than one tree exists, the tree-adjacency graph is connected and has an edge between two candidate trees. With constant probability, an adjacent pair receives different coin values and at least one -tree merges into a -tree. A standard attrition argument gives a geometric decrease in the number of candidates over rounds w.h.p. The cost of one logical broadcast/termination step is by Lemmas 3 and 4.
Solitude verification
Attrition alone is not enough for a Las Vegas algorithm: a candidate may stop only after verifying that no other candidate tree remains. For a rooted tree, solitude verification tests whether any edge connects two different trees. First, we compare root-relative orientations: using stored products of relative orientations, adjacent amoebots can test whether their roots have the same global orientation. If not, the two amoebots belong to different trees and the verification aborts. If the root orientations agree, the endpoints compare the two roots’ positions in that common root frame. They do not store -bit coordinates; instead, the relevant displacement and edge-offset sums are produced by the PASC algorithm and compared bit by bit. A boundary edge whose two computed root positions differ triggers an abort. If no abort reaches the root, the tree is unique and the root safely declares itself leader. This one-sided check may delay termination but cannot certify two leaders, which proves the Las Vegas safety in Theorem 1. The same bitwise comparison can also be used in a deterministic symmetry-breaking variant to retain canonical maximal roots, although without randomness or movement symmetric configurations can leave several candidates related by the residual lattice symmetries.
The solitude test only needs constant-size lattice data: relative orientations across edges, edge displacements in local frames, and a finite encoding order for . For adjacent amoebots , it compares the two descriptions of the same edge after transport to the corresponding root frames. Identical roots make the transported displacements cancel; distinct roots expose, on some tree-boundary edge, either a nonzero displacement or a different root orientation. Holes are therefore not problematic: the algorithm never identifies empty-region boundaries, but only tests whether an occupied edge crosses between candidate trees.
Constant memory
An amoebot keeps only constant-size state: its phase, Euler-tour ports, a root-relative orientation in finite , and flooding/ACK flags. Whenever a coordinate comparison is needed, PASC streams the relevant prefix-sum bits; particles compare the first differing bit and discard it before the next bit is generated. Thus the -bit arithmetic used in the analysis is distributed computation, not particle memory.
Correctness
Safety follows from the one-sided verification: a candidate becomes leader only if every tree-boundary edge has failed to witness a distinct root. Because the tree-adjacency graph is connected whenever more than one tree remains, this can happen only when the candidate tree spans all amoebots. Liveness follows from attrition and the robust primitives. With high probability, all broadcasts and acknowledgments in the first attrition rounds complete within their -round windows, and the number of candidates drops to one.
5 Simulation and conclusion
For Theorem 2, consider any stationary noiseless-circuit algorithm . We simulate each logical circuit-beep step by flooding the predicate “some amoebot beeped on this circuit” and use ACK so that the elected leader can synchronize the next simulated round. Since the simulated algorithms are stationary and use only constantly many pins and constant-size local messages per round, all logical circuits of a round can be handled by the same robust primitives in parallel. Thus each noiseless round costs noisy rounds w.h.p., and the leader advances only after completion has been acknowledged.
Noisy circuit reception therefore does not destroy the algorithmic advantage of reconfigurable circuits. Leader election can be made Las Vegas and remains fast: rounds w.h.p. The result is stationary, allows holes, is not tied to a particular lattice, and turns the Monte Carlo noiseless-circuit election into a Las Vegas one at the same asymptotic time in the noiseless setting. It also provides a synchronization layer for future noisy-circuit algorithms: once a leader and the spanning tree byproduct are available, algorithms designed for the reliable circuit model can be executed with only the stated polylogarithmic overhead.
References
- [1] Joseph L. Briones, Tishya Chhabra, Joshua J. Daymude, and Andréa W. Richa. Invited Paper: Asynchronous Deterministic Leader Election in Three-Dimensional Programmable Matter. In Proc. 24th International Conference on Distributed Computing and Networking (ICDCN 2023), pages 38–47. ACM, 2023. doi:10.1145/3571306.3571389.
- [2] Joshua J. Daymude, Robert Gmyr, Andréa W. Richa, Christian Scheideler, and Thim Strothmann. Improved Leader Election for Self-Organizing Programmable Matter. In Algorithms for Sensor Systems (ALGOSENSORS 2017), volume 10718 of Lecture Notes in Computer Science, pages 127–140. Springer, 2017. doi:10.1007/978-3-319-72751-6_10.
- [3] Zahra Derakhshandeh, Shlomi Dolev, Robert Gmyr, Andréa W. Richa, Christian Scheideler, and Thim Strothmann. Brief Announcement: Amoebot – A New Model for Programmable Matter. In Proc. 26th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA 2014), pages 220–222. ACM, 2014. doi:10.1145/2612669.2612712.
- [4] Zahra Derakhshandeh, Robert Gmyr, Thim Strothmann, Rida A. Bazzi, Andréa W. Richa, and Christian Scheideler. Leader Election and Shape Formation with Self-Organizing Programmable Matter. In DNA Computing and Molecular Programming (DNA 2015), volume 9211 of Lecture Notes in Computer Science, pages 117–132. Springer, 2015. doi:10.1007/978-3-319-21999-8_8.
- [5] Yuval Emek, Shay Kutten, Ron Lavi, and William K. Moses Jr. Deterministic Leader Election in Programmable Matter. In 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019), volume 132 of Leibniz International Proceedings in Informatics (LIPIcs), pages 140:1–140:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.ICALP.2019.140.
- [6] Michael Feldmann, Andreas Padalkin, Christian Scheideler, and Shlomi Dolev. Coordinating Amoebots via Reconfigurable Circuits. Journal of Computational Biology, 29(4):317–343, 2022. doi:10.1089/cmb.2021.0363.
- [7] Nicolas Gastineau, Wahabou Abdou, Nader Mbarek, and Olivier Togni. Leader Election and Local Identifiers for Three-Dimensional Programmable Matter. Concurrency and Computation: Practice and Experience, 34(7):e6067, 2022. doi:10.1002/cpe.6067.
- [8] Irina Kostitsyna, Christian Scheideler, and Daniel Warner. Fault-Tolerant Shape Formation in the Amoebot Model. In 28th International Conference on DNA Computing and Molecular Programming (DNA 28), volume 238 of Leibniz International Proceedings in Informatics (LIPIcs), pages 9:1–9:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.DNA.28.9.
- [9] Andreas Padalkin, Christian Scheideler, and Daniel Warner. The Structural Power of Reconfigurable Circuits in the Amoebot Model. Natural Computing, 23(4):603–625, 2024. doi:10.1007/s11047-024-09981-6.
