Lecture 10: Hardness of approximating clique, FGLSS graph

Similar documents
PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions. My T. Thai

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction

2 Completing the Hardness of approximation of Set Cover

Lecture 20: Course summary and open problems. 1 Tools, theorems and related subjects

Limits to Approximability: When Algorithms Won't Help You. Note: Contents of today s lecture won t be on the exam

Complexity Theory. Jörg Kreiker. Summer term Chair for Theoretical Computer Science Prof. Esparza TU München

BCCS: Computational methods for complex systems Wednesday, 16 June Lecture 3

Keywords. Approximation Complexity Theory: historical remarks. What s PCP?

Lecture 16 November 6th, 2012 (Prasad Raghavendra)

Lecture 18: PCP Theorem and Hardness of Approximation I

Lecture 6: Powering Completed, Intro to Composition

Dinur s Proof of the PCP Theorem

Two Query PCP with Sub-Constant Error

PCP Theorem and Hardness of Approximation

The PCP Theorem and Hardness of Approximation

1 Agenda. 2 History. 3 Probabilistically Checkable Proofs (PCPs). Lecture Notes Definitions. PCPs. Approximation Algorithms.

Approximating MAX-E3LIN is NP-Hard

Lecture Hardness of Set Cover

[PCP Theorem is] the most important result in complexity theory since Cook s Theorem. Ingo Wegener, 2005

Today. Few Comments. PCP Theorem, Simple proof due to Irit Dinur [ECCC, TR05-046]! Based on some ideas promoted in [Dinur- Reingold 04].

Essential facts about NP-completeness:

Probabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs

Great Theoretical Ideas in Computer Science

On the efficient approximability of constraint satisfaction problems

Approximation Algorithms and Hardness of Approximation. IPM, Jan Mohammad R. Salavatipour Department of Computing Science University of Alberta

Lecture Notes CS:5360 Randomized Algorithms Lecture 20 and 21: Nov 6th and 8th, 2018 Scribe: Qianhang Sun

Complexity Classes IV

FPT hardness for Clique and Set Cover with super exponential time in k

Lecture 8 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

Lec. 11: Håstad s 3-bit PCP

Lecture 17 November 8, 2012

PCP Course; Lectures 1, 2

Basic Probabilistic Checking 3

CS151 Complexity Theory. Lecture 15 May 22, 2017

Hardness of Approximation

Complexity Classes V. More PCPs. Eric Rachlin

Lecture 15: A Brief Look at PCP

6.841/18.405J: Advanced Complexity Wednesday, April 2, Lecture Lecture 14

Hardness of Embedding Metric Spaces of Equal Size

Lecture 8: Linearity and Assignment Testing

Hardness of Approximation

Lecture 12 Scribe Notes

Advanced Algorithms (XIII) Yijia Chen Fudan University

Lecture 12: Interactive Proofs

Quasi-Random PCP and Hardness of 2-Catalog Segmentation

Lecture 16: Constraint Satisfaction Problems

Lecture 18: Inapproximability of MAX-3-SAT

Lecturer: Shuchi Chawla Topic: Inapproximability Date: 4/27/2007

Using the PCP to prove fixed parameter hardness

DRAFT. PCP and Hardness of Approximation. Chapter 19

A Linear Round Lower Bound for Lovasz-Schrijver SDP Relaxations of Vertex Cover

Approximation Preserving Reductions

NP-hardness of coloring 2-colorable hypergraph with poly-logarithmically many colors

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 6: Provable Approximation via Linear Programming

Improved Hardness of Approximating Chromatic Number

The PCP Theorem by Gap Amplification

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170

CS151 Complexity Theory. Lecture 13 May 15, 2017

Umans Complexity Theory Lectures

Non-Approximability Results (2 nd part) 1/19

PCP Soundness amplification Meeting 2 ITCS, Tsinghua Univesity, Spring April 2009

DD2446 Complexity Theory: Problem Set 4

Approximation algorithm for Max Cut with unit weights

2 Natural Proofs: a barrier for proving circuit lower bounds

Postprint.

NP Completeness. CS 374: Algorithms & Models of Computation, Spring Lecture 23. November 19, 2015

CS294: PCP and Hardness of Approximation January 25, Notes for Lecture 3

CSE 3500 Algorithms and Complexity Fall 2016 Lecture 25: November 29, 2016

Lecture 22: Counting

Lecture 4: LMN Learning (Part 2)

The PCP Theorem by Gap Amplification

Lecture 26. Daniel Apon

Near-Optimal Algorithms for Maximum Constraint Satisfaction Problems

Lecture 24: Approximate Counting

Lecture 13: Lower Bounds using the Adversary Method. 2 The Super-Basic Adversary Method [Amb02]

Towards Optimal Lower Bounds For Clique and Chromatic Number

Lecture 19: Interactive Proofs and the PCP Theorem

15-451/651: Design & Analysis of Algorithms October 31, 2013 Lecture #20 last changed: October 31, 2013

CSC 2429 Approaches to the P vs. NP Question and Related Complexity Questions Lecture 2: Switching Lemma, AC 0 Circuit Lower Bounds

1 Probabilistically checkable proofs

Hardness of Directed Routing with Congestion

Lecture 2 (Notes) 1. The book Computational Complexity: A Modern Approach by Sanjeev Arora and Boaz Barak;

On the Complexity of the Minimum Independent Set Partition Problem

Admin NP-COMPLETE PROBLEMS. Run-time analysis. Tractable vs. intractable problems 5/2/13. What is a tractable problem?

Lecture 21 (Oct. 24): Max Cut SDP Gap and Max 2-SAT

Lecture 1: 01/22/2014

1 Reductions and Expressiveness

Lecture 20: conp and Friends, Oracles in Complexity Theory

Lecture 10: Learning DNF, AC 0, Juntas. 1 Learning DNF in Almost Polynomial Time

Approximation Resistance from Pairwise Independent Subgroups

Lecture 26: Arthur-Merlin Games

A An Overview of Complexity Theory for the Algorithm Designer

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

How to Cope with NP-Completeness

2 Evidence that Graph Isomorphism is not NP-complete

1. Introduction Recap

PCP Theorem And Hardness Of Approximation For MAX-SATISFY Over Finite Fields

The power and weakness of randomness (when you are short on time) Avi Wigderson Institute for Advanced Study

Classes of Boolean Functions

6.842 Randomness and Computation Lecture 5

Transcription:

CSE 533: The PCP Theorem and Hardness of Approximation (Autumn 2005) Lecture 10: Hardness of approximating clique, FGLSS graph Nov. 2, 2005 Lecturer: Venkat Guruswami and Ryan O Donnell Scribe: Ioannis Giotis 1 PCP Theorem recap We will review the most important points in the PCP theorem proof (a description of this also appears at the end of the notes for the previous lecture). Let s start by noting that the main theme in the proof was a gap producing reduction. Unlike the original PCP theorem proof which created the gap in one step and the bulk of the proof was about fixing all the parameters, mainly the alphabet size, the proof we presented was creating the gap slowly in a sequence of steps. At each step, we were transforming G into G, where both of them were constraint graphs over some alphabet Σ 0. Beginning with gap(g) 1/n, we applied the process O(log n) times where at each step the following properties were maintained. gap(g ) 2gap(G) size(g ) = O(size(G)) Pictorially, the process looks like this G H H G constant degree expander gap amplification gap(h ) t gap(h) constraint graph over Σ, Σ Σ The most important technical tools we used in the proof were Edge-expansion and behavior of random walks in expanders composition with an assignment tester Error Correcting Codes Error-correcting codes (for modular composition using an assignment tester) constraint graph again over Σ 0 Construction of the assignment tester (which was a direct, albeit inefficient, PCP reduction) Linear functions, Hadamard code Linearity (or Hadamard codeword) testing, self-correction of Hadamard code. Fourier Analysis over the Boolean hypercube Basic linear algebra 1

2 Hardness of approximating CLIQUE Remark 2.1. The PCP theorem is a great tool that can be used to examine the approximability of problems. As in the typical complexity theory, once we have one Hardness of Approximation result, we are able to extend this to many problems using the method of reduction. In fatc, in many cases we only have to look at the existing NP completeness reductions and find that these reductions preserve gaps. We will proceed to present the hardness of approximating CLIQUE via such a gap-preserving reduction from 3SAT. The usual NP-completeness reduction from 3SAT to CLIQUE itself is gap-preserving and can prove the result below (Exercise). We will describe a slightly different reduction with an eye towards generalizing it to work with any PCP as starting point. Definition 2.2. GapCLIQUE ρ :Given ρ 1, a graph G and an integer k, we wish to distinguish between the following two cases YES: ω(g) k, G has a clique of size k NO: ω(g) < ρk, G has no clique of size ρk. To show the hardness of approximating CLIQUE, we will now show that the respective gap problem is NP -hard. Theorem 2.3. ρ < 1, such that GapCLIQUE ρ is NP -hard. Proof. Given a formula φ we wish to output a graph G and an integer k. In particular we wish to reduce in the following way φ 3SAT ω(g) k (1) φ / 3SAT ω(g) < ρk (2) Thanks to the PCP theorem we can instead use a reduction that begins with a gape3sat instance. In other words, it suffices to give a polynomial time reduction of the form ψ < G, k > such that ψ E3SAT ω(g) k (3) Any asignment satisfies < (1 ɛ) fraction of ψ s clauses ω(g) < ρk (4) Let ψ be on n variables x 1,..., x n and m clauses c 1,..., c n. We create m rows of vertices, one for each clause. Each row consists of 7 vertices corresponding to all the satisfying assignments that satisfy the respective clause. Recall that there are precisely 7 partial assignments on 3 variables that make a clause satisfiable and 1 that makes it unsatisfiable. For example, for a clause of the form (x 1, x 2, x 3 ) the 7 vertices would correspond to the assignments 000, 010, 011, 100, 101, 110, 111. Every row in the graph will be an independent set. Edges between rows are joining vertices whose assignments are consistent. For example a vertex that corresponds to a clause (x 1, x 2, x 3 ) 2

and an assignment 011 will be connected to a vertex of a clause (x 1, x 4, x 5 ) and of assignment 000 as they share the same assignment on x 1. If there are no shared variables between the vertices, their assignments are considered consistent and hence we place an edge. Since every row is an independent set, it is clear that the largest clique in the graph will be of size at most m. On the other hand, if ψ E3SAT it is easy to see that by picking one vertex from each row corresponding to the satisfying assignment, we will form a clique of size m. For the other direction we will show that if ω(g) ρm, then ψ is ρ-satisfiable. To see this, we observe cliques in G correspond to partial assignments to variables of ψ. Such an assignment is obtained as follows. If the clique contains a vertex from the row corresponding to some clause C, then the three variables in that clause are assigned based on which of the 7 assignments the clique picked in that row. This assignment is consistent since C is a clique, and thus a variable is given the same value in all the clauses containing it that are picked by C. Extend the partial assignment to all variables in an arbitrary way. The resulting assignment satisfies all the clauses for which C contained a vertex from the corresponding row. This means at least ρm clauses are satisfied by the assignment. 2.1 A general reduction from a PCP verifier An alternative way to look at the above is as a prover-verifier test. The verifier randomly picks clauses and verifies them and we can think of each row as a random test. We ll now present more formally a general reduction from a PCP verifier to CLIQUE. Suppose 3SAT PCP 1,s [r, q]. This means that for any 3CNF formula φ, there is a probabilistic polynomial time verifier V that checks a binary proof π claiming that φ 3SAT by tossing r random coins, picking (up to) q locations of π to query based on r, φ, and then accepting/rejecting based on the bits in those q locations. The verifier V satisfies the following requirement: φ 3SAT π s.t. V accepts with prob 1 (5) φ / 3SAT π, V accepts with prob < s (6) We call r and q respectively the randomness complexity and query complexity (or number of queries) of the verifier V. Remark 2.4. We can now state the PCP theorem as PCP theorem: q = O(1) s.t. 3SAT PCP 1,1/2 [O(log n), q] The previous reduction from gap3sat to CLIQUE can be generalized by defining a graph based on any PCP verifier (with the earlier construction being the one for the simple verifier that picked a random clause and checked that it was satisfied). Such a graph is called the FGLSS graph after Feige, Goldwasser, Lovasz, Safra and Szegedy who first realized the connetion between clique approximation and probabilistic proof checking in their seminal FOCS 1991 paper that spurred intense activity on PCPs and ultimately the discovery of the PCP theorem. Even though we presented the natural connection between NP-hardness of gap3sat and PCP at the very beginning 3

of this class, in fact the initial connection between approximation and PCPs was for gapclique, via the FGLSS graph, and only later was the connection to gap3sat realized. We now describe the F GLSS graph for a PCP verifier with randomness and query complexi r, q respectively. The graph consists of R = 2 r rows of vertices, each row with 2 q vertices. The vertices in each row correspond to the views on queried bits that make the verifier accept. We place edges between vertices that represent consistent partial views. In particular, this means there are no edges within a row. Two rows that query disjoint sets of bits have a complete bipartite graph between them. As with the reduction from 3SAT, cliques in the FGLSS graph correspond to partial proofs and their size corresponds to the number of random choices of the verifier for which it accepts this partial proof. In particular, the existence of a clique of size M implies the existence of a proof that V accepts with probability at least M/2 r, and vice versa. We now see that If 3SAT PCP 1,s [r, q] (7) then φ 3SAT ω(g) = 2 r = R (8) φ / 3SAT ω(g) sr (9) The construction of the FGLSS graph can be performed in 2 r+q poly(n) time. Using the above, we can thus conclude the following connection between PCPs and hardness of approximation CLIQUE. Theorem 2.5. If 3SAT PCP 1,s [O(log n), O(log n)] then GapCLIQUE s is NP -hard. A simple serial repetition applied to the PCP theorem implies: Theorem 2.6. For every integer k, 3SAT PCP 1,1/2 k[o(k log n), O(k)] Picking k to be an arbitrary large constant we conclude Theorem 2.7. ɛ > 0, GapCLIQUE ɛ is NP -hard. To get a superconstant gap, we need to pick k to be superconstant. But this makes the randomness r = O(k log n) super-logarithmic and the reduction no longer runs in polynomial time. But we can conclude the following. Theorem 2.8. ɛ > 0, GapCLIQUE 2 log 1 ɛ N / P unless NP c 0 T IME(2logc n ). Proof. Let c 1 be an arbitrary integer. Pick k = log c n where n is the size of the 3SAT formula. Then N 2 r+q < 2 O(logc+1 n) We then have gap = 1 2 logc n 1 2 log c+1 c N Picking c larger and larger, we get the claimed gap, and the reduction runs in quasi-polynomial, i.e., 2 poly(log n) time. 4

Once we show that gapclique 1,s is NP-hard for some constant s < 1, the above strong hardness results can also be obtained using graph products (see the problem set). Moreover, the hardness factor can be strengthened to n δ for some δ > 0 (again, see problem set). Much stronger hardness bounds that rule out a n ɛ 1 -approximation algorithm for any ɛ > 0 are known. However this is much harder to prove and we won t discuss this in the course. 3 Overview of the rest of the course For the rest of the class, we will present hardness of approximation results and reap some of the benefits of our hard work in proving the PCP theorem. Unlike decision problems where we have a nice classification of most problems, for lots of approximation problems we don t really know where to classify them. Let s see the various hardness categories. 1. Hardness of decision problems. Here we have the usual classification of decision problems with the mother of all problems being 3SAT. 2. Slight hardness of approximation results. In this category we consider problems for which hardness of (1 ɛ)-approximating is shown for some ɛ > 0. Alternatively, these are the problems for which there is no Polynomial Time Approximation Scheme (PTAS). The mother of all problems in this category is GapE3SAT 1,0.99. 3. Optimal (very strong) hardness of approximation results. This category captures the problems for which very strong hardness results are known. As an example consider E3LIN. Definition 3.1. E3LIN: Given a bunch of 3 variable linear equations mod 2 (each of the form x i1 x i2 x i3 = b i where b i {0, 1}), we wish to find an assignment that satisfies a maximum number of the equations. It is easy to see that there exists a 1/2 approximation algorithm for E3LIN; just pick a random assignment (or alteratively, when each equation has exactly three distint variables, we can take the better of the all 0 s and the all 1 s assignment). On the other hand, we have the following theorem due to Håstad. Theorem 3.2. For all ɛ > 0, Gap E3LIN 1 ɛ,1/2+ɛ is NP -hard. Corollary 3.3. For any ɛ > 0, there is no polynomial time (1/2+ɛ)-approximation algorithm for E3LIN unless P = NP. The mother of all problems in this category (of very strong or tight inapproximability results) is a constraint graph problem known as Label Cover. We will discuss hardness results for this problem beginning in the next lecture. 5