Sarah R. Allen Ryan O’Donnell David Witmer Carnegie Mellon University.

Slides:



Advertisements
Similar presentations
On allocations that maximize fairness Uriel Feige Microsoft Research and Weizmann Institute.
Advertisements

A threshold of ln(n) for approximating set cover By Uriel Feige Lecturer: Ariel Procaccia.
Shortest Vector In A Lattice is NP-Hard to approximate
Inapproximability of Hypergraph Vertex-Cover. A k-uniform hypergraph H= : V – a set of vertices E - a collection of k-element subsets of V Example: k=3.
Approximate List- Decoding and Hardness Amplification Valentine Kabanets (SFU) joint work with Russell Impagliazzo and Ragesh Jaiswal (UCSD)
Inapproximability of MAX-CUT Khot,Kindler,Mossel and O ’ Donnell Moshe Ben Nehemia June 05.
Hardness of Robust Graph Isomorphism, Lasserre Gaps, and Asymmetry of Random Graphs Ryan O’Donnell (CMU) John Wright (CMU) Chenggang Wu (Tsinghua) Yuan.
COMP 553: Algorithmic Game Theory Fall 2014 Yang Cai Lecture 21.
Gibbs sampler - simple properties It’s not hard to show that this MC chain is aperiodic. Often is reversible distribution. If in addition the chain is.
Heuristics for the Hidden Clique Problem Robert Krauthgamer (IBM Almaden) Joint work with Uri Feige (Weizmann)
1 Backdoor Sets in SAT Instances Ryan Williams Carnegie Mellon University Joint work in IJCAI03 with: Carla Gomes and Bart Selman Cornell University.
The Theory of NP-Completeness
Great Theoretical Ideas in Computer Science for Some.
3-Query Dictator Testing Ryan O’Donnell Carnegie Mellon University joint work with Yi Wu TexPoint fonts used in EMF. Read the TexPoint manual before you.
Optimization problems, subexponential time, & Lasserre algorithms Featuring work by: Ryan O’DonnellCMU Venkat GuruswamiCMU Ali K. SinopCMU David WitmerCMU.
Conditional Inapproximability and Limited Independence
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Dictator tests and Hardness of approximating Max-Cut-Gain Ryan O’Donnell Carnegie Mellon (includes joint work with Subhash Khot of Georgia Tech)
Approximation Algoirthms: Semidefinite Programming Lecture 19: Mar 22.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Beating Brute Force Search for Formula SAT and QBF SAT Rahul Santhanam University of Edinburgh.
1 Introduction to Computability Theory Lecture13: Mapping Reductions Prof. Amos Israeli.
Venkatesan Guruswami (CMU) Yuan Zhou (CMU). Satisfiable CSPs Theorem [Schaefer'78] Only three nontrivial Boolean CSPs for which satisfiability is poly-time.
Perfect and Statistical Secrecy, probabilistic algorithms, Definitions of Easy and Hard, 1-Way FN -- formal definition.
Analysis of Algorithms: Random Satisfiability Benny Applebaum Introduction.
1 Polynomial Church-Turing thesis A decision problem can be solved in polynomial time by using a reasonable sequential model of computation if and only.
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Testing of Clustering Noga Alon, Seannie Dar Michal Parnas, Dana Ron.
Complexity 19-1 Complexity Andrei Bulatov More Probabilistic Algorithms.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
NP-complete and NP-hard problems. Decision problems vs. optimization problems The problems we are trying to solve are basically of two kinds. In decision.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Complexity Theory: The P vs NP question Lecture 28 (Dec 4, 2007)
How Robust are Linear Sketches to Adaptive Inputs? Moritz Hardt, David P. Woodruff IBM Research Almaden.
Dana Moshkovitz, MIT Joint work with Subhash Khot, NYU.
1.1 Chapter 1: Introduction What is the course all about? Problems, instances and algorithms Running time v.s. computational complexity General description.
The Theory of NP-Completeness 1. What is NP-completeness? Consider the circuit satisfiability problem Difficult to answer the decision problem in polynomial.
Graph Coalition Structure Generation Maria Polukarov University of Southampton Joint work with Tom Voice and Nick Jennings HUJI, 25 th September 2011.
1 The Theory of NP-Completeness 2012/11/6 P: the class of problems which can be solved by a deterministic polynomial algorithm. NP : the class of decision.
1 The TSP : NP-Completeness Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell.
Ryan ’Donnell Carnegie Mellon University O. f : {−1, 1} n → {−1, 1} is “quasirandom” iff fixing O(1) input coords changes E[f(x)] by only o (1)
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
MCS 312: NP Completeness and Approximation algorthms Instructor Neelima Gupta
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CSE 024: Design & Analysis of Algorithms Chapter 9: NP Completeness Sedgewick Chp:40 David Luebke’s Course Notes / University of Virginia, Computer Science.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
COMPSCI 102 Introduction to Discrete Mathematics.
Approximation Algorithms for Graph Homomorphism Problems Chaitanya Swamy University of Waterloo Joint work with Michael Langberg and Yuval Rabani Open.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Finding Correlations in Subquadratic Time Gregory Valiant.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
Unique Games Approximation Amit Weinstein Complexity Seminar, Fall 2006 Based on: “Near Optimal Algorithms for Unique Games" by M. Charikar, K. Makarychev,
CS6045: Advanced Algorithms NP Completeness. NP-Completeness Some problems are intractable: as they grow large, we are unable to solve them in reasonable.
CS 8751 ML & KDDComputational Learning Theory1 Notions of interest: efficiency, accuracy, complexity Probably, Approximately Correct (PAC) Learning Agnostic.
Yuan Zhou, Ryan O’Donnell Carnegie Mellon University.
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
Why almost all satisfiable k - CNF formulas are easy? Danny Vilenchik Joint work with A. Coja-Oghlan and M. Krivelevich.
Complexity 24-1 Complexity Andrei Bulatov Interactive Proofs.
Boaz Barak (MSR New England) Fernando G.S.L. Brandão (Universidade Federal de Minas Gerais) Aram W. Harrow (University of Washington) Jonathan Kelner (MIT)
Lecture. Today Problem set 9 out (due next Thursday) Topics: –Complexity Theory –Optimization versus Decision Problems –P and NP –Efficient Verification.
Technion Haifa Research Labs Israel Institute of Technology Underapproximation for Model-Checking Based on Random Cryptographic Constructions Arie Matsliah.
Approximation Algorithms based on linear programming.
Yuan Zhou Carnegie Mellon University Joint works with Boaz Barak, Fernando G.S.L. Brandão, Aram W. Harrow, Jonathan Kelner, Ryan O'Donnell and David Steurer.
Approximation algorithms
More NP-Complete and NP-hard Problems
Polynomial integrality gaps for
Sum of Squares Lower Bounds for Refuting Any CSP
Nikhil Bansal, Shashwat Garg, Jesper Nederlof, Nikhil Vyas
On The Quantitative Hardness of the Closest Vector Problem
Presentation transcript:

Sarah R. Allen Ryan O’Donnell David Witmer Carnegie Mellon University

Average-case complexity of CSPs. E.g., random 3SAT.

Random 3SAT n variables, m = m(n) constraints, each an OR of 3 uniformly random literals m 4.267n satisfiable (w.v.h.p.) unsatisfiable (w.v.h.p.) Algorithmic task: find a satisfying assignment Algorithmic task: find a refutation (proof of unsatisfiability)

What is this “refutation” task? 1. Algorithm should (w.h.p.) output a proof, encoded in some formal language like ZFC, that the CSP instance is unsatisfiable. 2. Algorithm should output “unsatisfiable” or “no comment”. It should never be wrong, and it should output “unsatisfiable” w.h.p. Potential example: Algorithm solves an LP/SDP relaxation, outputs “unsatisfiable” iff its value < m.

Random 3SAT n variables, m = m(n) constraints, each an OR of 3 uniformly random literals m 4.267n find a sat. assignmentfind a refutation 3.52n provably doable [HS03,KKL03]

Random 3SAT n variables, m = m(n) constraints, each an OR of 3 uniformly random literals m 4.267n find a sat. assignmentfind a refutation 3.52n provably doable [HS03,KKL03] heuristically doable (?) [MPR15] provably doable [FGK01] ???

Perhaps when, say, m = n 1.4, there’s no poly-time refutation algorithm. Cool! An efficient way to randomly generate simple, hard-to-solve algorithmic tasks! Potential application 1: Cryptography. [Gol00, ABW09, Applebaum…] Potential application 2: Hardness of learning. [Daniely–Linial–Shalev-Shwartz13+]

For applications, investigating random CSP(P) for different predicates P matters. E.g., for certain kinds of k-ary predicates P, if refuting random CSP(P) is hard when m = n C … App. 1: Gives evidence for PRGs in NC 0 with stretch n ↦ n C App. 2: Shows hardness of PAC-learning concept classes “related to” P, assuming C → ∞ as k → ∞

Refuting random CSPs is heavily studied for kSAT, less studied for other predicates.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. The “complexity” of P, an integer we’ll define shortly. It’s always at most k, and “often” small, like 2, 3, 4.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. There’s some evidence that this is the “right” answer. We’ll say more at the end of the talk.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. Ignoring polylog(n) factors.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. Recovers the known n 1.5 result for 3SAT ; cmplx(OR 3 ) = 3.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. New result for kSAT, when k ≥ 5 is odd: we refute provided m ≫ n k/2 ; previous best was m ≫ n ⌈ k/2 ⌉.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. Our results also hold for non-Boolean predicates.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. Running time is n O(k). The algorithm can be “k rounds of the SOS SDP hierarchy”.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. We even provide a δ-refutation, i.e., a proof that OPT ≤ (1−δ)m, for some constant δ = δ(P) > 0.

Our main theorem: A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. If you take m ≫ n k/2, we provide “strong refutation”: i.e., proof that OPT ≤ E[P]·m + o(m). E.g., that OPT ≤ ⅞·m + o(m) for 3SAT, OPT ≤ ½·m + o(m) for kXOR.

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. 3SAT example: P = OR 3 = Does it support a 2-wise uniform distribution? Yes.

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. 3SAT example: P = OR 3 = Does it support a 2-wise uniform distribution? Yes. Uniform distrib. on these 4 strings.

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. 3SAT example: P = OR 3 = Does it support a 2-wise uniform distribution? Yes. Does it support a 3-wise uniform distribution? No. ∴ cmplx(OR 3 ) = 3. We can refute once m ≫ n 1.5

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. 2-out-of-4-SAT: P = Does it support a 2-wise uniform distribution?No. (If it did, by symmetrization that distribution could be the uniform distribution over weight-2, length-4 strings, but that’s not 2-wise uniform.)

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. 2-out-of-4-SAT: P = Does it support a 2-wise uniform distribution?No. ∴ cmplx(P) = 2. We can refute random instances once m ≫ n.

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. Does it support a 2-wise uniform distribution?No. ∴ cmplx(P) = 2. We can refute random instances once m ≫ n. The exact same thing holds for any j-out-of-k-SAT. (Refutation fact was already known [BB02].)

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. [DLS14]: A very strong conjecture implying that for many k-ary predicates P, random CSP(P) instances with n ω k→∞ (1) constraints are not refutable in polynomial time. Instantiated with 3 families (P k ), derived 3 hardness-of-learning results. Unfortunately, we show all these predicates have cmplx(P k ) ≤ 4.

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. [DLS14]: A very strong conjecture implying that for many k-ary predicates P, random CSP(P) instances with n ω k→∞ (1) constraints are not refutable in polynomial time. Instantiated with 3 families (P k ), derived 3 hardness-of-learning results. Fortunately, [DS14,Dan15] mostly recovered the results based on more plausible assumptions.

A condition similar to m ≫ n cmplx(P) / 2 also arises in work on finding satisfying assignments in random CSPs with a planted solution [FPV14]. Warning / Remark Nevertheless, I assure you: solving planted CSPs & refuting random CSPs are quite distinct algorithmic tasks.

A poly-time algorithm that, for any k-ary predicate P, refutes (whp) uniformly random CSP(P) instances, provided m ≫ n cmplx(P) / 2. Plan for the rest of the talk Part 1: Strong refutation for kXOR Part 2: Strong refutation for any k-CSP, provided m ≫ n k/2 Part 3: Proof of the main theorem

Part 1: Strong refutation for kXOR

Given a random kXOR CSP with m ≫ n k/2, want to certify “OPT ≤ ½ · m +o(m)” (whp). [ CCF10 ] strongly refute any CSP with m ≫ n ⌈ k/2 ⌉. For kXOR specifically, m ≫ n ⌈ k/2 ⌉ follows pretty easily from approximation algs literature. For 3SAT, strong refutation provided m ≫ n 1.5 achieved by [ CGL07 ]. Messy, but if you stare at it long enough, it’s clear it generalizes to 3XOR. This, as well as the generalization to kXOR, done independently by [ BM15 ].

Given a random kXOR CSP with m ≫ n k/2, want to certify “OPT ≤ ½ · m +o(m)” (whp). The weaker bound m ≫ n ⌈ k/2 ⌉ follows from the k = 2 case, and a very trivial trick. The m ≫ n k/2 bound requires adding in a very clever trick (from [ FGK01,CGL07 ]). Sadly, only time for a sketch of the k = 2 case.

Given a random 2XOR CSP with m ≫ n, want to certify “OPT ≤ ½ · m +o(m)” (whp). n variables, x 1, …, x n ∈ {0,1} m constraints, each like Switch to ±1 notation.

Given a random 2XOR CSP with m ≫ n, want to certify “OPT ≤ ½ · m +o(m)” (whp). n variables, x 1, …, x n ∈ {−1,+1} m constraints, each like Let OPT denote (# sat − # unsat) instead; i.e., sum of right-hand sides achieved.

Given a random 2XOR CSP with m ≫ n, want to certify “OPT ≤ o(m)” (whp). n variables, x 1, …, x n ∈ {−1,+1} m constraints, each like Let OPT denote (# sat − # unsat) instead; i.e., sum of right-hand sides achieved.

Given a random 2XOR CSP with m ≫ n, want to certify “|OPT| ≤ o(m)” (whp). n variables, x 1, …, x n ∈ {−1,+1} m constraints, each like Let OPT denote (# sat − # unsat) instead; i.e., sum of right-hand sides achieved.

Given a random 2XOR CSP with m ≫ n, want to certify “|OPT| ≤ o(m)” (whp). n variables, x 1, …, x n ∈ {−1,+1} m constraints, each like Let and instead include each possible constraint independently with prob. p.

Given a random 2XOR CSP with p ≫ 1/n, want to certify “|OPT| ≤ o(pn 2 )” (whp). n variables, x 1, …, x n ∈ {−1,+1} m constraints, each like ~pn 2 Let A be the random n×n symmetric matrix with entries {−1,0,+1} depending on the x i,x j constr. Given assignment x ∈ {−1,+1} n, it has (# sat − # unsat) = x T Ax ≤ n||A||

Given a random 2XOR CSP with p ≫ 1/n, want to certify “|OPT| ≤ o(pn 2 )” (whp). Let A be the random n×n symmetric matrix with entries {−1,0,+1} depending on the x i,x j constr. Given assignment x ∈ {−1,+1} n, it has |# sat − # unsat| = |x T Ax| ≤ n||A|| Done if ||A|| ≤ o(pn) whp. (Can efficiently certify.) A good old-fashioned random matrix fact. ||A|| ≤ whp, by the Trace Method [ FK81 ].

Part 1: Strong refutation for kXOR Part 2: Strong refutation for any k-CSP, provided m ≫ n k/2 ✔

m k Def: Given an assignment x ∈ {0,1} n,

m k the table distribution D x is the probability distribution on {0,1} k given by choosing a uniformly random row from the above table.

m k Def: Given an assignment x ∈ {0,1} n, the table distribution D x is the probability distribution on {0,1} k given by choosing a uniformly random row from the above table. Note: Has nothing to do with the predicate P.

Def: Given an assignment x ∈ {0,1} n, the table distribution D x is the probability distribution on {0,1} k given by choosing a uniformly random row from the above table. Def: An instance I is quasirandom if for all assignments x ∈ {0,1} n, the table distribution D x is o(1)-close to the uniform distribution on {0,1} k. Fact: If a CSP(P) instance I is quasirandom, then OPT( I ) ≤ E[P]·m + o(m).

Given a random k-ary CSP with m ≫ n k/2, want to certify it’s quasirandom (whp). By “Vazirani XOR Lemma”, a table distribution D x is o(1)-close to uniform if and only if D x has o(1)-correlation with XOR of S coordinates for all ∅ ≠ S ⊆ [k]. ∴ can certify this using the |S|-XOR refutation algorithm from Part 1, for all 2 k −1 subsets S.

Part 1: Strong refutation for kXOR Part 2: Strong refutation for any k-CSP, provided m ≫ n k/2 ✔ ✔ Part 3: Main theorem, refuting random CSP(P) provided m ≫ n cmplx(P) / 2

cmplx(P): least t ≥ 2 such that P does not support a t-wise uniform distribution. Suppose P does not support a t-wise uniform distribution.

⇒ every t-wise uniform distribution is δ-far from being supported on P (for some constant δ = δ(P) > 0, by basic LP theory). Given CSP(P) instance, instead of certifying quasirandomness by strongly refuting S-XOR for all S ⊆ [k]…

Suppose P does not support a t-wise uniform distribution. ⇒ every t-wise uniform distribution is δ-far from being supported on P (for some constant δ = δ(P) > 0, by basic LP theory). Given CSP(P) instance, strongly refute S-XOR for all |S| ≤ t. This is doable (whp) provided m ≫ n t/2. This certifies that all table distributions D x are o(1)-close to t-wise uniform, and hence (δ−o(1))-far from being supported on P.

Suppose P does not support a t-wise uniform distribution. ⇒ every t-wise uniform distribution is δ-far from being supported on P (for some constant δ = δ(P) > 0, by basic LP theory). Given CSP(P) instance, strongly refute S-XOR for all |S| ≤ t. This is doable (whp) provided m ≫ n t/2. This certifies that all table distributions D x are o(1)-close to uniform, and hence (δ−o(1))-far from being supported on P. I.e., it certifies that OPT ≤ (1−δ+o(1))m.

Part 1: Strong refutation for kXOR Part 2: Strong refutation for any k-CSP, provided m ≫ n k/2 ✔ ✔ Part 3: Main theorem, refuting random CSP(P) provided m ≫ n cmplx(P) / 2 ✔

Open directions Give evidence that n cmplx(P) / 2 is optimal. I.e., if P supports a (t−1)-wise uniform distribution, try to show various efficient refutation systems fail on random instances with m ≪ n t/2 constraints. [ BW99 ]: Resolution fails on kXOR and kSAT. [ Sch08 ]: SOS fails on kXOR and kSAT. [ BGMT12,TW13,OW14,MWW15 ]: Sherali–Adams + fails. [ FPV15 ]: Certain “statistical algorithms” fail. [ BCK15 ]: For t=3 (pairwise unif.), “pruned” random instances with m = O(n), SOS fails.