• Aucun résultat trouvé

Identifying codes and VC-dimension

N/A
N/A
Protected

Academic year: 2022

Partager "Identifying codes and VC-dimension"

Copied!
53
0
0

Texte intégral

(1)

Identifying codes and VC-dimension

Aur´ elie Lagoutte

LIP, ENS Lyon Joint work with:

N. Bousquet, Z. Li, A. Parreau and S. Tomass´e BGW - November 19, 2014

1/22

(2)

Contents

Identifying codes VC-dimension

?

(3)

Part I

Identifying codes

3/22

(4)

Modelization with a graph

Identifying codeC = subset of vertices which is

dominating : ∀u ∈V,N[u]∩C 6=∅,

separating : ∀u,v ∈V,N[u]∩C 6=N[v]∩C.

5 1

2

6 3 b 4

a c d

5

1 6 4

V\ C a b c d

1 • • - -

2 - • - -

3 - • • -

4 - - • •

5 • • • -

6 - • • •

Given a graph G, what is the size γID(G) of minimum identifying code ?

(5)

Modelization with a graph

Identifying codeC = subset of vertices which is

dominating : ∀u ∈V,N[u]∩C 6=∅,

separating : ∀u,v ∈V,N[u]∩C 6=N[v]∩C.

5 1

2

6 3 b 4

a c d

5

1 6 4

V\ C a b c d

1 • • - -

2 - • - -

3 - • • -

4 - - • •

5 • • • -

6 - • • •

Given a graph G, what is the size γID(G) of minimum identifying code ?

4/22

(6)

Modelization with a graph

Identifying codeC = subset of vertices which is

dominating : ∀u ∈V,N[u]∩C 6=∅,

separating : ∀u,v ∈V,N[u]∩C 6=N[v]∩C.

5 1

2

6 3 b 4

a c d

5

1 6 4

V\ C a b c d

1 • • - -

2 - • - -

3 - • • -

4 - - • •

5 • • • -

6 - • • •

Given a graph G, what is the size γID(G) of minimum identifying code ?

(7)

Modelization with a graph

Identifying codeC = subset of vertices which is

dominating : ∀u ∈V,N[u]∩C 6=∅,

separating : ∀u,v ∈V,N[u]∩C 6=N[v]∩C.

5 1

2

6 3 b 4

a c d

5

1 6 4

V\ C a b c d

1 • • - -

2 - • - -

3 - • • -

4 - - • •

5 • • • -

6 - • • •

Given a graph G, what is the size γID(G) of minimum identifying code ?

4/22

(8)

Some facts about identifying codes

Introduced in 1998 by Karpvosky, Chakrabarty and Levitin

Exists iff there is no twins u v

Twins: N[u] =N[v]

NP-complete (Charon, Hudry, Lobstein, 2001)

Hard to approximate: best approximation factor log(|V|)

Lower bound:

A vertex is identified by a nonempty subset ofC ⇒ |V| ≤2γID(G)1

γID(G)≥log(|V|+ 1) Tight example:

b c

a

bc ac ab abc

(9)

Some facts about identifying codes

Introduced in 1998 by Karpvosky, Chakrabarty and Levitin

Exists iff there is no twins

NP-complete(Charon, Hudry, Lobstein, 2001)

Hard to approximate: best approximation factor log(|V|)

Lower bound:

A vertex is identified by a nonempty subset ofC ⇒ |V| ≤2γID(G)1

γID(G)≥log(|V|+ 1) Tight example:

b c

a

bc ac ab abc

5/22

(10)

Some facts about identifying codes

Introduced in 1998 by Karpvosky, Chakrabarty and Levitin

Exists iff there is no twins

NP-complete(Charon, Hudry, Lobstein, 2001)

Hard to approximate: best approximation factor log(|V|)

Lower bound:

A vertex is identified by a nonempty subset ofC ⇒ |V| ≤2γID(G)1

γID(G)≥log(|V|+ 1) Tight example:

b c

a

bc ac ab abc

(11)

Some facts about identifying codes

Introduced in 1998 by Karpvosky, Chakrabarty and Levitin

Exists iff there is no twins

NP-complete(Charon, Hudry, Lobstein, 2001)

Hard to approximate: best approximation factor log(|V|)

