Network Discovery and Landmarks in Graphs Thomas Erlebach Joint - - PowerPoint PPT Presentation

network discovery and landmarks in graphs
SMART_READER_LITE
LIVE PREVIEW

Network Discovery and Landmarks in Graphs Thomas Erlebach Joint - - PowerPoint PPT Presentation

Network Discovery and Landmarks in Graphs Thomas Erlebach Joint work with: Zuzana Beerliova, Felix Eberhard, Alexander Hall, Shankar Ram (ETH Zurich), Mat Mihalk, Michael Hoffmann (Leicester) Thomas Erlebach Network Discovery and


slide-1
SLIDE 1

Network Discovery and Landmarks in Graphs

Thomas Erlebach Joint work with: Zuzana Beerliova, Felix Eberhard, Alexander Hall, Shankar Ram (ETH Zurich), Matúš Mihal’ák, Michael Hoffmann (Leicester)

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.1/18

slide-2
SLIDE 2

General Setting

Discover information about an unknown network using queries. Verify information about a network using queries. “Network” means connected, undirected graph.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.2/18

slide-3
SLIDE 3

Network Discovery:

Only the set V of network nodes is known in the beginning. Task: Identify all edges and non-edges of the network using a small number of queries. On-line problem, competitive analysis

Network Verification:

Check whether an existing network “map” is correct using a small number of queries. Off-line problem, approximation algorithms

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.3/18

slide-4
SLIDE 4

Simple Theoretical Model

The LG-Model (LG = Layered Graph): Connected graph G = (V, E) with |V | = n (in the on-line case, only V is known) Query at node v ∈ V yields the subgraph containing all shortest paths from v to all other nodes in G. Problem LG-ALL-DISCOVERY (LG-ALL-VERIFICATON): Minimize the number of queries required to discover (verify) all edges and non-edges of G. (motivated by Internet AS graph discovery)

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.4/18

slide-5
SLIDE 5

Simple Theoretical Model

The LG-Model (LG = Layered Graph): Connected graph G = (V, E) with |V | = n (in the on-line case, only V is known) Query at node v ∈ V yields the subgraph containing all shortest paths from v to all other nodes in G. Problem LG-ALL-DISCOVERY (LG-ALL-VERIFICATON): Minimize the number of queries required to discover (verify) all edges and non-edges of G. (motivated by Internet AS graph discovery)

  • Observation. Query at v discovers all edges and

non-edges between vertices with different distance from v.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.4/18

slide-6
SLIDE 6

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-7
SLIDE 7

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-8
SLIDE 8

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-9
SLIDE 9

Example

1 1 2 2 3 4 4

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-10
SLIDE 10

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-11
SLIDE 11

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-12
SLIDE 12

Example

2 2 2 2 2 1 1

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-13
SLIDE 13

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-14
SLIDE 14

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-15
SLIDE 15

Example

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.5/18

slide-16
SLIDE 16

Overview of Results

Network Discovery No deterministic algorithm can be better than

3-competitive O(√n log n )-competitive randomised algorithm

Network Verification Equivalent to placing ‘landmarks’ in graphs

  • (log n)-inapproximability result

Θ(d/ log d) queries suffice for hypercubes

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.6/18

slide-17
SLIDE 17

Network Discovery

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.7/18

slide-18
SLIDE 18

Competitive Ratio

An algorithm for LG-ALL-Discovery is ρ-competitive (has competitive ratio ρ) if, on any input graph G, the number of queries the algorithm makes is at most ρ times as large as the optimal number of queries for that graph. A randomised algorithm for LG-ALL-Discovery is

ρ-competitive (has competitive ratio ρ) if, on any input

graph G, the expected number of queries the algorithm makes is at most ρ times as large as the optimal number of queries for that graph.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.8/18

slide-19
SLIDE 19

Competitive Lower Bounds

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-20
SLIDE 20

Competitive Lower Bounds

Optimal number of queries: 4

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-21
SLIDE 21

Competitive Lower Bounds

Any deterministic on-line algorithm:

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-22
SLIDE 22

Competitive Lower Bounds

Any deterministic on-line algorithm:

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-23
SLIDE 23

Competitive Lower Bounds

Any deterministic on-line algorithm:

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-24
SLIDE 24

Competitive Lower Bounds

Any deterministic on-line algorithm:

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-25
SLIDE 25

Competitive Lower Bounds

Any deterministic on-line algorithm: Needs at least 9 queries! In general: OPT= k, ALG= 2k + 1

⇒ No det. algorithm can be better than 2-competitive.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-26
SLIDE 26

Competitive Lower Bounds

Any deterministic on-line algorithm: Needs at least 9 queries! In general: OPT= k, ALG= 2k + 1

⇒ No det. algorithm can be better than 2-competitive.

Also: No rand. algorithm can be better than 4

3-competitive.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.9/18

slide-27
SLIDE 27

Improved Lower Bound

