1 Understanding Problem Hardness: Recent Developments and Directions Bart Selman Cornell University.

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
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Mar, 4, 2015 Slide credit: some slides adapted from Stuart.
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.
Generating Hard Satisfiability Problems1 Bart Selman, David Mitchell, Hector J. Levesque Presented by Xiaoxin Yin.
Integrating Bayesian Networks and Simpson’s Paradox in Data Mining Alex Freitas University of Kent Ken McGarry University of Sunderland.
Statistical Regimes Across Constrainedness Regions Carla P. Gomes, Cesar Fernandez Bart Selman, and Christian Bessiere Cornell University Universitat de.
CP Formal Models of Heavy-Tailed Behavior in Combinatorial Search Hubie Chen, Carla P. Gomes, and Bart Selman
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.
Heavy-Tailed Behavior and Search Algorithms for SAT Tang Yi Based on [1][2][3]
Impact of Structure on Complexity Carla Gomes Bart Selman Cornell University Intelligent Information Systems.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
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.
Wireless Distributed Sensor Tracking: Computation and Communication Bart Selman, Carla Gomes, Scott Kirkpatrick, Ramon Bejar, Bhaskar Krishnamachari, Johannes.
Short XORs for Model Counting: From Theory to Practice Carla P. Gomes, Joerg Hoffmann, Ashish Sabharwal, Bart Selman Cornell University & Univ. of Innsbruck.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
Structure and Phase Transition Phenomena in the VTC Problem C. P. Gomes, H. Kautz, B. Selman R. Bejar, and I. Vetsikas IISI Cornell University University.
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.
CP-AI-OR-02 Gomes & Shmoys 1 The Promise of LP to Boost CSP Techniques for Combinatorial Problems Carla P. Gomes David Shmoys
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 Paul Beame University of Washington Phase Transitions in Proof Complexity and Satisfiability Search Dimitris Achlioptas Michael Molloy Microsoft Research.
Lukas Kroc, Ashish Sabharwal, Bart Selman Cornell University, USA SAT 2010 Conference Edinburgh, July 2010 An Empirical Study of Optimal Noise and Runtime.
Controlling Computational Cost: Structure and Phase Transition Carla Gomes, Scott Kirkpatrick, Bart Selman, Ramon Bejar, Bhaskar Krishnamachari Intelligent.
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.
Hardness-Aware Restart Policies Yongshao Ruan, Eric Horvitz, & Henry Kautz IJCAI 2003 Workshop on Stochastic Search.
Why SAT Scales: Phase Transition Phenomena & Back Doors to Complexity slides courtesy of Bart Selman Cornell University.
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”.
Structure and Phase Transition Phenomena in the VTC Problem C. P. Gomes, H. Kautz, B. Selman R. Bejar, and I. Vetsikas IISI Cornell University University.
Quasigroups Defaults Foundations of AI. Given an N X N matrix, and given N colors, color the matrix in such a way that: -all cells are colored; - each.
Performing Bayesian Inference by Weighted Model Counting Tian Sang, Paul Beame, and Henry Kautz Department of Computer Science & Engineering University.
Constrainedness Including slides from Toby Walsh.
The Boolean Satisfiability Problem: Theory and Practice Bart Selman Cornell University Joint work with Carla Gomes.
3/11/2002copyright Brian Williams1 Propositional Logic and Satisfiability Brian C. Williams /6.834 October 7 th, 2002.
Master Class on Experimental Study of Algorithms Scientific Use of Experimentation Carla P. Gomes Cornell University CPAIOR Bologna, Italy 2010.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 3 Logic Representations (Part 2)
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
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.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
CS 5411 Compilation Approaches to AI Planning 1 José Luis Ambite* Some slides are taken from presentations by Kautz and Selman. Please visit their.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
SAT 2009 Ashish Sabharwal Backdoors in the Context of Learning (short paper) Bistra Dilkina, Carla P. Gomes, Ashish Sabharwal Cornell University SAT-09.
CPSC 422, Lecture 21Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 21 Oct, 30, 2015 Slide credit: some slides adapted from Stuart.
Review of Propositional Logic Syntax
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.
Lecture 8 Randomized Search Algorithms Part I: Backtrack Search CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.
Inference in Propositional Logic (and Intro to SAT) CSE 473.
Where are the hard problems?. Remember Graph Colouring? Remember 3Col?
Formal Complexity Analysis of RoboFlag Drill & Communication and Computation in Distributed Negotiation Algorithms in Distributed Negotiation Algorithms.
1 P NP P^#P PSPACE NP-complete: SAT, propositional reasoning, scheduling, graph coloring, puzzles, … PSPACE-complete: QBF, planning, chess (bounded), …
Insights from Statistical Physics into Computational Complexity Bart Selman Cornell University Joint with Scott Kirkpatrick (IBM Research)
Inference in Propositional Logic (and Intro to SAT)
Objective of This Course
Emergence of Intelligent Machines: Challenges and Opportunities
Constraint Programming and Backtracking Search Algorithms
Joint work with Carla Gomes.
Chapter 11 Limitations of Algorithm Power
Presentation transcript:

