Undirected ST-Connectivity in Log-Space Omer Reingold Weizmann Institute.

Slides:



Advertisements
Similar presentations
Randomness Conductors Expander Graphs Randomness Extractors Condensers Universal Hash Functions
Advertisements

The Weizmann Institute
Walk the Walk: On Pseudorandomness, Expansion, and Connectivity Omer Reingold Weizmann Institute Based on join works with Michael Capalbo, Kai-Min Chung,
Randomness Conductors (II) Expander Graphs Randomness Extractors Condensers Universal Hash Functions
Pseudorandom Walks: Looking Random in The Long Run or All The Way? Omer Reingold Weizmann Institute.
Parikshit Gopalan Georgia Institute of Technology Atlanta, Georgia, USA.
Linear-Degree Extractors and the Inapproximability of Max Clique and Chromatic Number David Zuckerman University of Texas at Austin.
A Combinatorial Construction of Almost-Ramanujan Graphs Using the Zig-Zag product Avraham Ben-Aroya Avraham Ben-Aroya Amnon Ta-Shma Amnon Ta-Shma Tel-Aviv.
The Cover Time of Random Walks Uriel Feige Weizmann Institute.
Algorithms (and Datastructures) Lecture 3 MAS 714 part 2 Hartmut Klauck.
Problems and Their Classes
Approximate List- Decoding and Hardness Amplification Valentine Kabanets (SFU) joint work with Russell Impagliazzo and Ragesh Jaiswal (UCSD)
1 Decomposing Hypergraphs with Hypertrees Raphael Yuster University of Haifa - Oranim.
Distance and Routing Labeling Schemes in Graphs
Determinant Sums (and Labeled Walks) for Undirected Hamiltonicity
STCON in Directed Unique-Path Graphs Sampath Kannan Sanjeev Khanna Sudeepa Roy University of Pennsylvania 1.
Algorithms and Networks
Noga Alon Institute for Advanced Study and Tel Aviv University
Amnon Ta-Shma Uri Zwick Tel Aviv University Deterministic Rendezvous, Treasure Hunts and Strongly Universal Exploration Sequences TexPoint fonts used in.
Two Query PCP with Sub-constant Error Dana Moshkovitz Princeton University Ran Raz Weizmann Institute 1.
All Rights Reserved © Alcatel-Lucent 2006, ##### Matthew Andrews, Alcatel-Lucent Bell Labs Princeton Approximation Workshop June 15, 2011 Edge-Disjoint.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
(Omer Reingold, 2005) Speaker: Roii Werner TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A AA A A A A AA A.
Undirected ST-Connectivity in Log-Space Author: Omer Reingold Presented by: Yang Liu.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Constant Degree, Lossless Expanders Omer Reingold AT&T joint work with Michael Capalbo (IAS), Salil Vadhan (Harvard), and Avi Wigderson (Hebrew U., IAS)
Undirected ST-Connectivity 2 DL Omer Reingold, STOC 2005: Presented by: Fenghui Zhang CPSC 637 – paper presentation.
EXPANDER GRAPHS Properties & Applications. Things to cover ! Definitions Properties Combinatorial, Spectral properties Constructions “Explicit” constructions.
Undirected ST-Connectivity in Log-Space By Omer Reingold (Weizmann Institute) Year 2004 Presented by Maor Mishkin.
Analysis of Algorithms CS 477/677
Collective Additive Tree Spanners of Homogeneously Orderable Graphs
Collective Tree Spanners of Graphs with Bounded Parameters F.F. Dragan and C. Yan Kent State University, USA.
1 Algorithmic Aspects in Property Testing of Dense Graphs Oded Goldreich – Weizmann Institute Dana Ron - Tel-Aviv University.
Zig-Zag Expanders Seminar in Theory and Algorithmic Research Sashka Davis UCSD, April 2005 “ Entropy Waves, the Zig-Zag Graph Product, and New Constant-
Expanders Eliyahu Kiperwasser. What is it? Expanders are graphs with no small cuts. The later gives several unique traits to such graph, such as: – High.
Complexity 1 Mazes And Random Walks. Complexity 2 Can You Solve This Maze?
1 Constructing Pseudo-Random Permutations with a Prescribed Structure Moni Naor Weizmann Institute Omer Reingold AT&T Research.
Ramanujan Graphs of Every Degree Adam Marcus (Crisply, Yale) Daniel Spielman (Yale) Nikhil Srivastava (MSR India)
Undirected ST-Connectivity In Log Space
Undirected ST-Connectivity In Log Space Omer Reingold Slides by Sharon Bruckner.
1 Entropy Waves, The Zigzag Graph Product, and New Constant-Degree Expanders Omer Reingold Salil Vadhan Avi Wigderson Lecturer: Oded Levy.
MA/CSSE 473 Day 12 Insertion Sort quick review DFS, BFS Topological Sort.
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
Pseudorandomness Emanuele Viola Columbia University April 2008.
Edge-disjoint induced subgraphs with given minimum degree Raphael Yuster 2012.
Graphs Data Structures and Algorithms A. G. Malamos Reference Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou, and U. V. Vazirani Introduction to Algorithms,Third.
15-853:Algorithms in the Real World
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
NP-Complete problems.
Data Structures and Algorithms in Parallel Computing Lecture 2.
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
RANDOMNESS VS. MEMORY: Prospects and Barriers Omer Reingold, Microsoft Research and Weizmann With insights courtesy of Moni Naor, Ran Raz, Luca Trevisan,
Complexity and Efficient Algorithms Group / Department of Computer Science Testing the Cluster Structure of Graphs Christian Sohler joint work with Artur.
Derandomized Constructions of k -Wise (Almost) Independent Permutations Eyal Kaplan Moni Naor Omer Reingold Weizmann Institute of ScienceTel-Aviv University.
Almost SL=L, and Near-Perfect Derandomization Oded Goldreich The Weizmann Institute Avi Wigderson IAS, Princeton Hebrew University.
1 Entropy Waves, The Zigzag Graph Product, and New Constant-Degree Expanders Omer Reingold Salil Vadhan Avi Wigderson Lecturer: Oded Levy.
Coding, Complexity and Sparsity workshop
Algorithms and Networks
From dense to sparse and back again: On testing graph properties (and some properties of Oded)
Space-efficient graph algorithms
Amnon Ta-Shma Uri Zwick
Complexity of Expander-Based Reasoning and the Power of Monotone Proofs Sam Buss (UCSD), Valentine Kabanets (SFU), Antonina Kolokolova.
Bart M. P. Jansen June 3rd 2016, Algorithms for Optimization Problems
On the effect of randomness on planted 3-coloring models
Raphael Yuster Haifa University Uri Zwick Tel Aviv University
Undirected ST-Connectivity In Log Space
The Zig-Zag Product and Expansion Close to the Degree
For Friday Read chapter 9, sections 2-3 No homework
Presentation transcript:

Undirected ST-Connectivity in Log-Space Omer Reingold Weizmann Institute

Undirected ST-Connectivity

How to explore a maze? Random Mouse Wall Follower Recursive Backtracker Tremaux's Algorithm Dead End Filler Cul-de-sac Filler Blind Alley Sealer Blind Alley Filler Collision Solver Shortest Paths Finder Shortest Path Finder labyrnth/algrithm.htmRandom Mouse Wall Follower Recursive Backtracker Tremaux's Algorithm Dead End Filler Cul-de-sac Filler Blind Alley Sealer Blind Alley Filler Collision Solver Shortest Paths Finder Shortest Path Finder labyrnth/algrithm.htm labyrnth/algrithm.htm labyrnth/algrithm.htm Exploring a maze in polynomial time for dummies This work, in particular, gives (universal exploration sequence [Koucky 01]):

Undirected ST-Connectivity (USTCON) Basic graph problem. Extensively studied. Time complexity – well understood: Two linear time algorithms, BFS and DFS, are known and used at least since the 1960s (context of AI, mazes, wiring of circuits, …). Work also for the directed case. … G st

What About Space (Memory)? Our focus: space complexity of USTCON. BFS and DFS require linear space. Best we could hope for – logarithmic space (needed for holding even a single vertex!) [Savitch 70] st-connectivity in space O(log 2 N). [Aleliunas, Karp, Lipton, Lovasz, Rackoff 79] Randomized space O(log N) for USTCON. The algorithm: take a, polynomially long, random walk from s and see if you reach t.

