Ten Challenges Redux: Recent Progress in Propositional Reasoning & Search A Biased Random Walk Henry Kautz University of Washington.

Slides:



Advertisements
Similar presentations
Time-Space Tradeoffs in Resolution: Superpolynomial Lower Bounds for Superlinear Space Chris Beck Princeton University Joint work with Paul Beame & Russell.
Advertisements

Chaff: Engineering an Efficient SAT Solver Matthew W.Moskewicz, Concor F. Madigan, Ying Zhao, Lintao Zhang, Sharad Malik Princeton University Modified.
Presented by Monissa Mohan 1.  A highly optimized BCP algorithm  Two watched literals  Fast Backtracking  Efficient Decision Heuristic  Focused on.
Chaff: Engineering an Efficient SAT Solver Matthew W.Moskewicz, Concor F. Madigan, Ying Zhao, Lintao Zhang, Sharad Malik Princeton University Presenting:
Proofs from SAT Solvers Yeting Ge ACSys NYU Nov
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Using Problem Structure for Efficient Clause Learning Ashish Sabharwal, Paul Beame, Henry Kautz University of Washington, Seattle April 23, 2003.
1 Backdoor Sets in SAT Instances Ryan Williams Carnegie Mellon University Joint work in IJCAI03 with: Carla Gomes and Bart Selman Cornell University.
IBM Labs in Haifa © 2005 IBM Corporation Adaptive Application of SAT Solving Techniques Ohad Shacham and Karen Yorav Presented by Sharon Barner.
Dynamic Restarts Optimal Randomized Restart Policies with Observation Henry Kautz, Eric Horvitz, Yongshao Ruan, Carla Gomes and Bart Selman.
Reduction of Interpolants for Logic Synthesis John Backes Marc Riedel University of Minnesota Dept.
Logical Foundations of AI SAT Henry Kautz. Resolution Refutation Proof DAG, where leaves are input clauses Internal nodes are resolvants Root is false.
© 2002 Fadi A. Aloul, University of Michigan PBS: A Pseudo-Boolean Solver and Optimizer Fadi A. Aloul, Arathi Ramani, Igor L. Markov, Karem A. Sakallah.
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Solving Difficult SAT Instances In The Presence of Symmetry Fadi A. Aloul, Arathi Ramani Igor L. Markov and Karem A. Sakallah University of Michigan.
Methods for SAT- a Survey Robert Glaubius CSCE 976 May 6, 2002.
Boolean Satisfiability Solvers Wonhong Nam
1 Paul Beame University of Washington Satisfiability and Unsatisfiability: Proof Complexity and Algorithms.
1 Towards Efficient Sampling: Exploiting Random Walk Strategy Wei Wei, Jordan Erenrich, and Bart Selman.
Methods of Proof Chapter 7, second half.
1 Sampling, Counting, and Probabilistic Inference Wei joint work with Bart Selman.
AAAI00 Austin, Texas Generating Satisfiable Problem Instances Dimitris Achlioptas Microsoft Carla P. Gomes Cornell University Henry Kautz University of.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
1 BLACKBOX: A New Paradigm for Planning Bart Selman Cornell University.
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Module: Instance Hardness and Phase Transitions.
1 Understanding the Power of Clause Learning Ashish Sabharwal, Paul Beame, Henry Kautz University of Washington, Seattle IJCAI ConferenceAug 14, 2003.
SAT Algorithms in EDA Applications Mukul R. Prasad Dept. of Electrical Engineering & Computer Sciences University of California-Berkeley EE219B Seminar.
1 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Module: Satisfiability (Reading R&N: Chapter 7)
1 BLACKBOX: A New Approach to the Application of Theorem Proving to Problem Solving Bart Selman Cornell University Joint work with Henry Kautz AT&T Labs.
Knowledge Representation II (Inference in Propositional Logic) CSE 473.
Knowledge Representation II (Inference in Propositional Logic) CSE 473 Continued…
GRASP: A Search Algorithm for Propositional Satisfiability EE878C Homework #2 2002/11/1 KAIST, EECS ICS Lab Lee, Dongsoo.
1 Paul Beame University of Washington Phase Transitions in Proof Complexity and Satisfiability Search Dimitris Achlioptas Michael Molloy Microsoft Research.
SAT Solving Presented by Avi Yadgar. The SAT Problem Given a Boolean formula, look for assignment A for such that.  A is a solution for. A partial assignment.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
Logic - Part 2 CSE 573. © Daniel S. Weld 2 Reading Already assigned R&N ch 5, 7, 8, 11 thru 11.2 For next time R&N 9.1, 9.2, 11.4 [optional 11.5]
On Solving Presburger and Linear Arithmetic with SAT Ofer Strichman Carnegie Mellon University.
Hardness-Aware Restart Policies Yongshao Ruan, Eric Horvitz, & Henry Kautz IJCAI 2003 Workshop on Stochastic Search.
Learning to Search Henry Kautz University of Washington joint work with Dimitri Achlioptas, Carla Gomes, Eric Horvitz, Don Patterson, Yongshao Ruan, Bart.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Boolean Satisfiability and SAT Solvers
1 MCMC Style Sampling / Counting for SAT Can we extend SAT/CSP techniques to solve harder counting/sampling problems? Such an extension would lead us to.
Performing Bayesian Inference by Weighted Model Counting Tian Sang, Paul Beame, and Henry Kautz Department of Computer Science & Engineering University.
Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 TexPoint fonts used in EMF. Read the TexPoint manual before you.
1 Agenda Modeling problems in Propositional Logic SAT basics Decision heuristics Non-chronological Backtracking Learning with Conflict Clauses SAT and.
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
15-853:Algorithms in the Real World
Toward a Universal Inference Engine Henry Kautz University of Washington With Fahiem Bacchus, Paul Beame, Toni Pitassi, Ashish Sabharwal, & Tian Sang.
Survey Propagation. Outline Survey Propagation: an algorithm for satisfiability 1 – Warning Propagation – Belief Propagation – Survey Propagation Survey.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module Logic Representations.
Combining Component Caching and Clause Learning for Effective Model Counting Tian Sang University of Washington Fahiem Bacchus (U Toronto), Paul Beame.
CS 5411 Compilation Approaches to AI Planning 1 José Luis Ambite* Some slides are taken from presentations by Kautz and Selman. Please visit their.
Boolean Satisfiability Present and Future
/425 Declarative Methods - J. Eisner 1 Random 3-SAT  sample uniformly from space of all possible 3- clauses  n variables, l clauses Which are.
SAT 2009 Ashish Sabharwal Backdoors in the Context of Learning (short paper) Bistra Dilkina, Carla P. Gomes, Ashish Sabharwal Cornell University SAT-09.
Nikolaj Bjørner Microsoft Research DTU Winter course January 2 nd 2012 Organized by Flemming Nielson & Hanne Riis Nielson.
Accelerating Random Walks Wei Wei and Bart Selman.
Balance and Filtering in Structured Satisfiability Problems Henry Kautz University of Washington joint work with Yongshao Ruan (UW), Dimitris Achlioptas.
1 Propositional Logic Limits The expressive power of propositional logic is limited. The assumption is that everything can be expressed by simple facts.
Inference in Propositional Logic (and Intro to SAT) CSE 473.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
A Decision-Making Procedure for Resolution-Based SAT-solvers Eugene Goldberg Cadence Research Labs (USA) SAT-2008, Guangzhou, P.R. China.
Knowledge Repn. & Reasoning Lecture #9: Propositional Logic UIUC CS 498: Section EA Professor: Eyal Amir Fall Semester 2005.
1 P NP P^#P PSPACE NP-complete: SAT, propositional reasoning, scheduling, graph coloring, puzzles, … PSPACE-complete: QBF, planning, chess (bounded), …
Inference in Propositional Logic (and Intro to SAT)
Clause Learning in a SAT-Solver
Inference and search for the propositional satisfiability problem
Planning as Search State Space Plan Space Algorihtm Progression
EA C461 – Artificial Intelligence Logical Agent
Presentation transcript:

Ten Challenges Redux: Recent Progress in Propositional Reasoning & Search A Biased Random Walk Henry Kautz University of Washington

Challenge 1: Prove that a hard 700 variable random 3-SAT formula is unsatisfiable  1997  DPLL handles 400 variable random 3-SAT at 4.25 clause/variable ratio (Li & Anbulagan1996)  Walksat handles 10,000 variable satisfiable (Selman, Cohen, & Kautz 1996)  Limit of DPLL due to minimal proof tree size?  2001  “Backbone based” variable selection heuristic (Dubois & Dequen) extends DPLL to 700 variables

Backbone Based Heuristics  Backbone  Sat formulas: Set of variables that are fixed in all satisfying assignments  Unsat formulas: backbone of (some) max-sat subset  DPLL heuristic: branch on variables that are likely to be in the backbone  Identify using recursive version of MOM’s

Survey Propagation  2002 – Survey propagation – identify backbone variables and values for satisfiable random k-SAT (Mézard, Parisi, & Zecchina)  Linear scaling – 1,000,000+ variables at 4.25  Loopy belief propagation  Challenge 1’: Develop survey propagation techniques for other interesting problem distributions

Challenge 2: Solve the DIMACS 32-bit parity problem  Extend DPLL by detecting chains of equivalent literals  Pre-processing (Warner & van Maaren 1999)  During execution of DPLL (Li 2000)  Local search – clause re-weighting promising (Wu & Wah 1999)  Challenge 2’: Solve the 32-bit problem using local search

Proof Complexity: Beyond DPLL  DPLL < General Resolution < Frege Systems  Challenge 3A: Demonstrate that a proof system more powerful than tree-like resolution can be practical for satisfiability testing  Clause learning (GRASP: Marques-Silva & Sakallah 1996; Rel-Sat: Bayardo & Shrag 1997; SATO: Zhang 1997; Chaff: Moskewicz, Madigan, Zhao, Zhang, & Malik 2001)  Bounded model checking (Velev & Bryant 2001)  Alpha processor – 1M vars, 10M clauses (Bjesse, Leonard, & Mokkdem 2001)  What is formal power of clause learning?

