1 P NP P^#P PSPACE NP-complete: SAT, propositional reasoning, scheduling, graph coloring, puzzles, … PSPACE-complete: QBF, planning, chess (bounded), …

Slides:



Advertisements
Similar presentations
Propositional Satisfiability (SAT) Toby Walsh Cork Constraint Computation Centre University College Cork Ireland 4c.ucc.ie/~tw/sat/
Advertisements

10/7/2014 Constrainedness of Search Toby Walsh NICTA and UNSW
Time-Space Tradeoffs in Resolution: Superpolynomial Lower Bounds for Superlinear Space Chris Beck Princeton University Joint work with Paul Beame & Russell.
50.530: Software Engineering
1 Backdoor Sets in SAT Instances Ryan Williams Carnegie Mellon University Joint work in IJCAI03 with: Carla Gomes and Bart Selman Cornell University.
Tradeoffs in Backdoors: Inconsistency Detection, Dynamic Simplification, and Preprocessing Bistra Dilkina, Carla Gomes, Ashish Sabharwal Cornell University.
Algorithms and Problems for Quantified SAT Toby Walsh Department of Computer Science University of York England Ian P. Gent School of Computer Science.
Phase Transitions of PP-Complete Satisfiability Problems D. Bailey, V. Dalmau, Ph.G. Kolaitis Computer Science Department UC Santa Cruz.
Combinatorial Problems III: The Next Level of Complexity Ashish Sabharwal Cornell University March 5, nd Asian-Pacific School on Statistical Physics.
Methods for SAT- a Survey Robert Glaubius CSCE 976 May 6, 2002.
08/1 Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT Wolfram Burgard and Bernhard Nebel.
Search for satisfaction Toby Walsh Cork Constraint Computation Center
1 Towards Efficient Sampling: Exploiting Random Walk Strategy Wei Wei, Jordan Erenrich, and Bart Selman.
Phase Transitions of PP-Complete Satisfiability Problems D. Bailey, V. Dalmau, Ph.G. Kolaitis Computer Science Department UC Santa Cruz.
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.
1 Discrete Structures CS 280 Example application of probability: MAX 3-SAT.
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)
Knowledge Representation II (Inference in Propositional Logic) CSE 473 Continued…
1 Understanding Problem Hardness: Recent Developments and Directions Bart Selman Cornell University.
1 Paul Beame University of Washington Phase Transitions in Proof Complexity and Satisfiability Search Dimitris Achlioptas Michael Molloy Microsoft Research.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
1 Message Passing and Local Heuristics as Decimation Strategies for Satisfiability Lukas Kroc, Ashish Sabharwal, Bart Selman (presented by Sebastian Brand)
Sampling Combinatorial Space Using Biased Random Walks Jordan Erenrich, Wei Wei and Bart Selman Dept. of Computer Science Cornell University.
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]
Solution Counting Methods for Combinatorial Problems Ashish Sabharwal [ Cornell University] Based on joint work with: Carla Gomes, Willem-Jan van Hoeve,
Relaxed DPLL Search for MaxSAT (short paper) Lukas Kroc, Ashish Sabharwal, Bart Selman Cornell University SAT-09 Conference Swansea, U.K. July 3, 2009.
Why SAT Scales: Phase Transition Phenomena & Back Doors to Complexity slides courtesy of Bart Selman Cornell University.
ICS-270A:Notes 6: 1 Notes 6: Constraint Satisfaction Problems ICS 270A Spring 2003.
Planning as Satisfiability: Progress and Challenges Bart Selman Cornell University.
1 Exploiting Random Walk Strategies in Reasoning Wei.
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Chapter 11 Limitations of Algorithm Power. Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples:
Ten Challenges Redux: Recent Progress in Propositional Reasoning & Search A Biased Random Walk Henry Kautz University of Washington.
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.
Constrainedness Including slides from Toby Walsh.
The Boolean Satisfiability Problem: Theory and Practice Bart Selman Cornell University Joint work with Carla Gomes.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 3 Logic Representations (Part 2)
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
15-853:Algorithms in the Real World
Planning as Propositional Satisfiabililty Brian C. Williams Oct. 30 th, J/6.834J GSAT, Graphplan and WalkSAT Based on slides from Bart Selman.
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.
PhD Projects Rahul Santhanam University of Edinburgh.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
/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.
Review of Propositional Logic Syntax
© Daniel S. Weld 1 Logistics Problem Set 2 Due Wed A few KR problems Robocode 1.Form teams of 2 people 2.Write design document.
Balance and Filtering in Structured Satisfiability Problems Henry Kautz University of Washington joint work with Yongshao Ruan (UW), Dimitris Achlioptas.
SAT Solving As implemented in - DPLL solvers: GRASP, Chaff and
Inference in Propositional Logic (and Intro to SAT) CSE 473.
Where are the hard problems?. Remember Graph Colouring? Remember 3Col?
Complexity of Compositional Model Checking of Computation Tree Logic on Simple Structures Krishnendu Chatterjee Pallab Dasgupta P.P. Chakrabarti IWDC 2004,
Where are the hard problems?
Insights from Statistical Physics into Computational Complexity Bart Selman Cornell University Joint with Scott Kirkpatrick (IBM Research)
CS 4700: Foundations of Artificial Intelligence
Inference in Propositional Logic (and Intro to SAT)
Inference and search for the propositional satisfiability problem
CS 4700: Foundations of Artificial Intelligence
Planning as Search State Space Plan Space Algorihtm Progression
Emergence of Intelligent Machines: Challenges and Opportunities
Notes 6: Constraint Satisfaction Problems
Joint work with Carla Gomes.
Chapter 11 Limitations of Algorithm Power
Combinatorial Problems I: Finding Solutions
Presentation transcript:

