Lecture 16 November 6th, 2012 (Prasad Raghavendra)

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

Lecture 19: Interactive Proofs and the PCP Theorem

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

Almost transparent short proofs for NP R

PCP Theorem and Hardness of Approximation

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

Advanced Algorithms (XIII) Yijia Chen Fudan University

Lecture 26. Daniel Apon

Lecture 18: PCP Theorem and Hardness of Approximation I

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

Basic Probabilistic Checking 3

Lecture 17 November 8, 2012

1 Probabilistically checkable proofs

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

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

Solution of Exercise Sheet 12

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

Complexity Classes IV

Dinur s Proof of the PCP Theorem

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

DRAFT. PCP and Hardness of Approximation. Chapter 19

1 The Low-Degree Testing Assumption

Lecture 10: Hardness of approximating clique, FGLSS graph

Lecture 15: A Brief Look at PCP

2 Evidence that Graph Isomorphism is not NP-complete

Probabilistically Checkable Proofs. 1 Introduction to Probabilistically Checkable Proofs

Great Theoretical Ideas in Computer Science

Complexity Classes V. More PCPs. Eric Rachlin

Essential facts about NP-completeness:

Introduction to Interactive Proofs & The Sumcheck Protocol

On the efficient approximability of constraint satisfaction problems

Hardness of Approximation

Definition 1. NP is a class of language L such that there exists a poly time verifier V with

Notes on Complexity Theory Last updated: November, Lecture 10

2 Natural Proofs: a barrier for proving circuit lower bounds

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

Probabilistically Checkable Arguments

The Cook-Levin Theorem

PROBABILISTIC CHECKING OF PROOFS AND HARDNESS OF APPROXIMATION

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

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

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

Topics in Complexity Theory

Hardness of Embedding Metric Spaces of Equal Size

B(w, z, v 1, v 2, v 3, A(v 1 ), A(v 2 ), A(v 3 )).

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

Mathematics, Proofs and Computation

Hardness of Approximation

Technische Universität München Summer term 2010 Theoretische Informatik August 2, 2010 Dr. J. Kreiker / Dr. M. Luttenberger, J. Kretinsky SOLUTION

Overview. 1 Introduction. 2 Preliminary Background. 3 Unique Game. 4 Unique Games Conjecture. 5 Inapproximability Results. 6 Unique Game Algorithms

CS151 Complexity Theory. Lecture 15 May 22, 2017

DD2446 Complexity Theory: Problem Set 4

CS 350 Algorithms and Complexity

Beyond NP [HMU06,Chp.11a] Tautology Problem NP-Hardness and co-np Historical Comments Optimization Problems More Complexity Classes

Lecture Notes Each circuit agrees with M on inputs of length equal to its index, i.e. n, x {0, 1} n, C n (x) = M(x).

Lecture 2: Relativization

Lecture 3: Interactive Proofs and Zero-Knowledge

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan August 30, Notes for Lecture 1

Lecture 26: Arthur-Merlin Games

Lecture Hardness of Set Cover

Lecture 59 : Instance Compression and Succinct PCP s for NP

Identifying an Honest EXP NP Oracle Among Many

Interactive Proofs 1

Interactive Proofs. Merlin-Arthur games (MA) [Babai] Decision problem: D;

Lecture 15 - Zero Knowledge Proofs

Lecture 12: Interactive Proofs

Lecture 1: Introduction

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

How to Cope with NP-Completeness

Input-Oblivious Proof Systems and a Uniform Complexity Perspective on P/poly

CS 350 Algorithms and Complexity

Lecture 12 Scribe Notes

P versus NP over Various Structures

Lecture 22: Derandomization Implies Circuit Lower Bounds

Free Bits, PCPs and Non-Approximability Towards Tight Results

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

1 Computational problems

NP Complete Problems. COMP 215 Lecture 20

Lecture 2: November 9

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

Interactive PCP. Yael Tauman Kalai Georgia Institute of Technology Ran Raz Weizmann Institute of Science

SAT, NP, NP-Completeness

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

Lecture 17: Interactive Proof Systems

COMPUTATIONAL COMPLEXITY

Lecture 11: Proofs, Games, and Alternation

-bit integers are all in ThC. Th The following problems are complete for PSPACE NPSPACE ATIME QSAT, GEOGRAPHY, SUCCINCT REACH.

On the Complexity of the Minimum Independent Set Partition Problem

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

CS 151 Complexity Theory Spring Solution Set 5

Time to learn about NP-completeness!

Lecture 22: Quantum computational complexity

Lecture 3: Circuits and Karp-Lipton. Scribe: Anonymous Student Prof. Dana Moshkovitz

Introduction Long transparent proofs The real PCP theorem. Real Number PCPs. Klaus Meer. Brandenburg University of Technology, Cottbus, Germany

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

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

Lecture Examples of problems which have randomized algorithms

Cryptographic Protocols Notes 2

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

Transcription:

6.841: Advanced Complexity Theory Fall 2012 Lecture 16 November 6th, 2012 (Prasad Raghavendra) Prof. Dana Moshkovitz Scribe: Geng Huang 1 Overview In this lecture, we will begin to talk about the PCP Theorem (Probabilistically Checkable Proofs Theorem). Since the discovery of NP-completeness in 1972, researchers had mulled over the issue of whether we can efficiently compute approximate solutions to NP-hard optimization problems. They failed to design such approximate algorithms for most problems. They then tried to show that computing approximate solutions is also hard, but apart from a few isolated successes this effort also stalled. Researchers slowly began to realize that the Cook-Levin-Karp-style reductions do not suffice to prove any limits on approximation algorithms [1]. The PCP Theorem states that every decision problem in the NP complexity class has probabilistically checkable proofs (proofs that can be checked by a randomized algorithm) of constant query complexity and logarithmic randomness complexity. The PCP Theorem gave a new definition of NP and provided a new starting point for reductions to show hardness of approximation [1]. We know that NP = {L a polynomial time verifier V s.t. x L a proof y, y = poly( x ) s.t. V (x, y) = 1} Our question is: how much work does the polynomial time verifier needs to do? We know that IP = PSPACE and MIP = NEXP [2] [3] [4], where MIP is akin to the class IP, but now the verifier may interact with multiple provers that cannot communicate with each other. These two results showed that the verifier doesn t have to perform that much computation relative to the amount it would have to perform by itself, without a given proof. This motivated researchers to scale this result down to the class NP. In this lecture, we will formally define what a probabilistically checkable proof system is, and how it is intimately related to the notion of hardness of approximation. 2 The PCP Theorem Definition 1. Let α = 5/6. P CP Σ (q(n), r(n)) is set of languages L such that a randomized polynomial time verifier V that uses r(n) random coins and queries q(n) locations in the proof y Σ, and has the property that for all x, 1. (Completeness) x L, y Σ such that P r[v (x, y)] = 1 2. (Soundness) x L, y Σ such that P r[v (x, y)] α 1

Observe that the length of the proof is bounded by q(n)2 r(n), because there are only 2 r(n) possible choices of random bits, and for each, the verifier can query at most q(n) new places. For a concrete instantiation, we consider P CP {0,1} (O(1), O(log n)), and it is easy to see that the proof length for this class of PCPs is polynomially bounded in n hence, PCP {0,1} (O(1), O(log n)) NP. From converse is the hard, and more interesting, part of the PCP Theorem. Theorem 2 (PCP Theorem). NP = PCP {0,1} (O(1), (log n)). 2.1 A new kind of proof checking Imagine that we want to verify the proof for a 3 +b 3 +c 3 = (a+b+c)(a 2 +b 2 +c 2 ab bc ac). A proof of this identity is usually presented in a sequential manner. The standard verification procedure is to read through such a proof sequentially, checking that each line follows from previous ones, and that the last line is a tautology (e.g. 0 = 0). Suppose we wanted to have a more efficient verification procedure one where one only exams a few locations of the proof. Intuitively, it seems impossible to have a sound proof checking procedure: suppose the given proof was completely consistent except for a single mistake or contradiction (e.g. 1 = 0). Every other line will follow from previous ones, but since a false statement implies any statement (true or false), one can arrive at any conclusion. So if the verification procedure does not examine the offending line, the verification procedure is liable to accept an obviously incorrect proof. In this sense, traditional proofs are not robust: the slightest changes can convert a correct proof to an incorrect proof, or an incorrect proof to a (nearly) correct proof. The PCP Theorem gives a way of making proofs and proof checking robust: proofs can be written in a format such that small changes to a proof will not drastically alter its correctness. 3 Hardness of Approximation In this section, we will discuss a seemingly unrelated topic, approximation problems, hardness of approximation, and see how it is closely related to the notion of probabilistic proof checking. First, let us informally review what an optimization problem is: there is an objective function f : U R over some universe U that one would like to, say, maximize. Many important problems can be easily described using this description. For example, the problem of deciding 3SAT can be described as determining whether, given a 3SAT formula φ, all of it φ s clauses can be satisfied by an assignment to φ s variables. Here, U is the set of all variable assignments, and f counts the number of satisfied clauses by the input assignment. Usually, the optimum of an objective function f on an instance I of an optimization problem is denoted OPT(I). In an approximation problem, on the other hand, one is willing to settle for an approximation of OPT. An optimization problem is α-approximable if there is an algorithm A such that, given instance I of the optimization problem, A(I) α OPT(I), assuming that the optimization problem is one of maximization. Usually, one cares about approximation algorithms that run in polynomial time, as many optimization problems are NP-hard to solve exactly. As we will see by the end of this lecture, the PCP Theorem implies that there are many optimization 2

problems that are NP-hard even to approximate. As an example, we will discuss the MAX-3SAT problem: Definition 3. MAX-3SAT is the problem of finding, given a 3CNF Boolean formula φ as input, an assignment that maximizes the number of satisfied clauses. This problem is NP-hard, because the corresponding decision problem, 3SAT, is NP-complete. We define an approximation algorithm for MAX-3SAT in the following way. Definition 4. For every 3CNF formula φ, the value of φ, denoted by val(φ), is the maximum fraction of clauses that can be satisfied by any assignment to φ s variables. In particular, φ is satisfiable iff val(φ) = 1. For every ρ 1, an algorithm A is a ρ-approximation algorithm (which may be randomized) for MAX-3SAT if for every 3CNF formula φ with m clauses, A(φ) outputs an assignment satisfying at least ρ val(φ)m of φ s clauses. Basically, a algorithm A is a ρ-approximation for MAX3SAT if φ, val A (φ) ρ opt(φ). 7 3.1 -approximation for MAX-3SAT 8 There is a very simple algorithm that can approximate MAX-3SAT to within 7/8: simply choose an assignment to the variables uniformly at random, and output that assignment. In expectation, the fraction of satisfied clauses will be 7/8 s. Let x denote the randomly chosen assignment. For any clause, we have P r x [(x i x j x k ) = 1] = 7 8. So, we know E[number of clauses satisfied] = 7 8 number of clauses 7 8 OPT(φ). 3.2 Gap3SAT 1,α Although the PCP Theorem implies hardness of approximation for optimization problems, it will be more convenient to reframe optimization problems as decision problems, because then we can formally show that such problems are NP-hard and thus imply the original approximation problem is also computationally intractable (modulo P NP). Definition 5. Gap3SAT 1,α is the promise problem where, on input φ, decide whether 1. OPT(φ) = 1, or 2. OPT(φ) < α, promised that one is the case. Case (1) is usually referred to as the YES case, or the Completeness case, and case (2) is usually referred to as the NO case, or the Soundness case. The following theorem demonstrates an equivalence between the optimization formulation of 3SAT and the gap formulation. 3

