Eric Allender Rutgers University Chipping Away at P vs NP: How Far Are We from Proving Circuit Size Lower Bounds? Joint work with Michal Koucky ʹ Czech.

Slides:



Advertisements
Similar presentations
Analysis of Algorithms
Advertisements

Are lower bounds hard to prove? Michal Koucký Institute of Mathematics, Prague.
Gillat Kol joint work with Ran Raz Competing Provers Protocols for Circuit Evaluation.
Amplifying lower bounds by means of self- reducibility Eric Allender Michal Koucký Rutgers University Academy of Sciences Czech Republic Czech Republic.
Having Proofs for Incorrectness
Complexity 12-1 Complexity Andrei Bulatov Non-Deterministic Space.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
1 L is in NP means: There is a language L’ in P and a polynomial p so that L 1 · L 2 means: For some polynomial time computable map r : 8 x: x 2 L 1 iff.
Computability and Complexity 13-1 Computability and Complexity Andrei Bulatov The Class NP.
Advanced Topics in Algorithms and Data Structures
Eric Allender Rutgers University New Surprises from Self- Reducibility CiE 2010, Ponta Delgada, Azores.
Arithmetic Hardness vs. Randomness Valentine Kabanets SFU.
Eric Allender Rutgers University The Audacity of Computational Complexity Theory.
Computability and Complexity 32-1 Computability and Complexity Andrei Bulatov Boolean Circuits.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
Analysis of Algorithms CS 477/677
Eric Allender Rutgers University Circuit Complexity, Kolmogorov Complexity, and Prospects for Lower Bounds DCFS 2008.
Chapter 11: Limitations of Algorithmic Power
CS151 Complexity Theory Lecture 6 April 15, 2004.
Eric Allender Rutgers University Cracks in the Defenses: Scouting Out Approaches on Circuit Lower Bounds CSR 2008.
Toward NP-Completeness: Introduction Almost all the algorithms we studies so far were bounded by some polynomial in the size of the input, so we call them.
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Halting Problem. Background - Halting Problem Common error: Program goes into an infinite loop. Wouldn’t it be nice to have a tool that would warn us.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
Themes of Presentations Rule-based systems/expert systems (Catie) Software Engineering (Khansiri) Fuzzy Logic (Mark) Configuration Systems (Sudhan) *
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
CSCE350 Algorithms and Data Structure
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Complexity Classes (Ch. 34) The class P: class of problems that can be solved in time that is polynomial in the size of the input, n. if input size is.
Theory of Computing Lecture 15 MAS 714 Hartmut Klauck.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Eric Allender Rutgers University Dual VP Classes Joint work with Anna Gál (U. Texas) and Ian Mertz (Rutgers) MFCS, Milan, August 27, 2015.
Circuit Complexity of Regular Languages Michal Koucký (Institute of Mathemaics, AS ČR, Praha)
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
CSC 413/513: Intro to Algorithms NP Completeness.
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
Circuit Lower Bounds via Ehrenfeucht- Fraïssé Games Michal Koucký Joint work with: Clemens Lautemann, Sebastian Poloczek, Denis Thérien.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
On approximate majority and probabilistic time Emanuele Viola Institute for advanced study Work done during Ph.D. at Harvard University June 2007.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Amplifying lower bounds by means of self- reducibility Eric Allender Michal Koucký Rutgers University Academy of Sciences Czech Republic Czech Republic.
NP-Complete problems.
Eric Allender Rutgers University Graph Automorphism & Circuit Size Joint work with Joshua A. Grochow and Cristopher Moore (SFI) Simons Workshop, September.
NP-complete Problems Prof. Sin-Min Lee Department of Computer Science.
CS 3343: Analysis of Algorithms Lecture 25: P and NP Some slides courtesy of Carola Wenk.
My Favorite Ten Complexity Theorems of the Past Decade II Lance Fortnow University of Chicago.
Umans Complexity Theory Lectures Lecture 17: Natural Proofs.
1 How to establish NP-hardness Lemma: If L 1 is NP-hard and L 1 ≤ L 2 then L 2 is NP-hard.
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
Hardness amplification proofs require majority Emanuele Viola Columbia University Work also done at Harvard and IAS Joint work with Ronen Shaltiel University.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Eric Allender Rutgers University Curiouser and Curiouser: The Link between Incompressibility and Complexity CiE Special Session, June 19, 2012.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
1 SAT SAT: Given a Boolean function in CNF representation, is there a way to assign truth values to the variables so that the function evaluates to true?
P & NP.
From Classical Proof Theory to P vs. NP
Circuit Lower Bounds A combinatorial approach to P vs NP
Umans Complexity Theory Lectures
NP-Completeness Yin Tat Lee
Perspective on Lower Bounds: Diagonalization
Chapter 34: NP-Completeness
Chapter 11 Limitations of Algorithm Power
NP-Completeness Yin Tat Lee
Switching Lemmas and Proof Complexity
Recent Structure Lemmas for Depth-Two Threshold Circuits
Presentation transcript:

Eric Allender Rutgers University Chipping Away at P vs NP: How Far Are We from Proving Circuit Size Lower Bounds? Joint work with Michal Koucky ʹ Czech Academy of Sciences

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 2 >< 2 > Introduction  How far are we from proving circuit lower bounds?  I have no idea!  There is a lot of pessimism, based on – The lack of any good circuit lower bounds – The [Razborov,Rudich] “natural proofs” obstacle  Today, we’ll make some observations that may cause some of you to be less pessimistic.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 3 >< 3 > But First…Why Circuits?  2 Basic models of computation – Programs (one program – works for every input length) – Circuits (different circuit for each input length)  One crucial difference: circuit lower bounds can be used to prove intractability results for fixed input sizes.  Program run-time lower bounds can’t.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 4 >< 4 > An example: the Game of Checkers  Computing strategies for Checkers requires exponential time. – More precisely, given an n -by- n Checkers board with checkers on it, no program can compute an optimal next move in fewer than c 2 n – d steps, for some constants c and d. – n -by- n Checkers is complete for EXP.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 5 >< 5 > An example: the Game of Checkers  Computing strategies for Checkers requires exponential time. – More precisely, given an n -by- n Checkers board with checkers on it, no program can compute an optimal next move in fewer than c 2 n – d steps, for some constants c and d. – Thus any program solving this problem must run very slowly on large inputs. This is the essence of asymptotic analysis.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 6 >< 6 > An example: the Game of Checkers  Computing strategies for Checkers requires exponential time. – More precisely, given an n -by- n Checkers board with checkers on it, no program can compute an optimal next move in fewer than c 2 n – d steps, for some constants c and d. – This is a much stronger statement about complexity than we are able to prove for most problems (such as NP-complete problems).

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 7 >< 7 > An example: the Game of Checkers  Computing strategies for Checkers requires exponential time. – More precisely, given an n -by- n Checkers board with checkers on it, no program can compute an optimal next move in fewer than c 2 n – d steps, for some constants c and d. – but…Conceivably, there is a hand-held device that computes optimal moves, even for Checker boards of size 1000-by-1000! – …because we don’t know if EXP is in P/poly (the class of problems with small circuits).

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 8 >< 8 > An Example of what can be done, given a circuit size lower bound  Theorem: Any circuit that takes as input a logical formula (in WS1S) of length 616 and produces as output a correct answer, saying if the formula is valid or not, has at least gates. (Stockmeyer, 1974)  (Proof sketch): There is a problem requiring exponential circuit size that is efficiently reducible to WS1S.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? < 9 >< 9 > An Example of what can be done, given a circuit size lower bound  Theorem: Any circuit that takes as input a logical formula (in WS1S) of length 616 and produces as output a correct answer, saying if the formula is valid or not, has at least gates. (Stockmeyer, 1974)  What we need: Similar lower bounds, but for problems in NP such as SAT or FACTORING.  We would even be glad to get lower bounds for restricted classes of circuits.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Big Complexity Classes  NP PP .. ..  NC  L (Deterministic Logspace)

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  TC 0 O(1)-Depth Circuits of MAJ gates  AC 0 [6]  NC 1 Log-Depth Circuits  AC 0 can’t compute Mod 2 [FSS,A]  AC 0 O(1)-Depth Circuits of AND/OR gates The Main Objects of Interest: Small Complexity Classes

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  TC 0 O(1)-Depth Circuits of MAJ gates  AC 0 [6]  NC 1 Log-Depth Circuits  AC 0 can’t compute Mod 2 [FSS,A]  AC 0 O(1)-Depth Circuits of AND/OR gates The Main Objects of Interest: Small Complexity Classes

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  TC 0 O(1)-Depth Circuits of MAJ gates  NC 1 Log-Depth Circuits  AC 0 [2] can’t compute Mod 3 [R,S]  AC 0 [2]  AC 0 O(1)-Depth Circuits of AND/OR gates The Main Objects of Interest: Small Complexity Classes

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  NC 1 Log-Depth Circuits  TC 0 O(1)-Depth Circuits of MAJ gates  AC 0 [6]  AC 0 [2]  AC 0 O(1)-Depth Circuits of AND/OR gates The Main Objects of Interest: Small Complexity Classes

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  NC 1 poly-size formulae  TC 0 O(1)-Depth Circuits of MAJ gates  AC 0 [6]  AC 0 [2]  AC 0 O(1)-Depth Circuits of AND/OR gates The Main Objects of Interest: Small Complexity Classes

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  NP has complete sets (under polynomial time reducibility ≤ P )  These small classes have complete sets, too (under ≤ AC° ) Complete Problems

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Reductions  A ≤ AC° B means that there is a constant-depth circuit computing A that has the usual AND and OR gates, and also has ‘oracle gates’ for B. B

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  NC 1  TC 0  AC 0 [6]  AC 0 [2]  AC 0 Complete Problems  sorting, multiplication, division  [Naor,Reingold] Pseudorandom Generator

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  NC 1  TC 0  AC 0 [6]  AC 0 [2]  AC 0 Complete Problems  BFE: Balanced Boolean Formula Evaluation (AND,OR,XOR)  Word problem over S 5

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? The Word Problem Over S 5  A regular set complete for NC 1 =

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Complexity Classes are not Invented – They’re Discovered  NP (SAT, Clique, TSP,…)  P (Linear Programming, CVP, …)  NL (Connectivity, Shortest Paths, 2SAT, …)  L (Undirected Connectivity, Acyclicity, …)  NC 1 (BFE, Regular Sets)  TC 0 (Sorting, Multiplication, Division) We’re interested in NC 1 (for instance) not because we want to build formulae for these functions…

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Complexity Classes are not Invented – They’re Discovered  NP (SAT, Clique, TSP,…)  P (Linear Programming, CVP, …)  NL (Connectivity, Shortest Paths, 2SAT, …)  L (Undirected Connectivity, Acyclicity, …)  NC 1 (BFE, Regular Sets)  TC 0 (Sorting, Multiplication, Division) … but because we want to know if the blocks of this partition are distinct.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Complexity Classes are not Invented – They’re Discovered  NP (SAT, Clique, TSP,…)  P (Linear Programming, CVP, …)  NL (Connectivity, Shortest Paths, 2SAT, …)  L (Undirected Connectivity, Acyclicity, …)  NC 1 (BFE, Regular Sets)  TC 0 (Sorting, Multiplication, Division) These classes are real. They’re important.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? How far are we in this talk?  We’ve explained why circuit lower bounds are important.  …even for restricted classes of circuits.  What is currently known about these classes?

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Longstanding Open Problems  Is P = NP?  Is AC 0 [6] = NP?  Is depth 3 AC 0 [6] = NP? We’ll focus on questions such as : Is BFE in TC 0 ? Is BFE in AC 0 [6]?

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? How Close Are We to Proving Circuit Lower Bounds?  Conventional Wisdom: Not Close At All!  No new superpolynomial size lower bounds in over two decades.  Razborov and Rudich: Any “natural” argument proving a lower bound against a circuit class C yields a proof that C can’t compute a pseudorandom function generator.  Since the [Naor, Reingold] generator is computable in TC 0, this is bad news.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? More Modest Goals  Problems requiring formulae of size n 3 [Håstad]  Problems requiring branching programs of size nearly n loglog n [Beame, Saks, Sun, Vee]  Problems requiring depth d TC 0 circuits of size n 1+ c [Impagliazzo, Paturi, Saks]  Time-Space Tradeoffs [Fortnow, Lipton, Van Melkebeek, Viglas]  There is little feeling that these results bring us any closer to separating complexity classes.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  How close are the following two statements?  TC 0 Circuits for BFE must be of size n 1+Ω(1)  TC 0 Circuits for BFE must be of size n 1+ c for some c >0 How Close Are We to Proving Circuit Lower Bounds?

