meta-algorithms vs. circuit lower boundskabanets/talks/tamc_2011.pdf · meta-algorithms vs. circuit...

49
Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Upload: others

Post on 17-Oct-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Meta-Algorithms vs.

Circuit Lower Bounds

Valentine Kabanets

Tokyo Institute of Technology &

Simon Fraser University

Page 2: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Understanding Efficiency

Better understanding ofEfficient Computation

Good Algorithms Strong Lower Bounds

Page 3: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Meta-Algorithms

Algorithms operating on algorithms

Meta-AlgorithmAlgorithm

Page 4: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Examples of Meta-Algorithms

• Computability Theory :

Virus checker ,

Infinite-loop detector (aka Halting problem)

• Complexity Theory :

SAT ,

Polynomial Identity Testing (PIT)

Page 5: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Self-Reference …

• Computability: impossibility results (via diagonalization)

• Complexity: efficient ( non-trivial ) meta-algorithms ( for SAT , PIT ) lead to circuit lower bounds

Page 6: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

The rest of the talk …

part 1:

Meta-algorithms

Circuit lower bounds

part 2:

Circuit lower bounds

Meta-algorithms

Page 7: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Circuit Lower Boundsfrom

SAT-Algorithms

Page 8: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Circuit - SAT

x1 x2 x3 … xn

Given: poly(n)-size circuit C on n inputs.

Decide: Is C satisfiable ?

Page 9: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

If pigs can fly ...

If SAT in P, then

• L in E = DTIME (2O(n)) of circuit size > 2n/n

• constant c Lc in P of circuit size > nc

E SIZE(2n/n) P NP

[ Kannan ]

Page 10: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Kannan’s proof

• Brute-force (diagonalization) :Define a hard language in a largecomplexity class C(using alternation)

• Speed-up : Collapse C to a smallercomplexity class using SAT P(removing alternation)

Page 11: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

P=NP E requires size 2n/n

• E 3 requires circuit size 2n/n : For each n, use , to define the lex. first Boolean function fn : {0,1}n {0,1} of circuit size > 2n/n

• P = NP PH = P EPH = E

… x y R(…,x,y) becomes … x R’(…,x)

co-NP question contains SAT-algorithm

Use of Self-Reference

Page 12: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Karp-Lipton’s proof:P = NP EXP not in PolySize

• EXP in PolySize EXP = 2 .

• P = NP 2 = P .

• EXP = P. X

Self-Reference

Local Checkability of Computation

Diagonalization

Page 13: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Local Checkability of Computation

t

i

m

e

tape symbols

tableu of computation

2x3 window

TM’s computation is correct iff all 2x3 “windows” are legal. (Used by Cook & Levin to show 3-SAT is NP-complete)

More on local checkability in [ Arora, Impagliazzo, Vazirani ]

Page 14: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

EXP in PolySize EXP =2

• Let L EXP be decided by TM M

• TableauM (x, i, j) EXP

• polysize circuit C computing TableauM

• x L C tableau windows defined by C(x, . , .) are legal

& the tableau is accepting

Page 15: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Karp-Lipton’s proof:P = NP EXP not in PolySize

• EXP in PolySize EXP = 2 .

• P = NP 2 = P .

• EXP = P. X

Self-Reference

Local Checkability of Computation

Diagonalization

Page 16: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Generalizing Karp-Lipton:co-NP in NSUBEXP

NEXP not in PolySize

• NEXP in PolySize NEXP = 2 [IKW]

• co-NP in NSUBEXP 2 in NSUBEXP

• NEXP in NSUBEXP . X

Page 17: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Can we use this approach to get any actual

circuit lower bounds ???

[ Williams ] : Yes ! For ACC0 – circuits (constant depth, with mod-gates).

Page 18: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Williams’ argument:

ACC0-SAT algorithm NEXP not in ACC0

Page 19: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Pushing Karp-Lipton further …

• NEXP in PolySize NEXP = 2 [IKW]

• co-NP in NSUBEXP 2 in NSUBEXP

• NEXP in NSUBEXP . X