1 Understanding Problem Hardness: Recent Developments and Directions Bart Selman Cornell University

2 Introduction & Motivation Computational Challenges in Planning, Reasoning, Learning, and Adaptation. What are the characteristics of challenging computational problems?

A Few Examples Reasoning many forms of deduction abduction / diagnosis (e.g. de Kleer 1989) default reasoning (e.g. Kautz and Selman 1989) Bayesian inference (e.g. Dagum and Luby 1993) Planning domain-dependent and independent (STRIPS) (e.g. Chapman 1987; Gupta and Nau 1991; Bylander1994) Learning neural net “loading” problem (e.g. Blum and Rivest 1989) Bayesian net learning decision tree learning

An abundance of negative complexity results for many interesting tasks. Results often apply to very restricted formalisms, and also to finding approximate solutions. But worst-case, what about average-case? Sometimes “surprising” results. A closer look leads to new insights & algorithms and solution strategies.

5 Outline A --- “Early’’ results: phase transitions & computational hardness B --- Current focus: --- problem mixtures (tractable / intractable) --- adding global structure C --- Future directions and prospects --- modeling resource constraints --- adaptive computing --- deeper theoretical understanding

6 A. “Early” Results (‘90-’95)

Example Domain: Satisfiability SAT: Given a formula in propositional calculus, is there an assignment to its variables making it true? We consider clausal form, e.g.:  a b c  b d  b c e  The canonical NP-complete problem. (“exponential search space”) 

Generating Hard Random Formulas Key: Use fixed-clause-length model. (Mitchell, Selman, and Levesque 1992; Kirkpatrick and Selman 1994) Critical parameter: ratio of the number of clauses to the number of variables. Hardest 3SAT problems at ratio = 4.25

Intuition At low ratios: few clauses (constraints) many assignments easily found At high ratios: many clauses inconsistencies easily detected

13 Phase transition 2-, 3-, 4-, 5-, and 6-SAT

Theoretical Status Of Threshold Very challenging problem... Current status: 3SAT threshold lies between and 4.6. (Motwani et al. 1994; Broder et al. 1992; Frieze and Suen 1996; Dubois 1990, 1997; Kirousis et al. 1995; Friedgut 1997; Archlioptas et al / related work: Beame, Karp, Pitassi, and Saks 1998; Bollobas, Borgs, Chayes, Han Kim, and Wilson 1999)

Phase transition and combinatorial problems is an active research area with fruitful interactions between computer science, physics (approaches from statistical mechanics), and mathematics (combinatorics / random structures). Also, a close interaction between experimental and theoretical work. (With experimental findings quite often confirmed by formal analysis within months to a few years.) Finally, relevance to applications via algorithmic advances and notion of “critically constrained problems”.

Consequences for Algorithm Design Phase transition work instances led to improvements in algorithms: --- local search methods (e.g., GSAT / Walksat) (Selman et al. 1992; 1996; Min Li 1996; Hoos 1998, etc.) --- backtrack-style methods (Davis-Putnam and variants / complete) (Crawford 1993; Dubois 1994; Bayardo 1997; Zane 1998, etc.)