Conflict Clauses [Beame, Kautz, Sabharwal ’03] FirstNewCut scheme (x 1  x 2  x 3 ) Grasp’s Decision scheme (p  q   b) zChaff’s 1-UIP scheme t  p p  q q b a  t t  x1 x1  x2 x2  x3 x3 y  y y false

Pebbling Formulas (a1  a2)(a1  a2)(b1  b2)(b1  b2)(c1  c2)(c1  c2)(d1  d2)(d1  d2) (e1  e2)(e1  e2) (h1  h2)(h1  h2) (t1  t2)(t1  t2) (i1  i2)(i1  i2) (g1  g2)(g1  g2)(f1  f2)(f1  f2) Structure similar to precedence graphs, planning graphs No short proofs for DPLL (or even regular resolution) Short clause learning proofs in all common schemes

Branching Sequence B = (x 1, x 4,  x 3, x 1,  x 8,  x 2,  x 4, x 7,  x 1, x 2 ) Analysis: can generate domain-dependent “pebbling” branching sequence OLD: “Pick unassigned var x” NEW: “Pick next literal y from B; delete it from B; if y already assigned, repeat”

Results: Grid Pebbling Original zChaff Modified zChaff Naive DPLL

Challenge 3B: Demonstrate that a proof system more powerful than general resolution can be made practical for satisfiability testing  Pigeon-hole problems – E. Coli of proof complexity  Detect & break symmetries (Krishnamurphy 1985; Crawford, Ginsberg, Luks & Roy 1996; Aloul, Markov, & Sakallah 2003)  If {A, B} is a symmetry, adding A  B preserves satisfiability  If (1, 0) is a model then so is (0, 1) – safe to kill (1,0)  Significant speed-up on real-world problems, but  Can only find “obvious” symmetries – NP-hard in general!  Additional clauses unwieldy – build into DPLL instead?

Formula Caching  New idea: cache residual formulas instead of learned clauses (Bacchus, Dalmao & Pitassi 2003; Beame, Impagliazzo, Pitassi, & Segerlind 2003)  Stronger than general resolution if check cache for subsumed formulas  But not for pigeons…  Best approach for model counting?

Challenge 4: Demonstrate that integer programming can be made practical for satisfiability testing  Cutting planes:  Great in theory, but so far not in practice  Promising: extend DPLL to pseudo-Boolean programming (Dixon & Ginsberg 2002)

Challenge 5: Design a practical local search procedure for proving unsatisfiability  Need: small witnesses!  Backdoor sets? (Williams, Gomes, & Selman 2003)

Challenge 6: Handle variable dependencies more efficiently in local search  Random walk – unit propagation in n 2 time (Papadimitriou 1995)  Walksat with unit-prop initialization (UnitWalk: Hirsch & Kojevnikov 2001; Qingting: Li, Stallman, & Brglez 2003)  Pre-process formula  Add clauses that capture long-range dependencies (Wei Wei & Selman 2002)

Challenge 7: Successfully combine stochastic & systematic search  Interleaved DPLL & local search (Maizure, Sais, & Gregoire 1996; Habet, Li, Devendeville, & Vasquez 2002)  Randomized restart DPLL (Gomes, Selman, & Kautz 1998)  Heavy tailed run-time distributions (Gomes, Selman, Crater, & Kautz 2000)  Issue: when to restart?

Complete or no knowledge P(t) t D T* Complete knowledge: calculate fixed cutoff to minimize E(R t ) No knowledge: universal sequence 1, 1, 2, 1, 1, 2, 4, … (Luby 1993)

Run-Time Observations Can predict a particular run’s time to solution (very roughly) based on features of a solver’s trace during an initial window Can improve time to solution by immediately pruning runs that are predicted to be long (Horvitz, Gomes, Kautz, Ruan, Selman ) LongShort Observation horizon Median run time

Partial Knowledge Can incorporate partial knowledge about an ensemble RTD by updating beliefs after each run Example: You know RTD of a SAT ensemble and an UNSAT ensemble, but you don’t know which ensemble current problem is from

Challenge 8: Characterize the computational properties of different encodings of real world domains  CSP versus SAT encodings (Walsh 1997; Prestwich 2003; van Beek & Dechter 1997)  Effect of logically redundant clauses on power of unit propagation (local consistency)  Planning as satisfiability (Kautz, McAllester, Selman 1996; Kautz & Selman 1999)  Much to be done!

Challenge 9: Find encodings of real-world domains so that “near models” are near solutions

Challenge 10: Create random problem generator for instances similar to real-world problems  Quasigroup completion problem (Gomes & Selman 1997; Kautz, Ruan, Achlioptas, Gomes, Selman, & Stickel 2001)

Bounded-Model Checking  Growing libraries of real-world instances  No one algorithm best for all – wide range of performance!  Challenge 10’: Relate the specific kinds of structures that appear in BMC problems to different solver techniques.

Score Card Solved2 Partially solved: 6 Completely open: 2