Approximate Distance Oracles and Spanners with sublinear surplus

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

Algorithms (and Datastructures) Lecture 3 MAS 714 part 2 Hartmut Klauck.
all-pairs shortest paths in undirected graphs
Approximate Distance Oracles and Spanners with sublinear surplus Mikkel Thorup AT&T Research Uri Zwick Tel Aviv University.
Competitive fault tolerant Distance Oracles and Routing Schemes Weizmann Open U Weizmann Bar Ilan Shiri Chechik Michael Langberg David Peleg Liam Roditty.
Everything you always wanted to know about spanners * *But were afraid to ask Seth Pettie University of Michigan, Ann Arbor.
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 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Applied Discrete Mathematics Week 12: Trees
CSC 2300 Data Structures & Algorithms April 17, 2007 Chapter 9. Graph Algorithms.
Jim Anderson Comp 122, Fall 2003 Single-source SPs - 1 Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph.
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.
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.
Collective Additive Tree Spanners of Homogeneously Orderable Graphs
1 Separator Theorems for Planar Graphs Presented by Shira Zucker.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
1 Exact and Approximate Distances in Graphs – A Survey Uri Zwick Tel Aviv University.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Assignment 4. (Due on Dec 2. 2:30 p.m.) This time, Prof. Yao and I can explain the questions, but we will NOT tell you how to solve the problems. Question.
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Distance Approximating Trees in Graphs
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
TEDI: Efficient Shortest Path Query Answering on Graphs Author: Fang Wei SIGMOD 2010 Presentation: Dr. Greg Speegle.
1 Finding Sparser Directed Spanners Piotr Berman, Sofya Raskhodnikova, Ge Ruan Pennsylvania State University.
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.
Chapter 24: Single-Source Shortest Paths Given: A single source vertex in a weighted, directed graph. Want to compute a shortest path for each possible.
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, …
Introduction to Graphs And Breadth First Search. Graphs: what are they? Representations of pairwise relationships Collections of objects under some specified.
 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,
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
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.
CS138A Elementary Graph Algorithms Peter Schröder.
The Theory of NP-Completeness
On Local Partition Oracles and their Applications
Markov Chains and Random Walks
Approximating the MST Weight in Sublinear Time
Improved Randomized Algorithms for Path Problems in Graphs
Approximate Algorithms (chap. 35)
Spanners and emulators with sublinear distance errors
Autumn 2016 Lecture 11 Minimum Spanning Trees (Part II)
ICS 353: Design and Analysis of Algorithms
Connected Components Minimum Spanning Tree
Randomized Algorithms CS648
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
Basic Graph Algorithms
Discrete Math II Howon Kim
Analysis of Algorithms
Approximating Distances in Graphs
Analysis of Algorithms
Raphael Yuster Haifa University Uri Zwick Tel Aviv University
Minimum Spanning Tree Algorithms
Compact Routing Schemes
Distance Approximating Trees: Complexity and Algorithms
Approximate Distance Oracles
Exact and Approximate Distances in Graphs – A Survey
Compact routing schemes with improved stretch
The Theory of NP-Completeness
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Analysis of Algorithms
Routing in Networks with Low Doubling Dimension
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 新世代の計算限界

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

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

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(n1+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 (n1+1/k) edges of girth 2k+2, as conjectured by Erdös and others.)

Additive Spanners Major open problem 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(n3/2). [ACIM ’96] [DHZ ’96] Theorem: Every unweighted undirected graph has an additive 6-spanner of size O(n4/3). [BKMP ’04] Major open problem Do all graphs have additive spanners with only O(n1+ε) 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(n1+1/k) edges such that for every u,vV, if δG(u,v)=d, then δG’(u,v)=d+O(d1-1/(k-1)). d d+O(d1-1/(k-1)) Extends and simplifies a result of Elkin and Peleg (2001)

All sorts of spanners size f(d) reference n 1+1/k (2k-1 )d n 3/2 d + 2 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. size f(d) reference n 1+1/k (2k-1 )d [ADDJS ’93] n 3/2 d + 2 [ACIM ’96] [DHZ ’96] n 4/3 d + 6 [BKMP ’04] βn 1+δ (1+ε)d + β(ε,δ) [EP ’01] n 1+1/k d + O(d 1 - 1/(k-1) ) [TZ ’05]

Approximate Distance Oracles Part I Approximate Distance Oracles

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

Bunches A0= A1= A2= p2(v) v p1(v)

Lemma: E[|B(v)|] ≤ kn1/k Proof: |B(v)Ai| 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 p1(v), p2(v),…, pk-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 distk(u,v) wu , i0 while wB(v) { i i+1 (u,v) (v,u) w pi(u) } return (u,w)+ (w,v)

Query answering algorithm w3=p3(v)A3 w2=p2(u)A2 w1=p1(v)A1 u v

Analysis (i+1) i i (i-1)  wi=pi(u)Ai Claim 1: δ(u,wi) ≤ iΔ , i even δ(v,wi) ≤ iΔ , i odd wi-1=pi-1(v)Ai-1 (i+1) i i Claim 2: δ(u,wi) + δ(wi,v) ≤ (2i+1)Δ (i-1) ≤ (2k-1)Δ u v 

Define clusters, the “dual” of bunches. 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.

A0= A1= A2= Clusters w

Spanners with sublinear surplus 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 A0= A1= A2= p2(v) v p1(v)

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

The path-finding strategy Suppose we are at uAi and want to go to v. Let Δ be an integer parameter. If the first xi=Δ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 ui+1 nearest to u. ► The distance to ui+1 is at most xi. (As u’Ball(u).) / ui+1Ai+1 uAi u’ v xi xi

The path-finding strategy We either reach v, or at least make xi=Δi-Δi-1 steps in the right direction. Or, make at most xi=Δ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. uAi v ui+1Ai+1 xi u’

The path-finding strategy After at most Δi steps: ui either we reach v or distance to v decreased by Δi -2Δi-1 xi-1 xi=Δi-Δi-1 xi-2 Δi-1 x1 x0 u0 v

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

Sublinear surplus

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