A Qualitative Analysis of Search Behavior: A Visual Approach

Slides:



Advertisements
Similar presentations
Is the shape below a function? Explain. Find the domain and range.
Advertisements

1 CMSC 471 Fall 2002 Class #6 – Wednesday, September 18.
This lecture topic (two lectures) Chapter 6.1 – 6.4, except 6.3.3
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
Then Adaptive Parameterized Consistency for Non-Binary CSPs by Counting Supports R.J.Woodward 1,2, A.Schneider 1, B.Y.Choueiry 1, and C.Bessiere 2 1 Constraint.
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables {A,B,C,…}, a set of domain values for these variables,
Constraint Satisfaction CSE 473 University of Washington.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
Constraint Satisfaction Problems
CS460 Fall 2013 Lecture 4 Constraint Satisfaction Problems.
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
A game of logic where the player must assign the numbers 1..9 to cells on a 9x9 grid. The placement of the numbers must be such that every number must.
Knight’s Tour Distributed Problem Solving Knight’s Tour Yoav Kasorla Izhaq Shohat.
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Constraint Satisfaction Problem:  Used to model constrained combinatorial problems  Important real-world applications: hardware & software verification,
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Motivation & Goal SAT and Constraint Processing (CP) are fundamental areas of Computer Science that address the same computational questions. Compare SAT.
University Course Timetabling with Soft Constraints Hana Rudova, Keith Murray Presented by: Marlien Edward.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Constraint Systems Laboratory 11/26/2015Zhang: MS Project Defense1 OPRAM: An Online System for Assigning Capstone Course Students to Sponsored Projects.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
Constraint Systems Laboratory R.J. Woodward 1, S. Karakashian 1, B.Y. Choueiry 1 & C. Bessiere 2 1 Constraint Systems Laboratory, University of Nebraska-Lincoln.
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
853 instances from the 2008 CP Solver Competition. Real full lookahead cl+proj-wR(*,m)C, which enforces R(*, m)C on each cluster, adds projection of constraints.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Consistency Methods for Temporal Reasoning
A First Practical Algorithm for High Levels of Relational Consistency
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
An Empirical Study of the Performance
Constraint Satisfaction
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
CS 188: Artificial Intelligence
Rationale & Strategies Foundations of Constraint Processing
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
CSP Search Techniques Backtracking Forward checking
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Constraint satisfaction problems
Constraint Satisfaction Problems & Its Application in Databases
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Rationale & Strategies Foundations of Constraint Processing
Generic SBDD using Computational Group Theory
Extensions to BT Search Foundations of Constraint Processing
Constraint Satisfaction Problems
CS 8520: Artificial Intelligence
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Solving Sudoku with Consistency: A Visual and Interactive Approach
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Improving the Performance of Consistency Algorithms by Localizing and Bolstering Propagation in a Tree Decomposition Shant Karakashian, Robert J. Woodward.
A Reactive Strategy for High-Level Consistency During Search
PrePeak+ = PrePeak + ‘How Much’
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Constraint Satisfaction Problems
Reformulating the Dual Graphs of CSPs
Constraint satisfaction problems
Rationale & Strategies Foundations of Constraint Processing
Presentation transcript:

A Qualitative Analysis of Search Behavior: A Visual Approach Ian Howell,1,2 Robert J.Woodward,1 Berthe Y.Choueiry,1 and Hongfeng Yu2 1Constraint Systems Laboratory • University of Nebraska-Lincoln • USA 2Visualization Laboratory • University of Nebraska-Lincoln • USA 2. Feature Evolution Thrashing is the main malady of Backtrack (BT) search through CSP instances. Motivation To efficiently analyze the change in peaks throughout search, we use regimes, partitionings of time with equivalent behavior. Contributions Analyze locations of thrashing and propagation strength using Backtracks per Depth (BpD) and Calls per Depth (CpD). Efficiently analyze the evolution of location of where search struggles and performs. Three Shape regime representatives of the BpD of GAC on pseudo-aim-200-1-6-4 instance. 1. Search Efficiency 3. Case Study: PrePeak+ Tracking the Backtracks per Depth shows where different consistencies find inconsistency in the instance. Sonner detecting inconsistency represents less of the search space needing to be explored. GAC, APOAC, and PrePeak+ on the pseudo-aim-200-1-6-4 from the Lecoutre benchmarks. GAC APOAC PrePeak+ CPU time (sec) 185,045 66,816 17,836 #NV 3,978,074 47,457 284,289 maxBpD 34,023 407 2,421 #HLC calls 7,739 228 Using GAC Using APOAC The BpD of using GAC (left) and POAC (right) after each assignment of search on the 4-insertions 3-3 instance. GAC APOAC Peak Depth 52 42 Peak Backtracks 15,863,603 693,829 CPU Time (sec) >8,099.9 2,981.9 The BpD of GAC (left) and BpD and CpD of POAC superimposed (right) on pseudo-aim-200-1-6-4 On this instance, GAC does not do enough filtering and explores far too much of the search space. APOAC does much better, but doesn’t filter anything too often. PrePeak+ adaptively uses GAC and POAC, reducing the number of no-filters from POAC, achieving the best results. Consistency can filter some values, wipeout the domain of a variable, or do no filtering, wasting the time of the solver. We track this through the Calls per Depth. The CpD of using POAC after each assignment of search on the instance 4-insertions 3-3, cumulative (left) and split by filtering amount (right). Here, APOAC struggles at depth 38, the peak of both no filtering occurring and partial filtering. The BpD and CpD of PrePeak+ superimposed on pseudo-aim-200-1-6-4 Experiments were conducted on the equipment of the Holland Computing Center at the University of Nebraska-Lincoln. This research was supported by NSF Grant No. RI-1619344. Howell was supported by a UCARE grant. Paper: IJCAI 2018. July 5th, 2018

Motivation: Searching the space of a Constraint Satisfaction Problem (CSP) is an NP-Complete task. The complete method of Backtrack Search suffers heavily from thrashing, or search similar path repeatedly and failing to find solutions. We visualize this thrashing through tracking the number of times search backtracks at each depth of the search tree. In addition, we propose to track the evolution of features over time, to track where the difficult part of search lies over time. To visualize thrashing in d-way backtrack search of Constraint Satisfaction Problems (CSP) and to determine the change in location of where search struggles and performs over time. 1. Background Variables: { 𝑥 1 , 𝑥 2 , 𝑥 3 } Domains: 𝐷(𝑥 1 )={𝑟, 𝑔}, 𝐷(𝑥 2 )={𝑟, 𝑔, 𝑏}, 𝐷(𝑥 3 )={𝑟, 𝑏} Constraints: { 𝑥 1 ≠ 𝑥 2 , 𝑥 1 ≠ 𝑥 3 , 𝑥 2 ≠ 𝑥 3 } ≠ 𝑥 2 {𝑟, 𝑔, 𝑏} 𝑥 1 {𝑟, 𝑔} 𝑥 3 𝑟 𝑔 𝑏 Primal Graph: D-way Backtrack (BT) search: Backtracks: 𝑟, 𝑔 →(𝑟) 𝑔, 𝑟 →(𝑔)