Lower bound:

A vertex is identified by a nonempty subset ofC ⇒ |V| ≤2γID(G)1

γID(G)≥log(|V|+ 1) Tight example:

b c

a

bc ac ab abc

5/22

(12)

Some facts about identifying codes

Introduced in 1998 by Karpvosky, Chakrabarty and Levitin

Exists iff there is no twins

NP-complete(Charon, Hudry, Lobstein, 2001)

Hard to approximate: best approximation factor log(|V|)

Lower bound:

A vertex is identified by a nonempty subset ofC ⇒ |V| ≤2γID(G)1

γID(G)≥log(|V|+ 1) Tight example:

b c

a

bc ac ab abc

(13)

In restricted classes of graphs?

Example 1 : Class of interval graphs

I1 I4

I2 I5

I3

1 2 3

4 5

IfG is an interval graph, γID(G)≥p 2|V|.

Proposition Foucaud, Naserasr, Parreau, Valicov, 2012+

6/22

(14)

In restricted classes of graphs?

Example 1 : Class of interval graphs

I1 I4

I2 I5

I3

1 2 3

4 5

IfG is an interval graph, γID(G)≥p 2|V|.

Proposition Foucaud, Naserasr, Parreau, Valicov, 2012+

(15)

In restricted classes of graphs?

Example 2: Class of split graphs

Clique Stable set

For infinitely many split graphs G,γID(G) = log(|V|+ 1). Proposition

Min-Id-Codeis log-APX-hard for split graphs. Proposition Foucaud, 2013

7/22

(16)

In restricted classes of graphs?

Example 2: Class of split graphs

Clique Stable set

For infinitely many split graphs G,γID(G) = log(|V|+ 1).

Proposition

Min-Id-Codeis log-APX-hard for split graphs.

Proposition Foucaud, 2013

(17)

Part II

VC-dimension

8/22

(18)

Shattered set

H= (V,E) an hypergraph

A set X ⊆V is shattered if for allY ⊆X, there exists e ∈ E, s.te∩X =Y.

A 2-shattered set A 3-shattered set

(19)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

10/22

(20)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2

A 2-shattered set ⇒VC-dim = 2

(21)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

10/22

(22)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

(23)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

10/22

(24)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

(25)

Vapnik Chervonenkis (VC) dimension of an hypergraph

A set X is shatteredif ∀Y ⊆X,∃e ∈ E, s.te∩X =Y.

VC-dimension of H: largest size of a shattered set.

No 3-shattered set⇒ VC-dim≤2 A 2-shattered set ⇒VC-dim = 2

10/22

(26)

VC dimension of a graph / of a class of graph

VC-dimension of G: VC-dim of the hypergraph of closed neighborhoods

VC-dim(G) = 2

VC-dimension of a class C: maximal VC-dimension overC

I Class ofinterval graphshas VC-dimension 2.

I Class ofsplit graphshas infinite VC-dimension.

(27)

VC dimension of a graph / of a class of graph

VC-dimension of G: VC-dim of the hypergraph of closed neighborhoods

VC-dim(G) = 2

VC-dimension of a class C: maximal VC-dimension overC

I Class ofinterval graphshas VC-dimension 2.

I Class ofsplit graphshas infinite VC-dimension.

11/22

(28)

Split graphs have infinite VC-dimension

For anyk, there is a split graph with VC-dimension k.

Clique of sizek 1

2 3 4 Stable set

of size 2k

{1,2,4}

(29)

Split graphs have infinite VC-dimension

For anyk, there is a split graph with VC-dimension k.

Clique of sizek 1

2 3 4 Stable set

of size 2k

{1,2,4}

12/22

(30)

Intervals have finite VC-dimension

There is no interval graph with VC-dimension 3.

Assume there is a shattered set{1,2,3}.

Shattered set

1 3 2

1 3 2

1 3 2

1 3 2

Intervals 1 2 3 1

2 3 1

2 3

Objection {1,3} {1,3} {1,3}

1 3 2

{1,3} {1,2}

{2,3}

Forbidden for intervals !

Interval graphs have VC-dimension at most 2.

(31)

Intervals have finite VC-dimension

There is no interval graph with VC-dimension 3.

Assume there is a shattered set{1,2,3}.

