Balance and Filtering in Structured Satisfiability Problems Henry Kautz University of Washington joint work with Yongshao Ruan (UW), Dimitris Achlioptas.

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
1 University of Southern California Keep the Adversary Guessing: Agent Security by Policy Randomization Praveen Paruchuri University of Southern California.
On Combinatorial vs Algebraic Computational Problems Boaz Barak – MSR New England Based on joint works with Benny Applebaum, Guy Kindler, David Steurer,
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.
Connections in Networks: Hardness of Feasibility vs. Optimality Jon Conrad, Carla P. Gomes, Willem-Jan van Hoeve, Ashish Sabharwal, Jordan Suter Cornell.
Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint.
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]
In Search of a Phase Transition in the AC-Matching Problem Phokion G. Kolaitis Thomas Raffill Computer Science Department UC Santa Cruz.
Impact of Structure on Complexity Carla Gomes Bart Selman Cornell University Intelligent Information Systems.
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
1 Towards Efficient Sampling: Exploiting Random Walk Strategy Wei Wei, Jordan Erenrich, and Bart Selman.
Model Counting: A New Strategy for Obtaining Good Bounds Carla P. Gomes, Ashish Sabharwal, Bart Selman Cornell University AAAI Conference, 2006 Boston,
AAAI00 Austin, Texas Generating Satisfiable Problem Instances Dimitris Achlioptas Microsoft Carla P. Gomes Cornell University Henry Kautz University of.
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.
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)
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 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.
Carla P. Gomes School on Optimization CPAIOR02 Exploiting Structure and Randomization in Combinatorial Search Carla P. Gomes
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.
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.
Simple search methods for finding a Nash equilibrium Ryan Porter, Eugene Nudelman, and Yoav Shoham Games and Economic Behavior, Vol. 63, Issue 2. pp ,
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”.
Energy Efficient Routing and Self-Configuring Networks Stephen B. Wicker Bart Selman Terrence L. Fine Carla Gomes Bhaskar KrishnamachariDepartment of CS.
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.
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.
IBM Labs in Haifa © Copyright IBM SVRH: Non-local stochastic CSP solver with learning of high-level topography characteristics Yehuda Naveh Simulation.
Large-scale Hybrid Parallel SAT Solving Nishant Totla, Aditya Devarakonda, Sanjit Seshia.
ANTs PI Meeting, Nov. 29, 2000W. Zhang, Washington University1 Flexible Methods for Multi-agent distributed resource Allocation by Exploiting Phase Transitions.
Heavy-Tailed Phenomena in Satisfiability and Constraint Satisfaction Problems by Carla P. Gomes, Bart Selman, Nuno Crato and henry Kautz Presented by Yunho.
Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms Frank Hutter 1, Youssef Hamadi 2, Holger Hoos 1, and Kevin Leyton-Brown.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module Logic Representations.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms: An Initial Investigation Frank Hutter 1, Youssef Hamadi 2, Holger.
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.
1 Running Experiments for Your Term Projects Dana S. Nau CMSC 722, AI Planning University of Maryland Lecture slides for Automated Planning: Theory and.
Accelerating Random Walks Wei Wei and Bart Selman.
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla P. Gomes and Bart Selman Cornell University Muri Meeting June 2002.
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.
Tommy Messelis * Stefaan Haspeslagh Burak Bilgin Patrick De Causmaecker Greet Vanden Berghe *
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
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), …
Where are the hard problems?
Keep the Adversary Guessing: Agent Security by Policy Randomization
Inference in Propositional Logic (and Intro to SAT)
Emergence of Intelligent Machines: Challenges and Opportunities
Constraint Programming and Backtracking Search Algorithms
Presentation transcript:

Balance and Filtering in Structured Satisfiability Problems Henry Kautz University of Washington joint work with Yongshao Ruan (UW), Dimitris Achlioptas (MSR), Carla Gomes (Cornell), Bart Selman (Cornell), Mark Stickel (SRI) CORE – UW, MSR, Cornell

Speedup Learning Machine learning historically considered Learning to classify objects Learning to search or reason more efficiently Speedup Learning Speedup learning disappeared in mid-90’s Last workshop in 1993 Last thesis 1998 What happened? EBL (without generalization) “solved” rel_sat (Bayardo), GRASP (Silva 1998), Chaff (Malik 2001) – 1,000,000 variable verification problems EBG too hard algorithmic advances outpaced any successes