Can Randomness Save Space? Thrown into the context of derandomization: Can the random walk algorithm be derandomized without substantial increase in space? Gain additional motivation as an important test case for the more general question: What is the tradeoff between these two central resources of computations? ).Gain the tools of derandomization (particularly, pseudorandom generators that fool space- bounded algorithms [AKS87, BNS89, Nisan90, INW94]).

Log-Space Complexity classes L – deterministic space O(log N) NL – non deterministic space O(log N) Complete problem: st-connectivity in directed graphs. SL – Symmetric, non deterministic space O(logN) Complete problem: undirected st-connectivity. RL – Randomized space O(log N). Conclusion: L SL RL NL L 2 Open problems: SL=L ? RL=L ? (NL=L ?)

Few Highlights of Previous Work [Nisan 90] – powerful pseudorandom generator for space bounded computations. [Nisan 92] Poly-time, space-O(log 2 N) algorithm for RL. [Nisan,Szemerédi,Wigderson 92] SL L 3/2 [Nisan,Ta-Shma 95] SL closed under complement many more interesting problems in SL (an hierarchy of classes collapses to SL). [Saks,Zhou 95] RL L 3/2 [Armoni,Ta-Shma,Wigderson,Zhou 97]: SL L 4/3

Main Result of This Work Previously known: L SL L 4/3 ; SL RL Here: Undirected st-connectivity in deterministic log-space (and polynomial time) SL = L Independently: [Trifonov 04] SL in deterministic space O(log N loglog N) Additional results: universal traversal and exploration sequences, pseudorandom generators

Symmetric LogSpace [ Lewis, Papadimitriou 82] Quite a few problems in SL [Reference - Alvarez, Greenlaw 96]: Bounded degree planarity 2-Colorability (Nonbipartiteness) Chordal graph Interval graph Split graph Permutation graph … By this work, all of these problems in L

This Talk: Undirected Connectivity G is connected if every two vertices u,v are connected by a path. … G uv

Our Approach If you want to solve a connectivity problem on your input graph, first improve its connectivity. Give log-space transformation that turns a connected graph into a constant degree expander (= sparse but highly connected graph). Overview of the algorithm: First transform your input graph G into a constant degree expander G. Verify that G is connected. (Easy)

Dual Defs of Expander Graphs S ½ n For every set S of ( ½ n ) vertices Neighbors(S) (1+α) S Neighbors(S) (1+α) S Expansion parameter (G) : 2 nd largest eigenvalue (in abs. value) of normalized adjacency matrix. Duality due to [Tan84, AM84,Alo86]. For this talk enough to remember: 0 1 ; = 1 = 00 1 ; ( = 1 not an expander; = 0 perfect expander) 1/2< 1 1/2 an expander (any constant < 1 will do).

Connectivity in Expander Graphs Expander graphs have a logarithmic diameter (i.e., every two vertices are connected by a short path) For a constant degree G, easy to separate two cases: G is an expander. G is not connected. The algorithm: for every two vertices u,v check all logarithmically long paths from u and verify that one of them reaches v (only polynomial number of such paths).

Turning Into a Constant degree Expander –Warm Up 3Phase 0 : obtaining any constant degree D 3 Replacement product with a cycle: u u (u, 1 ) (u, 7 ) (u, 2 ) (u, 3 ) (u, 6 ) (u, 5 ) (u, 4 )

First attempt: Graph Powering Important: G is (D-regular), connected and non-bipartite G is a slight expander. 1-1/(DN 2 ) [Alon Sudakov] (G) 1-1/(DN 2 ) Squaring a graph: G G 2 : for every path of length 2 in G, put an edge in G 2 (allow parallel edges). Similarly, raising to a power c. Easy fact: (G c ) = ( ( G)) c Conclusion: Squaring O(log N) times will turn G into an expander. Problem: no longer constant degree.

