Graph searching with advice Nicolas Nisse David Soguet LRI, - - PowerPoint PPT Presentation

graph searching with advice
SMART_READER_LITE
LIVE PREVIEW

Graph searching with advice Nicolas Nisse David Soguet LRI, - - PowerPoint PPT Presentation

Graph searching with advice Nicolas Nisse David Soguet LRI, Universit e Paris-Sud, France. SIROCCO, June 2007 1/16 Nicolas Nisse, David Soguet Graph searching with advice Graph searching problem Goal In an undirected simple graph, in


slide-1
SLIDE 1

1/16

Graph searching with advice

Nicolas Nisse David Soguet

LRI, Universit´ e Paris-Sud, France.

SIROCCO, June 2007

Nicolas Nisse, David Soguet Graph searching with advice

slide-2
SLIDE 2

2/16

Graph searching problem

Goal In an undirected simple graph, in which edges are contaminated ; a team of searchers is aiming at clearing the graph. We want to find a strategy that clears the graph using the minimum number of searchers. Applications network security, decontaminating a set of polluted pipes, ...

Nicolas Nisse, David Soguet Graph searching with advice

slide-3
SLIDE 3

2/16

Graph searching problem

Goal In an undirected simple graph, in which edges are contaminated ; a team of searchers is aiming at clearing the graph. We want to find a strategy that clears the graph using the minimum number of searchers. Applications network security, decontaminating a set of polluted pipes, ...

Nicolas Nisse, David Soguet Graph searching with advice

slide-4
SLIDE 4

3/16

Graph searching in distributed settings

Distributed graph searching the searchers compute themselves a strategy ; the strategy must be computed and performed in polynomial time. Distributed search problem To design a distributed protocol that enables the minimum number of searchers to clear the network in polynomial time.

Nicolas Nisse, David Soguet Graph searching with advice

slide-5
SLIDE 5

4/16

Search strategy

The searchers move along the edges. An edge is cleared when it is traversed by a searcher. A clear edge e is recontaminated if a path exists between e and a contaminated edge, and no searchers stand on this path. A strategy consists of : Initially, all searchers are placed at the homebase v0 ; sequence of moves of searcher ; a searcher can move if it does not imply recontamination ; until the graph is clear. s(G, v0) : minimum number of searchers required to clear the graph G in this way, starting from v0.

Nicolas Nisse, David Soguet Graph searching with advice

slide-6
SLIDE 6

4/16

Search strategy

The searchers move along the edges. An edge is cleared when it is traversed by a searcher. A clear edge e is recontaminated if a path exists between e and a contaminated edge, and no searchers stand on this path. A strategy consists of : Initially, all searchers are placed at the homebase v0 ; sequence of moves of searcher ; a searcher can move if it does not imply recontamination ; until the graph is clear. s(G, v0) : minimum number of searchers required to clear the graph G in this way, starting from v0.

Nicolas Nisse, David Soguet Graph searching with advice

slide-7
SLIDE 7

5/16

Two simple examples : the path and the ring

v0 v0

Nicolas Nisse, David Soguet Graph searching with advice

slide-8
SLIDE 8

5/16

Two simple examples : the path and the ring

v0 v0

Nicolas Nisse, David Soguet Graph searching with advice

slide-9
SLIDE 9

5/16

Two simple examples : the path and the ring

v0 v0

Nicolas Nisse, David Soguet Graph searching with advice

slide-10
SLIDE 10

5/16

Two simple examples : the path and the ring

v0 v0

Nicolas Nisse, David Soguet Graph searching with advice

slide-11
SLIDE 11

5/16

Two simple examples : the path and the ring

v0 v0

Nicolas Nisse, David Soguet Graph searching with advice

slide-12
SLIDE 12

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-13
SLIDE 13

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-14
SLIDE 14

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-15
SLIDE 15

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1 2

Nicolas Nisse, David Soguet Graph searching with advice

slide-16
SLIDE 16

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-17
SLIDE 17

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-18
SLIDE 18

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1

Nicolas Nisse, David Soguet Graph searching with advice

slide-19
SLIDE 19

5/16

Two simple examples : the path and the ring

v0 v0 s(path,v0)=1 s(ring,v0)=2

Nicolas Nisse, David Soguet Graph searching with advice

slide-20
SLIDE 20

6/16

Monotone connected search strategy

Monotone connected strategy Monotonicity : the contaminated part of the graph never grows (i.e., no recontamination can occur) ⇒ polynomial time Connectivity : the cleared part is connected ⇒ safe communications. Remark : The problem of computing s(G, v0) and the corresponding monotone connected strategy is NP-complete in a centralized setting [Megiddo at al. 88]

Nicolas Nisse, David Soguet Graph searching with advice

slide-21
SLIDE 21

6/16

Monotone connected search strategy

Monotone connected strategy Monotonicity : the contaminated part of the graph never grows (i.e., no recontamination can occur) ⇒ polynomial time Connectivity : the cleared part is connected ⇒ safe communications. Remark : The problem of computing s(G, v0) and the corresponding monotone connected strategy is NP-complete in a centralized setting [Megiddo at al. 88]

