Deterministic Self-Stabilizing BFS Construction in Constant Space
Lélia Blin, Franck Petit, Sébastien Tixeuil
TL;DR
This work resolves the long-standing question of whether a deterministic self-stabilizing spanning tree can be constructed in a semi-uniform network using constant per-node memory. The authors introduce TokBin, a synchronous algorithm that builds a BFS^{\equiv 3} structure by propagating a root-originated token stream and leveraging a binary bit mechanism to limit token lifetimes, thereby eliminating cycles and correcting misconfigurations. The protocol uses only 6 bits per node and stabilizes in $O(2^{\varepsilon})$ steps, where $\varepsilon$ is the eccentricity of the root, without requiring global knowledge such as diameter or node count. This constant-space approach opens new directions for self-stabilizing protocols under severe resource constraints and highlights a novel token-distribution technique that may inform other memory-restricted distributed tasks.
Abstract
In this paper, we resolve a long-standing question in self-stabilization by demonstrating that it is indeed possible to construct a spanning tree in a semi-uniform network using constant memory per node. We introduce a self-stabilizing synchronous algorithm that builds a breadth-first search (BFS) spanning tree with only $O(1)$ bits of memory per node, converging in $2^ε$ time units, where $ε$ denotes the eccentricity of the distinguish node. Crucially, our approach operates without any prior knowledge of global network parameters such as maximum degree, diameter, or total node count. In contrast to traditional self-stabilizing methods, such as pointer-to-neighbor communication or distance-to-root computation, that are unsuitable under strict memory constraints, our solution employs an innovative constant-space token dissemination mechanism. This mechanism effectively eliminates cycles and rectifies deviations in the BFS structure, ensuring both correctness and memory efficiency. The proposed algorithm not only meets the stringent requirements of memory-constrained distributed systems but also opens new avenues for research in self-stabilizing protocols under severe resource limitations.