Theorem 6. Suppose A is a polynomial time α-approximation algorithm for MAX3SAT. Then, Gap3SAT 1,α is solvable in polynomial time. Proof. Suppose A is an α-approximation algorithm for MAX-3SAT. Given φ Gap3SAT 1,α, we run A on φ. We know that opt(φ) A(φ) α opt(φ). Consider the following two cases: 1. (case 1) OPT = 1, A(φ) α 2. (case 2) OPT < α, A(φ) < α. To distinguish, we simply output whether A(φ) α or not. The following theorem expresses the equivalence between hardness of approximation and the PCP Theorem. Theorem 7. Gap3SAT 1,α is NP-complete for some α < 1 The PCP Theorem is true. Proof. (= ) Suppose Gap3SAT 1,α is NP-hard for some α < 1. This implies that L NP, a polynomial reduction to Gap3SAT 1,α such that all x gets mapped to an input φ x where 1. x L OPT(φ x ) = 1 (Yes Case) 2. x L OPT(φ x ) < α (No Case). The PCP system for L will be as follows: on input x, the verifier will perform a polynomial-time transformation from x to φ x. Then, the verifier will perform the following check on the given proof y: 1. The verifier samples a random clause C of φ x. 2. The verifier then tests if y satisfies the clause C. If so, then accept. Otherwise, reject. Suppose x L. Then OPT(φ x ) = 1, so y such that P r[v (x, y) = 1] = 1. Suppose that x L. Then OPT(φ x ) < α, so y, P r[v (x, y) = 1] < α, by definition of Gap3SAT 1,α. This shows that L PCP {0,1} (O(1), O(log n)). Although the definition of PCP above required α < 5/6, any constant suffices. We have shown that any problem in NP admits a PCP system. ( =) Here, we assume that the PCP Theorem is true, and want to show that Gap3SAT 1,α is NP-hard for some α < 1. For simplicity, let us assume that the PCP system for 3-coloring performs 3 queries. If it performs some larger number of queries q, then we would actually prove a hardness result for GapqSAT instead. We know that 3-coloring NP, so 3-coloring PCP {0,1} {O(1), O(log n)} by assumption. We show how to reduce 3-coloring to Gap3SAT. There is some associated proof string for the PCP system for 3-coloring, call it y {0, 1} poly{n}. Suppose an input to the 3-coloring problem were x. Then, for every choice of randomness in {0, 1} r(n), the PCP verifier V will query 3 bits of the proof y and perform a test, accepting or rejecting based on the values of those 3 bits. Suppose for some setting of randomness z, the verifier queries bits y z1, y z2, y z3, and accepts or rejects based on 4

a predicate C z (y z1, y z2, y z3 ). Observe that C z can be expressed as a constant-sized 3SAT formula in terms of y z1, y z2, and y z3. Let the conjunction of all these 3SAT formulas be φ(x). Suppose x L. Then by definition, all of the checks of the verifier V pass, so OPT(φ(x)) = 1. Suppose x / L. Then, less than α fraction of the checks pass, and since each clause of φ(x) corresponds to a check, OPT(φ(x)) < α. Thus, we have successfully reduced 3-coloring to Gap3SAT 1,α. Next time, we will start the proof of the PCP Theorem. References [1] S. Arora and B. Barak, Computational Complexity - A Modern Approach, Cambridge University Press, ISBN 978-0-521-42426-4. [2] L. Babai, L. Fortnow, L.A.Levin, and M. Szegedy Checking computations in polylogarithmic time, In STOC, pages 21-32. ACM, 1991. [3] S. Arora, C. Lund, R. Motwani, M. Sudan, and M. Szegedy Proof of verification and the hardness of approximation problems, In J. ACM, 45(3):501-555, 1998. Prelim version FOCS 92. [4] S. Arora and S. Safra Probabilistic checking of proofs: A new characterization of NP, In J. ACM, 45(1):70-122, 1998. Prelim version FOCS 92. 5