Co Combining the k-CN CNF and XOR Phase se-Transitions Jeffrey M. - - PowerPoint PPT Presentation

β–Ά
co combining the k cn cnf and xor phase se transitions
SMART_READER_LITE
LIVE PREVIEW

Co Combining the k-CN CNF and XOR Phase se-Transitions Jeffrey M. - - PowerPoint PPT Presentation

Co Combining the k-CN CNF and XOR Phase se-Transitions Jeffrey M. Dudek , Kuldeep S. Meel, & Moshe Y. Vardi Rice University Random k-CNF F Satis isfia iabil ilit ity [Franco and Paull, 1983] Definitio ion:Let CNF (,)


slide-1
SLIDE 1

Co Combining the k-CN CNF and XOR Phase se-Transitions

Jeffrey M. Dudek, Kuldeep S. Meel, & Moshe Y. Vardi Rice University

slide-2
SLIDE 2

Random k-CNF F Satis isfia iabil ilit ity [Franco and Paull, 1983]

  • Definitio

ion:Let CNF𝒍(𝒐,𝒔) be a random variable denoting a uniformly chosen k- CNF formula with π‘œ variables and π‘œπ‘  k-CNF clauses.

  • 𝒐 : The number of variables.
  • 𝒍 : The width of every CNF clause.
  • r : CNF clause density = Ratio of # of CNF clauses to # of variables.
  • Ex: π‘Œ1 ∨ Β¬π‘Œ5 ∨ π‘Œ6 β‹€ Β¬π‘Œ1 ∨ π‘Œ3 ∨ π‘Œ5 is one possible value for CNF3(6,1/3).
  • Prob
  • blem: Fixing 𝑙 and 𝑠, what is the asymptotic probability that CNF𝑙(π‘œ, 𝑠) is

satisfiableas π‘œ goes to infinity?

2 Combining the k-CNF and XOR Phase-Transitions

slide-3
SLIDE 3

k-CNF F Ph Phase e Transit ition

0.2 0.4 0.6 0.8 1 1 2 3 4 5 6 7 8 Probability of Satisfiability r: 3-CNF Clause Density (#clauses / #variables)

Probability that CNF3 400,𝑠 is satisfiable

3 Combining the k-CNF and XOR Phase-Transitions

slide-4
SLIDE 4

k-CNF F Ph Phase e Transit ition

0.2 0.4 0.6 0.8 1 1 2 3 4 5 6 7 8 Probability of Satisfiability r: 3-CNF Clause Density (#clauses / #variables)

Probability that CNF3 400,𝑠 is satisfiable

4

k-CN CNF Phase-Transition

  • n Con
  • nject

cture: For every 𝑙 β‰₯ 2, there is a constant 𝑠

𝑙 > 0 such that:

𝑠

3

Combining the k-CNF and XOR Phase-Transitions

slide-5
SLIDE 5

XOR Ph Phase-Transit itio ion [Creignou and DaudΓ©, 1999]

  • Definitio

ion: An XOR R clause is the exclusive-or of a set of variables, possibly including 1 as well. Ex Ex: π‘Œ2β¨π‘Œ4, 1β¨π‘Œ1β¨π‘Œ2β¨π‘Œ7

  • Definitio

ion: Let XOR(𝒐,𝒕) be a random variable denoting a uniformly chosen XOR formula with π‘œ variables and π‘œπ‘‘ XOR clauses.

  • n : The number of variables.
  • s : XOR clause density = Ratio of # of XOR clauses to # of variables.

5

Prob

  • blem: Fixing 𝑑, what is the asymptotic probability that XOR(π‘œ, 𝑑) is satisfiable

as π‘œ goes to infinity?

Combining the k-CNF and XOR Phase-Transitions

slide-6
SLIDE 6

XOR Ph Phase-Transit itio ion [Creignou and DaudΓ©, 1999]

  • Definitio

ion: An XOR R clause is the exclusive-or of a set of variables, possibly including 1 as well. Ex Ex: π‘Œ2β¨π‘Œ4, 1β¨π‘Œ1β¨π‘Œ2β¨π‘Œ7

  • Definitio

ion: Let XOR(𝒐,𝒕) be a random variable denoting a uniformly chosen XOR formula with π‘œ variables and π‘œπ‘‘ XOR clauses.

  • n : The number of variables.
  • s : XOR clause density = Ratio of # of XOR clauses to # of variables.

6

Prob

  • blem: Fixing 𝑑, what is the asymptotic probability that XOR(π‘œ, 𝑑) is satisfiable

as π‘œ goes to infinity?

lim

π‘œβ†’βˆžPr XOR(π‘œ, 𝑑) is sat. = α‰Š1 if 𝑑 < 1

0 if 𝑑 > 1

Combining the k-CNF and XOR Phase-Transitions

slide-7
SLIDE 7

Combin ining k-CNF and XOR Together

  • Motivation: Hashing-based sampling and counting algorithms use formulas with

both k-CNF and XOR clauses.

  • [Gomes et al. 2007], [Chakraborty et al., 2013], [Ermon et al. 2013]
  • Definition: A k-CNF-XOR formula is the conjunction of k-CNF and XOR clauses.
  • Goal: Analyze the β€œbehavior” of k-CNF-XOR formulas.
  • In this work we analyze the asymptotic satisfiability of random k-CNF-XOR

formulas.

7 Combining the k-CNF and XOR Phase-Transitions

slide-8
SLIDE 8

Random k-CNF-XOR Satisfia iabili ility

  • Definitio

ion:Let πŽπ’(𝒐,𝒔,𝒕) be a random variable denoting CNF𝑙(π‘œ, 𝑠) ∧ XOR(π‘œ, 𝑑)

  • i.e. the conjunction of π‘œπ‘  random k-CNF clauses and π‘œπ‘‘ random XOR clauses.
  • n : The number of variables.
  • k : The width of every CNF clause.
  • r : k-CNF clause density.
  • s : XOR clause density.

Prob

  • blem: Fixing 𝑙, 𝑠, and 𝑑, what is the asymptotic probability that πœ”π‘™(π‘œ, 𝑠, 𝑑) is

satisfiable as π‘œ goes to infinity?

8 Combining the k-CNF and XOR Phase-Transitions

slide-9
SLIDE 9

k-CNF-XOR: Wh What Do Do We Ex Expec ect to See? e?

Probability that πœ”5 π‘œ, 𝑠, 𝑑 = CNF5(π‘œ, 𝑠) ∧ XOR(π‘œ,𝑑) is satisfiable

9

r: 5-CNF Clause Density s: XOR Clause Density

?

slide-10
SLIDE 10

Probability that πœ”5 100,𝑠, 𝑑 = CNF5(100,𝑠) ∧ XOR(100,𝑑) is satisfiable

10

r: 5-CNF Clause Density s: XOR Clause Density

slide-11
SLIDE 11

Theorem 1: 1: The k-CNF-XOR Ph Phas ase-Tran ansition Ex Exists

πœ”π‘™ π‘œ, 𝑠,𝑑 = CNF𝑙(π‘œ, 𝑠) ∧ XOR π‘œ,𝑑 is a random variable denoting a uniformly chosen k-CNF-XOR formula over n variables with CNF-density r and XOR-density s. Thm 1: For all 𝑙 β‰₯ 2, there are functions πœšπ‘™ and constants 𝛽𝑙 β‰₯ 1 such that random k-CNF-XOR formulas have a phase-transition located at 𝑑 = πœšπ‘™(𝑠) when r < 𝛽𝑙. For all 𝑑 β‰₯ 0, and 0 ≀ 𝑠 ≀ 𝛽𝑙 (except for at most countably many 𝑠): What can we say about πœšπ‘™?

11 Combining the k-CNF and XOR Phase-Transitions

slide-12
SLIDE 12

Theo eorem em 2: 2: Loca catin ing the e Ph Phase-Transit itio ion

lim

π‘œβ†’βˆž Pr πœ”π‘™(π‘œ, 𝑠, 𝑑) is sat. = 1

What can we say about πœšπ‘™, the location of the k-CNF-XOR phase-transition?

Thm2: For 𝑙 β‰₯ 3, we have linear

upper and lower bounds on πœšπ‘™(𝑠).

12

lim

π‘œβ†’βˆž Pr πœ”π‘™(π‘œ, 𝑠, 𝑑) is sat. = 0

r: 5-CNF Clause Density s: XOR Clause Density

Combining the k-CNF and XOR Phase-Transitions

slide-13
SLIDE 13

Conclu clusio ion

  • There is a phase-transition in the satisfiability of random k-CNF-XOR

formulas at k-CNF clause densities below 𝛽𝑙.

  • We have some explicit bounds on the location.

Future Work:

  • Conjecture: There is a phase-transition in k-CNF-XOR formulas at all k-CNF

clause densities.

  • Conjecture: πœšπ‘™(𝑠) is linear for k-CNF clause densities below some 𝛽𝑙

βˆ— > 0.

  • How does the runtime of SAT solvers on k-CNF-XOR equations behave near

the phase-transition?

13 Combining the k-CNF and XOR Phase-Transitions

slide-14
SLIDE 14

Thanks!

14

r: 5-CNF Clause Density s: XOR Clause Density

slide-15
SLIDE 15

Citatio ions

  • [Ermon et al. 2013] S. Ermon, C. P. Gomes, A. Sabharwal, and B. Selman. Taming the curse of dimensionality:

Discrete integration by hashing and optimization. In Proc. of ICML, pages 334–342, 2013.

  • [Franco and Paull, 1983] J. Franco and M. Paull. Probabilistic analysis of the Davis– Putnam procedure for

solving the satisfiability problem. Discrete Applied Mathematics, 5(1):77–87, 1983.

  • [Chakraborty et al. 2013] S. Chakraborty, K. S. Meel, and M. Y. Vardi. A scalable and nearly uniform generator
  • f SAT witnesses. In Proc. of CAV, pages 608–623, 2013.
  • [Creignou and DaudΓ©, 1999] N. Creignou and H. DaudΓ©. Satisfiability threshold for random xor-cnf formulas.

Discrete Applied Mathematics, 9697:41 – 53, 1999.

  • [Gomes et al. 2007] C.P. Gomes, A. Sabharwal, and B. Selman. Near-Uniform sampling of combinatorial

spaces using XOR constraints. In Proc. of NIPS, pages 670–676, 2007

  • [Goerdt, 1996] A. Goerdt. A threshold for unsatisfiability. Journal of Computer and System Sciences,

53(3):469 – 486, 1996.

15 Combining the k-CNF and XOR Phase-Transitions

slide-16
SLIDE 16

Runtime Behavio ior at the Transit itio ion

0.2 0.4 0.6 0.8 1 1 2 3 4 5 6 7 8 Clause Density r (#Clauses/#Variables) Probability of Satisfiability Solve Time

Average satisfiability and solve time of 𝐺

3 200, 200𝑠

16 Combining the k-CNF and XOR Phase-Transitions