1 P NP P^#P PSPACE NP-complete: SAT, propositional reasoning, scheduling, graph coloring, puzzles, … PSPACE-complete: QBF, planning, chess (bounded), … EXP-complete: games like Go, … P-complete: circuit-value, … Note: widely believed hierarchy; know P≠EXP for sure In P: sorting, shortest path, … Computational Complexity Hierarchy Easy Hard PH EXP #P-complete/hard: #SAT, sampling, probabilistic inference, …

2 Random 3-SAT Random Walk DP DP’ Walksat SP Linear time algs. GSAT Phase transition Mitchell, Selman, and Levesque ’92

3 Random 3-SAT Random Walk DP DP’ Walksat SP Linear time algs. GSAT Upper bounds by combinatorial arguments (’92 – ‘15)

4 The region of interest

New types of algorithms for SAT. For example, local search methods (e.g. WalkSAT) and survey propagation (SP), an advanced form of belief propagation. General insights into practical complexity: I) Easy-hard-easy patterns and “critically constrained problems” II) Surprise observation about mixing tractable and intractable structure. E.g. 2SAT and 3SAT. Partly explains the tremendous progress in SAT solving to follow. 5

Mixture of tractable and intractable structure 41% 3-SAT --- exponential scaling 40% 3-SAT --- linear scaling Mixing 2-SAT (tractable) & 3-SAT (intractable) clauses. (Monasson, Selman et al. 99) Medium cost Num variables From 2 O(N) to O(N) scaling, if sufficient tractable structure is uncovered! Millions of variables! Few 100s vars max Sudden collapse of complexity! 

Scaling-Up Reasoning Key to scalability in reasoning is uncovering substantial tractable substructure. Mechanisms: I)Constraint propagation (CSP) and unit-propagation (SAT). Incomplete but highly efficient “sub-inference.” II) Clause learning (“no-good learning”) adds derived constraints during search. Helps I). Conflict Directed Clause Learning (CDCL) SAT solvers. |||) Randomization, restarts, and heuristic branching. Backdoor variables. 7 Principle I

Scaling-Up Reasoning, cont. Techniques scale up reasoning from a few hundred of variables max in the early 90s to 10+ million variable problems for current SAT solvers. We can now revisit McCarthy’s automated inference paradigm. 8 Contributors: [random order] Gomes, Kautz, Sabharwal, Ermon, Kroc, Levesque, Horvitz, Bessiere, Walsh, Gent, Zecchina, Mitchell, Leyton- Brown, Chen, Huang, Rintanen, Hoos, Achlioptas, Cheeseman, Kirkpatrick,Sandholm, Chayes, Brogs, Marques-Silva, Malik, O’Sullivan, Zhang, Lynce, Horvitz, Willams, van Harmelen, van Gelder, Sinz, Dilkina, Yexiang, Darwich, LeBras, Wei Wei, Freuder, Wilson, Kambhampati, Hoffmann, Bierre, Papadimitriou, Bacchus, Beame, Pitassi, McAllester, Weld, Geffner, Samulowitz, Sellmann, Seider, Clarke, Impagliazzo, Manya, Ansotague, Szeider, and others!!

I.e., ((not x_1) or x_7) ((not x_1) or x_6) etc. Aside: A Taste of Problem Size x_1, x_2, x_3, etc. our Boolean variables (set to True or False) Set x_1 to False ?? Consider a real world Boolean Satisfiability (SAT) problem, from formal verification.

I.e., (x_177 or x_169 or x_161 or x_153 … x_33 or x_25 or x_17 or x_9 or x_1 or (not x_185)) clauses / constraints are getting more interesting… 10 pages later: … Note x_1 …

4000 pages later: …

Finally, 15,000 pages later: Current SAT solvers solve this instance in a few seconds! Search space of truth assignments: