Complexity of distributions and average-case hardness Dmitry - - PowerPoint PPT Presentation

complexity of distributions and average case hardness
SMART_READER_LITE
LIVE PREVIEW

Complexity of distributions and average-case hardness Dmitry - - PowerPoint PPT Presentation

Complexity of distributions and average-case hardness Dmitry Sokolov joint work with Dmitry Itsykson and Alexander Knop St. Petersburg Department of V. A. Steklov Institute of Mathematics Problems in Theoretical Computer Science Moscow


slide-1
SLIDE 1

Complexity of distributions and average-case hardness

Dmitry Sokolov joint work with Dmitry Itsykson and Alexander Knop

  • St. Petersburg Department of V. A. Steklov Institute of Mathematics

Problems in Theoretical Computer Science Moscow December 18-20, 2015

Sokolov D. | Complexity of distributions and average-case hardness 1/11

slide-2
SLIDE 2

Definitions

Ensembles of distributions Ensemble of distributions D = {Dn}∞

n=1.

D ∈ Samp[nk] ⇔ there is a randomized O(nk)-time algorithm A such that Dn and A(1n) are equally distributed. PSamp =

k

Samp[nk]. Heuristic computations L is a language, D is an ensemble of distributions. (L, D) ∈ HeurδDTime[nk] ⇔ there is O(nk)-time algorithm A such that Pr

x←Dn[A(x) = L(x)] > 1 − δ.

HeurδP =

k

HeurδDTime[nk].

Sokolov D. | Complexity of distributions and average-case hardness 2/11

slide-3
SLIDE 3

Definitions

Ensembles of distributions Ensemble of distributions D = {Dn}∞

n=1.

D ∈ Samp[nk] ⇔ there is a randomized O(nk)-time algorithm A such that Dn and A(1n) are equally distributed. PSamp =

k

Samp[nk]. Heuristic computations L is a language, D is an ensemble of distributions. (L, D) ∈ HeurδDTime[nk] ⇔ there is O(nk)-time algorithm A such that Pr

x←Dn[A(x) = L(x)] > 1 − δ.

HeurδP =

k

HeurδDTime[nk].

Sokolov D. | Complexity of distributions and average-case hardness 2/11

slide-4
SLIDE 4

“Easy” problems

Theorem (Gurevich and Shelah, 1987) Let HP denote the language of Hamiltonian graphs. Then (HP, U) ∈ Heur

1 2O(√n) DTime[n].

Theorem (Babai, Erdos and Selkow, 1980) Let GI denote the language of pairs of isomorphic graphs. Then (GI, U) ∈ Heur

1 7 √n DTime[n]. Sokolov D. | Complexity of distributions and average-case hardness 3/11

slide-5
SLIDE 5

“Easy” problems

Theorem (Gurevich and Shelah, 1987) Let HP denote the language of Hamiltonian graphs. Then (HP, U) ∈ Heur

1 2O(√n) DTime[n].

Theorem (Babai, Erdos and Selkow, 1980) Let GI denote the language of pairs of isomorphic graphs. Then (GI, U) ∈ Heur

1 7 √n DTime[n]. Sokolov D. | Complexity of distributions and average-case hardness 3/11

slide-6
SLIDE 6

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-7
SLIDE 7

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-8
SLIDE 8

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-9
SLIDE 9

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-10
SLIDE 10

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-11
SLIDE 11

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-12
SLIDE 12

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-13
SLIDE 13

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-14
SLIDE 14

Goal and Result

Goal Result For every k there is a language L, ensemble D and small δ such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ PSamp; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nk] we

have that (L, R) ∈ HeurδDTime[n].

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 4/11

slide-15
SLIDE 15

Past and Present

Gutfreund et al., 2007 Result If NP BPP, there exists ensemble D such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ Samp[quasi-poly]; 2 for every L ∈ NP-complete

and every α(n) = o(1) (L, D) / ∈ Heurα(n)BPP.

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 5/11

slide-16
SLIDE 16

Past and Present

Gutfreund et al., 2007 Result If NP BPP, there exists ensemble D such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ Samp[quasi-poly]; 2 for every L ∈ NP-complete

and every α(n) = o(1) (L, D) / ∈ Heurα(n)BPP.

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 5/11

slide-17
SLIDE 17

Past and Present

Gutfreund et al., 2007 Result If NP BPP, there exists ensemble D such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ Samp[quasi-poly]; 2 for every L ∈ NP-complete

and every α(n) = o(1) (L, D) / ∈ Heurα(n)BPP.

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 5/11

slide-18
SLIDE 18

Past and Present

Gutfreund et al., 2007 Result If NP BPP, there exists ensemble D such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ Samp[quasi-poly]; 2 for every L ∈ NP-complete

and every α(n) = o(1) (L, D) / ∈ Heurα(n)BPP.

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δP;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 5/11

slide-19
SLIDE 19

Past and Present

Gutfreund et al., 2007 Result If NP BPP, there exists ensemble D such that: For every 0 < a < b there is a language L, ensemble D and δ = o(1) such that:

1 D ∈ Samp[quasi-poly]; 2 for every L ∈ NP-complete

and every α(n) = o(1) (L, D) / ∈ Heurα(n)BPP.

1 D ∈ Samp[nlogb n]; 2 (L, D) /

∈ Heur1−δR;

3 for every R ∈ Samp[nloga n]

we have that (L, R) ∈ HeurδDTime[n].

Sokolov D. | Complexity of distributions and average-case hardness 5/11

slide-20
SLIDE 20

Statistical distance

Statistical distance between distributions F, G: ∆(F, G) =

  • x:F(x)≥G(x)

F(x) − G(x). SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Lemma (informal) Hierarchy theorem for (nlogb n, nloga n) ⇔ SDλ(n)(nlogb n, nloga n) property, where λ(n) → 0.

Sokolov D. | Complexity of distributions and average-case hardness 6/11

slide-21
SLIDE 21

Statistical distance

Statistical distance between distributions F, G: ∆(F, G) =

  • x:F(x)≥G(x)

F(x) − G(x). SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Lemma (informal) Hierarchy theorem for (nlogb n, nloga n) ⇔ SDλ(n)(nlogb n, nloga n) property, where λ(n) → 0.

Sokolov D. | Complexity of distributions and average-case hardness 6/11

slide-22
SLIDE 22

Samplable distributions hierarchy

SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Theorem (Watson, 2013) For any a > 0, k > 0 and ǫ > 0, SD 1

k +ǫ(poly(n), na) is true. The

size of support equals k. Theorem (Itsykson, Knop, Sokolov, 2015) For every a, b, c such that 0 < a < b and c > 0, SD

1 2(log log log n)c (nlogb n, nloga n) is true. Sokolov D. | Complexity of distributions and average-case hardness 7/11

slide-23
SLIDE 23

Samplable distributions hierarchy

SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Theorem (Watson, 2013) For any a > 0, k > 0 and ǫ > 0, SD 1

k +ǫ(poly(n), na) is true. The

size of support equals k. Theorem (Itsykson, Knop, Sokolov, 2015) For every a, b, c such that 0 < a < b and c > 0, SD

1 2(log log log n)c (nlogb n, nloga n) is true. Sokolov D. | Complexity of distributions and average-case hardness 7/11

slide-24
SLIDE 24

Samplable distributions hierarchy

SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Theorem (Watson, 2013) For any a > 0, k > 0 and ǫ > 0, SD 1

k +ǫ(poly(n), na) is true. The

size of support equals k. Theorem (Itsykson, Knop, Sokolov, 2015) For every a, b, c such that 0 < a < b and c > 0, SD

1 2(log log log n)c (nlogb n, nloga n) is true. Sokolov D. | Complexity of distributions and average-case hardness 7/11

slide-25
SLIDE 25

Samplable distributions hierarchy

SD property Functions f and g satisfy SD property with parameter λ(n) (SDλ(n)(f (n), g(n))) if: there is D ∈ Samp[f (n)]; for every F ∈ Samp[g(n)], for infinitely many n: ∆(Fn, Dn) ≥ 1 − λ(n). Theorem (Watson, 2013) For any a > 0, k > 0 and ǫ > 0, SD 1

k +ǫ(poly(n), na) is true. The

size of support equals k. Theorem (Itsykson, Knop, Sokolov, 2015) For every a, b, c such that 0 < a < b and c > 0, SD

1 2(log log log n)c (nlogb n, nloga n) is true. Sokolov D. | Complexity of distributions and average-case hardness 7/11

slide-26
SLIDE 26

Proof of the Watson theorem for k = 2

Theorem (Watson, 2013) For any a > 0 and ǫ > 0, SD 1

2+ǫ(poly(n), na) is true.

1 Let A1, . . . , An, . . . is an enumeration of all algorithms. 2 Consider sequences ni, n∗ i such that n1 = 1, ni+1 = n∗ i + 1 and

n∗

i = 2na+1

i

.

3 Consider the following algorithm (on input 1n):

find i such that ni ≤ n ≤ n∗

i ;

if n = n∗

i return b ∈ {0, 1} such that Pr[Ai(1ni) = b] ≤ 1 2;

else run Ai(1n+1) 8 log ǫ

ǫ2

times and return the majority of answers.

Sokolov D. | Complexity of distributions and average-case hardness 8/11

slide-27
SLIDE 27

Proof of the Watson theorem for k = 2

Theorem (Watson, 2013) For any a > 0 and ǫ > 0, SD 1

2+ǫ(poly(n), na) is true.

1 Let A1, . . . , An, . . . is an enumeration of all algorithms. 2 Consider sequences ni, n∗ i such that n1 = 1, ni+1 = n∗ i + 1 and

n∗

i = 2na+1

i

.

3 Consider the following algorithm (on input 1n):

find i such that ni ≤ n ≤ n∗

i ;

if n = n∗

i return b ∈ {0, 1} such that Pr[Ai(1ni) = b] ≤ 1 2;

else run Ai(1n+1) 8 log ǫ

ǫ2

times and return the majority of answers.

Sokolov D. | Complexity of distributions and average-case hardness 8/11

slide-28
SLIDE 28

Proof of the Watson theorem for k = 2

Theorem (Watson, 2013) For any a > 0 and ǫ > 0, SD 1

2+ǫ(poly(n), na) is true.

1 Let A1, . . . , An, . . . is an enumeration of all algorithms. 2 Consider sequences ni, n∗ i such that n1 = 1, ni+1 = n∗ i + 1 and

n∗

i = 2na+1

i

.

3 Consider the following algorithm (on input 1n):

find i such that ni ≤ n ≤ n∗

i ;

if n = n∗

i return b ∈ {0, 1} such that Pr[Ai(1ni) = b] ≤ 1 2;

else run Ai(1n+1) 8 log ǫ

ǫ2

times and return the majority of answers.

Sokolov D. | Complexity of distributions and average-case hardness 8/11

slide-29
SLIDE 29

Proof of the Watson theorem for k = 2

Theorem (Watson, 2013) For any a > 0 and ǫ > 0, SD 1

2+ǫ(poly(n), na) is true.

1 Let A1, . . . , An, . . . is an enumeration of all algorithms. 2 Consider sequences ni, n∗ i such that n1 = 1, ni+1 = n∗ i + 1 and

n∗

i = 2na+1

i

.

3 Consider the following algorithm (on input 1n):

find i such that ni ≤ n ≤ n∗

i ;

if n = n∗

i return b ∈ {0, 1} such that Pr[Ai(1ni) = b] ≤ 1 2;

else run Ai(1n+1) 8 log ǫ

ǫ2

times and return the majority of answers.

Sokolov D. | Complexity of distributions and average-case hardness 8/11

slide-30
SLIDE 30

PComp

Samp Ensemble of distributions D = {Dn}∞

n=1.

D ∈ Samp[nk] ⇔ there is a randomized O(nk)-time algorithm A such that Dn and A(1n) are equally distributed. Comp Ensemble of distributions D = {Dn}∞

n=1. Dn is concentrated on

{0, 1}n. D ∈ Comp[nk] ⇔ there is a O(nk)-time algorithm A such that A(x) =

y≤x

D|x|(y). PComp =

k

Comp[nk].

Sokolov D. | Complexity of distributions and average-case hardness 9/11

slide-31
SLIDE 31

PComp

Samp Ensemble of distributions D = {Dn}∞

n=1.

D ∈ Samp[nk] ⇔ there is a randomized O(nk)-time algorithm A such that Dn and A(1n) are equally distributed. Comp Ensemble of distributions D = {Dn}∞

n=1. Dn is concentrated on

{0, 1}n. D ∈ Comp[nk] ⇔ there is a O(nk)-time algorithm A such that A(x) =

y≤x

D|x|(y). PComp =

k

Comp[nk].

Sokolov D. | Complexity of distributions and average-case hardness 9/11

slide-32
SLIDE 32

Results for PComp

Theorem For all a > 0 there exists D ∈ PComp such that for all F ∈ Comp[na] for infinitely many n: ∆(Dn, Fn) ≥ 1 − 2−n. Theorem For all a > 0 there exists a language L and D ∈ PComp such that: (L, F) ∈ HeurO( 1

2n )DTime[n] for all F ∈ Comp[na];

(L, D) / ∈ Heur1−

1 2n−1 R. Sokolov D. | Complexity of distributions and average-case hardness 10/11

slide-33
SLIDE 33

Results for PComp

Theorem For all a > 0 there exists D ∈ PComp such that for all F ∈ Comp[na] for infinitely many n: ∆(Dn, Fn) ≥ 1 − 2−n. Theorem For all a > 0 there exists a language L and D ∈ PComp such that: (L, F) ∈ HeurO( 1

2n )DTime[n] for all F ∈ Comp[na];

(L, D) / ∈ Heur1−

1 2n−1 R. Sokolov D. | Complexity of distributions and average-case hardness 10/11

slide-34
SLIDE 34

Open question

Improve Watson’s theorem for λ → 0. Prove hierarchy theorem for PSamp.

Sokolov D. | Complexity of distributions and average-case hardness 11/11