Construction of improved deterministic lower bound 3:

. . .

g u v y z x’ y’ z’ t t’ s x

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.10/18

slide-28
SLIDE 28

On-Line Algorithm

Every (non-)edge can either be discovered by many (more than T) queries or by few (at most T) queries.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.11/18

slide-29
SLIDE 29

On-Line Algorithm

Every (non-)edge can either be discovered by many (more than T) queries or by few (at most T) queries. Phase 1: Use random queries to discover all (non-)edges that can be discovered by many queries.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.11/18

slide-30
SLIDE 30

On-Line Algorithm

Every (non-)edge can either be discovered by many (more than T) queries or by few (at most T) queries. Phase 1: Use random queries to discover all (non-)edges that can be discovered by many queries. Phase 2: For each remaining undiscovered (non-)edge, query all vertices that discover it.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.11/18

slide-31
SLIDE 31

On-Line Algorithm

Every (non-)edge can either be discovered by many (more than T) queries or by few (at most T) queries. Phase 1: Use random queries to discover all (non-)edges that can be discovered by many queries. Phase 2: For each remaining undiscovered (non-)edge, query all vertices that discover it. By choosing T =

√ n ln n and making 3T queries in

Phase 1, we obtain competitive ratio O(√n log n ).

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.11/18

slide-32
SLIDE 32

Network Verification

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.12/18

slide-33
SLIDE 33

Network Verification

Given a connected graph G = (V, E), find a smallest set

Q ⊂ V such that the queries at Q verify all edges and

non-edges.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.13/18

slide-34
SLIDE 34

Network Verification

Given a connected graph G = (V, E), find a smallest set

Q ⊂ V such that the queries at Q verify all edges and

non-edges.

Q must be such that for every two nodes u, v ∈ V , u = v,

there is at least one vertex in Q with different distance from u and v.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.13/18

slide-35
SLIDE 35

Network Verification

Given a connected graph G = (V, E), find a smallest set

Q ⊂ V such that the queries at Q verify all edges and

non-edges.

Q must be such that for every two nodes u, v ∈ V , u = v,

there is at least one vertex in Q with different distance from u and v. Equivalently, Q must be such that every vertex in V is uniquely identified by the vector of its distances from the vertices in Q.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.13/18

slide-36
SLIDE 36

Network Verification

Given a connected graph G = (V, E), find a smallest set

Q ⊂ V such that the queries at Q verify all edges and

non-edges.

Q must be such that for every two nodes u, v ∈ V , u = v,

there is at least one vertex in Q with different distance from u and v. Equivalently, Q must be such that every vertex in V is uniquely identified by the vector of its distances from the vertices in Q. Problem has been studied as placing landmarks in graphs (also: metric dimension)

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.13/18

slide-37
SLIDE 37

Known Results for Metric Dimension

Khuller, Raghavachari, Rosenfeld 1996: NP-hard, O(log n)-approximation Paths: dimension 1 Trees: dimension

v:ℓv>1(ℓv − 1), where ℓv is the

number of legs at v Claim: d-dimensional grids have metric dimension d.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.14/18

slide-38
SLIDE 38

Known Results for Metric Dimension

Khuller, Raghavachari, Rosenfeld 1996: NP-hard, O(log n)-approximation Paths: dimension 1 Trees: dimension

v:ℓv>1(ℓv − 1), where ℓv is the

number of legs at v Claim: d-dimensional grids have metric dimension d. We can show that this is wrong at least for hypercubes!

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.14/18

slide-39
SLIDE 39

Inapproximability

  • Theorem. There is no o(log n) approximation algorithm for

LG-ALL-VERIFICATION unless P = NP. Proof Idea: Reduction from Test Collection Problem

vertices test vertices element clique of

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.15/18

slide-40
SLIDE 40

Landmarks in Hypercubes

  • Theorem. The optimal solution to LG-ALL-VERIFICATION

in d-dimensional hypercubes has size Θ(d/ log d). Proof Idea: Lower bound of Ω(d/ log d) follows from general lower bound logd+1 n for graphs of diameter d. Upper bound: choose O(d/ log d) queries uniformly at random, and show that with positive propbability they verify all edges and non-edges.

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.16/18

slide-41
SLIDE 41

Conclusion

Network discovery and verification in the LG model. Discovery: O(√n log n )-competitive algorithm, lower bounds of 3 (deterministic) and 4

3 (randomised)

Verification: Θ(log n)-approximable, Θ(d/ log d) queries for d-dimensional hypercubes Ongoing work: Optimal query sets for specific graph classes. Experimental work on greedy-type algorithms. Extension to other models (shortest-path tree, only distances, . . . ) or discovery goals (e.g., determine network diameter).

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.17/18

slide-42
SLIDE 42

Thank you!

Thomas Erlebach – Network Discovery and Landmarks in Graphs – BCTCS 2005 – Nottingham – 23rd March 2005 – p.18/18