FourierSAT: A Fourier Expansion-Based Algebraic Framework for - - PowerPoint PPT Presentation

fouriersat a fourier expansion based algebraic framework
SMART_READER_LITE
LIVE PREVIEW

FourierSAT: A Fourier Expansion-Based Algebraic Framework for - - PowerPoint PPT Presentation

FourierSAT: A Fourier Expansion-Based Algebraic Framework for Solving Hybrid Boolean Constraints Anastasios Kyrillidis Anshumali Shrivastava Moshe Vardi Zhiwei Zhang Computer Science Dept., Rice University 1 /14 Background: Boolean


slide-1
SLIDE 1

FourierSAT: A Fourier Expansion-Based Algebraic Framework for Solving Hybrid Boolean Constraints

Anastasios Kyrillidis Anshumali Shrivastava Moshe Vardi Zhiwei Zhang Computer Science Dept., Rice University

1 /14

slide-2
SLIDE 2
  • SAT: Does a formula have a solution or not?

is a solution of no solution exists for

  • NP-completeness of SAT was proven in 1971 by Stephen Cook

Background: Boolean SATisfiability Problem

  • Variables:
  • Connectives:
  • Formula:
  • Solution: an assignment with T/F of variables s.t. formula yields T

2 /14

slide-3
SLIDE 3

Applications of SAT

SAT solvers solve industrial SAT instances with millions of variables Used by hardware and software designers on a daily basis

Discrete Optimization Software Verification Motion planning Probabilistic inference

[Ignatiev et al., 2017] [Velev, 2004] [Bera, 2017] [Chavira et al., 2008] [Katebi et al., 2011]

3 /14

slide-4
SLIDE 4

CNF and Hybrid SAT Solving

  • Conjunctive Normal Form (CNF)
  • Connectives:
  • Clauses:
  • Formulas:
  • 3-CNF is NP-complete [Cook, 1971]
  • Non-CNF Clauses/Constraints
  • cryptography: XOR [Bogdanov et al., 2011]
  • graph theory: cardinality constraints [Costa et al., 2009]

not-all-equal (NAE) [Tomas J, 1978]

4 /14

slide-5
SLIDE 5

Related Work: Hybrid SAT Solving

  • CNF-encoding of Non-CNF constraints

Cryptominisat (CNF + XOR) [Soos et al., 2009] Minicard (CNF + cardinality constraints) [Liffition et al., 2012] MonoSAT (CNF + graph properties) [Bayless et al. 2015] Pueblo (CNF + pseudo Boolean constraints) [Sheini et al., 2006]

Involves large number of new variables and clauses Need to design algorithms for each specific type of constraints

  • Extensions of CNF solvers

Encodings make a big difference

[Prestwich 2009] [Wynn, 2018] 5 /14

slide-6
SLIDE 6

Contribution: A versatile Boolean SAT Solver

Each can be a CNF, XOR, Not-all-equal constraint or cardinality constraint Goal: Handle different types of constraints uniformly & naturally

6 /14

slide-7
SLIDE 7

Boolean formulas Multilinear Polynomials

Fourier Expansion of Boolean Function

{F, T}

7 /14

Every Boolean function has a unique representation in multilinear polynomial.

slide-8
SLIDE 8

From SAT to continuous optimization

discrete searching on Boolean domain

  • ptimization on continuous domain

8 /14

Tree Search/Backtracking Local Search

slide-9
SLIDE 9

Workflow

9 /14

hybrid Boolean formula gradients continuous optimization discrete assignment Is a solution? No discretize analytical computation Fourier transform multilinear polynomial

slide-10
SLIDE 10

Factored Representation

  • Many types of constraints has closed form Fourier expansions

Type of Constraint Fourier Expansion

CNF clauses XOR Cardinality constraints Not-all-equal

Example

Define a new objective function by the Fourier Expansion of each clause

  • Generally, computing the Fourier Expansion of a Boolean function is #P-hard
  • How to evaluate a polynomial with exponentially many terms?

10 /14

slide-11
SLIDE 11

Objective Function Construction

Fourier expansions

11 /14

slide-12
SLIDE 12

Theoretical Properties of FourierSAT

Making progress in expectation per iteration

12 /14

$

(Deterministically)

slide-13
SLIDE 13

Experimental Results: Parity Learning with Errors

13/14

slide-14
SLIDE 14

Conclusion

  • SAT solving beyond CNF is worth studying
  • Our work, FourierSAT is a versatile and robust tool for Boolean SAT
  • Applications of Fourier analysis and other algebraic techniques for Boolean

logic are promising

  • Bridging discrete and continuous optimization
  • Future directions:
  • Proving unsatisfiability algebraically
  • Deploying FourierSAT with methods from machine learning and local search

SAT solvers

14 /14