Nicolas Nisse, David Soguet Graph searching with advice

slide-22
SLIDE 22

7/16

Model : Environment

undirected connected graph ; local orientation of the edges ; synchronous/asynchronous environment. 1 4 3 2 2 3 4 1 2 1 3

Nicolas Nisse, David Soguet Graph searching with advice

slide-23
SLIDE 23

8/16

Model : the searchers

autonomous mobile computing entities with distinct IDs ; automata with O(log n) bits of memory. Decision is computed locally and depends on : its current state ; the states of the other searchers present at the vertex ; if appropriate the incoming port number. A searcher can decide to : leave a vertex via a specific port number ; switch its state.

Nicolas Nisse, David Soguet Graph searching with advice

slide-24
SLIDE 24

9/16

Related work 1/2

The searchers have a prior knowledge of the topology. Protocols to clear specific topologies Tree [Barri` ere, Flocchini, Fraigniaud and Santoro. 2002] Mesh [Flocchini, Luccio and Song. 2005] Hypercube [Flocchini, Huang and Luccio. 2005] Tori [Flocchini, Luccio and Song. 2006] Siperski’s graph [Luccio. 2007] A monotone connected and optimal strategy is performed. Remark : Compared with the synchronous case, an additional searcher may be necessary and is sufficient in an asynchronous network to clear a graph in a monotone connected way [FLS05].

Nicolas Nisse, David Soguet Graph searching with advice

slide-25
SLIDE 25

9/16

Related work 1/2

The searchers have a prior knowledge of the topology. Protocols to clear specific topologies Tree [Barri` ere, Flocchini, Fraigniaud and Santoro. 2002] Mesh [Flocchini, Luccio and Song. 2005] Hypercube [Flocchini, Huang and Luccio. 2005] Tori [Flocchini, Luccio and Song. 2006] Siperski’s graph [Luccio. 2007] A monotone connected and optimal strategy is performed. Remark : Compared with the synchronous case, an additional searcher may be necessary and is sufficient in an asynchronous network to clear a graph in a monotone connected way [FLS05].

Nicolas Nisse, David Soguet Graph searching with advice

slide-26
SLIDE 26

9/16

Related work 1/2