Short Detour: Two Graph Products Context: a simple combinatorial construction w/simple analysis of constant degree expanders [Reingold, Vadhan, Wigderson 00]. Idea: start with a constant size expander and make it larger. This is easy, but degree becomes larger too. Sounds familiar?

Reducing Degree, Preserving Expansion [RVW 00]: a method to reduce the degree of a graph while not harming its expansion by much. For that, introduced a new graph product - the zig-zag product. Similarly for the balanced replacement product. For the balanced replacement product, also follows from a decomposition theorem for Markov chains, given independently by [Martin, Randall 00]. The setting of parameters is very different than ours, but analysis is sufficiently strong.

Balanced Replacement Product H is of degree d (G ® H) of degree 2d. [RVW00,MR00] If H is an expander then (G) 1 - ( G ® H ) 1 - /4 u u (u, 8 ) (u, 7 ) (u, 2 ) (u, 3 ) (u, 6 ) (u, 5 ) (u, 4 ) 1 (u,1) H

Putting It All Together Let H be an expander on D= (2d) 10 vertices of degree d. Phase 0: transform the input graph G (on N vertices) into a D-regular (non-bipartite) G 0. Phase i: Set G i+1 =(G i ® H) 10. For L=O(log N), verify that G L is connected. Correctness: (G i ) = 1 - ( G i ® H ) 1 - /4 ( G i+1 ) (1 - /4 ) 10 max {1/2, ( (G i )) 2 } ( If G is connected) (G L ) 1/2

Logarithmic Space Phase 0: transform the input graph G (on N vertices) into a D-regular (non-bipartite) G 0. Phase i: Set G i+1 =(G i ® H) 10. For L=O(log N), verify that G L is connected. Each phase (i>0) costs a constant amount in space: Powering and replacement very local and simple. G i+1 is not much more complicated than G i. A step on G i+1 is composed of a constant number of operations, either a step on G i or require constant space (e.g. a step on H).

Technical Comparison With Previous Techniques [Savitch 70] reduces the diameter of the graph in O(log N) phases (constant degree not preserved). We work with a stronger parameter of connectivity. [NSW 92, ATWZ97] improve upon Savitch, by reducing the number of phases. Each phase shrinks the graph. We deviate in two ways: (a) Back to O(logN) phases (b) Enlarge the graph.

Profiteroles: Universal Traversal and Exploration Sequences Universal-traversal sequence (UTS) introduced by Cook in the late 70's with the motivation of proving SL=L. (N,D)-UTS: a sequence of edge labels in [D]. Guides a walk through all of the vertices of any D-regular graph on N vertices. [AKLLR79] poly-long UTS exist (probabilistic). [Nisan 90] Explicit, length-N log N UTS. Explicit polynomial-length UTS only for very few and limited cases (e.g., cycles [Istrail88]).

Profiteroles: Universal Traversal and Exploration Sequences UTS – move a pebble on the vertices. Our algorithm naturally implies: moving a pebble on the edges. In particular, get log-space constructible Universal Exploration Sequences (UXS) [Koucky 01]. Like UTS but directions are relative. Perfect for traversing a maze. Exploring a maze in polynomial time for dummies

First Open Problems - First Open Problems - Full Fledged Universal Traversal Sequences. Even for expanders: UTS known only for consistent labeling [Hoory,Wigderson 93]. Here: log-space constructible UTS for all graphs under restriction on the labeling. Restriction relaxed in [Reingold, Trevisan, Vadhan 05] to consistent labeling

Open Problems (Cont.) RL=L – randomness cannot save memory. Some progress [Reingold,Trevisan,Vadhan 05] In short: God is in the labelling Improving Savitch in the directed case. NL = o(L 2 ) or even NL = L. New tradeoffs between time and space (a rich area of research we didnt discuss). In particular, optimizing the constants. Better analysis of the zig-zag and replacement products. Some progress: [Rozenman,Vadhan].