Alternative Path Predictive control of search and reasoning Learn statistical model of behavior of a problem solver on a problem distribution Use the model as part of a control strategy to improve the future performance of the solver Synthesis of ideas from Phase transition phenomena in problem distributions Decision-theoretic control of reasoning Bayesian modeling

Big Picture Problem Instances Solver static features runtime Learning / Analysis Predictive Model dynamic features resource allocation / reformulation control / policy

Case Study: Beyond 4.25 Problem Instances Solver static features runtime Learning / Analysis Predictive Model

Phase transitions & problem hardness Large and growing literature on random problem distributions Peak in problem hardness associated with critical value of some underlying parameter 3-SAT: clause/variable ratio = 4.25 Using measured parameter to predict hardness of a particular instance problematic! Random distribution must be a good model of actual domain of concern Recent progress on more realistic random distributions...

Quasigroup Completion Problem (QCP) NP-Complete Has structure is similar to that of real-world problems - tournament scheduling, classroom assignment, fiber optic routing, experiment design,... Start with empty grad, place colors randomly Generates mix of sat and unsat instances

Phase Transition Almost all unsolvable area Fraction of pre-assignment Fraction of unsolvable cases Almost all solvable area Complexity Graph Phase transition 42%50%20%42%50%20% Underconstrained area Critically constrained area Overconstrained area

Quasigroup With Holes (QWH) Start with solved problem, then punch holes Generates only SAT instances Can use to test incomplete solvers Hardness peak at phase transition in size of backbone (Achlioptas, Gomes, & Kautz 2000)

New Phase Transition in Backbone % Backbone % holes Computational cost % of Backbone

Easy-Hard-Easy pattern in local search % holes Computational Cost Walksat Order 30, 33, 36 “Over” constrained area Underconstrained area

Are we ready to predict run times? Problem: high variance log scale

Deep structural features Rectangular Pattern (Hall 1945) Aligned Pattern new result! Balanced Pattern TractableVery hard Hardness is also controlled by structure of constraints, not just the fraction of holes

Random versus balanced Balanced Random

Random versus balanced Balanced Random

Random vs. balanced (log scale) Balanced Random

Morphing balanced and random order 33

Considering variance in hole pattern order 33

Time on log scale order 33

Balanced patterns yield (on average) problems that are 2 orders of magnitude harder than random patterns Expected run time decreases exponentially with variance in # holes per row or column Same pattern (differ constants) for DPPL! At extreme of high variance (aligned model) can prove no hard problems exist Effect of balance on hardness

Morphing random and rectangular order 36

Morphing random and rectangular order 33 artifact of walksat

Morphing Balanced  Random  Rectangular variance time (seconds) order 33

Intuitions In unbalanced problems it is easier to identify most critically constrained variables, and set them correctly Backbone variables

Are we done? Not yet... Observation 1: While few unbalanced problems are hard, quite a few balanced problems are easy To do: find additional structural features that predict hardness Introspection Machine learning (Horvitz et al. UAI 2001) Ultimate goal: accurate, inexpensive prediction of hardness of real-world problems

Are we done? Not yet… Observation 2: Significant differences in the SAT instances in hardest regions for the QCP and QWH generators QWH QCP (sat only)

Biases in Generators An unbiased SAT-only generator would sample uniformly at random from the space of all SAT CSP problems Practical CSP generators Incremental arc-consistency introduces dependencies Hard to formally model the distribution QWH generator Clean formal model Slightly biased toward problems with many solutions Adding balance makes small, hard problems

balanced QCPbalanced QWH random QCPrandom QWH

balanced QCPbalanced QWH random QCPrandom QWH

balanced QCPbalanced QWH random QCPrandom QWH

balanced QCPbalanced QWH random QCPrandom QWH

Conclusions One small part of an exciting direction for improving power of search and reasoning algorithms Hardness prediction can be used to control solver policy Noise level (Patterson & Kautz 2001) Restarts (Horvitz et al (CORE team ) UAI 2001) Lots of opportunities for cross-disciplinary work Theory Machine learning Experimental AI and OR Reasoning under uncertainty Statistical physics