The searchers have a prior knowledge of the topology. Protocols to clear specific topologies Tree [Barri` ere, Flocchini, Fraigniaud and Santoro. 2002] Mesh [Flocchini, Luccio and Song. 2005] Hypercube [Flocchini, Huang and Luccio. 2005] Tori [Flocchini, Luccio and Song. 2006] Siperski’s graph [Luccio. 2007] A monotone connected and optimal strategy is performed. Remark : Compared with the synchronous case, an additional searcher may be necessary and is sufficient in an asynchronous network to clear a graph in a monotone connected way [FLS05].

Nicolas Nisse, David Soguet Graph searching with advice

slide-27
SLIDE 27

10/16

Related work 2/2

The searchers have no prior information about the graph. Protocol to clear an unknown graph Distributed chasing of network intruders [Blin, Fraigniaud, Nisse and Vial. SIROCCO 2006] A connected and optimal strategy is performed. Problem : the strategy is not monotone and may be performed in expentional time.

Nicolas Nisse, David Soguet Graph searching with advice

slide-28
SLIDE 28

10/16

Related work 2/2

The searchers have no prior information about the graph. Protocol to clear an unknown graph Distributed chasing of network intruders [Blin, Fraigniaud, Nisse and Vial. SIROCCO 2006] A connected and optimal strategy is performed. Problem : the strategy is not monotone and may be performed in expentional time.

Nicolas Nisse, David Soguet Graph searching with advice

slide-29
SLIDE 29

11/16

Problem

A natural question is : What is the information that must be given to the searchers such that it exists a distributed protocol that enables them to clear all graphs in a monotone connected and optimal way ? What kind of knowledge ? Qualitative information Topology, size, diameter of the network ... Quantitative information : advice [Fraigniaud et al. PODC06] Measure the minimum number of bits of information to efficiently perform a distributed task.

Nicolas Nisse, David Soguet Graph searching with advice

slide-30
SLIDE 30

11/16

Problem

A natural question is : What is the information that must be given to the searchers such that it exists a distributed protocol that enables them to clear all graphs in a monotone connected and optimal way ? What kind of knowledge ? Qualitative information Topology, size, diameter of the network ... Quantitative information : advice [Fraigniaud et al. PODC06] Measure the minimum number of bits of information to efficiently perform a distributed task.

Nicolas Nisse, David Soguet Graph searching with advice

slide-31
SLIDE 31

11/16

Problem

A natural question is : What is the information that must be given to the searchers such that it exists a distributed protocol that enables them to clear all graphs in a monotone connected and optimal way ? What kind of knowledge ? Qualitative information Topology, size, diameter of the network ... Quantitative information : advice [Fraigniaud et al. PODC06] Measure the minimum number of bits of information to efficiently perform a distributed task.

Nicolas Nisse, David Soguet Graph searching with advice

slide-32
SLIDE 32

12/16

Advice, size of advice [Fraigniaud et al. 06]

A distributed problem P Instance of P (for example a graph G) Advice : information that can be used to solve P efficiently Information is modelized by An oracle O that assigns at any instance G a string of bits O(G) that is distributed on the vertices of G. size of advice |O(G)| Examples wake-up (linear number of messages) : Θ(n log n) bits ; broadcast (linear number of messages) : O(n) bits ; tree exploration, MST, graph coloring ...

Nicolas Nisse, David Soguet Graph searching with advice

slide-33
SLIDE 33

12/16

Advice, size of advice [Fraigniaud et al. 06]

A distributed problem P Instance of P (for example a graph G) Advice : information that can be used to solve P efficiently Information is modelized by An oracle O that assigns at any instance G a string of bits O(G) that is distributed on the vertices of G. size of advice |O(G)| Examples wake-up (linear number of messages) : Θ(n log n) bits ; broadcast (linear number of messages) : O(n) bits ; tree exploration, MST, graph coloring ...

Nicolas Nisse, David Soguet Graph searching with advice

slide-34
SLIDE 34

12/16

Advice, size of advice [Fraigniaud et al. 06]

Problem : distributed search problem Instance : a graph G and a homebase v0 ∈ V (G). Advice : to solve the problem in polynomial time. Information is modelized by An oracle O that distributes a string of bits O(G, v0) on the vertices of G. size of advice |O(G, v0)| Question : What is the minimum size of advice such that it exists a distributed protocol that efficiently solves the distributed search problem ?

Nicolas Nisse, David Soguet Graph searching with advice

slide-35
SLIDE 35

13/16

Our results

Upper bound O(n log n) bits of advice are sufficient to solve the distributed search problem. We design an oracle O of size O(n log n) bits and a distributed protocol P using O that clears all graphs in a monotone connected and optimal way. Lower bound Any protocol using o(n log n) bits of advice cannot solve the distributed search problem. We provide a class C of graphs such that any distributed protocol P using an advice of size less than Ω(n log n) bits cannot clear all the graphs of C.

Nicolas Nisse, David Soguet Graph searching with advice

slide-36
SLIDE 36

13/16

Our results

Upper bound O(n log n) bits of advice are sufficient to solve the distributed search problem. We design an oracle O of size O(n log n) bits and a distributed protocol P using O that clears all graphs in a monotone connected and optimal way. Lower bound Any protocol using o(n log n) bits of advice cannot solve the distributed search problem. We provide a class C of graphs such that any distributed protocol P using an advice of size less than Ω(n log n) bits cannot clear all the graphs of C.

Nicolas Nisse, David Soguet Graph searching with advice

slide-37
SLIDE 37

13/16

Our results

Upper bound O(n log n) bits of advice are sufficient to solve the distributed search problem. We design an oracle O of size O(n log n) bits and a distributed protocol P using O that clears all graphs in a monotone connected and optimal way. Lower bound Any protocol using o(n log n) bits of advice cannot solve the distributed search problem. We provide a class C of graphs such that any distributed protocol P using an advice of size less than Ω(n log n) bits cannot clear all the graphs of C.

Nicolas Nisse, David Soguet Graph searching with advice

slide-38
SLIDE 38

13/16

Our results

Upper bound O(n log n) bits of advice are sufficient to solve the distributed search problem. We design an oracle O of size O(n log n) bits and a distributed protocol P using O that clears all graphs in a monotone connected and optimal way. Lower bound Any protocol using o(n log n) bits of advice cannot solve the distributed search problem. We provide a class C of graphs such that any distributed protocol P using an advice of size less than Ω(n log n) bits cannot clear all the graphs of C.

Nicolas Nisse, David Soguet Graph searching with advice

slide-39
SLIDE 39

14/16

Idea of the upper bound : O(n log n)

Let G be a graph, and v0 ∈ V (G) Let S be a monotone connected and optimal strategy for G. Our oracle “encodes” S on the vertices of G.

Nicolas Nisse, David Soguet Graph searching with advice

slide-40
SLIDE 40

15/16

The lower bound : Ω(n log n)

...

n−2 2 n+7 n 2 1 v v v v

K K

Class of graphs (Gn)n∈N (The figure corresponds to G5). All the monotone connected and optimal strategies in this class are strongly constrained.

Nicolas Nisse, David Soguet Graph searching with advice

slide-41
SLIDE 41

16/16

Perspectives

What is the minimum quantity of advice that must be distributed on each vertex to solve the distributed search problem ? How can we relax the contraints on the strategy to decrease the quantity of advice ? Namely, what is the minimum quantity of advice to clear a graph in polynomial time (without imposing monotonicity) ?

Nicolas Nisse, David Soguet Graph searching with advice