Shattered set

1 3 2

1 3 2

1 3 2

1 3 2

Intervals 1 2 3 1

2 3 1

2 3

Objection {1,3} {1,3} {1,3}

1 3 2

{1,3} {1,2}

{2,3}

Forbidden for intervals !

Interval graphs have VC-dimension at most 2.

13/22

(32)

Intervals have finite VC-dimension

There is no interval graph with VC-dimension 3.

Assume there is a shattered set{1,2,3}.

Shattered set

1 3 2

1 3 2

1 3 2

1 3 2

Intervals 1 2 3 1

2 3 1

2 3

Objection {1,3} {1,3} {1,3}

1 3 2

{1,3}

{1,2}

{2,3}

Forbidden for intervals !

Interval graphs have VC-dimension at most 2.

(33)

Intervals have finite VC-dimension

There is no interval graph with VC-dimension 3.

Assume there is a shattered set{1,2,3}.

Shattered set

1 3 2

1 3 2

1 3 2

1 3 2

Intervals 1 2 3 1

2 3 1

2 3

Objection {1,3} {1,3} {1,3}

1 3 2

{1,3}

{1,2}

{2,3}

Forbidden for intervals !

Interval graphs have VC-dimension at most 2.

13/22

(34)

Intervals have finite VC-dimension

There is no interval graph with VC-dimension 3.

Assume there is a shattered set{1,2,3}.

Shattered set

1 3 2

1 3 2

1 3 2

1 3 2

Intervals 1 2 3 1

2 3 1

2 3

Objection {1,3} {1,3} {1,3}

1 3 2

{1,3}

{1,2}

{2,3}

Forbidden for intervals !

Interval graphs have VC-dimension at most 2.

(35)

Part III

Identifying codes and VC-dimension

14/22

(36)

Back to identifying codes

Graph class Lower bound (order) Approx

All logn log APX-h

Split logn log APX-h

Interval n1/2 open

Unit Interval n 2

Bipartite logn log APX-h

Line graphs n1/2 4

Chordal logn log APX-h

Planar n 7

Cograph n 1

VC dim)

∞ 2 2

∞ 4

∞ 4 2

(37)

Back to identifying codes

Graph class Lower bound (order) Approx

All logn log APX-h

Split logn log APX-h

Interval n1/2 open

Unit Interval n 2

Bipartite logn log APX-h

Line graphs n1/2 4

Chordal logn log APX-h

Planar n 7

Cograph n 1

VC dim)

∞ 2 2

∞ 4

∞ 4 2

15/22

(38)

Back to identifying codes

Graph class Lower bound (order) Approx

All logn log APX-h

Split logn log APX-h

Interval n1/2 open

Unit Interval n 2

Bipartite logn log APX-h

Line graphs n1/2 4

Chordal logn log APX-h

Planar n 7

Cograph n 1

VC dim)

∞ 2 2

∞ 4

∞ 4 2

(39)

Back to identifying codes

Graph class Lower bound (order) Approx

All logn log APX-h

Split logn log APX-h

Bipartite logn log APX-h

Chordal logn log APX-h

Interval n1/2 open

Unit Interval n 2

Line graphs n1/2 4

Planar n 7

Cograph n 1

VC dim)

∞ 2 2 4 4 2

15/22

(40)

A dichotomy result

VC-dim of C ?

Infinite

There are infinitely manyG, γID(G)log|V|

Finite d

For allG,

γID(G)(|V| −1)1/d Theorem

(41)

Proof - Case with finite VC dimension

IfChasfinite VC-dimensiond,∀G ∈ C,γID(G)≥(|V| −1)1/d. Proposition

Proof: direct consequence of:

LetX be a subset of vertices of graphG of VC-dimensiond. The number ofdistinct tracesonX is at mostPd

i=1

|X| i

≤|X|d+ 1. Sauer’s Lemma

X

Distinct traces≤ |X|d+ 1

γID(G)

γID(G)d+ 1 Identifying code

All vertices|V|

17/22

(42)

Proof - Case with finite VC dimension

IfChasfinite VC-dimensiond,∀G ∈ C,γID(G)≥(|V| −1)1/d. Proposition

Proof: direct consequence of:

LetX be a subset of vertices of graphG of VC-dimensiond. The number ofdistinct tracesonX is at mostPd

i=1

|X| i

≤|X|d+ 1.

Sauer’s Lemma

X

Distinct traces≤ |X|d+ 1

γID(G)

γID(G)d+ 1 Identifying code

All vertices|V|

(43)

Proof - Case with finite VC dimension

IfChasfinite VC-dimensiond,∀G ∈ C,γID(G)≥(|V| −1)1/d. Proposition

Proof: direct consequence of:

LetX be a subset of vertices of graphG of VC-dimensiond. The number ofdistinct tracesonX is at mostPd

i=1

|X| i

≤|X|d+ 1.

Sauer’s Lemma

X

Distinct traces≤ |X|d+ 1

γID(G)

γID(G)d+ 1 Identifying code

All vertices|V|

17/22

(44)

Back to the table

Graph class Lower bound Approx

?

VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 open 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Lower bound not optimal (ex: Line graphs)

What about approximation ?

(45)

Back to the table

Graph class Lower bound Approx

?

VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 open 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Lower bound not optimal (ex: Line graphs)

What about approximation ?

18/22

(46)

Inapproximability in infinite VC dimension

IfChas∞VC-dimension,Min-Id-Codeis log-APX-hard onC.

Theorem

Consequence of:

IfC has infinite VC-dimension,C contains:

allbipartitegraphs, or

allsplit graphs, or

allcobipartite graphs. Proposition

and

Min-Id-Codeis log-APX-hard on bipartite, split and cobipartite graphs.

Theorem Foucaud, 2013

(47)

Inapproximability in infinite VC dimension

IfChas∞VC-dimension,Min-Id-Codeis log-APX-hard onC.

Theorem

Consequence of:

IfC has infinite VC-dimension,C contains:

allbipartitegraphs, or

allsplit graphs, or

allcobipartitegraphs.

Proposition

and

Min-Id-Codeis log-APX-hard on bipartite, split and cobipartite graphs.

TheoremFoucaud, 2013

19/22

(48)

In the finite case ?

Graph class Lower bound Approx VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 open 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Is there a constant approximation in finite VC-dimension?

(49)

A class of finite VC-dimension with no good approximation

Min-ID-Codecannot be approximed within ao(log|V|) factor in polynomial time for the class ofbipartiteC4-freegraphs.

Theorem

Class of VC-dimension 2

Reduction fromSet covering with intersection 1.

21/22

(50)

What about open approximation ?

Graph class Lower bound Approx VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 open 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Thank you for your attention !

(51)

What about open approximation ?

Graph class Lower bound Approx VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 open 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Thank you for your attention !

22/22

(52)

What about open approximation ?

Graph class Lower bound Approx VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 6 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Thank you for your attention !

(53)

What about open approximation ?

Graph class Lower bound Approx VC-dim

All logn log APX-h ∞

Split logn log APX-h ∞

Bipartite logn log APX-h ∞

Chordal logn log APX-h ∞

Interval n1/2 6 2

Unit Interval n 2 2

Line graphs n1/2 4 4

Planar n 7 4

Cograph n 1 2

Permutation n1/3 open 3

Unit disk graphs n1/3 open 3

Thank you for your attention !

22/22

Références

Documents relatifs

We show that hereditary lasses with innite VC-dimension have innitely many graphs with an identifying ode of size logarithmi in the number of verties while lasses with nite

Our results showed that, despite a higher level of disability for several activities of daily living reported by people with knee arthroplasty, the evolution in disability over

The recon- struction efficiency across the Dalitz plane for true D 0 events and the Dalitz plot distributions for background with no true D 0 have been parametrized on MC

* évolué le trait du niveau d'ambition parmi les joueurs, ce qui cohérent avec la réalité social et sportif au profit des succès futurs et ce, sans les empêcher

We performed several inversions with the observed geoid and topography data using the viscosity profiles shown in Figure 1.1. Most of these profiles have

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of

This requires primordial dust grains to concentrate and grow to form the building blocks of plan- ets ( Dominik et al. However, there are two important barriers that need to be

For the extrapolation on the high frequency side, we used the room temperature ellip- sometry data and extended them assuming a constant re- flectivity up to 12.5 eV that is followed