Eric Allender: How Close Are We to Proving Circuit Lower Bounds?  How close are the following two statements?  TC 0 Circuits for BFE must be of size n 1+Ω(1)  TC 0 Circuits for BFE must be of size n 1+ c for some c >0 How Close Are We to Proving Circuit Lower Bounds? This is known [IPS’97] This implies TC 0 ≠ NC 1

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self-Reducibility  A set B is said to be “self-reducible” if B ≤ P B

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self-Reducibility  A set B is said to be “self-reducible” if B ≤ P B via a reduction that, on input x, does not ask about whether x is in B.  Very well-studied notion.  For example, φ is in SAT if and only if (φ 0 is in SAT) or (φ 1 is in SAT)

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self-Reducibility  Many of the important problems in (or near) NC 1 have a special self-reducibility property:

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self-Reducibility  Many of the important problems in (or near) NC 1 have a special self-reducibility property: Instances of length n are AC 0 -Turing (or TC 0 - Turing) reducible to instances of length n ½ via reductions of linear size.  Examples: – BFE – the word problem over S 5 – MAJORITY – Iterated Product of 3-by-3 Integer Matrices

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self Reducibility  BFE A subformula near the root Subformulae near inputs

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self Reducibility S5S5

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Self Reducibility  The self-reduction of S 5, on inputs of size n, uses ( n ½ + 1) oracle gates of size n ½.  Thus if S 5 has TC 0 circuits of size n k, it also has circuits of size ( n ½ + 1) n k/ 2 = O(n (k+ 1)/2 ).  Similar arguments hold for other classes (such as AC 0 [6] and NC 1 ).  More complicated self-reductions can be presented for MAJORITY and Iterated Product of 3-by-3 matrices.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? A Corollary  If BFE has TC 0 or AC 0 [6] circuits, then it has such circuits of nearly linear size.  If S 5 has TC 0 or AC 0 [6] circuits, then it has such circuits of nearly linear size.  If MAJ has AC 0 [6] circuits, then it has such circuits of nearly linear size. (Etc.)  Thus, e.g., to separate NC 1 from TC 0, it suffices to show that BFE requires TC 0 circuits of size n

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? A Corollary  If BFE has TC 0 or AC 0 [6] circuits, then it has such circuits of nearly linear size.  If S 5 has TC 0 or AC 0 [6] circuits, then it has such circuits of nearly linear size.  If MAJ has AC 0 [6] circuits, then it has such circuits of nearly linear size. (Etc.)  How widespread is this phenomenon? Is it true for SAT? (I.e., can we show NP ≠ TC 0 by proving that SAT requires TC 0 circuits of size n ?)

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Limitations of Self-Reducibility  Any problem for which instances of length n are TC 0 -Turing reducible to instances of length n ½ via poly-size reductions lies in NC.  Thus there is no obvious way to apply these techniques to SAT or to problems complete for P.  …but perhaps, rather than showing directly that SAT has this strong form of self- reducibility, one can argue that if SAT is in TC 0 then it has TC 0 circuits of nearly-linear size.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Limitations of Self-Reducibility  Any problem for which instances of length n are TC 0 -Turing reducible to instances of length n ½ via poly-size reductions lies in NC.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Limitations of Self-Reducibility  Any problem for which instances of length n are TC 0 -Turing reducible to instances of length n ½ via poly-size reductions lies in NC. d levels of oracle gates

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Limitations of Self-Reducibility  Any problem for which instances of length n are TC 0 -Turing reducible to instances of length n ½ via poly-size reductions lies in NC. d 2 levels of oracle gates

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Limitations of Self-Reducibility  Any problem for which instances of length n are TC 0 -Turing reducible to instances of length n ½ via poly-size reductions lies in NC. d 3 levels of oracle gates After log log rounds, the depth is log O(1) n

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Some Lower Bounds  Recall that [IPS] showed: – TC 0 Circuits for BFE must be of size n 1+Ω(1)  Thus SAT also requires TC 0 circuits of this size.  The [IPS] bound actually shows that PARITY requires circuits of this size.  We do NOT know similar bounds for AC 0 [6].

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? A Lower Bound for AC 0 [6]  For every d there is an ε >0 such that SAT requires depth d AC 0 [6] circuits of size n 1+ ε  The same proof shows that the same bound holds for TC 0.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? A Lower Bound for AC 0 [6]  For every d there is an ε >0 such that SAT requires depth d AC 0 [6] circuits of size n 1+ ε  If no such ε exists, then for all δ >0, SAT is in TimeSpace( n 1+ δ,n 1- δ ).  This violates the time-space tradeoff results of [Van Melkebeek].

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? A Lower Bound for AC 0 [6]  For every d there is an ε >0 such that SAT requires depth d AC 0 [6] circuits of size n 1+ ε  If no such ε exists, then for all δ >0, SAT is in TimeSpace( n+n dδ,n 1- δ ).  Hint of proof: Do a depth-first evaluation of the circuit, using the space bound to store the value of all gates having large fan-in (and re- computing all other values as needed).

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Prospects for Progress  We have seen that existing techniques prove bounds that are “nearly” good enough to separate NC 1 and TC 0. Some of these proofs are “natural”.  Don’t the results of [Razborov & Rudich] indicate that further progress will require very different approaches?  Not necessarily!

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Prospects for Progress  The [Razborov & Rudich] framework of natural proofs assumes that a “natural” proof of a lower bound will make use of a combinatorial property that (among other things) is shared by a large fraction of the functions on n bits.  In contrast, we are making use of a self- reducibility property that allows us to boost a n 1+ ε lower bound to a superpolynomial lower bound. This self-reducibility property holds for only a vanishingly small fraction of all functions.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Prospects for Progress  These observations are simple, but …  they have forever changed the way that we look at quadratic (and smaller) lower bounds.  We are not claiming to have found a way around the obstacles identified by [Razborov & Rudich]. (Such a claim will have to wait until someone proves that NC 1 ≠ TC 0.) But we do believe that this avenue deserves further exploration.

Eric Allender: How Close Are We to Proving Circuit Lower Bounds? Conclusions  Circuit lower bounds are necessary. – Program run-time lower bounds do not yield bounds for fixed input sizes.  We even need circuit lower bounds for small circuit classes.  Seemingly-modest improvements to existing lower bounds would yield exciting separations of complexity classes.  There may be cause for renewed optimism.