Presentation is loading. Please wait.

Presentation is loading. Please wait.

Testing Assignments of Boolean CSP’s

Similar presentations


Presentation on theme: "Testing Assignments of Boolean CSP’s"β€” Presentation transcript:

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

2 Constraint Satisfaction Problems
CSP(G) instance CSP instance 𝒙 𝟏 , 𝒙 𝟐 ,…, 𝒙 πŸ• ∈{𝟎,𝟏} Domain = {𝟎,𝟏} 𝑬𝒒𝒖𝒂𝒍 𝒙 𝟏 , 𝒙 𝟐 𝑰𝒔𝑢𝒅𝒅 𝒙 𝟏 + 𝒙 πŸ’ + 𝒙 πŸ• 𝑴𝒂𝒋 𝒙 𝟐 , 𝒙 πŸ” , 𝒙 πŸ• Constraint Language G = 𝑬𝒒𝒖𝒂𝒍 β‹…, β‹… , 𝑰𝒔𝑢𝒅𝒅 β‹… , 𝑴𝒂𝒋 β‹…, β‹…, β‹… , 𝒁𝒆𝒓𝒐 β‹… 𝒁𝒆𝒓𝒐 𝒙 πŸ‘

3 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?

4 Examples π’Œ-COLORABILITY: Ξ“={β‰ } over domain π‘˜
2-SAT: Ξ“={ πœƒ π‘₯βˆ¨π‘¦ , πœƒ π‘₯∨ 𝑦 , πœƒ π‘₯ βˆ¨π‘¦ , πœƒ π‘₯ ∨ 𝑦 } over domain 0,1 . Similarly, π’Œ-SAT 3-LIN over 𝔽 2 Horn 3-SAT

5 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)

6 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 𝑦

7 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?

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

9 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!

10 From Relations to Algebra
Closed under compositions and contains projections: a clone Define Pol(Ξ“)= π‘…βˆˆΞ“ Pol(𝑅)

11 Polymorphisms determine complexity
Theorem (Yoshida β€˜12): If CSP(Ξ“) is testable with π‘ž(𝑛,π‘š,πœ–) queries, then any Ξ“ β€² with Pol(Ξ“) = Pol( Ξ“ β€² ) is testable with 𝑂 1 πœ– +π‘ž(𝑂 𝑛+π‘š 𝑛+π‘š ,𝑂 π‘š , 𝑂 πœ– ) queries.

12 Post’s Lattice Inclusion structure of Boolean clones

13 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

14 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

15 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

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

17 Hard Horn 3-SAT instance

18 Reduction to 3-LIN

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


Download ppt "Testing Assignments of Boolean CSP’s"

Similar presentations


Ads by Google