17 Progress Propositional reasoning and search (SAT): 1990: 100 variables / 200 clauses (constraints) 1998: 10, ,000 variables / 10^6 clauses Novel applications: e.g. in planning (Kautz & Selman), program debugging (Jackson), protocol verification (Clarke), and machine learning (Resende).

B. Current Focus --- mixtures of problem classes, e.g., 2-SAT and 3-SAT (“moving between P and NP”) the 2+p-SAT model --- structured instances perturbed quasi-group completion problems

Focus --- 1) mixtures: 2+p-SAT problem mixture of binary and ternary clauses p = fraction ternary p = SAT / p = SAT What happens in-between? ( Monasson, Zecchina, Kirkpatrick, Selman, and Troyansky, Nature, to appear)

20 Phase Transition for 2+p-SAT

21 Location Threshold

22 Computational Cost

23 Results for 2+p-SAT p < ~ model essentially behaves as 2-SAT search proc. “sees” only binary constraints smooth, continuous phase transition p > ~ behaves as 3-SAT (exponential scaling) abrupt, discontinuous scaling Many new, rigorous results (including scaling) by Achlioptas, Bollobas, Borgs, Chayes, Han Kim, and Wilson. (Next talk.)

Consequences for Algorithm Design 1) Strategies that exploit tractable substructure with propagation are most effective. (consistent with the best empirically discovered methods) 2) In addition, use early branching on critically constrained variables. (the “backbone variables” / suggests use of clustering and statistical learning methods) (Boyan and Moore 1998)

25 Proposal: study the influence of global structure on problem hardness. structure on problem hardness. Focus --- 2) Structure (Gomes and Selman 1997; 1998)

26 Defn.: a pair (Q, *) where Q is a set, and * is a binary operation on Q such that a * x = b ; y * a = b are uniquely solvable for every pair of elements a,b in Q. The multiplication table of its binary operation defines a latin square (i.e., each element of Q appears exactly once in each row/column). Example: Quasigroup of order 4 Quasigroups

27 Given a partial latin square, can it be completed? Example: Quasigroup Completion Problem (QCP)

28 Quasigroup Completion Problem A Framework for Studying Search NP-Complete (Colbourn 1983, 1984; Anderson 1985). Has a regular global structure not found in random instances. Leads to interesting search problems when structure is perturbed. similar to e.g. structure found in the channel assignment problem for cellular networks

29 Computational Cost

30

Consequences for Algorithm Design On these structured problems, backtrack search methods show so-called heavy-tailed probability distributions. (Gomes, Selman & Crato 1997, 1998). Both very short and very long runs occur much more frequent than one would expect.

32 Standard Distribution

33 Heavy Tailed Cost Distribution

34 Fringe of Search Tree

Algorithmic Strategy: Rapid Random Restarts. Order of magnitude speedup. (Gomes et al. 1998; 1999) Related:. Algorithm portfolios (Huberman 1998; Gomes 1998). Universal strategies (Ertel and Luby 1993; Alt et al. 1996)

36 Rapid Restarts --- Planning

37 Portfolio for heavy-tailed search procedures (2-20 processors)

38 C. Future directions and prospects Modeling resource constraints & user requirements / utility should be possible to identify optimal restart strategies, possibly adaptive --- may need way of “measuring progress” (Horvitz and Klein 1995; Gomes and Selman 1999)

39 Adaptive Computing combine statistical learning methods with combinatorial search techniques. first success: STAGE system for local search. (Boyan and Moore 1998) extension: train a planner on small instances (Selman, Kautz, Huang 1999) Deeper theoretical understanding with continued interactions with experiments and applications

Summary During the past few years, we have obtained a much better understanding of the nature of computationally hard problems. Rich interactions between physics, computer science and mathematics, and between theory, experiments, and applications. Clear algorithmic progress with room for future improvements (possibly another level of scaling: 10^6 Boolean variables, 10^8 constraints. Further applications.)