Random Walks and Universal Sequences

Similar documents
Bounds for Edge-Cover by Random Walks

Maximum Hitting Time

On Traversal and Exploration Sequences

SAT-CNF Is N P-complete

CSC2420 Fall 2012: Algorithm Design, Analysis and Theory An introductory (i.e. foundational) level graduate course.

On the Complexity of the Policy Improvement Algorithm. for Markov Decision Processes

1 Random Walks on Graphs

How can we lay cable at minimum cost to make every telephone reachable from every other? What is the fastest route between two given cities?

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

A TIGHT BOUND ON THE LENGTH OF ODD CYCLES IN THE INCOMPATIBILITY GRAPH OF A NON-C1P MATRIX

Edge-disjoint Spanning Trees in Triangulated Graphs on Surfaces and application to node labeling 1

Acyclic Edge Colorings of Graphs

Number Theory and Graph Theory

Graph Exploration: How to do better than the random walk? Adrian Kosowski. INRIA Bordeaux Sud-Ouest.

ACO Comprehensive Exam March 19 and 20, Computability, Complexity and Algorithms

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

Introduction to Graph Theory

Math 170- Graph Theory Notes

Treewidth and graph minors

Acyclic Edge Colorings of Graphs

V :non-empty vertex ornode set E V V :edge set G (V, E) :directed graph on V, or digraph on V

Math 776 Graph Theory Lecture Note 1 Basic concepts

Linear Advice for Randomized Logarithmic Space

HAMILTON CYCLES IN RANDOM LIFTS OF COMPLETE GRAPHS

CS 6783 (Applied Algorithms) Lecture 5

Greedy Algorithms 1. For large values of d, brute force search is not feasible because there are 2 d

Lecture 8: The Traveling Salesman Problem

2 The Mixed Postman Problem with Restrictions on the Arcs

Log-Space. A log-space Turing Machine is comprised of two tapes: the input tape of size n which is cannot be written on, and the work tape of size.

Modular Representations of Graphs

The complement of PATH is in NL

Labeling Schemes for Vertex Connectivity

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v.

Studying Graph Connectivity

A new NC Algorithm for Perfect Matching in Bipartite Cubic Graphs

Motion Planning in Certain Lexicographic Product Graphs

Algorithmic Aspects of Acyclic Edge Colorings

EDGE-COLOURED GRAPHS AND SWITCHING WITH S m, A m AND D m

The External Network Problem

arxiv: v2 [cs.cc] 29 Mar 2010

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017

Greedy Algorithms 1 {K(S) K(S) C} For large values of d, brute force search is not feasible because there are 2 d {1,..., d}.

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Lecture 7. s.t. e = (u,v) E x u + x v 1 (2) v V x v 0 (3)

GRAPH DECOMPOSITION BASED ON DEGREE CONSTRAINTS. March 3, 2016

Excellent graphs Preethi Kuttipulackal Mixed Tree Domination in Graphs Thesis. Department of Mathematics, University of Calicut, 2012

Decreasing the Diameter of Bounded Degree Graphs

1 The Traveling Salesperson Problem (TSP)

Varying Applications (examples)

Network Design Foundations Fall 2011 Lecture 10

ON SWELL COLORED COMPLETE GRAPHS

Algorithms for Grid Graphs in the MapReduce Model

Math 778S Spectral Graph Theory Handout #2: Basic graph theory

Graph Theory CS/Math231 Discrete Mathematics Spring2015

Hardness of Subgraph and Supergraph Problems in c-tournaments

Stanford University CS261: Optimization Handout 1 Luca Trevisan January 4, 2011

Induced-universal graphs for graphs with bounded maximum degree

Lecture Notes on Karger s Min-Cut Algorithm. Eric Vigoda Georgia Institute of Technology Last updated for Advanced Algorithms, Fall 2013.

(Refer Slide Time: 0:19)

On the Convexity Number of Graphs

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

Lecture 22 Tuesday, April 10

On expander graphs and connectivity in small space

Using Spam Farm to Boost PageRank p. 1/2

Stanford University CS359G: Graph Partitioning and Expanders Handout 18 Luca Trevisan March 3, 2011

Modeling web-crawlers on the Internet with random walksdecember on graphs11, / 15

Finding a -regular Supergraph of Minimum Order

Material handling and Transportation in Logistics. Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena

Unit 2: Graphs and Matrices. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie

Rigidity, connectivity and graph decompositions

Graph Theory. Part of Texas Counties.

13 th Annual Johns Hopkins Math Tournament Saturday, February 19, 2011 Automata Theory EUR solutions

Edge intersection graphs. of systems of grid paths. with bounded number of bends

Approximation Algorithms

A Lower Bound for the Distributed Lovász Local Lemma

Embedding a graph-like continuum in some surface

Decision Problems. Observation: Many polynomial algorithms. Questions: Can we solve all problems in polynomial time? Answer: No, absolutely not.

All-Pairs Nearly 2-Approximate Shortest-Paths in O(n 2 polylog n) Time

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem

An Introduction to Chromatic Polynomials

Journal of Graph Algorithms and Applications

Theorem 2.9: nearest addition algorithm

2. CONNECTIVITY Connectivity

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

Chordal Graphs: Theory and Algorithms

Orthogonal art galleries with holes: a coloring proof of Aggarwal s Theorem

Algorithms for Euclidean TSP

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Subdivisions of Graphs: A Generalization of Paths and Cycles

SOME GRAPHS WITH n- EDGE MAGIC LABELING

Distributed Approximate Matching

Lecture 6: Spectral Graph Theory I

Advanced Methods in Algorithms HW 5

Two Approximation Algorithms for 3-Cycle Covers

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

1 Digraphs. Definition 1

Characterisation of Restrained Domination Number and Chromatic Number of a Fuzzy Graph

Graph Theory Day Four

Discrete Mathematics

Computing NodeTrix Representations of Clustered Graphs

Transcription:

Random Walks and Universal Sequences Xiaochen Qi February 28, 2013 Abstract A random walk is a chance process studied in probability, which plays an important role in probability theory and its applications. The first connection linking random walk theory to computer science is the study based on the question of universal sequences, which is related to some problems of computation complexity. We introduce Stephen Cook s original question on universal sequences, and provide a theorem as the answer to it. Then we demonstrate the proof of this theorem provided by Aleliunas et al[1], which depends on the analysis of random walks in undirected graphs. 1 Introduction The question of universal sequences was proposed by Stephen Cook with the motivation for the proof of lower bounds on the space complexity of the reachability problem. Cook s question[1] was set on n-vertex d-regular graph G, which means each vertex has a fixed degree d. For each vertex v, let edges incident with v be labelled distinctly with 0, 1,, d 1. Note that the labels are assigned arbitrarily, which means that each endpoint of an edge can be labelled in a different manner. A sequence σ in {0, 1,, d 1}, is said to traverse G from v, if starting from vertex v following sequence σ, one covers all the vertices in G. σ is called n universal if it can traverse every n-vertex graph with degree d, from every starting vertex v. So the question was: are there always short n-universal sequences? (Here short means of polynomial in n.) So if short n-universal sequences always exists, then the space complexity of reachability problem in undirected graph is logspace. Let T n be a two-way finite automaton to solve the readability problem on input n. Just let T n follow a sequence of move instructions and then Dartmouth College, Hanover, NH. 1