ACC0

ACC0-UNSAT

ACC0-UNSAT in NTime( 2n /nc ) is enough !

Relies on efficient oblivious simulation of TMs, & other ideas …

Page 20: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

C - Circuit Satisfiability

• There is k>0 such that :

If C – SAT for nc-size n-input circuits is in time O( 2n /nk ) for every c,

then NTime( 2n ) is not in C - PolySize.

• ACC0 – SAT is solvable in the required time. Hence, NEXP not in ACC0.

[ Williams ]

Page 21: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Circuit Lower Boundsfrom

PIT-Algorithms

Page 22: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Polynomial Identity Testing (“Arithmetic Circuit-UNSAT”)

+

*3

x1 x2 x3 … xn

Given: poly(n)-size arithmetic circuit C on ninputs (over rationals).

Decide: Is C 0 ?

Extra structure ( C is a polynomial ) makes PIT easier than UNSAT :PIT in co-RP [ Schwartz, Zippel, DeMillo-Lipton, … ]

Page 23: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Boolean or Arithmetic circuit lower bound

Suppose PIT in P.

Then

NEXP not in PolySize, OR

Permanent not in Arithmetic PolySize(over integers).

[ K., Impagliazzo ]

Page 24: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Important Polynomial IdentitiesPermanent: For X = ( xi,j )n x n

Permn (X) = xi,(i)

Defining Identities (expansion by minors):

Permn (X) x1,j Permn-1 (X1,j )

. . .

Perm1(x) x

Arithmetic circuits C1, …, Cn compute Perm1, …, Permn iff C1,…,Cn satisfy the identities.

Page 25: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

If PIT is easy …

Permanent-Check:

Given an arithmetic circuit C,

decide if C Permn.

PIT P Permanent-Check P

Page 26: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Importance of Permanent

• #P- completeness :

P#P = PPerm [ Valiant ]

• can simulate alternating , :

PH P#P = PPerm [ Toda ]

Page 27: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Concluding the proof of [KI]Suppose PIT is in P. Suppose Perm is in Arithmetic PolySize.

Then can “ guess & verify ” a polysizecircuit for Permn. So,

P Perm NP.By padding,

EPH NE. By diagonalization, EPH not in PolySize. QED

PH

Page 28: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Pseudo-Random Generator (PRG) for PIT Circuit Lower Bounds

• PRG fools every arithmetic circuit of size s.

• Define a non-zero polynomial p that is zero on all outputs of PRG.

• Then p requires arithmetic circuit size > s. Also, p is computable in E.

[ Heintz, Schnorr ]

Page 29: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Non-trivial algorithms for

SAT or PIT

yield circuit lower bounds.

Page 30: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Meta-Algorithmsfrom

Circuit Lower Bounds

Page 31: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

“ Black-Box ” Use of

Circuit Lower Bounds

Page 32: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Derandomization

Computational Hardness

Computational Randomness (pseudorandomness)[ Blum, Micali, Yao; Nisan & Wigderson, Babai et al., … ]

Hard Boolean function (truth table)

PRG

Hardness – into – Randomness Converter

Page 33: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Pseudo-Random Generator (PRG)

PRG

random seed

pseudorandom string random string

look “indistinguishable”to any small circuit

Page 34: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Incompressibility Argument

Each r Bad has “small” description relative to C : log |B| bits specifying the rank of r in B, plus the description of C

C

n-bit string

rejectedstrings Bad

all n-bit strings

Any string incompressible relative to C is accepted by C.

Page 35: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Incompressibility Argument

Each r Bad has “small” description relative to C

C

n-bit string

rejectedstrings Bad

all n-bit strings

Any string incompressible relative to C is accepted by C.

High circuit complexity =

incompressibility relative to small circuits

Page 36: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Hardness into Randomness

• Boolean circuit hardness :

E requires circuit size 2(n) PIT P

[ Impagliazzo & Wigderson ]

• Arithmetic circuit hardness :

E has a multilinear polynomial of circuit size 2(n) PIT Quasi-P ( Time( n polylog n ) )

