Manuscript Offprint
arXiv:2608.23044Introducing the Self-Stabilizing SLEEPING Model
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The SLEEPING LOCAL model introduces a new complexity parameter, the awake complexity, to make distributed algorithms energy-efficient. In the synchronous LOCAL model, nodes can now decide to be awake or asleep in each round. In a round, only awake nodes can communicate to share information, which consumes energy. The awake complexity is the maximum number of times a node is activated to produce an output. In particular, it often comes at the cost of the total number of rounds required to solve a problem, compared with algorithms in which every node is awake in every round.
In this article, we adapt the notion of awaken rounds to the context of self-stabilization, introducing the Self-Stabilizing SLEEPING model. Nodes are no longer required to remain awake at all times. However, in self-stabilization, nodes must be activated infinitely often to detect any issue in the system's current state. In this model, the complexities are:
How many synchronous rounds are needed to reach a legitimate configuration?
How many times does a node need to be awake to reach this configuration?
How often does a node need to be awake once this configuration is reached?
The goal is to minimize those three metrics, and we can expect different trade-offs.
We present energy-efficient algorithms to solve the problems of finding a -coloring, a Maximal Independent Set, and a Maximal Matching, thanks to new ad hoc sleeping techniques that reduce the awake complexity (i.e., energy consumption) during the convergence phase.
We also propose two transformers that adapt silent self-stabilizing algorithms to the SLEEPING setup. The first transformer is pretty simple and deals with low-complexity algorithms. The second is more elaborate and is more energy-efficient when it transforms slow self-stabilizing algorithms.
2012 ACM Subject Classification Theory of computation → Distributed algorithms; Mathematics of computing → Discrete mathematics
Keywords and phrases Distributed Computing Energy Complexity Sleeping Model, fault-tolerance, transient faults self-stabilization
Funding This research was funded, in whole or in part, by the Agence Nationale de la Recherche (ANR), grant ANR-24-CE48-7768-01 (project ENEDISC) and grant ANR-22-CE48-0001 (projet TEMPOGRAL)
Acknowledgements The authors are thankful to Lélia Blin and Sylvain Gay for the preliminary discussions about the model, as well as Johanne Cohen and Laurence Pilard for the discussions on the algorithms.
1 Introduction
In the synchronous LOCAL model, the SLEEPING variant was recently introduced. In this variant, nodes decide when they are actually awake. In each round, only awake nodes are allowed to communicate with their (awake) neighbors. It allows for saving energy and permits nodes to operate only when needed. In particular, we obtain algorithms in which nodes have fewer awake rounds than the total number of rounds in the classical LOCAL model. However, it usually comes at a time cost: the total number of rounds needed before the system reaches its final state is usually considerably larger.
What if we introduce the notion of SLEEPING in Self-Stabilizing algorithms? In particular, it would permit nodes to be non-continuously awake for detecting system failures, thereby saving a considerable amount of energy. On the other hand, we would want the system to be fast enough to recover from a failure once it is detected.
A considerable challenge is to determine what constitutes a good definition of a SLEEPING version of self-stabilizing algorithms. The first reflex is to add, as in the LOCAL version, an internal clock to determine when the node should be activated next. Do we want the internal clock to be public or private? Making it public allows two neighbors to synchronise their clocks. However, it increases the number of public states and requires each node to communicate its updated clock in each round. In this paper, we consider the case where the clock is internal: a node can report how many rounds it will be sleeping, but its neighbors cannot deduce the exact time at which they will be awake again.
Some algorithms operate in an asynchronous scheduler in which a daemon determines which nodes are activated in each round. This becomes challenging in the case of sleeping nodes: should their clock be updated when they are scheduled, or in each round? In the SLEEPING LOCAL model, the advantage of being sleeping is to wait for some event to happen in the meantime. However, in an asynchronous setting, we lose this guarantee. For that reason, we consider a synchronous setting in this article and leave open the question of how to adapt the model to an asynchronous setting.
In the SLEEPING LOCAL model, information can only go through an edge if both endpoints are awake. Several techniques are developed in this model to coordinate activation among neighbors to be energy-efficient while passing information at the appropriate time. In particular, having access to a common clock and starting computation synchronously in round one facilitates coordination. In an asynchronous setting, if both endpoints of an edge have to be awake at the same time to communicate, it would force nodes to be awake at the same time infinitely often to detect an issue. It would impose an additional layer of constraints on the internal clocks. In this article, we consider the state model, in which nodes have access to their neighbors' latest state when they are awake. This allows balancing, given that the public state does not allow nodes to know when their neighbor will next activate (unless the neighbor is awake in every round).
For a classical self-stabilizing algorithm, the usual complexity metric is the number of rounds needed for the system to reach, from any initial configuration, a good configuration. However, unlike the LOCAL model, nodes cannot reach a state in which they are done and
Introducing the Self-Stabilizing SLEEPING Model
stop updating themselves during self-stabilization. One important metric is how often a node is awake over time, particularly when a legitimate configuration is reached.
Note that this frequency directly affects the total number of rounds required for the system to converge to a legitimate configuration. A node can start in this low-frequency state, even though some update must be performed. As a consequence, the later the nodes wake up for the first time, the longer the system takes to detect and broadcast that a configuration update needs to be computed. On the other hand, we want the system to update itself fast enough. As in the SLEEPING LOCAL model, this will introduce interesting trade-offs in complexity.
1.2 Related Work
The LOCAL model, introduced in 1987 [25, 28], aims to capture computation on graphs, in which nodes (or processors) coordinate synchronously to solve a problem locally. In particular, LCL problems [27] - problems where a solution can be checked locally, such as coloring, maximal independent set, and maximal matching - are intensively studied. Distributed graph coloring is one of the most fundamental and extensively studied problems in the LOCAL model [4, 14]. In [4] is presented a locally-iterative ( )-coloring algorithm converging in synchronous rounds. A general challenge is to find the best complexity to solve a given problem with regard to (the maximal degree of the graph) and (the size of the network). See [30] for a survey on algorithms in the LOCAL model.
In 2020, the SLEEPING LOCAL model was introduced in [6] to account for energy consumption. Nodes decide when to be active (or awake) and when to sleep, with the aim of minimizing the energy consumption (i.e., the number of awake rounds for each node). Thanks to the results of [1, 5], it is known that any global problem has awake complexity , compared to in the LOCAL model. In [3], an algorithm is presented to solve -coloring and Maximal Independent set, deterministically, with an awake complexity of . Randomized algorithms with constant average complexity to compute a Maximal Matching or a Maximal Independent Set are provided in [13, 15, 16]. One of the current challenges in this model is studying the awake complexity of the deterministic maximal matching algorithm. Does the lower bound in the LOCAL model [2] hold for the awake complexity? or an algorithm in awake rounds can be designed? This is one of the current main open questions in this model.
Energy consumption through choosing when to be awake has been considered in wireless sensor networks. In [33, 32, 22], nodes are periodically active. During a round, a node can only communicate (and know about) neighbor nodes that are also active in that round. In this context, the main challenge is to ensure that each node identifies all of its neighbors and that they coordinate their active and inactive cycles to enable periodic communication in their local neighborhood. See [29] for a survey.
There are bridges between the LOCAL model, LCL problems, and self-stabilization. Various self-stabilizing algorithms to solve LCL problems have been proposed (see [19] for a survey). Some are designed for specific graph topologies, such as planar graphs [17] and bipartite graphs [23]. Greedy problems have also been considered [8, 21, 18].
More generally, any (silent) algorithm in the LOCAL model converging into T synchronous rounds can be transformed into a self-stabilizing algorithm that converges into rounds [24, 10] at the expense of the memory space.
1.3 Contribution
We propose three self-stabilizing SLEEPING algorithms that solve well-known distributed problems: -coloring (Section 3), maximal independent set (Section 4), and maximal matching (Section 5). We work in networks where nodes have unique identifiers and share knowledge of an upper bound on the network size. Figure 1 summarizes these algorithms by presenting the round complexity, the awake complexity before convergence, and the awake frequency after convergence. Nodes share an upper bound on the larger identifier in the network, and is the maximum degree of the graph. The round complexity is, of course, important for the three algorithms, but their awake complexities, which depend only on , are close to the step complexity of the best self-stabilizing algorithms without any sleeping nodes [31, 26, 19].
For -coloring and the maximal independent set problem, a node's wake-up frequency depends on whether it has a conflict. On the other hand, for maximal matching, the frequency remains the same, as a node might need to change its state depending on information at distance 2 (for example, if itself and another node are matched to the same node). The awake frequency before convergence, in the three algorithms, is a unique prime number for each node, depending on their identifier, , and even for the maximal matching algorithm. Those prime numbers ensure that a mutual exclusion will happen every awake round of a node, allowing them to do a step without any interference from one of their neighbor.
The round complexities, which depend on , are based on the Prime Number Theorem [20], which allows us to state that the -th prime number is .
| SS SLEEPING Algorithm | round complexity | awake complexity before convergence | awake frequency after convergence |
| coloring - Algorithm 1 | |||
| Maximal independent set - Algorithm 2 | |||
| Maximal matching - Algorithm 3 |
Figure 1 Our Self-Stabilizing SLEEPING Algorithms.
We also propose two transformers (Section 6) that build, from a silent self-stabilizing algorithm, called , a silent self-stabilizing SLEEPING algorithm solving the same problem as . In both algorithms, the round complexity depends on , the convergence time of , and some arbitrary constant . The first transformer (that is very simple) requires that converges under the weakly fair distributed scheduler. The second only requires that converges under the synchronous scheduler. Both transformers have the same awake frequency after convergence; however, the convergence time differs. In particular, using the second transformer becomes more interesting if has a complexity super-linear in , the diameter of the graph.
Note that, in [11], there is a transformer that turns any silent synchronous algorithm into an asynchronous self-stabilizing one with the same complexity. By applying either of the two transformers in Figure 2, we can turn any silent synchronous algorithm into a self-stabilizing SLEEPING algorithm.
Introducing the Self-Stabilizing SLEEPING Model
| SS SLEEPING transformer | round complexity | awake complexity before convergence | awake frequency after convergence | Scheduler requirement |
|---|---|---|---|---|
| Algorithm 4 | weakly fair distributed | |||
| Algorithm 5 | synchronous |
Figure 2 Our Self-Stabilizing SLEEPING transformers.
2 Model
2.1 Self-Stabilizing Algorithms in Static Graphs
Communication and computation models
We consider a distributed system modeled by a non-oriented connected graph . Two nodes are neighbors in if and only if they can communicate with each other. The number of nodes is denoted by , denotes the diameter of , and is the maximal degree of . The set of neighbors of a node is denoted by ; the closed neighborhood of (i.e., is denoted by . In that paper, we study identified networks, meaning that every node has a unique identifier, denoted by .
Every node has a finite set of variables. Some variables, such as identifier, are constant inputs provided by the system. Each node can read its own variables and variables owned by the neighboring nodes, but can write only to its own (non-constant) variables. The state of a node designates the current value of all its local variables. An action by a node is the updating of some non-constant variables of according to its algorithm, its state, and the state of its neighbors.
Configuration, Execution, Asynchrony.
A configuration of an algorithm for is a vector , where to represent the states of all nodes of . A node is said to be enabled in a configuration if and only if it can perform an action in . If no node is enabled in a configuration , then is a terminal configuration.
We model the asynchrony of the system by a schedule: a function that takes as an input the algorithm and a sequence of configurations , and returns the empty set if is terminal, and a non-empty subset of the enabled nodes in otherwise. A scheduler is a class of schedules that share common properties, such as the level of fairness they guarantee regarding when nodes are scheduled. A taxonomy of schedulers has been proposed in [12]. In this paper, we only consider two schedulers. The synchronous scheduler ensures that every enabled node updates its variables at each computation step. The weakly fair distributed scheduler ensures that a node cannot be enabled in every configuration of an execution without eventually being scheduled; there exists a computation step in which the node is either scheduled or neutralized.
Given a schedule and an algorithm , an execution of under is a finite or infinite sequence of configuration such that is the configuration obtained from after the execution of one simultaneous action by all nodes of , the scheduled nodes. An execution is maximal if it is infinite or the last configuration is terminal. A computing step of an execution is any tuple for . If a node has a variable var, we note its value in configuration , or just if it is unambiguous.
Self-stabilization
Let A be a distributed algorithm, S be a specification (i.e., a predicate over graphs and configuration sequences), and D be a scheduler.
▶ Definition 1 (Self-stabilization). Algorithm A is self-stabilizing for S under D if for any graph G, there exists a subset of configurations , called legitimate configurations, such that
-
for every configuration of in , any maximal execution of in under starting from contains a legitimate configuration (Convergence), and
-
for every legitimate configuration , any execution of in under starting from satisfies (Correctness).
If is the set of terminal configurations then Algorithm A is a silent algorithm.
Convergence time
A node is neutralized in the computing step if is enabled in and not enabled in , but does not execute any action between these two configurations. Neutralization occurs when some neighbors of change their state between and , and this change brings into a situation where applied to does not change its state. To evaluate the stabilization time, the classical time unit used in the literature is the Asynchronous round [9]. The first asynchronous round of an execution , noted , is the minimal prefix of in which every node that is enabled in the initial configuration either executes an action or becomes neutralized. The second asynchronous round of is the first round of the suffix of starting from the last configuration of , and so on. In the case of the synchronous scheduler, each computation step corresponds to a new round.
2.2 SLEEPING Self-Stabilizing Algorithm
In the SLEEPING Self-Stabilizing model, nodes still have access to their neighbors' current states, even when sleeping. It differs from the SLEEPING LOCAL model, in which both nodes must be awake to share their current state. In that model, knowledge of a shared round 0, in which all nodes can be awake and aware of their neighbors, allows for the development of elaborate algorithms that cannot be easily adapted to self-stabilization. Self-stabilizing algorithms, in which both nodes must be awake simultaneously to share their state (or even be aware of each other), have been extensively studied in the wireless sensor network model.
To be able to have a notion of awake rounds in our model, we add the following elements:
Internal clock
Each node has a local variable , called the internal clock, that cannot be read by its neighbors. It is a natural number representing the number of rounds the node waits before activating itself. In each round, the node will first decrement by 1. Then, if , the node does not update any of its variables and is not enabled. Otherwise, it is awake. So it executes an action if enabled, based on the current state of its neighborhood. It then updates to the number of rounds the node must sleep before its next activation ( is set to 1 if the node gets to be awake in the next round).
Note that to describe a configuration, we need to know the value of each internal clock. An algorithm is considered silent if, after a legitimate configuration has been reached, every node variable except the clock remains unchanged.
Introducing the Self-Stabilizing SLEEPING Model
Synchrony
In this model, we consider synchronous steps. In each step, each node updates itself, first by decreasing its clock and then by applying an action if that clock hits 0. In particular, it means that each step is an actual (asynchronous) round in the Self-Stabilizing model. In the rest of the paper, we will directly talk about rounds for each synchronous step the system goes through. Configuration corresponds to the states of the system after round . We say that a node is awake or activated in round if, in , its clock has value 1, and will execute the algorithm.
Complexities
In this model, for a given algorithm A, we are considering three complexities:
Round complexity: the maximal number of (synchronous) rounds needed, from any configuration, to reach a legitimate configuration.
Awake complexity before convergence: From a given execution , given a node , corresponds to how many times is awake before a legitimate configuration is reached for the first time during . The awake complexity before convergence of is the maximal value among all executions and all nodes of .
Frequency after convergence: let be an execution starting from a legitimate configuration. During , the frequency of activation of a node is the average duration between two consecutive rounds where is awake. The frequency after convergence of is the maximal value among all executions starting from a legitimate configuration and all nodes of their frequencies of activation.
3 -Coloring
In this section, we introduce a SLEEPING Self-Stabilizing algorithm that computes a -coloring in awake rounds.
3.1 Algorithm
The idea of Algorithm 1 is, for each node, to find a round in which it will be the only one to change its color. To that end, every node picks a unique prime number large enough, based on its identifier and . As long as a node is in conflict with one of its neighbors, it will wake up every rounds to select the smallest available color. As each node is using a different prime number, we prove that, during consecutive attempts of to set up a proper color, there are not 2 rounds in which a neighbor of changes also its color. Hence, after at most attempts, will change its color while all of its neighbors are sleeping. From then on, keeps its color forever. From that point on, will wake up every rounds, for some sufficiently large shared constant .
3.2 Analysis
To prove that Algorithm 1 is correct and its complexity, we use the following key lemma that ensures that if a node has a conflict, it will be solved:
▶ Lemma 2. Let be a configuration in which some node is such that predicate conflict( ) is satisfied. In the rounds numbered from 1 to , node is awake at least once with predicate conflict( ) unverified, or being the only node of its neighborhood to be awake.
Algorithm 1 Energy-efficient self-stabilizing ( )-coloring algorithm
Input: id_u: identifier of u M: a strict upper bound on the largest identifier : the maximum degree of the graph SP: an integer being the awake frequency, strictly greater than
Macro: p(x): the x-th prime number strictly greater than
Shared variables: color_u: a color in [0, ]
Predicates: conflict(u)
Upon waking: 1 if conflict(u) then 2 color_u := min[0, ] {color_v | v N(u)} 3 Sleep for p(id_u) rounds. 4 else 5 Sleep for SP rounds.
Proof. Suppose that every time u is awake between rounds 1 and r, conflict(u) is True, and at least one of its neighbors is awake.
First, observe that will be awake at least once before or at round , as it sleeps each time for at most rounds. Since conflict() is at True each time it is awake, it will each time go to sleep for rounds. Hence, it will be awake at least times.
Since has at most neighbors, one of them, say , is awake at least twice at the same round as among the rounds in which is awake. Let's call the first round in which both and are awake at the same time, and the next. Note that .
Since , node also does not go sleeping for rounds between and , so it is awake every rounds. Hence, , where is the Lowest Common Multiple of and .
However, and are two different prime numbers, so . Since , this leads to a contradiction with .
▶ Lemma 3. Let be a configuration and such that conflict( ) = False. We get that conflict( ) = False on any configuration with .
Proof. Assume by contradiction that there exists some such that conflict() = True in . Let us choose the smallest . It means that in round , a node has changed its color, and we have color.
We cannot have , as was not in conflict in , by the choice of . In round , has applied line 2 of the algorithm. It means that took a color different from color. As did not change its color, we get that color, which leads to a contradiction.
The following lemma allows us to get the complexity of :
▶ Lemma 4. For any large enough, the th prime number is .
Introducing the Self-Stabilizing SLEEPING Model
Proof. Let be the number of prime numbers smaller than or equal to . By the Prime Number Theorem [20], we have:
In particular, . It implies that for large enough, the th prime number is at most .
▶ Theorem 5. Algorithm 1 computes a -coloring in rounds. Each node in those rounds is awake at most times. The awake frequency after convergence is .
Proof. The computation of a -coloring comes from the fact that each node will reach a configuration in which it has no conflict (Lemma 2), from which it will never be in conflict again (Lemma 3). Lemma 2 tells us that a node will apply lines 3 at most times each and otherwise sleep each time for T rounds, which gives the awake complexity and awake frequency after convergence.
By choosing , we get a convergence time of and an awake frequency after convergence of . Let be an upper bound on the larger identifier of a node in the network. Lemma 4 allows us to conclude that , giving us the complexities of Figure 1.
4 Maximal Independent Set
In this section, we introduce a SLEEPING Self-Stabilizing algorithm that computes a Maximal Independent Set in awake rounds.
4.1 Algorithm
To build a maximal independent set, nodes must be either in or out of it. In our algorithm, when both a node u and one of its neighbors are in the independent set, u can freely leave the set. However, in the case where neither u nor any of its neighbors is in the independent set, we must ensure that u joins the set only if none of its neighbors will do so at the same time, as otherwise we could create a loop where a node will alternately join and leave the set. To that end, the action to join the independent set takes two rounds. First, the node sets the variable justWokeUp to True. If during the next round, none of its neighbors has this variable set to True, it joins the independent set; otherwise, u will sleep for before considering joining the independent set again. This technique ensures that nodes join the independent set via a mutual exclusion process: no pair of neighbors can join simultaneously.
The idea of Algorithm 2 is similar to the -coloring algorithm: we use prime numbers to ensure that during a round, a node is the only one in its neighborhood to set the variable justWokeUp to True.
4.2 Analysis
If a node u wakes up with the variable justWokeUp at True, we say that u is actively awake.
Observation: Let be a configuration, and let u and v be two neighboring nodes. We cannot have both u and v setting their respective variable inMIS to True during the round
Algorithm 2 Energy-efficient self-stabilizing maximal independent set algorithm
Input: id_u: identifier of u M: a strict upper bound on the largest identifier Δ: the maximum degree of the graph SP: an integer being the awake frequency, strictly greater than Δp(M)
Macro: p(x): the x-th prime number strictly greater than Δ + 1
Shared variables: justWokeUp_u: True if u just woke up on this round, else False inMIS_u: True if u is in the maximal independent set, else False
Predicates: mustLeave(u) ≡ inMIS_u ∧ ∃v ∈ N(u), inMIS_v canJoin(u) ≡ ¬inMIS_u ∧ ∀v ∈ N(u), ¬inMIS_v awakeAlone(u) ≡ justWokeUp_u ∧ ∀v ∈ N(u), ¬justWokeUp_v
Upon waking: 1 if canJoin(u) then 2 if justWokeUp_u then 3 justWokeUp_u := False 4 if awakeAlone(u) then 5 inMIS_u := True 6 Sleep for p(id_u) - 1 rounds. 7 else 8 justWokeUp_u := True 9 Sleep for 1 round. 10 else 11 if justWokeUp(u) then 12 justWokeUp_u := False 13 if mustLeave(u) then 14 inMIS_u := False 15 Sleep for SP rounds.
Introducing the Self-Stabilizing SLEEPING Model
from . Indeed, to do so, we would have awakeAlone(u) = awakeAlone(v) = True, which is a contradiction of the definition of the predicate awakeAlone.
▶ Lemma 6. Let be a configuration in which some node verifies the predicate canJoin(u). In the rounds numbered from 1 to , node is awake at least once with predicate canJoin(u) unverified, or being the only node of its neighborhood to be actively awake.
Proof. Suppose that every time is awake between rounds 1 and , canJoin() is at True, and awakeAlone() is at False in the rounds in which is actively awake (i.e., in each configuration where justWokeUp = True, has a neighbor such that justWokeUp = True).
First, observe that will be awake at least once before round . Since canJoin() is at True each time it is awake, it never goes sleeping for rounds and will be actively awake every rounds (by construction of the algorithm). By the choice of , this will happen at least times.
Since has at most neighbors, one of them, say , is actively awake at least twice at the same round as among the rounds in which is actively awake. Let's call the first round in which both and are awake at the same time, and the next. Note that .
Since , node also does not go sleeping for SP rounds between and , so it is actively awake up every rounds. Hence, .
However, and are two different prime numbers, so . Since , this leads to a contradiction with .
▶ Lemma 7. Let be a node. Let be an execution starting from a configuration where inMIS = False. We have mustLeave() = False on any configuration with .
Proof. Assume that in we have mustLeave( ) = True. Then, in , has a neighbor such that inMIS = True.
By definition of mustLeave(u), the variable inMIS_u = True in . Let's call the last round before in which inMIS_u = False. Note that .
On round , sets the value of inMIS to True, so is the only node in its neighborhood to be actively awake, and every neighbor of has its variable inMIS set to False. This is in particular the case for . Hence, there is a round between and where changes the value inMIS from False to True. In the configuration before that round, we have canJoin( ) = True. However, in that same configuration, we have inMIS = True, so canJoin( ) = False. This leads to a contradiction.
▶ Lemma 8. From any configuration , for any , the set in is independent.
Proof. Suppose there exist two adjacent nodes and such that inMIS = inMIS = True on a round . Then mustLeave( ) = mustLeave( ) = True on round .
By Lemma 7, the value of inMIS is True for both nodes on every configuration before round r. However, both u and v were awake at least once before round r, as a node can sleep for at most SP rounds. Out of generality, assume that u was awake first in some round . In that round, it must have applied the action from line 13 and set its variable inMIS to False. This contradicts the fact that mustLeave(u) remains True up to round r.
This implies that from round SP on, there is no pair of adjacent nodes with both of them having their variable inMIS at True, which concludes the proof.
▶ Lemma 9. Let be a round in which is an independent set, and let be a node such that in that configuration. For any , we have .
Proof. Suppose there exists such that .
Without loss of generality, let's say is the smallest possible choice. Then inMIS = True on any round before, and in particular, node changes the value of inMIS to False on round . It implies that has a neighbor with inMIS = True on this round.
By Lemma 8, is an independent set in configuration , but we have . This is a contradiction.
▶ Lemma 10. Let be a round in which is an independent set. For any , the set in is maximal independent.
Proof. Let . By Lemma 8, the set is independent in with . Suppose this set is not maximal. It implies that there exists a node such that in this configuration.
Then, each node in the closed neighborhood of verifies inMIS. Lemma 9 implies directly that inMIS in any configuration from to . Hence, in , canJoin(u) is verified.
By Lemma 6, there exists some round in which either canJoin(u) is unverified (case 1) or u was the only actively awake node (case 2).
In case 1, it implies that one node (which can be ) has inMIS . Lemma 9 ensures that inMIS remains True forever. This implies that currently, in , canJoin( ) = False.
In case 2, in round , sets inMIS to True, and by the same reasoning, this variable will never change its value and canJoin( ) .
▶ Theorem 11. Algorithm 2 computes a Maximal Independent Set in rounds. Each node in those rounds is awake at most times. The awake frequency after convergence is .
Proof. The computation of a Maximal Independent Set comes from Lemmas 8 and 10. Lemma 6 tells us that a node will apply lines 6 and 8 at most times each and otherwise sleep each time for SP rounds, which gives the awake complexity and awake frequency after convergence.
By choosing , we get a convergence time of and an awake frequency after convergence of , matching the complexities of Figure 1.
5 Maximal Matching
This section presents an energy-efficient self-stabilizing algorithm for computing a maximal matching.
5.1 Algorithm
The idea of Algorithm 3 is inspired by the constructions from [7]. We use Algorithm 2 as a subroutine to compute a maximal independent set IS, which will be used to perform some mutual exclusion. Each node u in IS attempts to match with an unmatched node v via a seducing step. Either v accepts, and both nodes are matched and ignored by the independent set subroutine, or v accepts another seducing node, and u tries to match itself with another
Introducing the Self-Stabilizing SLEEPING Model
Algorithm 3 Energy-efficient self-stabilizing maximal matching algorithm
Input: id_u: identifier of u M: a strict upper bound on the largest identifier Δ: the maximum degree of the graph
Macro: B(M): the smallest integer such that the interval [B(M), 2B(M)] contains M prime number p_M(x): the x-th prime number in [B(M), 2B(M)]
Shared variables: justWokeUp_u: True if u just woke up on this round, else False status_u ∈ {inMIS, outMIS, matched}: the current status of the node partner_u ∈ N(u): the partner of u, only relevant if u is matched seducing_u ∈ N(u): the node seduced by u, only relevant if u is inside of the MIS
Predicates: awakeAlone(u) ≡ justWokeUp_u ∧ ∀v ∈ N(u), ¬justWokeUp_v canJoinMIS(u) ≡ status_u = outMIS ∧ ∀v ∈ N(v), status_v ≠ inMIS mustLeaveMIS(u) ≡ status_u = inMIS ∧ ∃v ∈ N(v), status_v = inMIS married(u) ≡ status_u = status_partner_u = matched ∧ partner_partner_u = u waiting(u) ≡ status_u = matched ∧ status_partner_u = inMIS ∧ seducing_partner_u = u badMatching(u) ≡ status_u = matched ∧ ¬married(u) ∧ ¬waiting(u) gotMatch(u) ≡ status_u = inMIS ∧ status_seducing_u = matched ∧ partner_seducing_u = u gotSeduced(u) ≡ status_u = outMIS ∧ ∃v ∈ N(u), status_v = inMIS ∧ seducing_v = u canSeduce(u) ≡ status_u = inMIS ∧ status_seducing_u ≠ outMIS ∧ ∃v ∈ N(u), status_v = outMIS
Upon waking: 1 if canJoinMIS(u) then 2 if justWokeUp_u then 3 if awakeAlone(u) then status_u := inMIS 4 justWokeUp_u := False; Sleep for p_M(id_u) - 1 rounds. 5 else justWokeUp_u := True; Sleep for 1 round. 6 else 7 if justWokeUp_u then justWokeUp_u := False 8 if mustLeaveMIS(u) ∨ badMatching(u) then status_u := outMIS 9 else 10 if gotMatch(u) then 11 partner_u := seducing_u ; status_u := matched 12 if gotSeduced(u) then 13 partner_u := argmin_v ∈ N(u) {id_v, status_v = inMIS ∧ seducing_v = u} 14 status_u := matched 15 if canSeduce(u) then 16 seducing_u := argmin_v ∈ N(u) {id_v, status_v = outMIS} 17 Sleep for p_M(id_u) rounds.
node. If all of its attempts are rejected, it implies that all of its neighbors are matched. A node in IS leaves the independent set once it is matched. After that, the subroutine from Algorithm 2 tries to add new nodes in IS. That way, an unmatched node will eventually join IS and try to seduce its unmatched neighbors.
To ensure that the seducing process is not too long, we need to ensure that a node from IS does not wait too long for an answer. To that end, we add a restriction to the prime numbers we use. They must belong to a set , for some large enough (this set must contain at least prime numbers; the proof of existence of such can be found in Lemma 13). With this restriction, we know that for any pair of neighbors and , if (resp. ) wakes up every (resp. ) rounds, will be awake at least once between 3 consecutive awake rounds of .
In this algorithm, each node u wakes up every rounds. In each of those rounds, we say that the node is commonly awake. A node can also be awake in one more round every rounds, for the justWokeUp part of the maximal independent set subroutine. This is necessary as computing nodes need feedback from their neighbor. This system ensures some pseudo-synchrony. Contrarily to Algorithms 1 and 2, the frequency of waking up of a node does not change after having finished its computation. This is due to the fact that in maximal matching, an edge can be in the independent set if both endpoints are happy about it.
5.2 Analysis
5.2.1 Discussions around synchrony and B
The following lemma is key to our construction: it allows us to ensure some pseudo-synchrony in the nodes' awakening schedules.
▶ Lemma 12. If a node u is commonly awake during round r, every neighbor of u will be commonly awake at least once between rounds and .
Proof. Any neighbor of is commonly awake with period . Since all primes assigned by function lie in , we have and , so . In any interval of consecutive rounds, is awake at least once.
The following Lemma allows us to argue that always exists, and gives us some approximation of its value:
▶ Lemma 13. For any M, there exists some B such that the number of prime numbers in is at least M. Moreover, we can find B such as .
Proof. Let be the number of prime numbers smaller than or equal to x. By the Prime Number Theorem [20], which states:
Note that in , we have prime numbers. In particular, for , we get: .
It implies that such a indeed exists and has value at least (as there are fewer than prime numbers smaller than ). Let be the smallest value possible of . We have:
Introducing the Self-Stabilizing SLEEPING Model
This equality first implies that . Secondly, by taking the logarithm of this equality, we obtain: which implies that . This allows us to finally deduce:
5.2.2 Safe configurations
Note that in the algorithm, each node wakes up every rounds. They can also wake up right after one of those rounds if they enter in line 5 of the algorithm. In the first situation (when just WokeUp = False), we say that is commonly awake, and in the second situation, is justly awake.
▶ Lemma 14. Let be a configuration in which mustLeaveMIS(u) evaluates to False for some node . In any configuration with , mustLeaveMIS(u) also evaluates to False.
Proof. Suppose, for contradiction, that there exists a configuration in which we have mustLeaveMIS(u) = True. Let choose to be minimal, i.e., mustLeaveMIS(u) = False in .
There exists some such that . Since mustLeaveMIS(u) = False in , either u or v has changed its status to inMIS in round r. This means that u or v has applied line 3 of the algorithm. However, similarly to Algorithm 2, this can happen only if both u and v have status outMIS in , and it would imply that both had awakeAlone verified, which is impossible. This is a contradiction.
▶ Lemma 15. Let be a configuration in which married(u) evaluates to True for some node u. In any configuration with , married(u) also evaluates to True.
Proof. Suppose married(u) evaluates to True in , and suppose for contradiction that there exists a configuration in which married(u) = False. Let choose r to be minimal, meaning that married(u) = True in .
In configuration , we have , and . Hence, predicates canJoinMIS, mustLeaveMIS, badMatching, gotMatch and gotSeduced all evaluate to False. A node can modify its status and its partner only through the rules associated with these predicates, which contradicts married(u) = False in configuration .
▶ Lemma 16. Let be a configuration in which badMatching(u) evaluates to False for some node . In any configuration with , badMatching(u) also evaluates to False.
Proof. Suppose badMatching(u) evaluates to False in , and suppose for contradiction that there exists a configuration in which badMatching(u) = True. Let choose to be minimal, i.e., badMatching(u) switched to False in round . In , we have status = matched and both predicates married(u) and waiting(u) evaluate to False.
Since badMatching(u) = False in , either status matched, married True or waiting True.
Let’s suppose matched. Then transitions to matched in round , which can only happen if either gotSeduced( ) or gotMatch( ) is verified.
If gotSeduced(u) is verified, then in round r, u sets partner_u to some neighbor v satisfying status_v = inMIS and seducing_v = u. Hence, v can only update the variable just WokeUp(v) during round r, contradicting waiting(u) = False in .
If gotMatch(u) is verified, then u sets partner_u to v = seducing_u and status_u to matched in round r. By the definition of gotMatch, the predicate waiting(v) is verified in . Hence, in round r, v can only update the variable justWokeUp_v, contradicting married(u) = False in .
Hence status . By Lemma 15, predicate married must be False, which implies that waiting . Let's call .
Since status , predicates gotMatch(u), gotSeduced(u) and canSeduce(u) evaluate to False in , so partner and status . So, as predicate waiting(u) to changes between and , node v must change the values of some its variables in round r.
By definition of predicate waiting, gotMatch(v) is verified in . Therefore, if v updates its variables in round r, it will set partner_v to seducing_v = u, and status_v to matched, i.e., u and v will end up married in , which contradicts badMatching(u) = True in that configuration.
▶ Definition 17. A configuration is safe if both predicates mustLeaveMIS and badMatching evaluate to False on any node.
▶ Corollary 18. From any configuration, after the rounds, a safe configuration is reached. The set of safe configurations is closed.
Proof. Since , we have , so is awake at least once within the first rounds. If mustLeaveMIS( ) or badMatching( ) held at the beginning of this round, set , making both predicates immediately False (mustLeaveMIS requires , and badMatching requires ). By Lemmas 14 and 16, both predicates remain False on every subsequent round.
5.2.3 Convergence from a safe configuration
In this section, we study executions starting from a safe configuration. Let's define the predicate isolated:
We will establish that any execution reaches a configuration where every node is either married or isolated. We will say (and prove) that such a configuration is stable.
▶ Lemma 19. If in a safe configuration , a node u is isolated, then it stays isolated along any execution from .
Proof. From Corollary 18, we know that mustLeaveMIS and badMatching are not verified by any node in any configuration reachable from . We conclude that u and its neighbors will never change their variable status nor partner.
▶ Lemma 20. Let be a safe configuration and a node such that is commonly awake in round 1, and we have justWokeUp = False, status = inMIS and isolated = False. Let . There exists some such that status = outMIS and status = matched (i.e., changes its status to matched). Moreover, keeps the status matched in any configuration after .
Introducing the Self-Stabilizing SLEEPING Model
Proof. Since is safe, mustLeaveMIS(u) = False, so no neighbor of has status = inMIS. Since isolated(u) = False, not every neighbor is matched with a partner other than , so there exists a neighbor with status = outMIS.
Consequently canSeduce(u) holds in . As is awake in round 1, there exists some such that seducing . By Lemma 12, is awake during a round . At round , gotSeduced(v) holds (since status and seducing ). Moreover, since is safe, we have mustLeaveMIS(v) = badMatching(v) = False, so executes lines 13 and 14 of the algorithm, setting partner to one of its neighbors (possibly ) and status to matched. As is safe, status stays unchanged after the round .
▶ Corollary 21. Let be a safe configuration and a node such that . Then is either married or isolated in any configuration with .
Proof. As is safe, a node married (resp. isolated) stays married (resp. isolated). If isolated(u) already holds in , the claim is immediate.
Otherwise, we apply Lemma 20 inductively. As long as u remains inMIS and not isolated, every rounds (after the first time u was commonly awake), some neighbor of u sets its status from outMIS to matched, and keeps this status forever.
Since has at most neighbors, after rounds, either all neighbors of are matched with partner , i.e., isolated, or some neighbor has status and partner, so gotMatch is verified and gets married with during the next awake round.
▶ Lemma 22. Let be a safe configuration and a node commonly awake in round 1 such that , and for each neighbor of , we have .
Let be the set of neighbors of with status = outMIS in . In , with , either or some node in has a different status than in .
Proof. This proof is similar to that of Lemma 6 for the MIS algorithm. Since and no neighbor has status = inMIS, predicate canJoinMIS(u) holds in . Suppose, for contradiction, that and all nodes in still have status outMIS in . Since is safe, no node can change its status to outMIS; this implies that the status of every node in is unchanged. So canJoinMIS(u) holds from rounds 1 to .
Before round , will be justly awake (i.e., awake with justWokeUp = True) times at rounds with . If awakeAlone() holds at any of these rounds, joins the MIS, contradicting our assumption. Hence awakeAlone() = False every time is justly awake, i. e., some neighbor of is also justly awake. Since has at most neighbors, by the pigeonhole principle, some neighbor is justly awake simultaneously with two times.
Let's call the first round in which both and are justly awake at the same time, and the next. Note that .
Note that, by construction of Algorithm 3, if a node is justly awake in two different rounds and , we have that is a multiple of .
We get that is both a multiple of and , which are different prime numbers. Hence, for some . However, we have , which brings a contradiction to .
▶ Lemma 23. Let be a safe configuration and a node such that in . Let . In , either isolated( ) holds or the number of matched nodes in has strictly increased.
Proof. Assume that, in , is not isolated and that the number of matched nodes in has not increased. Since is safe, no matched node in has changed its status in . Hence, no node in takes the status matched before .
Suppose some neighbor v has status = inMIS in . By applying Corollary 21, v is either isolated or married in .
If v is married: , so the number of matched nodes has increased. Contradiction.
If is isolated: every neighbor of (including ) has status = matched with a partner . In particular, is matched, so the number of matched nodes has increased. Contradiction. Hence, no neighbor of has status = inMIS in .
By Lemma 22, by round , a node changed its status from outMIS. If has taken the status matched, then the number of matched nodes has increased. Hence, has taken the status inMIS. By applying Corollary 21 to , we reach the same contradictions as previously after more rounds. As , in round , the number of matched nodes must have increased.
▶ Corollary 24. After at most rounds, any node is either isolated or married.
Proof. After rounds, by Corollary 18, a safe configuration has been reached. Let us assume that in , there exists some node that is neither isolated nor married. If , by Corollary 21, is isolated or married in . Otherwise, we can apply Lemma 23 iteratively (at most times) until either:
u gets matched
■ All the neighbors of u get matched.
In both scenarios, ends up married or isolated, and this happens before , as .
5.2.4 Stable configurations
A configuration is said to be stable if every node is either isolated or married.
▶ Lemma 25. The set of stable configurations is closed.
Proof. In a stable configuration, the predicates canJoinMIS, mustLeaveMIS, badMatching, gotMatch, gotSeduced and canSeduce evaluate at False on every node.
▶ Theorem 26. In a stable configuration, the set of edges such that , , and defines a maximal matching.
Proof. Suppose that it is possible to add one more edge to the matching so that it remains a legal matching. Hence, both and are not matched yet so married( ) = married( ) = False. Since the configuration is terminal, predicates isolated( ) and isolated( ) must evaluate to True. But by definition, two neighbors cannot simultaneously verify the predicate isolated. Contradiction.
▶ Theorem 27. Algorithm 3 computes a Maximal Matching in rounds. Each node is awake at most times during the convergence phase. The awake frequency after convergence is .
Introducing the Self-Stabilizing SLEEPING Model
Proof. A stable configuration is reached after rounds according to corollary 24. In a stable configuration, a Maximal Matching is computed, thanks to Lemma 25 and Theorem 26, forever. By definition, . We have (Lemma 13). By the choice of , a node is awake at least once and at most four times in rounds, so the awake complexity of a node before convergence of the system is at most , and the awake frequency after convergence, for each node, is .
6 Two Automatic Transformers
In this section, we introduce two ways to transform a self-stabilizing algorithm to make it more energy-efficient by lowering the frequency with which a node is awake. Algorithm 4 simply forces each node to be awake once every SP rounds, for some constant SP. Algorithm 5 is more elaborate and tries to converge faster when a node detects that some computation is required. In this section, we will denote the initial algorithm by A.
6.1 A Simple Transformer: Algorithm 4
Algorithm 4 is a simple transformer that converts a self-stabilizing algorithm into a self-stabilizing SLEEPING Algorithm. The transformed algorithm, denoted by A, only needs to converge under the weakly fair scheduler. If A converges in T rounds then the obtained algorithm converges in T.SP synchronous rounds, for any arbitrary SP. The wake-up frequency is always the same 1/SP. Therefore, during the convergence time, each node is awake during T synchronous rounds.
Algorithm 4 Simple transformer to make a self-stabilizing algorithm energy efficient
Inputs: A : a self-stabilizing algorithm under the weakly fair scheduler SP : an integer being the awake frequency
Upon waking: 1 u executes an action of A if it is enabled; Sleep for SP rounds;
6.2 A More Elaborate Transformer: Algorithm 5
Algorithm 5 is a transformer that allows converting a silent self-stabilizing algorithm under the synchronous scheduler into a silent self-stabilizing SLEEPING Algorithm. If A converges in T rounds under the synchronous scheduler, then the obtained algorithm converges in synchronous rounds, where D is the diameter of the graph.
The idea of the algorithm is to (1) detect that a node has not converged, (2) broadcast the information to the whole graph, (3) have T synchronous rounds where every node is active to converge, and (4) go back to sleeping with a 1/SP awake frequency (where every node actually wake up at the same time every SP rounds).
More formally, the first node, u, to locally detect that A has diverged stays awake for consecutive rounds. More specifically, u sets its variable ect (elapsed convergence time) to 1. The first period of D.SP rounds is used to wake up all nodes. In the second period of T rounds, every node executes the algorithm A. By the definition of T, a terminal configuration of A is reached at the end of this period. During the final period of at most rounds, every node ends up setting its ect variable to 0 to reach a silent configuration.
Algorithm 5 Elaborate transformer to make a self-stabilizing algorithm energy efficient
Inputs: A : a self-stabilizing algorithm under the weakly fair scheduler SP : an integer being the awake frequency after convergence D : an upper bound on the diameter of the graph T : an upper bound on the maximum number of rounds needed for the convergence of A
Local variable: sleepDuration_u : integer taking value in {1, SP}
Shared variable: ect_u : integer taking value in [0, D.SP + T]
macro "Elapsed Convergence Time":
MSPect_u := { 0 1 + min of { ect_v | v ∈ N[u] and ect_v > 0} }
if ∀v ∈ N[u], ect_v = 0 otherwise
Upon waking: /* Regularly wake up to detect an anomaly. */ if u is disabled in A and MSPect_u = 0 then sleepDuration_u := SP; else if u is enabled in A then u executes an action of A; if MSPect_u < D.SP + T then ect_u := max(1, MSPect_u); sleepDuration_u := 1; else ect_u := 0; sleepDuration_u := SP; Sleep for sleepDuration_u rounds.
To prove that our transformer works, we first need the following predicate that ensures that nodes are sleeping only if their variable ect is set to 0, and prove that this predicate is and remains true after most SP rounds.
Predicate pseudoCorrect(u) : sleepDuration_u = SP ⇔ ect_u = 0
▶ Lemma 28. After SP rounds, every node verifies the predicate pseudoCorrect. The predicate pseudoCorrect is closed.
Proof. The variable sleepDuration takes values in , meaning that every node is active at least once every SP rounds. An awake node updates its two variables sleepDuration and ect in such a way that it verifies the predicate pseudoCorrect at the end of the current round.
We introduce, for any configuration , as the minimum value of ect among
Introducing the Self-Stabilizing SLEEPING Model
all the nodes. Formally,
6.2.1 Executions from a pseudoCorrect configuration
A configuration is said to be pseudoCorrect if all nodes verify the predicate pseudoCorrect. In this section, we show that from such a configuration, a terminal configuration of A is reached.
▶ Lemma 29. Let be a pseudoCorrect configuration. Let us assume that there exists some node such that .
In round , we have if is or a neighbor of .
Proof. As long as , the value can only increase by at most one by Algorithm 5 before reaching (if ever) the value 0. Hence, for any configuration with , we get that .
Let . There exists such that is awake in configuration . We have . Hence, . As remains positive and increases by at most 1 during , we can conclude that .
▶ Lemma 30. Let be a pseudoCorrect configuration. Let us assume that there exists some node such that . All nodes are active during the consecutive rounds from to and is a terminal configuration of .
Proof. First, we observe that, if for some node , then this value increases by at most 1 before reaching . Hence, will be awake for at least consecutive rounds.
Let's prove by induction on that nodes at distance from are active in configurations to . For , it is immediate, as is the only node at distance 0 from . By applying Lemma 29, we immediately get the inductive step.
Since all nodes are at a distance of at most D from u, all nodes are active in round D.SP with their ect variable at values in [1, D.SP]. From this round, they will all be active for the next T consecutive rounds.
▶ Lemma 31. Let be a pseudoCorrect configuration of Algorithm 5. Let be a node. Assume that . After a round from , either or the value of .
Proof. We study the behavior of during the round from . Assume that executes line 5 during the round from . As we have . Hence, the value of .
Assume that u executes line 6 during the round from . After the round, .
Assume that is awake and does not execute line 5 or 6 during the round from . So, and the value of is unchanged during this round.
Assume that is not awake. As the predicate pseudoCorrect is verified in ; after the round, .
Predicate correct(u): pseudoCorrect(u) & ect_u = 0
▶ Lemma 32. Let be an execution from , a pseudoCorrect configuration. Assume during the first configurations of , there is not node such that . There is a configuration among the first configurations of such that every node verifies the predicate correct.
Proof. Any reached configuration of is pseudoCorrect (Lemma 28). So it is enough to establish that a configuration where every ect variable has the value 0 is reached.
If in , every node verifies then is the requested configuration.
Assume that in a node verifies . So, by hypothesis. We assume that during the first configurations of , there is not node such that . So, the repeated use of lemma 31 establishes that during the first rounds, the value increases to reach . After rounds, on every node, has the value 0. We conclude that every node verifies the predicate correct.
▶ Lemma 33. Let be an execution from a pseudoCorrect configuration. After .SP + T rounds, a terminal configuration of is reached or there is a node such that during one of the first .SP + T configurations of .
Proof. Assume that no node verifies during the first configurations of . According to Lemma 32, there is a configuration among the first configurations of such that every node verifies the predicate correct. Let be that configuration.
Assume that is not a terminal configuration of . Let be the first round along from where an enabled node for , , is awake. We get that : has executed line 5 when all nodes verify the predicate correct. Since each node wakes up with a frequency greater than or equal to , .
6.2.2 Executions from a terminal pseudoCorrect configuration
We say that a configuration is legitimate when every node u verifies the predicate correct(u) and u is disabled for A. We show in this section that a legitimate configuration is always reached.
▶ Lemma 34. Let be a pseudoCorrect configuration of Algorithm 5 where a terminal configuration of is reached. Let be a node. After a round from , either or the value of .
Proof. Let be a node. We study the behavior of during the round from . Assume that executes line 5 during the round from . By hypothesis, in , is not enabled for ; so in . Thus . Hence, the value of , after the round from .
Assume that u executes line 6 during the round from . After the round, .
Assume that is awake and does not execute line 5 or 6 during the round from . So, in and the value of is unchanged during this round. Therefore, the value of is still zero after the round.
Assume that is not awake. As the predicate pseudoCorrect is verified in ; after the round, .
▶ Corollary 35. Let a pseudoCorrect configuration of Algorithm 5 where a terminal configuration of is reached. After at most rounds, a legitimate configuration is reached. The set of legitimate configurations is closed.
Introducing the Self-Stabilizing SLEEPING Model
Proof. Let be a configuration. If then is a legitimate configuration - every node verifies and . Only line 1 is executed by the awake nodes. So, the reached configuration is legitimate.
Assume that . Let be the configuration reached from . According to lemma 34, or is a legitimate configuration. As is bounded by . After rounds, every node verifies and sleepDuration .
▶ Theorem 36. Let be an execution of Algorithm 5. After rounds, a legitimate configuration is reached.
Proof. From , a configuration where every node verifies the predicate pseudoCorrect is reached after at most SP rounds.
First case. There is a node such that at where is one of the first configurations of after reaching . According to Lemma 30, with is a terminal configuration of .
Second case. No node verifies during the first configurations of after reaching . According to Lemma 33, is a terminal configuration of with .
To conclude, after rounds, a terminal configuration of is reached. According to Corollary 35, with is a silent legitimate configuration.
7 Conclusion
In this paper, we have introduced a new model that incorporates energy efficiency into self-stabilization by allowing nodes to be inactive. We have introduced several algorithms to solve classical problems, with new techniques that revolve in particular around the use of prime numbers to simulate asynchrony, mutual exclusion, and pseudo-synchrony. We have also implemented two transformers to automatically make any self-stabilizing algorithm more energy-efficient, at the cost of some time-complexity overhead.
Upcoming work can focus on developing new techniques to improve the complexities of the algorithms we provide and solve other problems, such as leader election or spanning trees.
References
1 John Augustine, William K Moses Jr, and Gopal Pandurangan. Awake complexity of distributed minimum spanning tree. In International Colloquium on Structural Information and Communication Complexity, pages 45–63. Springer, 2024.
2 Alkida Balliu, Sebastian Brandt, Juho Hirvonen, Dennis Olivetti, Mikaël Rabie, and Jukka Suomela. Lower bounds for maximal matchings and maximal independent sets. Journal of the ACM (JACM), 68(5):1–30, 2021.
3 Alkida Balliu, Pierre Fraigniaud, Dennis Olivetti, and Mikaël Rabie. Solving sequential greedy problems distributedly with sub-logarithmic energy cost. In 44th ACM Symposium on Principles of Distributed Computing, (PODC 2025), pages 417–427. ACM, 2025. doi:10.1145/3732772.3733499.
4 Leonid Barenboim, Michael Elkin, and Uri Goldenberg. Locally-iterative distributed ( )-coloring and applications. J. ACM, 69(1):5:1–5:26, 2022. doi:10.1145/3486625.
5 Leonid Barenboim and Tzalik Maimon. Deterministic logarithmic completeness in the distributed sleeping model. In 35th International Symposium on Distributed Computing (DISC 2021), pages 10–1. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2021.
6 Soumyottam Chatterjee, Robert Gmyr, and Gopal Pandurangan. Sleeping is efficient: Mis in o (1)-rounds node-averaged awake complexity. In Proceedings of the 39th Symposium on Principles of Distributed Computing, pages 99–108, 2020.
7 Johanne Cohen, George Manoussakis, and Laurence Pilard. From state to link-register model: A transformer for self-stabilizing distributed algorithms. In 2023 25th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), pages 114–121. IEEE, 2023.
8 Johanne Cohen, Laurence Pilard, Mikaël Rabie, and Jonas Sénizergues. Making self-stabilizing algorithms for any locally greedy problem. In 2nd Symposium on Algorithmic Foundations of Dynamic Networks (SAND 2023), pages 11–1. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2023.
9 Alain Cournier, Ajoy Kumar Datta, Stéphane Devismes, Franck Petit, and Vincent Villain. The expressive power of snap-stabilization. Theor. Comput. Sci., 626:40–66, 2016. doi:10.1016/j.tcs.2016.01.036.
10 Stéphane Devismes, David Ilcinkas, Colette Johnen, and Frédéric Mazoit. Asynchronous self-stabilization made fast, simple, and energy-efficient. In the 43rd ACM Symposium on Principles of Distributed Computing, (PODC 2024), pages 538–548, 2024. doi:10.1145/3662158.3662803.
11 Stéphane Devismes, David Ilcinkas, Colette Johnen, and Frédéric Mazoit. Asynchronous self-stabilization made fast, simple, and energy-efficient. In 43rd ACM Symposium on Principles of Distributed Computing, (PODC 2024), pages 538–548. ACM, 2024. doi:10.1145/3662158.3662803.
12 Swan Dubois and Sébastien Tixeuil. A taxonomy of daemons in self-stabilization. arXiv:1110.0334, 2011.
13 Fabien Dufoulon, William K Moses Jr, and Gopal Pandurangan. Distributed mis in o(log log n) awake complexity. In Proceedings of the 2023 ACM Symposium on Principles of Distributed Computing, pages 135–145, 2023.
14 Xinyu Fu, Yitong Yin, and Chaodong Zheng. Locally-iterative ( )-coloring in sublinear (in ) rounds. Theoretical Computer Science, 1052:115456, 2025. URL: https://doi.org/10.1016/j.tcs.2025.115456, doi:10.1016/J.TCS.2025.115456.
15 Mohsen Ghaffari and Julian Portmann. Average awake complexity of mis and matching. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 45–55, 2022.
16 Mohsen Ghaffari and Julian Portmann. Distributed MIS with low energy and time complexities. In Proceedings of the 2023 ACM Symposium on Principles of Distributed Computing, pages 146–156, 2023.
17 Sukumar Ghosh and Mehmet Hakan Karaata. A self-stabilizing algorithm for coloring planar graphs. Dist. Computing, 7(1):55–59, 1993. doi:10.1007/BF02278856.
18 Maria Gradinariu and Sébastien Tixeuil. Self-stabilizing vertex coloration and arbitrary graphs. In 4th International Conference on Principles of Distributed Systems, (OPODIS 2000), Studia Informatica Universalis, pages 55–70, 2000.
19 Nabil Guellati and Hamamache Kheddouci. A survey on self-stabilizing algorithms for independence, domination, coloring, and matching in graphs. JPDC, 70(4):406–415, 2010. URL: https://doi.org/10.1016/j.jpdc.2009.11.006, doi:10.1016/J.JPDC.2009.11.006.
20 Jacques Hadamard. Sur la distribution des zéros de la fonction et ses conséquences arithmétiques. Bulletin de la Société mathematique de France, 24:199–220, 1896.
21 Stephen T. Hedetniemi, David Pokrass Jacobs, and Pradip K. Srimani. Linear time self-stabilizing colorings. Information Processing Letters, 87(5):251–255, 2003. doi:10.1016/S0020-0190(03)00299-0.
22 Ted Herman, Sriram Pemmaraju, Laurence Pilard, and Morten Mjelde. Temporal partition in sensor networks. In Symposium on Self-Stabilizing Systems, pages 325–339. Springer, 2007.
Introducing the Self-Stabilizing SLEEPING Model
23 Adrian Kosowski and Lukasz Kuszner. Self-stabilizing algorithms for graph coloring with improved performance guarantees. In 8th International Conference Artificial Intelligence and Soft Computing, (ICAISC 2006), volume LNCS 4029, pages 1150–1159, 2006. doi:10.1007/11785231_120.
24 Christoph Lenzen, Jukka Suomela, and Roger Wattenhofer. Local algorithms: Self-stabilization on speed. In 11th International Symposium on Stabilization, Safety, and Security of Distributed Systems, (SSS 2009), volume LNCS 5873, pages 17–34, 2009. doi:10.1007/978-3-642-05118-0_2.
25 Nathan Linial. Distributive graph algorithms global solutions from local data. In 28th Annual Symposium on Foundations of Computer Science (sfcs 1987), pages 331–335. IEEE, 1987.
26 Fredrik Manne, Morten Mjelde, Laurence Pilard, and Sébastien Tixeuil. A new self-stabilizing maximal matching algorithm. Theor. Comput. Sci., 410(14):1336–1345, 2009. URL: https://doi.org/10.1016/j.tcs.2008.12.022, doi:10.1016/J.TCS.2008.12.022.
27 Moni Naor and Larry Stockmeyer. What can be computed locally? In Proceedings of the twenty-fifth annual ACM symposium on Theory of computing, pages 184–193, 1993.
28 David Peleg. Distributed computing: a locality-sensitive approach. SIAM, 2000.
29 Wei Sun, Zheng Yang, Xinglin Zhang, and Yunhao Liu. Energy-efficient neighbor discovery in mobile ad hoc and wireless sensor networks: A survey. IEEE Communications Surveys & Tutorials, 16(3):1448–1459, 2014.
30 Jukka Suomela. Survey of local algorithms. ACM Computing Surveys (CSUR), 45(2):1–40, 2013.
31 Volker Turau. Linear self-stabilizing algorithms for the independent and dominating set problems using an unfair distributed scheduler. Inf. Process. Lett., 103(3):88–93, 2007. URL: https://doi.org/10.1016/j.ipl.2007.02.013, doi:10.1016/J.IPL.2007.02.013.
32 Tijs Van Dam and Koen Langendoen. An adaptive energy-efficient mac protocol for wireless sensor networks. In Proceedings of the 1st international conference on Embedded networked sensor systems, pages 171–180, 2003.
33 Wei Ye, John Heidemann, and Deborah Estrin. An energy-efficient mac protocol for wireless sensor networks. In Proceedings. Twenty-first annual joint conference of the IEEE computer and communications societies, volume 3, pages 1567–1576. IEEE, 2002.