stop, the problem can be solved. Aleliunas et al, gave us the result that universal sequences do exists: Theorem 1.1. There is an n-universal sequence of length O(n 3 log n). depends only on the fixed degree d.) (Implied constant To prove this theorem, we need not only to analyze random walk in an undirected graph, but also to use a probabilistic method with a small probability of failure that can be made arbitrarily small. The proof for this theorem is a good example for probabilistic algorithm s application. Before turning to the proof of the existence of universal sequences, we shall look into the properties of random walks on undirected graphs first. 2 Preliminaries Let G be an n-vertex undirected connect graph. d i denotes the degree of vertex i. e is the number of edges in G, which is 1 d i. Consider a random walk on G, the transition 2 probability P ij is: i 0 if {i, j} is not an edge P ij = 1 otherwise d i Let E i τ j denote the expected time starting from i to reach j. E i τ i is the mean return time of vertex i. Lemma 2.1. For each vertex i of G, E i τ i = 2e d i Proof. (cf. [2]) Let π i be the stationary probability of vertex i. Stationary distribution π = (π 1, π 2,, π n ) satisfies: πp = π and i π i = 1 It s easy to verify that π i = d i 2e. Note that the stationary probability of a vertex is the reciprocal of its mean return time. Just think one has probability π i to get back to i, which means it takes 1 π i time or steps to get back once. For any edge {i, j} in G, we have π i p ij = d i 2e 1 = 1, which shows that the frequency of d i 2e an edge to be traversed from i to j is 1 2e in long-run. 2

Lemma 2.2. For any adjacent vertices i and j in G, E i τ j + E j τ i 2e (commute time from i to j and back to i) Proof. Notice that in long-run the mean time it takes to traverse i j is 2e. Actually this is a upper bound for the commute time. Consider the worst case: edge {i, j} is a bridge in G, which means before traverse i j again, one cannot return to i. Thus the commute time of any two adjacent vertices is no greater than 2e. Define C G as the expected time to traverse all the vertices in G, also known as the cover time of G. Lemma 2.3. C G 2e(n 1) Proof. Let H be a spanning tree of G, then one can traverse all vertices starting and ending at one vertex i. And each edge in H is traversed in each direction once. Let the sequence of vertices traversed be i 0, i 1,, i 2n 2. Note that i = i 0 = i 2n 2. Obviously, the cover time C G is no greater than the expected time to traverse all the vertices following order in this sequence. The expected traversal time of H is: E i0 τ i1 + E i0 τ i1 + +E i2n 3 τ i2n 2 = E i τ j By Lemma 2.2, the sum is no more than 2e(n 1) {i,j} H + E j τ i Lemma 2.2 and Lemma 2.3 can also be proved by using Chandra s Theorem, that is: the commute time between two vertices s and t (the expected length of a random walk from s to t and back) is precisely characterized by the effctive resistance R between s and t: commute time is 2eR[3]. For adjacent vertices i, j, the effective resistance is at most 1. It s equal to 1 when the edge {i, j} is a bridge. For effective resistance of a graph, from Foster s Theorem[4] we know it s n 1. Both are consistent with the proof provide above. 3 The existence of universal sequences The analysis of random walks on undirected graphs give us a loose upper bound of cover time, which can result in the existence of universal sequences via the probabilistic method. 3

The main idea is to show that expected number of n-vertex d-regular graphs the O(n 3 log n) random sequence fails to traverse is less than 1, which means the universal sequence must exist. Proof. Let σ be a random sequence in {0, 1,, d 1} of length: L = 2dn(n 1)(dn + 2) log 2 n Again, we have to ensure that the each label in this sequence is independent and the d characters are equally likely to be chosen to form the sequence. We also need random variables to record the success or failure of a walk following σ for all the labelled n-vertex d-regular graphs. Let X G,v be the family of random variables for the set of labelled n-vertex d-regular graphs, which is indexed by the specific graph G and some starting vertex v. Define X G,v as follows: 0 if starting from v, following σ, X G,v = one fails to traverse all the vertices in G 1 otherwise, success Define random variable Ỹ = XG,v, the sum of expectation of counter examples of all n- vertex d-regular graph, that is to say, Ỹ is the counter of failures. By definition, if Ỹ = 0, then σ is n-universal. So the key to prove that n-universal sequences exist, is to show that when σ is a random sequence, then Ỹ has to be less than 1. We have E(Ỹ ) = E( X G,v ) because expectation is linear. To prove that E(Ỹ ) is less than 1 means to prove that for each G, v, E( X G,v ) is less than some value which depends on n and d. Consider σ is concatenated of N = (dn + 2) log 2 n random subsequences s 1, s 2,, s N each with length l = 2dn(n 1). Note that each subsequence is independent with each other, which means there s no overlapping between any of them. By Lemma 2.3, the cover time of such n-vertex d-regular graph G, C G 2e(n 1) = dn(n 1). Also by Markov s Theorem[5], P ( C G t) C G t, here C G is a random variable for the time to traverse all vertices in G, starting from some vertex v. In this case is: P ( C G l) C G l 1 2 4

This directly indicates that the probability of the the time to traverse all vertices in G with no less than time l is no more than 1, which means if we follow a random variable σ with length 2 l, we have the same probability to fail to traverse all the vertices. Hence the expectation of X G,v is no greater than 1 2. To compute the probability that none of the subsequences s 1, s 2,, s N will cover all the sequences in graph G starting from vertex v, since each subsequence is independent, we have: E( X G,v ) 2 N = 2 (dn+2) log2n n (dn+2) We also have a upper bound for the number of labelled n-vertex d-regular graphs. The number of such graphs is less than n dn. Just consider that for each vertex we have less than n d choices of edges. Finally, we get: E(Ỹ ) = E( X G,v ) n dn n n (dn+2) = n 1 < 1 Note that the n in the middle is the number of choices for the starting vertex. Thus the n-universal sequences of length O(n 3 log n) exists. 4 Conclusions The proof of existence of n-universal sequences gives an affirmative answer to S. Cook s question and thus proves the lower bound of space complexity of reachability problem in unditected graphs. In comparison, universal sequences for directed graphs are of larger length(o(d n )), and the structure of reachability problem for directed graphs is quite different and more complex than that for undirected graphs. Also there are still some questions open. First is that even we have proved the existence of universal sequences, but no one has ever been able to find one such sequence. That s the magic of probabilistic method, which one can prove the existence without providing one instance. Secondly, whether this bound can be improved is yet to be answered. 5

References [1] R. Aleliunas, R.M. Karp, R.J. Lipton, L. Lovász and C. Rackoff. (1979) Random walks, universal traversal sequences, and the complexity of maze traversal, Proceedings of the 20th IEEE Symposium on Foundations of Computer Science, pp. 218-233. [2] F. Göbel and A. Jagers. (1974) Random walks on graphs. Stochastic Processes and their Applications, 2:311-336. [3] Chandra, A. K., Raghavan, P., Ruzzo, W. L, Smolensky, R. and Tiwari, P. (1989) The electrical resistance of a graph captures its commute and cover times. Proc. of the 21st Annual ACM Symp. on Theory of Computing 574-586. [4] Foster, R. M. (1949) The Average impedance of an electrical network. Contributions to Applied Mechanics (Reissner Anniversary Volume), Edwards Bros., Ann Arbor, Mich. 333-340. [5] Markov, A. (1884) On certain applications of algebraic continued fractions, Ph.D. thesis, St Petersburg. 6