[ K. & Impagliazzo ]

Page 37: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Non - “ Black-Box ” Use of

Circuit Lower Bounds

Page 38: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

AC0 Circuits

PARITY ( x1, …, xn ) requires depth d AC0

circuits of size > 2n1/(d-1)

[ Furst, Saxe, Sipser; Yao; Hastad ]

Main Tool : Switching Lemma

Page 39: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Switching Lemma

Given an AC0 circuit C(x1,…,xn),

• Choose a random subset of variables,

• Assign them to 0 or 1 randomly.

Very likely, the circuit becomes shallow.

[ Hastad ]

C not too large can make it a constant function, with some variables still free.

So, C can’t compute PARITY.

Page 40: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

AC0 Lower Bound Strategy

1. Simplify a given small circuit (by random restriction).

2. Argue that the resulting simple circuit cannot possibly compute the restriction of the original function.

Useful for meta-algorithms

Page 41: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

AC0-functions are sparse

small AC0-circuit

sparse polynomial (Fourier)

[ Linial, Mansour, Nisan ]

Page 42: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Learning AC0 -circuits

1. Small AC0-circuit C is likely a constant function under a random restriction

2. C can’t crucially depend on many variables

3. C is well-approximated by a linear combination of simple functions of very few variables ( most energy on low frequencies )

4. Good approximation to C can be efficiently learned ( by learning few Fourier coefficients )

Page 43: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

AC0 into DNF

DNF : 2n (1 - ) ANDs, with = 1/(log c + d log d)d-1

[ Impagliazzo, Mathews, Paturi ]

x1 x2 x3 … xn

AC0 circuit: size cn, depth d

ANDs have disjoint sets of satisfying assignments

#SAT for such DNFs is easy !

Page 44: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Flattening AC0-circuits

Given an AC0 circuit C(x1,…,xn) of depth dand size c n.

Using Switching Lemma, find a set of restrictions {i } that partition {0,1}n

so that each C|i is constant.

Whp, # restrictions < 2 n (1-) , where

> ( 1/(log c + d log d)d-1 ). The running time is poly(n) |C| (# restrictions).

Page 45: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

AC0 – #SAT Algorithm [ IMP ]

• Convert a given small AC0 – circuit to an equivalent DNF = OR of not too many ANDs, with disjoint sets of satisfying assignment.

• Each AND on t variables has 2n-t

satisfying assignments.

• Add up over all ANDs.

Page 46: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

ACC0 – #SAT Algorithm [ Williams ]

#SAT for SYM-AND : Time ( 2n + poly(S) ) poly(n)

via Dynamic Programming ( z-transform )

x1 x2 x3 … xn

sym

mod

6

ACC0 circuit: size s, depth d

SYM-AND : S s(log s)m

ANDs, with m 2O(d)

[ Yao; Beigel, Tarui; Allender, Gore ]

SYM : # true ANDs { 0,1 } Rather than Time

2n poly(S)

Page 47: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

More “LB Algorithms”

• [ Santhanam ] : Formula-SAT in time

|| 2n (1- 1/poly(c)), for formulas of size c n. ( random restrictions )

• [ Braverman ] : k-wise independence fools AC0 – circuits.

( Linial,Mansour,Nisan; Razborov–Smolensky )

• MORE TO COME ? Yes, I think so !

Page 48: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Summary

• Good meta-algorithms (SAT, PIT, Learning)

strong circuit lower bounds

• Can use this connection to get unconditional results on each side !

Page 49: Meta-Algorithms vs. Circuit Lower Boundskabanets/talks/TAMC_2011.pdf · Meta-Algorithms vs. Circuit Lower Bounds Valentine Kabanets Tokyo Institute of Technology & Simon Fraser University

Some Challenges

• Non-black-box “SAT-Algorithms Circuit Lower Bounds” conversions ?

[ BPP = P circuit l.b. for NEXP, but PRG circuit l.b. for EXP ]

• Better circuit lower bounds for AC0

better SAT-algorithms ?

[ beyond the Switching Lemma ? ]