Cover Time in Edge-Uniform Stochastically-Evolving Graphs
Ioannis Lamprou, Russell Martin, Paul Spirakis

TL;DR
This paper introduces a new model for stochastically-evolving graphs where edges change states independently, and analyzes the cover time of two types of random walks within this dynamic setting, providing bounds and computational frameworks.
Contribution
It defines the Edge-Uniform Stochastically-Evolving Graph model and derives initial bounds and methods for analyzing cover times of specific random walks in such graphs.
Findings
Provided upper bounds for cover time with RWD for k=0,1
Reduced RWA to RWD with modified delay for k=0
Developed a framework for exact cover time computation in exponential time
Abstract
We define a general model of stochastically-evolving graphs, namely the \emph{Edge-Uniform Stochastically-Evolving Graphs}. In this model, each possible edge of an underlying general static graph evolves independently being either alive or dead at each discrete time step of evolution following a (Markovian) stochastic rule. The stochastic rule is identical for each possible edge and may depend on the past observations of the edge's state. We examine two kinds of random walks for a single agent taking place in such a dynamic graph: (i) The \emph{Random Walk with a Delay} (\emph{RWD}), where at each step the agent chooses (uniformly at random) an incident possible edge, i.e., an incident edge in the underlying static graph, and then it waits till the edge becomes alive to traverse it. (ii) The more natural \emph{Random Walk on what is Available} (\emph{RWA}) where the agent only…
| dead | alive | |
|---|---|---|
| dead | ||
| alive |
| Size | Static Cover Time | Temporal Cover Time | Lower Bound | Upper Bound | |||
|---|---|---|---|---|---|---|---|
| 10 | 6 | 9 | 0.9 | 28 | 28 | 28 | 28 |
| 10 | 7 | 9 | 0.5 | 28 | 28 | 28 | 28 |
| 10 | 7 | 9 | 0.2 | 27 | 31 | 31 | 34 |
| 10 | 7 | 9 | 0.1 | 29 | 50 | 47 | 61 |
| 10 | 7 | 9 | 0.05 | 28 | 78 | 76 | 93 |
| 10 | 7 | 8 | 0.01 | 28 | 356 | 83 | 413 |
| 100 | 74 | 92 | 0.9 | 535 | 535 | 535 | 535 |
| 100 | 74 | 91 | 0.05 | 530 | 543 | 535 | 543 |
| 100 | 76 | 92 | 0.01 | 536 | 912 | 888 | 1003 |
| 100 | 74 | 92 | 0.005 | 541 | 1476 | 1465 | 1746 |
| 250 | 197 | 229 | 0.99 | 1551 | 1551 | 1551 | 1551 |
| 250 | 194 | 228 | 0.75 | 1555 | 1555 | 1555 | 1555 |
| 250 | 192 | 225 | 0.01 | 1548 | 1744 | 1728 | 1810 |
| 250 | 201 | 228 | 0.005 | 1538 | 2326 | 2259 | 2423 |
| 250 | 198 | 225 | 0.001 | 1546 | 7948 | 7670 | 8603 |
| Size | Static Cover Time | Temporal Cover Time | Lower Bound | Upper Bound | |||
|---|---|---|---|---|---|---|---|
| 10 | 3 | 6 | 0.9 | 35 | 35 | 35 | 35 |
| 10 | 3 | 7 | 0.5 | 33 | 35 | 34 | 38 |
| 10 | 5 | 8 | 0.2 | 28 | 37 | 33 | 41 |
| 10 | 4 | 8 | 0.1 | 34 | 69 | 60 | 100 |
| 10 | 3 | 8 | 0.05 | 32 | 118 | 96 | 226 |
| 10 | 3 | 7 | 0.01 | 33 | 780 | 486 | 1113 |
| 100 | 39 | 60 | 0.9 | 542 | 542 | 542 | 542 |
| 100 | 37 | 68 | 0.1 | 561 | 571 | 561 | 572 |
| 100 | 35 | 63 | 0.05 | 556 | 589 | 579 | 667 |
| 100 | 38 | 63 | 0.01 | 544 | 1349 | 1160 | 1714 |
| 100 | 35 | 61 | 0.005 | 549 | 2436 | 2085 | 3413 |
| 250 | 106 | 144 | 0.9 | 1589 | 1589 | 1589 | 1589 |
| 250 | 105 | 145 | 0.025 | 1581 | 1646 | 1623 | 1700 |
| 250 | 109 | 147 | 0.01 | 1579 | 2150 | 2046 | 2372 |
| 250 | 105 | 150 | 0.005 | 1584 | 3324 | 2998 | 3871 |
| Size | Static Cover Time | Temporal Cover Time | Lower Bound | Upper Bound | |||
|---|---|---|---|---|---|---|---|
| 10 | 2 | 5 | 0.9 | 38 | 38 | 38 | 38 |
| 10 | 1 | 5 | 0.5 | 62 | 70 | 64 | 125 |
| 10 | 2 | 4 | 0.2 | 41 | 88 | 69 | 113 |
| 10 | 2 | 5 | 0.1 | 48 | 176 | 117 | 252 |
| 10 | 1 | 5 | 0.05 | 46 | 361 | 203 | 919 |
| 10 | 2 | 4 | 0.01 | 38 | 1356 | 959 | 1899 |
| 100 | 9 | 28 | 0.9 | 671 | 671 | 671 | 671 |
| 100 | 8 | 24 | 0.1 | 634 | 740 | 689 | 1113 |
| 100 | 11 | 25 | 0.05 | 616 | 1033 | 852 | 1428 |
| 100 | 9 | 24 | 0.01 | 694 | 4152 | 3240 | 8028 |
| 100 | 10 | 23 | 0.005 | 642 | 7873 | 5894 | 13127 |
| 250 | 25 | 57 | 0.9 | 1708 | 1708 | 1708 | 1708 |
| 250 | 27 | 59 | 0.1 | 1700 | 1739 | 1700 | 1803 |
| 250 | 23 | 54 | 0.01 | 1750 | 5167 | 4179 | 8480 |
| 250 | 23 | 54 | 0.005 | 1736 | 9601 | 7321 | 15944 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Cover Time in Edge-Uniform Stochastically-Evolving Graphs††thanks: This work was supported by the University of Liverpool, EEE/CS School, NeST Initiative
Ioannis Lamprou, Russell Martin, Paul Spirakis
{Ioannis.Lamprou, Russell.Martin, P.Spirakis}@liverpool.ac.uk
Department of Computer Science,
University of Liverpool, UK
Abstract
We define a general model of stochastically-evolving graphs, namely the Edge-Uniform Stochastically-Evolving Graphs. In this model, each possible edge of an underlying general static graph evolves independently being either alive or dead at each discrete time step of evolution following a (Markovian) stochastic rule. The stochastic rule is identical for each possible edge and may depend on the past observations of the edge’s state. We examine two kinds of random walks for a single agent taking place in such a dynamic graph: (i) The Random Walk with a Delay (RWD), where at each step the agent chooses (uniformly at random) an incident possible edge, i.e., an incident edge in the underlying static graph, and then it waits till the edge becomes alive to traverse it. (ii) The more natural Random Walk on what is Available (RWA) where the agent only looks at alive incident edges at each time step and traverses one of them uniformly at random. Our study is on bounding the cover time, i.e., the expected time until each node is visited at least once by the agent. For RWD, we provide a first upper bound for the cases by correlating RWD with a simple random walk on a static graph. Moreover, we present a modified electrical network theory capturing the case. For RWA, we derive some first bounds for the case , by reducing RWA to an RWD-equivalent walk with a modified delay. Further, we also provide a framework, which is shown to compute the exact value of the cover time for a general family of stochastically-evolving graphs in exponential time. Finally, we conduct experiments on the cover time of RWA in Edge-Uniform graphs and compare the experimental findings with our theoretical bounds.
1 Introduction
In the modern era of Internet, modifications in a network topology can occur extremely frequently and in a disorderly way. Communication links may fail from time to time, while connections amongst terminals may appear or disappear intermittently. Thus, classical (static) network theory fails to capture such ever-changing processes. In an attempt to fill this void, different research communities have given rise to a variety of theories on dynamic networks. In the context of algorithms and distributed computing, such networks are usually referred to as temporal graphs [20]. A temporal graph is represented by a (possibly infinite) sequence of subgraphs of the same static graph. That is, the graph is evolving over a series of (discrete) time steps under a set of deterministic or stochastic rules of evolution. Such a rule can be edge- or graph-specific and may take as input graph instances observed in previous time steps.
In this paper, we focus on stochastically-evolving temporal graphs. We define a model of evolution, where there exists a single stochastic rule, which is applied independently to each edge. Furthermore, our model is general in the sense that the underlying static graph is allowed to be a general connected graph, i.e., with no further constraints on its topology, and the stochastic rule can include any finite number of past observations.
Assume now that a single mobile agent is placed on an arbitrary node of a temporal graph evolving under the aforementioned model. Next, the agent performs a simple random walk; at each time step, after the graph instance is fixed according to the model, the agent chooses uniformly at random a node amongst the neighbors of its current node and visits it. The cover time of such a walk is defined as the expected number of time steps until the agent has visited each node at least once. Herein, we prove some first bounds on the cover time for a simple random walk as defined above, mostly via the use of Markovian theory.
Random walks constitute a very important primitive in terms of distributed computing. Examples include their use in information dissemination [1] and random network structure [4]; also, see the short survey in [8]. In this work, we consider a single random walk as a fundamental building block for other more distributed scenarios to follow.
1.1 Related Work
A paper very relevant to ours is the one of Clementi, Macci, Monti, Pasquale and Silvestri [10], where they consider the flooding time in Edge-Markovian dynamic graphs. In such graphs, each edge independently follows a one-step Markovian rule and their model appears as a special case of ours (matches our case ). Further work under this Edge-Markovian paradigm includes [5, 11].
Another work related to our paper is the one of Avin, Koucký and Lotker [3], who define the notion of a Markovian Evolving Graph, i.e., a temporal graph evolving over a set of graphs where the process transits from to with probability , and consider random walk cover times. Note that their approach becomes computationally intractable if applied to our case; each of the possible edges evolves independently, thence causing the state space to be of size , where is the number of possible edges in our model.
Clementi, Monti, Pasquale and Silvestri [12] study the broadcast problem, when at each time step the graph is selected according to the well-known model. Also, Yamauchi, Izumi and Kamei [25] study the rendezvous problem for two agents on a ring, when each edge of the ring independently appears at every time step with some fixed probability .
Moving to a more general scope, research in temporal networks is of interdisciplinary interest, since they are able to capture a wide variety of systems in physics, biology, social interactions and technology. For a view of the big picture, see the review in [19]. There exist several papers considering, mostly continuous-time, random walks on different models of temporal networks: In [23], they consider a walker navigating randomly on some specific empirical networks. Rocha and Masuda [22] study a lazy version of a random walk, where the walker remains to its current node according to some sojourn probability. In [16], they study the behavior of a continuous time random walk on a stationary and ergodic time varying dynamic graph. Lastly, random walks with arbitrary waiting times are studied in [13], while random walks on stochastic temporal networks are surveyed in [18].
In the analysis to follow, we employ several seminal results around the theory of random walks and Markov chains. For random walks, we base our analysis on the seminal work in [1] and the electrical network theory presented in [9, 14]. For results on Markov chains, we cite textbooks [17, 21].
1.2 Our Results
We define a general model of stochastically-evolving graphs, where each possible edge evolves independently, but all of them evolve following the same stochastic rule. Furthermore, the stochastic rule may take into account the last states of a given edge. The motivation for such a model lies in several practical examples from networking where the existence of an edge in the recent past means it is likely to exist in the near future, e.g., for telephone or Internet links. In some other cases, existence may mean that an edge has ”served its purpose” and is now unlikely to appear in the near future, e.g., due to a high maintenance cost. The model is a discrete-time one following previous work in the computer science literature. Moreover, as a first start and for mathematical convenience, it is formalized as a synchronous system, where all possible edges evolve concurrently in distinct rounds (each round corresponding to a discrete time step).
Special cases of our model have appeared in previous literature, e.g., in [12, 25] for and in the line of work starting from [10] for , however they only consider special graph topologies (like ring and clique). On the other hand, the model we define is general in the sense that no assumptions, aside from connectivity, are made on the topology of the underlying graph and any amount of history is allowed into the stochastic rule. Thence, we believe it can be valued as a basis for more general results to follow capturing search or communication tasks in such dynamic graphs.
We hereby provide the first known bounds relative to the cover time of a simple random walk taking place in such stochastically evolving graphs for . To do so, we make use of a simple, yet fairly useful, modified random walk, namely the Random Walk with a Delay (RWD), where at each time step the agent is choosing uniformly at random from the incident edges of the static underlying graph and then waits for the chosen edge to become alive in order to traverse it. Despite the fact that this strategy may not sound naturally-motivated enough, it can act as a handy tool when studying other, more natural, random walk models as in the case of this paper. Indeed, we study the natural random walk on such graphs, namely the Random Walk on What’s Available (RWA), where at each time step the agent only considers the currently alive incident edges and chooses to traverse one out of them uniformly at random.
For the case , that is, when each edge appears at each round with a fixed probability regardless of history, we prove that the cover time for RWD is upper bounded by , where is the cover time of a simple random walk on the (static) underlying graph . The result can be obtained both by a careful mapping of the RWD walk to its corresponding simple random walk on the static graph and by generalizing the standard electrical network theory literature in [9, 14]. Later, we proceed to prove that the cover time for RWA is between and where , respectively , is the minimum, respectively maximum, degree of the underlying graph. The main idea here is to reduce RWA to an RWD walk, where at each step the traversal delay is lower, respectively upper, bounded by , respectively .
For , the stochastic rule takes into account the previous, one time step ago, state of the edge. If an edge was not present, then it becomes alive with probability , whereas if it was alive, then it dies with probability . For RWD, we show a upper bound by considering the minimum probability guarantee of existence at each round, i.e., . Similarly, we show a lower bound, where .
Consequently, we demonstrate an exact, exponential-time approach to determine the precise cover time value for a general setting of stochastically-evolving graphs, including also the edge-independent model considered in this paper.
Finally, we conduct a series of experiments on calculating the cover time of RWA ( case) on various underlying graphs. We compare our experimental results with the achieved theoretical bounds.
1.3 Outline
In Section 2, we provide preliminary definitions and results regarding important concepts and tools that we use in later sections. Then, in Section 3, we define our model of stochastically-evolving graphs in a more rigorous fashion. Afterwards, in Sections 4 and 5, we provide the analysis of our cover time bounds when for determining the current state of an edge we take into account its last [math] and states, respectively. In Section 6, we demonstrate an exact approach for determining the cover time for general stochastically-evolving graphs. Then, in Section 7, we present some experimental results on, zero-step history, RWA cover time and compare them to the corresponding theoretical bounds in Section 4. Finally, in Section 8, we cite some concluding remarks.
2 Preliminaries
Let us hereby define a few standard notions related to a simple random walk performed by a single agent on a simple connected graph . By , we denote the degree, i.e., the number of neighbors, of a node . A simple random walk is a Markov chain where, for , we set , if , and , otherwise. That is, an agent performing the walk chooses the next node to visit uniformly at random amongst the set of neighbors of its current node. Given two nodes , , the expected time for a random walk starting from to arrive at is called the hitting time from to and is denoted by . The cover time of a random walk is the expected time until the agent has visited each node of the graph at least once. Let stand for the stochastic matrix describing the transition probabilities for a random walk (or, in general, a discrete-time Markov chain) where denotes the probability of transition from node to node , for all and for all . Then, the matrix consists of the transition probabilities to move from one node to another after time steps and we denote the corresponding entries as . Asymptotically, is referred to as the limiting distribution of . A stationary distribution for is a row vector such that and . That is, is not altered after an application of . If every state can be reached from another in a finite number of steps, i.e., is irreducible, and the transition probabilities do not exhibit periodic behavior with respect to time, i.e., , then the stationary distribution is unique and it matches the limiting distribution (Fundamental Theorem of Markov chains). The mixing time is the expected number of time steps until a Markov chain approaches its stationary distribution.
In order to derive lower bounds for RWA, we use the following graph family, commonly known as lollipop graphs, capturing the maximum cover time for a simple random walk, e.g. see [7, 15].
Definition 1**.**
A lollipop graph consists of a clique on nodes and a path on nodes connected with a cut-edge, i.e., an edge whose deletion makes the graph disconnected.
3 The Edge-Uniform Evolution Model
Let us define a general model of a dynamically evolving graph. Let stand for a simple, connected graph, from now on referred to as the underlying graph of our model. The number of nodes is given by , while the number of edges is denoted by . For a node , let stand for the open neighborhood of and for the (static) degree of . Note that we make no assumptions regarding the topology of , besides connectedness. We refer to the edges of as the possible edges of our model. We consider evolution over a sequence of discrete time steps (namely ) and denote by the infinite sequence of graphs , where and . That is, is the graph appearing at time step and each edge is either alive (if ) or dead (if ) at time step .
Let stand for a stochastic rule dictating the probability that a given possible edge is alive at any time step. We apply at each time step and at each edge independently to determine the set of currently alive edges, i.e., the rule is uniform with regard to the edges. In other words, let stand for a random variable where , if is alive at time step , or , otherwise. Then, determines the value of where is also determined by and denotes the history length, i.e., the values of , considered when deciding for the existence of an edge at time step . For instance, means no history is taken into account, while means the previous state of is taken into account when deciding for its current state.
Overall, the aforementioned Edge-Uniform Evolution model (shortly EUE) is defined by the parameters , and some initial input instance . In the following sections, we consider some special cases for and provide some first bounds for the cover time of under this model. Each time step of evolution consists of two stages: in the first stage, the graph is fixed for time step following , while in the second stage, the agent moves to a node in . Notice that, since is connected, then the cover time under EUE is finite, since models edge-specific delays.
4 Cover Time with Zero-Step History
We hereby analyze the cover time of under EUE in the special case when no history is taken into consideration for computing the probability that a given edge is alive at the current time step. Intuitively, each edge appears with a fixed probability at every time step independently of the others. More formally, for all and time steps , .
4.1 Random Walk with a Delay
A first approach toward covering with a single agent is the following: The agent is randomly walking as if all edges were present and, when an edge is not present, it just waits for it to appear in a following time step. More formally, suppose the agent arrives on a node with (static) degree at the second stage of time step . Then, after the graph is fixed for time step , the agent selects a neighbor of , say , uniformly at random, i.e., with probability . If , then the agent moves to and repeats the above procedure. Otherwise, it remains on until the first time step such that and then moves to . This way, acts as a delay probability, since the agent follows the same random walk it would on a static graph, but with an expected delay of time steps at each node. Notice that, in order for such a strategy to be feasible, each node must maintain knowledge about its neighbors in the underlying graph; not just the currently alive ones. From now on, we refer to this strategy for the agent as the Random Walk with a Delay (shortly RWD).
Now, let us upper bound the cover time of RWD by exploiting its strong correlation to a simple random walk on the underlying graph via Wald’s Equation (Theorem 1). Below, let stand for the cover time of a simple random walk on the static graph .
Theorem 1** ([24]).**
Let be a sequence of real-valued, independent and identically distributed random variables where is a nonnegative integer random variable independent of the sequence (in other words, a stopping time for the sequence). If each and have finite expectations, then it holds
[TABLE]
Theorem 2**.**
For any connected underlying graph evolving under the zero-step history EUE, the cover time for RWD is expectedly .
Proof.
Consider a simple random walk, shortly SRW, and an RWD (under the EUE model) taking place on a given connected graph . Given that RWD decides on the next node to visit uniformly at random based on the underlying graph, that is, in exactly the same way SRW does, we use a coupling argument to enforce RWD and SRW to follow the exact same trajectory, i.e., sequence of visited nodes.
Then, let the trajectory end when each node in has been visited at least once and denote by the total number of node transitions made by the agent. Such a trajectory under SRW will cover all nodes in expectedly time steps. On the other hand, in the RWD case, for each transition we have to take into account the delay experienced until the chosen edge becomes available. Let be a random variable, where stands for the actual delay corresponding to node transition in the trajectory. Then, the expected number of time steps till the trajectory is realized is given by . Since the random variables are independent and identically distributed by the edge-uniformity of our model, is a stopping time for them and all of them have finite expectations, then by Theorem 1 we get . ∎
For an explicit general bound on RWD, it suffices to use proved in [1].
A Modified Electrical Network.
Another way to analyze the above procedure is to make use of a modified version of the standard literature approach of electrical networks and random walks [9, 14]. This point of view gives us expressions for the hitting time between any two nodes of the underlying graph. That is, we hereby (in Lemmata 3, 4 and Theorem 5) provide a generalization of the results given in [9, 14] thus correlating the hitting and commute times of RWD to an electrical network analog and reaching a conclusion for the cover time similar to the one of Theorem 2.
In particular, given the underlying graph , we design an electrical network, , with the same edges as , but where each edge has a resistance of ohms. Let stand for the hitting time from node to node in , i.e. the expected number of time steps until the agent reaches after starting from and following RWD. Furthermore, let declare the electrical potential difference between nodes and in when, for each , we inject amperes of current into and withdraw amperes of current from a single node . We now upper-bound the cover time of under RWD by correlating to .
Lemma 3**.**
For all , holds.
Proof.
Let us denote by the current flowing between two neighboring nodes and . Then, since at each node the total inward current must match the total outward current (Kirchhoff’s first law). Moving forward, by Ohm’s law. Finally, since the sum of electrical potential differences forming a path is equal to the total electrical potential difference of the path (Kirchhoff’s second law). Overall, we can rewrite . Rearranging gives
[TABLE]
Regarding the hitting time from to , we rewrite it based on the first step:
[TABLE]
since the first addend represents the expected number of steps for the selected edge to appear due to RWD, and the second addend stands for the expected time for the rest of the walk.
Wrapping it up, since both formulas above hold for each , therefore inducing two identical linear systems of equations and variables, it follows that there exists a unique solution to both of them and . ∎
In the lemma below, let stand for the effective resistance between and , i.e., the electrical potential difference induced when flowing a current of one ampere from to .
Lemma 4**.**
For all , holds.
Proof.
Similarly to the definition of above, one can define as the electrical potential difference between and when amperes of current are injected into each node and of them are withdrawn from node . Next, note that changing all currents’ signs leads to a new network where for the electrical potential difference, namely , it holds . We can now apply the Superposition Theorem (see Section 13.3 in [6]) and linearly superpose the two networks implied from and creating a new one where amperes are injected into , amperes are withdrawn from and no current is injected or withdrawn at any other node. Let stand for the electrical potential difference between and in this last network. By the superposition argument, we get , while from Ohm’s law we get . The proof concludes by combining these two observations and applying Lemma 3. ∎
Theorem 5**.**
For any connected underlying graph evolving under the zero-step history EUE, the cover time for RWD is at most .
Proof.
Consider a spanning tree of . An agent, starting from any node, can visit all nodes by performing an Eulerian tour on the edges of (crossing each edge twice). This is a feasible way to cover and thus the expected time for an agent to finish the above task provides an upper bound on the cover time. The expected time to cover each edge twice is given by where is the edge-set of with . By Lemma 4, this is equal to . ∎
4.2 Random Walk on what’s Available
Random Walk with a Delay does provide a nice connection to electrical network theory. However, depending on , there could be long periods of time where the agent is simply standing still on the same node. Since the walk is random anyway, waiting for an edge to appear may not sound very wise. Hence, we now analyze the strategy of a Random Walk on what’s Available (shortly RWA). That is, suppose the agent has just arrived at a node after the second stage at time step and then is fixed after the first stage at time step . Now, the agent picks uniformly at random only amongst the alive incident edges at time step . Let stand for the degree of node in . If , then the agent does not move at time step . Otherwise, if , the agent selects an alive incident edge each having probability . The agent then follows the selected edge to complete the second stage of time step and repeats the strategy. In a nutshell, the agent keeps moving randomly on available edges and only remains on the same node if no edge is alive at the current time step. Below, let and .
Theorem 6**.**
For any connected underlying graph with min-degree and max-degree evolving under the zero-step history EUE, the cover time for RWA is at least and at most .
Proof.
Suppose the agent follows RWA and has reached node after time step . Then, becomes fixed and the agent selects uniformly at random a neighboring edge to move to. Let (where ) stand for a random variable taking value if the agent moves to node and [math] otherwise. For , let stand for the event that . Therefore, is exactly the probability out of the edges exist since each edge exists independently with probability . Now, let us consider the probability : the probability will be reached given that neighbors are present. This is exactly the product of the probability that is indeed in the chosen -tuple (say ) and the probability that then is chosen uniformly at random (say ) from the -tuple. since the model is edge-uniform and we can fix and choose any of the -tuples with in them out of the total ones. On the other hand, by uniformity. Overall, we get . We can now apply the total probability law to calculate
[TABLE]
To conclude, let us reduce RWA to RWD. Indeed, in RWD the equivalent transition probability is , accounting both for the uniform choice and the delay . Therefore, the RWA probability can be viewed as where . To achieve edge-uniformity we set which lower bounds the delay of each edge and finally we can apply the same RWD analysis by substituting by . Similarly, we can set the upper-bound delay to lower-bound the cover time. Applying Theorem 2 completes the proof. ∎
The value of used to lower-bound the transition probability may be a harsh estimate for general graphs. However, it becomes quite more accurate in the special case of a -regular underlying graph where . To conclude this section, we provide a worst-case lower bound on the cover time based on similar techniques as above.
Lemma 7**.**
There exists an underlying graph evolving under the zero-step history EUE such that the RWA cover time is at least .
Proof.
We consider the lollipop graph which is known to attain a cover time of for a simple random walk [7, 15]. Applying the lower bound from Theorem 6 completes the proof. ∎
5 Cover Time with One-Step History
We now turn our attention to the case where the current state of an edge affects its next state. That is, we take into account a history of length one when computing the probability of existence for each edge independently. A Markovian model for this case was introduced in [10]; see Table 1. The left side of the table accounts for the current state of an edge, while the top for the next one. The respective table box provides us with the probability of transition from one state to the other. Intuitively, another way to refer to this model is as the Birth-Death model: a dead edge becomes alive with probability , while an alive edge dies with probability .
Let us now consider an underlying graph evolving under the EUE model where each possible edge independently follows the aforementioned stochastic rule of evolution.
5.1 RWD for General -Graphs
Let us hereby derive some first bounds for the cover time of RWD via a min-max approach. The idea here is to make use of the ”being alive” probabilities to prove lower and upper bounds for the cover time parameterized by and .
Let us consider an RWD walk on a general connected graph evolving under EUE with a zero-step history rule dictating for any edge and time step . We refer to this walk as the Upper Walk with a Delay, shortly UWD. Respectively, we consider an RWD walk when the stochastic rule of evolution is given by . We refer to this specific walk as the Lower Walk with a Delay, shortly LWD. Below, we make use of UWD and LWD in order to bound the cover time of RWD in general -graphs.
Theorem 8**.**
For any connected underlying graph and the Birth-Death rule, the cover time of RWD is at least and at most .
Proof.
Regarding UWD, one can design a corresponding electrical network where each edge has a resistance of capturing the expected delay till any possible edge becomes alive. Applying Theorem 2, gives an upper bound for the UWD cover time.
Let stand for the UWD cover time and stand for the cover time of RWD under the Birth-Death rule. It now suffices to show to conclude.
In Birth-Death, the expected delay before each edge traversal is either , in case the possible edge is dead, or , in case the possible edge is alive. In both cases, the expected delay is upper-bounded by the delay of UWD and therefore follows since any trajectory under RWD will take at most as much time as the same trajectory under UWD.
In a similar manner, the cover time of LWD lower bounds the cover time of RWD and, by applying Theorem 2, we derive a lower bound of . ∎
6 An Exact Approach
So far, we have established upper and lower bounds for the cover time of edge-uniform stochastically-evolving graphs. Our bounds are based on combining extended results from simple random walk theory and careful delay estimations. In this section, we describe an approach to determine the exact cover time for temporal graphs evolving under any stochastic model. Then, we apply this approach to the already seen zero-step history and one-step history cases of RWA.
The key component of our approach is a Markov chain capturing both phases of evolution: the graph dynamics and the walk trajectory. In that case, calculating the cover time reduces to calculating the hitting time to a particular subset of Markov states. Although computationally intractable for large graphs, such an approach provides the exact cover time value and is hence practical for smaller graphs.
Suppose we are given an underlying graph and a set of stochastic rules capturing the evolution dynamics of . That is, can be seen as a collection of probabilities of transition from one graph instance to another. We denote by the (longest) history length taken into account by the stochastic rules. Like before, let stand for the number of nodes and for the number of possible edges of . We define a Markov chain with states of the form , where
- •
, is a -tuple of temporal graph instances, that is, for each , is the graph instance present time steps before the current one (which is )
- •
is the current position of the agent
- •
is the set of already covered nodes, i.e., the set of nodes which have been visited at least once by the agent
As described earlier for our edge-uniform model, we assume evolution happens in two phases. First, the new graph instance is determined according to the rule-set . Second, the new agent position is determined based on a random walk on what’s available. In this respect, consider a state and another state of the described Markov chain . Let denote the transition probability from to . We seek to express this probability as a product of the probabilities for the two phases of evolution. The latter is possible, since, in our model, the random walk strategy is independent of the graph evolution.
For the graph dynamics, let stand for the probability to move from a history-tuple to another history-tuple under the rules of evolution in . Note that, for , it must hold in order to properly maintain history, otherwise the probability becomes zero. On the other hand, for valid transitions, the probability reduces to , which is exactly the probability that becomes the new instance given the history of past instances (and any such probability is either given directly or implied by ).
For the second phase, i.e., the random walk on what’s available, we denote by the probability of moving from to on some graph instance . Since, the random walk strategy is only based on the current instance, we can derive a general expression for this probability, which is independent of the graph dynamics . Below, let stand for the set of neighbors of in graph instance . If , that is, if there is no possible edge between and , then for any temporal graph instance , it holds . The probability is also zero for all graph instances where the possible edge is not alive, i.e., . In contrast, if , then , since the agent chooses a destination uniformly at random out of the currently alive ones. Finally, if , then the agent remains still, with probability , only if there exist no alive incident edges. We summarize the above facts in the following equation:
[TABLE]
Overall, we combine the two phases in and introduce the following transition probabilities.
- •
If :
[TABLE]
- •
If :
[TABLE]
For , notice that only two cases may have a non-zero probability with respect to the growth of . If the newly visited node is already covered, then must be identical to since no new nodes are covered during this transition. Further, if a new node is not yet covered, then is updated to include it as well as all the covered nodes in .
For , the idea is that once such a state has been reached, and so all nodes are covered, then there is no need for further exploration. Therefore, such a state can be made absorbing. In this respect, let us denote the set of these states as .
Definition 2**.**
Let be the problem of determining the exact value of the cover time for an RWA on a graph stochastically evolving under rule-set .
Theorem 9**.**
Assume all probabilities of the form used in are exact reals and known a priori. Then, for any underlying graph and stochastic rule-set , it holds that .
Proof.
For each temporal graph instance, , in the worst case, there exist possibilities, since each of the possible edges is either alive or dead at a graph instance. For the whole history , the number of possibilities becomes by taking the product of such terms. There are possibilities for the walker’s position . Finally, for each , we only allow states such that . Therefore, since we fix , there are up to nodes to be included or not in leading to a total of possibilities for . Taking everything into account, has a total of states.
Let stand for the hitting time of when starting from a state . Assuming exact real arithmetic, we can compute all such hitting times by solving the following system (Theorem 1.3.5 [21]):
[TABLE]
Let stand for the cover time of an RWA on evolving under . By definition, the cover time is the expected time till all nodes are covered, regardless of the position of the walker at that time. Consider the set of start positions for the agent as depicted in . Then, it follows , where we take the worst-case hitting time to a state in over any starting position of the agent. In terms of time complexity, computing requires computing all values , for every . To do so, one must solve the above linear system of size , which can be done in time exponential to input parameters and . ∎
It’s noteworthy to remark that this approach is general in the sense that there are no assumptions on the graph evolution rule-set besides it being stochastic, i.e., describing the probability of transition from each graph instance to another given some history of length . In this regard, Theorem 9 captures both the case of Markovian Evolving Graphs [3] and the case of Edge-Uniform Graphs considered in this paper. We now proceed and show how the aforementioned general approach applies to the zero-step and one-step history cases of Edge-Uniform Graphs. To do so, we calculate the corresponding graph-dynamics probabilities. The random walk probabilities are given in Equation 1.
RWA on Edge-Uniform Graphs (Zero-Step History).
Based on the general model, we rewrite the transition probabilities for the special case when RWA takes place on an edge-uniform graph without taking into account any memory, i.e., the same case as in Section 4. Notice that, since past instances are not considered in this case, the history-tuple reduces to a single graph instance . We rewrite the transition probabilities, for the case , as follows:
[TABLE]
Let stand for the number of edges alive in . Since there is no dependence on history and each edge appears independently with probability , we get .
RWA on Edge-Uniform Graphs (One-Step History).
We hereby rewrite the transition probabilities for a Markov chain capturing an RWA taking place on an edge-uniform graph where, at each time step, the current graph instance is taken into account to generate the next one. This case is related to the results in Section 5. Due to the history inclusion, the transition probabilities become more involved than those seen for the zero-history case. Again, we consider the non-absorbing states, where .
[TABLE]
If , i.e., if it does not hold that, for each , if and only if , then , otherwise the history is not properly maintained. On the other hand, if , then . To derive an expression for the latter, we need to consider all edge (mis)matches between and , and properly apply the Birth-Death rule (Table 1). Below, we denote by the set of possible edges of , which are dead at instance . Let , , and . Each of the edges was dead in and remained dead in , with probability . Similarly, each of the edges was dead in and became alive in , with probability . Also, each of the edges was alive in and died in , with probability . Finally, each of the edges was alive in and remained alive in , with probability . Overall, due to the edge-independence of the model, we get .
7 Experimental Results
In this section, we discuss some experimental results to complement our previously-established theoretical bounds. We simulate an RWA taking place in graphs evolving under the zero-step history model. We provide an experimental estimation of the value of the cover time for such a walk. To do so, for each specific graph and value of considered, we repeat the experiment a large number of times, e.g., at least times. In the first experiment, we start from a graph instance with no alive edges. At each step, after the graph evolves, the walker picks uniformly at random an incident alive edge to traverse. The process continues till all nodes are visited at least once. Each next experiment commences with the last graph instance of the previous experiment as its first instance.
We construct underlying graphs in the following fashion: given a natural number , we initially construct a path on nodes, namely . Afterward, for each two distinct nodes and , we add an edge with probability equal to a randomThreshold parameter. For instance, means the graph remains a path. On the other hand, for , the graph becomes a clique.
In Tables 2, 3 and 4, we display the average cover time, rounding it to the nearest natural number, computed in some indicative experiments for equal to , and respectively. Consequently, we provide estimates for a lower and an upper bound on the temporal cover time. In this respect, we experimentally compute a value for the cover time of a simple random walk in the underlying graph, i.e., the static cover time. Then, we plug in this value in place of to apply the bounds given in Theorem 6. Overall, the temporal cover times computed appear to be within their corresponding lower and upper bounds.
8 Conclusions
We defined the general Edge-Uniform Evolution model for a stochastically-evolving graph, where a single stochastic rule is applied, but to each edge independently, and provided lower and upper bounds for the cover time of two random walks taking place on such a graph (cases ). Moreover, we provided a general framework to compute the exact cover time of a broad family of stochastically-evolving graphs in exponential time.
An immediate open question is to obtain a good lower/upper bound for the cover time of RWA in the Birth-Death model. In this case, the problem becomes quite more complex than the case. Depending on the values of and , the walk may be heavily biased, positively or negatively, toward possible edges incident to the walker’s position, which were used in the recent past.
Acknowledgments.
We would like to acknowledge two anonymous reviewers for spotting technical errors in the previously attempted analysis of the one-step history RWA. Also, we acknowledge another anonymous reviewer, who suggested using Theorem 2 as an alternative to electrical network theory and some other useful modifications.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Aleliunas, R. Karp, R. Lipton, L. Lovasz, and C.Rackoff, Random walks, universal traversal sequences and the complexity of maze problems, In 20th IEEE Annual Symposium on Foundations of Computer Science , pp. 218-223, 1979.
- 2[2] D. Aldous and J.A. Fill, Reversible Markov Chains and Random Walks on Graphs , Unfinished Monograph , 2002.
- 3[3] C. Avin, M. Koucký, and Z. Lotker, How to Explore a Fast-Changing World (Cover Time of a Simple Random Walk on Evolving Graphs), In Proceedings of the 35th international colloquium on Automata, Languages and Programming (ICALP ’08) , Springer, pp. 121-132, 2008.
- 4[4] J. Bar-Ilan and D. Zernik, Random leaders and random spanning trees, WDAG 89 , pp. 1-12, 1989.
- 5[5] H. Baumann, P. Crescenzi, and P. Fraigniaud, Parsimonious flooding in dynamic graphs, In Proceedings of the 28th ACM symposium on Principles of distributed computing (PODC ’09) , ACM, pp. 260-269, 2009.
- 6[6] J. Bird, Electrical Circuit Theory and Technology, 5th Ed., Routledge, 2013.
- 7[7] G. Brightwell and P. Winkler, Maximum hitting time fo random walks on graphs, Random Structures and Algorithms , vol. 1, pp. 263-276, 1990.
- 8[8] M. Bui, T. Bernard, D. Sohier and A. Bui, Random Walks in Distributed Computing: A Survey, IICS 2004 , LNCS 3473, pp. 1-14, Springer, 2006.
