Testing Assignments of Boolean CSP’s

Slides:



Advertisements
Similar presentations
The Complexity of Linear Dependence Problems in Vector Spaces David Woodruff IBM Almaden Joint work with Arnab Bhattacharyya, Piotr Indyk, and Ning Xie.
Advertisements

The Connectivity of Boolean Satisfiability: Computational & Structural Dichotomies Parikshit GopalanGeorgia Tech Phokion KolaitisIBM Almaden Elitza ManevaUC.
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
Complexity Classes: P and NP
Max Cut Problem Daniel Natapov.
Constraint Satisfaction over a Non-Boolean Domain Approximation Algorithms and Unique Games Hardness Venkatesan Guruswami Prasad Raghavendra University.
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
Complexity 12-1 Complexity Andrei Bulatov Non-Deterministic Space.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY Read sections 7.1 – 7.3 of the book for next time.
1 2. Constraint Databases Next level of data abstraction: Constraint level – finitely represents by constraints the logical level.
Computability and Complexity 32-1 Computability and Complexity Andrei Bulatov Boolean Circuits.
1 Polynomial Time Reductions Polynomial Computable function : For any computes in polynomial time.
The Connectivity of Boolean Satisfiability: Structural and Computational Dichotomies Elitza Maneva (UC Berkeley) Joint work with Parikshit Gopalan, Phokion.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
CS Master – Introduction to the Theory of Computation Jan Maluszynski - HT Lecture NP-Completeness Jan Maluszynski, IDA, 2007
CSP, Algebras, Varieties Andrei A. Bulatov Simon Fraser University.
T Ball (1 Relation) What Your Robots Do Karl Lieberherr CSU 670 Spring 2009.
1 1. Draw the machine schema for a TM which when started with input 001 halts with abbb on the tape in our standard input format. 2. Suppose you have an.
Theory of Computing Lecture 17 MAS 714 Hartmut Klauck.
Rendezvous of Logic, Complexity and Algebra by Hubie Chen SIGACT News Logic Column 17.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Valued Constraints Islands of Tractability. Agenda The soft constraint formalism (5 minutes) Valued Constraint Languages (5 minutes) Hard and Easy Languages.
CSP: Algorithms and Dichotomy Conjecture Andrei A. Bulatov Simon Fraser University.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Solve polynomial equations with complex solutions by using the Fundamental Theorem of Algebra. 5-6 THE FUNDAMENTAL THEOREM OF ALGEBRA.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Computability Examples. Reducibility. NP completeness. Homework: Find other examples of NP complete problems.
NP-Completeness (2) NP-Completeness Graphs 4/13/2018 5:22 AM x x x x x
P & NP.
Richard Anderson Lecture 26 NP-Completeness
COMPLEXITY THEORY IN PRACTICE
Lecture 2-2 NP Class.
Great Theoretical Ideas in Computer Science
Theory of Computability
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
NP-Completeness Proofs
Richard Anderson Lecture 26 NP-Completeness
Hard Problems Introduction to NP
Implications of the ETH
NP-Completeness Yin Tat Lee
CS21 Decidability and Tractability
Intro to Theory of Computation
Intro to Theory of Computation
Lecture 24 NP-Complete Problems
NP-Completeness (2) NP-Completeness Graphs 11/23/2018 2:12 PM x x x x
Richard Anderson Lecture 25 NP-Completeness
NP-Completeness Proofs
Richard Anderson Lecture 28 NP-Completeness
Richard Anderson Lecture 28 NP Completeness
Linear Algebra Lecture 3.
NP-Complete Problems.
Theory of Computability
NP-Completeness Yin Tat Lee
CSE 6408 Advanced Algorithms.
Our First NP-Complete Problem
Complexity Theory in Practice
CS21 Decidability and Tractability
NP-Completeness Lecture for CS 302.
CSE 589 Applied Algorithms Spring 1999
Complexity Theory in Practice
The Polynomial Hierarchy Enumeration Problems 7.3.3
Richard Anderson Lecture 25 NP Completeness
NP-Completeness (2) NP-Completeness Graphs 7/9/2019 6:12 AM x x x x x
Parameterized Complexity of Conflict-free Graph Coloring
Lecture 23 NP-Hard Problems
Presentation transcript:

Testing Assignments of Boolean CSP’s Arnab Bhattacharyya and Yuichi Yoshida DIMACS/Rutgers and National Institute for Informatics

Constraint Satisfaction Problems CSP(G) instance CSP instance 𝒙 𝟏 , 𝒙 𝟐 ,…, 𝒙 𝟕 ∈{𝟎,𝟏} Domain = {𝟎,𝟏} 𝑬𝒒𝒖𝒂𝒍 𝒙 𝟏 , 𝒙 𝟐 𝑰𝒔𝑶𝒅𝒅 𝒙 𝟏 + 𝒙 𝟒 + 𝒙 𝟕 𝑴𝒂𝒋 𝒙 𝟐 , 𝒙 𝟔 , 𝒙 𝟕 Constraint Language G = 𝑬𝒒𝒖𝒂𝒍 ⋅, ⋅ , 𝑰𝒔𝑶𝒅𝒅 ⋅ , 𝑴𝒂𝒋 ⋅, ⋅, ⋅ , 𝒁𝒆𝒓𝒐 ⋅ 𝒁𝒆𝒓𝒐 𝒙 𝟑

Constraint Satisfaction Problems Γ finite collection of relations on domain Set of instances defined by constraints using relations from G CSP(Γ) Computational problem: Given instance of CSP(Γ), is there an assignment to the variables satisfying all constraints?

Examples 𝒌-COLORABILITY: Γ={≠} over domain 𝑘 2-SAT: Γ={ 𝜃 𝑥∨𝑦 , 𝜃 𝑥∨ 𝑦 , 𝜃 𝑥 ∨𝑦 , 𝜃 𝑥 ∨ 𝑦 } over domain 0,1 . Similarly, 𝒌-SAT 3-LIN over 𝔽 2 Horn 3-SAT

Computational Complexity Clearly, CSP(Γ) in NP for all Γ. Schaefer’s Theorem (1977): For Boolean domain, CSP(Γ) is NP-complete unless every instance is: Satisfied by all-ones or all-zeroes assignment Is a Horn-SAT or Dual Horn-SAT instance Is a 2-SAT instance Is a system of linear equations over 𝔽 2 Dichotomy also shown over {0,1,2} (Bulatov, 2003) and conjectured over all finite domains (Feder-Vardi, 1999)

Testing CSP assignments How does 𝚪 affect worst-case query complexity? Can we quickly “test” if an assignment satisfies a CSP(Γ) instance? Testing problem: For a parameter 𝜖>0 and instance 𝜑 of CSP(Γ) on 𝑛 variables and domain 𝐷, INPUT: 𝑥∈ 𝐷 𝑛 MODEL: Query access to coordinates of 𝑥 OUTPUT: YES if 𝑥 satisfies 𝜑, NO if Δ 𝑥,𝑦 >𝜖𝑛 for all satisfying assignments 𝑦

What’s known? CSP(≤), 2-SAT testable with Ω( log 𝑛/ log log 𝑛), 𝑂( 𝑛 ) queries (FLNRRS ‘02). 3-LIN, 3-SAT require Ω(𝑛) queries (BHR ‘06) Can we characterize exactly when constraint languages Γ over Boolean domain are sublinear-query testable?

Aren’t we too optimistic? Infinitely many relations, infinitely many Γ’s…what structure of constraint languages can we expect to use?

Aren’t we too optimistic? NO  Infinitely many relations, infinitely many Γ’s…what structure of constraint languages can we expect to use? Turns out that we can restrict ourselves to Γ’s that naturally define an algebra. And we can use algebraic properties to classify query complexity of Boolean CSP’s!

From Relations to Algebra Closed under compositions and contains projections: a clone Define Pol(Γ)= 𝑅∈Γ Pol(𝑅)

Polymorphisms determine complexity Theorem (Yoshida ‘12): If CSP(Γ) is testable with 𝑞(𝑛,𝑚,𝜖) queries, then any Γ ′ with Pol(Γ) = Pol( Γ ′ ) is testable with 𝑂 1 𝜖 +𝑞(𝑂 𝑛+𝑚 𝑛+𝑚 ,𝑂 𝑚 , 𝑂 𝜖 ) queries.

Post’s Lattice Inclusion structure of Boolean clones

Main result 𝑂 1 Ω(𝑛) 0-valid or 1-valid CSP(≤) 2-SAT 𝑛 𝑂(1) , Contains NU; 𝑶( 𝒏 𝟏−𝟏/𝒌 ) 2-SAT 𝑂 1 𝑛 𝑂(1) , Ω log 𝑛 log log 𝑛 Horn 3-SAT Ω(𝑛) 0-valid or 1-valid Affine NAE 3-SAT

Components of the Result Pre-existing bounds from (FLNRRS ‘02) , (BHR ‘06), and (Yoshida ‘12) plus: Ω(𝑛) lower bound for testing Horn 3-SAT instances 𝑂 𝑛 1−1/𝑘 upper bound for testing CSP(Γ) when Pol(Γ) contains a weak near- unanimity operation

Horn 3-SAT Each constraint is a disjunctive clause of at most 3 variables with at most one positive literal: 𝑥 ∨ 𝑦 ∨𝑧 , 𝑥 ∨ 𝑦 ∨ 𝑧 , 𝑧 Can be solved in polynomial time by unit propagation

Proof of Linear Lower Bound Reduce to testing hard instance of 3-LIN

Hard Horn 3-SAT instance

Reduction to 3-LIN

Open Questions More connections between theory of CSP’s and property testing? Classification of testing non-Boolean CSP’s?