Approximate Distance Oracles and Spanners with sublinear surplus Mikkel Thorup AT&T Research Uri Zwick Tel Aviv University.

Slides:



Advertisements
Similar presentations
Lower Bounds for Additive Spanners, Emulators, and More David P. Woodruff MIT and Tsinghua University To appear in FOCS, 2006.
Advertisements

The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Improved Approximation for the Directed Spanner Problem Grigory Yaroslavtsev Penn State + AT&T Labs - Research (intern) Joint work with Berman (PSU), Bhattacharyya.
Part VI NP-Hardness. Lecture 23 Whats NP? Hard Problems.
Algorithms (and Datastructures) Lecture 3 MAS 714 part 2 Hartmut Klauck.
Surender Baswana Department of CSE, IIT Kanpur. Surender Baswana Department of CSE, IIT Kanpur.
all-pairs shortest paths in undirected graphs
Lower Bound for Sparse Euclidean Spanners Presented by- Deepak Kumar Gupta(Y6154), Nandan Kumar Dubey(Y6279), Vishal Agrawal(Y6541)
Deterministic vs. Non-Deterministic Graph Property Testing Asaf Shapira Tel-Aviv University Joint work with Lior Gishboliner.
Competitive fault tolerant Distance Oracles and Routing Schemes Weizmann Open U Weizmann Bar Ilan Shiri Chechik Michael Langberg David Peleg Liam Roditty.
Compact and Low Delay Routing Labeling Scheme for Unit Disk Graphs Chenyu Yan, Yang Xiang, and Feodor F. Dragan (WADS 2009) Kent State University, Kent,
Everything you always wanted to know about spanners * *But were afraid to ask Seth Pettie University of Michigan, Ann Arbor.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Approximating Distances in Graphs Uri Zwick Tel Aviv University Otwarte wykłady dla doktorantów informatyki Instytut Informatyki Uniwersytetu Warszawskiego.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
1 On Dynamic Shortest Paths Problems Liam Roditty Uri Zwick Tel Aviv University ESA 2004.
1 Finding cycles using rectangular matrix multiplication and dynamic programming Raphael Yuster Haifa Univ. - Oranim Uri Zwick Tel Aviv University Uri.
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
DAST 2005 Tirgul 11 (and more) sample questions. DAST 2005 Q.Let G = (V,E) be an undirected, connected graph with an edge weight function w : E→R. Let.
Sublinear Algorithms for Approximating Graph Parameters Dana Ron Tel-Aviv University.
1 Approximate Distance Oracles Mikkel Thorup AT&T Research Uri Zwick Tel Aviv University.
Compact Routing Schemes Mikkel Thorup Uri Zwick AT&T Labs – Research Tel Aviv University.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
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 Exact and Approximate Distances in Graphs – A Survey Uri Zwick Tel Aviv University.
Lecture 20: April 12 Introduction to Randomized Algorithms and the Probabilistic Method.
Sublinear Algorithms for Approximating Graph Parameters Dana Ron Tel-Aviv University.
Approximate Distance Oracles for Geometric Spanner Networks Joachim Gudmundsson TUE, Netherlands Christos Levcopoulos Lund U., Sweden Giri Narasimhan Florida.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Transitive-Closure Spanner of Directed Graphs Kyomin Jung KAIST 2009 Combinatorics Workshop Joint work with Arnab Bhattacharyya MIT Elena Grigorescu MIT.
Near Optimal Streaming algorithms for Graph Spanners Surender Baswana IIT Kanpur.
Distance sensitivity oracles in weighted directed graphs Raphael Yuster University of Haifa Joint work with Oren Weimann Weizmann inst.
Approximate Distance Oracles Mikkel Thorup and Uri Zwick Presented By Shiri Chechik.
Markov Chains and Random Walks. Def: A stochastic process X={X(t),t ∈ T} is a collection of random variables. If T is a countable set, say T={0,1,2, …
Topics in Algorithms 2007 Ramesh Hariharan. Tree Embeddings.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
A randomized linear time algorithm for graph spanners Surender Baswana Postdoctoral Researcher Max Planck Institute for Computer Science Saarbruecken,
Spanning Tree Definition:A tree T is a spanning tree of a graph G if T is a subgraph of G that contains all of the vertices of G. A graph may have more.
Theory of Computational Complexity Yusuke FURUKAWA Iwama Ito lab M1.
Forbidden-Set Distance Labels for Graphs of Bounded Doubling Dimension
Part VI NP-Hardness.
Approximating the MST Weight in Sublinear Time
Improved Randomized Algorithms for Path Problems in Graphs
Spanners and emulators with sublinear distance errors
Autumn 2016 Lecture 11 Minimum Spanning Trees (Part II)
Enumerating Distances Using Spanners of Bounded Degree
Connected Components Minimum Spanning Tree
Haim Kaplan and Uri Zwick
Randomized Algorithms CS648
Analysis of Algorithms
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
Near-Optimal (Euclidean) Metric Compression
Approximate Distance Oracles and Spanners with sublinear surplus
Discrete Math II Howon Kim
Analysis of Algorithms
Approximating Distances in Graphs
Analysis of Algorithms
Raphael Yuster Haifa University Uri Zwick Tel Aviv University
Compact Routing Schemes
Approximate Distance Oracles
Exact and Approximate Distances in Graphs – A Survey
Compact routing schemes with improved stretch
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Analysis of Algorithms
Autumn 2019 Lecture 11 Minimum Spanning Trees (Part II)
Presentation transcript:

Approximate Distance Oracles and Spanners with sublinear surplus Mikkel Thorup AT&T Research Uri Zwick Tel Aviv University

Compact data structure APSP algorithm mn 1/k time n 1+1/k space Approximate Distance Oracles (TZ’01) O(1) query time stretch 2k-1 Stretch-Space tradeoff is essentially optimal! n by n distance matrix mn time n 2 space Weighted undirected graph u,v δ’(u,v(

An estimated distance  ’ (u,v) is of stretch t iff  (u,v)   ’(u,v)  t ·  (u,v) An estimated distance  ’(u,v) is of surplus t iff  (u,v)   ’(u,v)   (u,v) + t Approximate Shortest Paths Let  (u,v) be the distance from u to v. Multiplicative error Additive error

Spanners Given an arbitrary dense graph, can we always find a relatively sparse subgraph that approximates all distances fairly well?

Spanners [PU’89,PS’89] Let G=(V,E) be a weighted undirected graph. A subgraph G’=(V,E’) of G is said to be a t-spanner of G iff δ G’ (u,v) ≤ t δ G (u,v) for every u,v in V. Theorem: Every weighted undirected graph has a (2k-1) -spanner of size O(n 1+1/k ). [ADDJS ’93] Furthermore, such spanners can be constructed deterministically in linear time. [BS ’04] [TZ ’04] The size-stretch trade-off is essentially optimal. (Assuming there are graphs with  (n 1+1/k ) edges of girth 2k+2, as conjectured by Erdös and others.)

Additive Spanners Let G=(V,E) be a unweighted undirected graph. A subgraph G’=(V,E’) of G is said to be an additive t-spanner if G iff δ G’ (u,v) ≤ δ G (u,v) +t for every u,v  V. Theorem: Every unweighted undirected graph has an additive 2-spanner of size O(n 3/2 ). [ACIM ’96] [DHZ ’96] Theorem: Every unweighted undirected graph has an additive 6-spanner of size O(n 4/3 ). [BKMP ’04] Major open problem Do all graphs have additive spanners with only O(n 1+ε ) edges, for every ε>0 ?

Spanners with sublinear surplus Theorem: For every k>1, every undirected graph G=(V,E) on n vertices has a subgraph G’=(V,E’) with O(n 1+1/k ) edges such that for every u,v  V, if δ G (u,v)=d, then δ G’ (u,v)=d+O(d 1-1/(k-1) ). dd+O(d 1-1/(k-1) ) Extends and simplifies a result of Elkin and Peleg (2001)

All sorts of spanners A subgraph G’=(V,E’) of G is said to be a functional f-spanner if G iff δ G’ (u,v) ≤ f(δ G (u,v)) for every u,v  V. sizef(d)reference βn 1+δ (1+ε)d + β(ε,δ) [EP ’01] n 3/2 d + 2 [ACIM ’96] [DHZ ’96] n 4/3 d + 6 [BKMP ’04] n 1+1/k d + O(d 1 - 1/(k-1) ) [TZ ’05] n 1+1/k (2k-1 )d [ADDJS ’93]

Part I Approximate Distance Oracles

Approximate Distance Oracles [TZ’01] A hierarchy of centers A 0  V ; A k  ; A i  sample(A i-1,n -1/k ) ;

Bunches A0=A1=A2=A0=A1=A2= v p 1 (v) p 2 (v)

Lemma: E[|B(v)|] ≤ kn 1/k Proof: |B(v)  A i | is stochastically dominated by a geometric random variable with parameter p=n -1/k.

The data structure Keep for every vertex v  V: The centers p 1 (v), p 2 (v),…, p k-1 (v) A hash table holding B(v) For every w  V, we can check, in constant time, whether w  B(v), and if so, what is  (v,w).

Query answering algorithm Algorithm dist k (u,v) w  u, i  0 while w  B(v) { i  i+1 (u,v)  (v,u) w  p i (u) } return  (u,w)+  (w,v)

Query answering algorithm u v w 1 =p 1 (v)  A 1 w 2 =p 2 (u)  A 2 w 3 =p 3 (v)  A 3

u v w i-1 =p i-1 (v)  A i-1 w i =p i (u)  A i Analysis  (i-1)  ii ii (i+1)  Claim 1: δ(u,w i ) ≤ iΔ, i even δ(v,w i ) ≤ iΔ, i odd Claim 2: δ(u,w i ) + δ(w i,v) ≤ (2i+1)Δ ≤ (2k-1)Δ

Where are the spanners? Define clusters, the “dual” of bunches. For every u  V, include in the spanner a tree of shortest paths from u to all the vertices in the cluster of u.

Clusters A0=A1=A2=A0=A1=A2= w

Bunches and clusters

Part II Spanners with sublinear surplus

The construction used above, when applied to unweighted graphs, produces spanners with sublinear surplus! We present a slightly modified construction with a slightly simpler analysis.

Balls v p 1 (v) p 2 (v) A0=A1=A2=A0=A1=A2=

The modified construction For every u  V, add to the spanner a shortest paths tree of Ball(u). The original construction Select a hierarchy of centers A 0  A 1  …  A k-1. For every u  V, add to the spanner a shortest paths tree of Clust(u). Select a hierarchy of centers A 0  A 1  …  A k-1.

Spanners with sublinear surplus For every u  V, add to the spanner a shortest paths tree of Ball(u). Select a hierarchy of centers A 0  A 1  …  A k-1.

The path-finding strategy Let Δ be an integer parameter. Suppose we are at u  A i and want to go to v. If the first x i =Δ i -Δ i-1 edges of a shortest path from u to v are in the spanner, then use them. Otherwise, head for the (i+1) -center u i+1 nearest to u. uAiuAi v u i+1  A i+1 xixi xixi ► The distance to u i+1 is at most x i. (As u’  Ball(u).) u’u’ /

The path-finding strategy uAiuAi v u i+1  A i+1 xixi xixi u’u’ We either reach v, or at least make x i =Δ i -Δ i-1 steps in the right direction. Or, make at most x i =Δ i -Δ i-1 steps, possibly in a wrong direction, but reach a center of level i+1. If i=k-1, we will be able to reach v.

The path-finding strategy u0u0 v x i-1 uiui x1x1 x0x0 x i-2 x i =Δ i -Δ i-1 Δ i-1 After at most Δ i steps: either we reach v or distance to v decreased by Δ i -2 Δ i-1

The path-finding strategy Surplus 2 Δ i-1 Stretch The surplus is incurred only once! After at most Δ i steps: either we reach v or distance to v decreased by Δ i -2 Δ i-1

Sublinear surplus

Open problems Arbitrarily sparse additive spanners? Distance oracles with sublinear surplus?