Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint.

Slides:



Advertisements
Similar presentations
Local Search Jim Little UBC CS 322 – CSP October 3, 2014 Textbook §4.8
Advertisements

1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Michele Samorani Manuel Laguna. PROBLEM : In meta-heuristic methods that are based on neighborhood search, whenever a local optimum is encountered, the.
1 Restart search techniques for Employee Timetabling Problems Amnon Meisels And Eliezer Kaplansky Ben-Gurion University.
Dynamic Restarts Optimal Randomized Restart Policies with Observation Henry Kautz, Eric Horvitz, Yongshao Ruan, Carla Gomes and Bart Selman.
An Interactive System for Hiring & Managing Graduate Teaching Assistants Ryan Lim Venkata Praveen Guddeti Berthe Y. Choueiry Constraint Systems Laboratory.
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
Statistical Regimes Across Constrainedness Regions Carla P. Gomes, Cesar Fernandez Bart Selman, and Christian Bessiere Cornell University Universitat de.
An Empirical Study of the Performance of Preprocessing and Look-ahead Techniques for Solving Finite Constraint Satisfaction Problems Zheying Jane Yang.
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Iterative Improvement Techniques for Solving Tight Constraint Satisfaction Problems Hui Zou Constraint Systems Laboratory Department of Computer Science.
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Multi-Agent Based Search vs. Local Search and Backtrack Search for Solving Tight CSPs: A Practical Case Study Hui Zou and Berthe Y. Choueiry Constraint.
Foundations of Constraint Processing Evaluation to BT Search 1 Foundations of Constraint Processing CSCE421/821, Spring
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
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,
Foundations of Constraint Processing, Fall 2005 November 2, 2005Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
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 Bandwidth Allocation Planning in Communication Networks Christian Frei & Boi Faltings Globecom 1999 Ashok Janardhanan.
Foundations of Constraint Processing, Fall 2004 November 18, 2004More on BT search1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
1 Combinatorial Problems in Cooperative Control: Complexity and Scalability Carla Gomes and Bart Selman Cornell University Muri Meeting March 2002.
Simple search methods for finding a Nash equilibrium Ryan Porter, Eugene Nudelman, and Yoav Shoham Games and Economic Behavior, Vol. 63, Issue 2. pp ,
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
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.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
SDQ for data set 5 (500 runs, 5 mins each) PDF for relative solution size for data set 5 (500 runs, 5 mins each) Statistics of solution size (500 runs,
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
Constraint Systems Laboratory 11/26/2015Zhang: MS Project Defense1 OPRAM: An Online System for Assigning Capstone Course Students to Sponsored Projects.
Constraints and Search Toby Walsh Cork Constraint Computation Centre (4C) Logic & AR Summer School, 2002.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Balance and Filtering in Structured Satisfiability Problems Henry Kautz University of Washington joint work with Yongshao Ruan (UW), Dimitris Achlioptas.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
At the beginning of each semester, CSE hires a number of Graduate Teaching Assistants (GTAs) as graders, lab supervisors, and instructors. The department.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
Maintaining Consistency in Resource Allocation Trevor Janke & Berthe Y. Choueiry Goals  Study & refine the constraint model of the existing Graduate TAs.
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Foundations of Constraint Processing Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Spring
Problem Solving with Constraints Local Search for CSPs1 Foundations of Constraint Processing CSCE496/896, Fall2011
Consistency Methods for Temporal Reasoning
Foundations of Constraint Processing
An Empirical Study of the Performance
Robert Glaubius and Berthe Y. Choueiry
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Constraint Programming and Backtracking Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Evaluation of (Deterministic) BT Search Algorithms
Extensions to BT Search Foundations of Constraint Processing
Extensions to BT Search Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
Extensions to BT Search Foundations of Constraint Processing
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Presentation transcript:

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense1 An Improved Restart Strategy for Randomized Backtrack Search Venkata P. Guddeti Constraint Systems Laboratory University of Nebraska-Lincoln Under the supervision of Dr. Berthe Y. Choueiry

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense2 Outline Summary of contributions Background Randomized BT search with restarts Empirical evaluations Conclusions & future research directions

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense3 Summary of contributions An improved restart strategy for randomized backtrack search (RDGR) Evaluation & characterization –Comparison with BT, LS, ERA, RGR –Criterion: solution quality distribution –Problem types: GTAAP & random CSPs As a result, we have identified –Regimes where a given technique dominates –Building blocks for designing cooperative, hybrid search

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense4 Outline Summary of contributions Background –Constraint satisfaction problem (CSP) –Graduate Teaching Assistants Assignment Problem (GTAAP) –Search strategies: BT, LS, ERA Randomized BT search with restarts Empirical evaluations Conclusions & future research directions

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense5 CSP: Definition Given P = (V, D, C): –V a set of variables –D a set of variable domains (values that a variable can take) –C a set of constraints Objective: assign a value to each variable such that all constraints are satisfied  In general, a CSP is NP-complete

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense6 CSP: Representation Variable → node Domain → node label Constraint → edge between nodes ≠ ≠ V3V3 V4V4 V2V2 V1V1 ≠ ≠ {d}{c, d, e, f} {a, b, c}{a, b, d}

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense7 Context: GTAAP [Glaubius 01] Hiring & managing GTAs as instructors + graders Given –A set of courses –A set of GTAs –A set of constraints that specify allowable assignments Find a consistent & satisfactory assignment –Consistent: assignment breaks no (hard) constraints –Satisfactory: assignment maximizes 1.number of courses covered 2.happiness of the GTAs

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense8 Constraint-based model Variables (typically 70 courses) –Grading, conducting lectures, labs & recitations Values (30 GTAs) –Hired GTAs (+ preference for each value in domain) Constraints –Unary, binary, global (e.g., capacity) Objective –longest consistent solution (primary criterion) –maximize geometric mean of preferences (secondary criterion)

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense9 Backtrack search (BT) Start with an empty assignment & expand it by instantiating one variable at a time ≠ ≠ V3V3 V4V4 V2V2 V1V1 ≠ ≠ {d}{c, d, e, f} {a, b, c}{a, b, d}

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense10 BT (cont’d) In theory, complete. In practice... forget it –Huge branching factor causes thrashing  backtrack never reaches early variables Tested 12 ordering heuristics (Chap 3) –No significant difference Use randomization & restarts [Gomes et al. 98]

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense11 Iterative-improvement search Start with a complete assignment (=state), move to states that improve current one Not complete Tested: LS and ERA [Hui Zou, MS 2003] –Advantages: Explores relatively wide portions of solution space ERA solves tight instances, never solved before or since –Disadvantages LS: local optimum & plateau cause stagnation ERA: deadlock in over-constrained cases causes instability

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense12 Outline Summary of contributions Background Randomized BT search with restarts Empirical evaluations Conclusions & future research directions

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense13 BT: Randomization & restarts Ordering of variables/values determines which parts of the solution space are explored –Randomization allows us to explore wider portion of search tree Thrashing causes stagnation of BT search –Interrupt search, then restart In systematic backtrack search

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense14 Restart strategies Fixed-cutoff & universal strategy [Luby et al., 93] Randomization & Rapid restarts (RRR) [Gomes et al., 98] –Fixed optimal cutoff value –Priori knowledge of cost distribution required Randomization & geometric restarts (RGR) [Walsh 99] Bayesian approach [Kautz et al., 02]

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense15 RGR [Walsh 99] Static restart strategy As the cutoff value increases, RGR degenerates into randomized BT –Ensures completeness (utopian in our setting) –But… restart is obstructed –… and thrashing reappears  diminishing the probability of finding a solution

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense16 RDGR Randomization & Dynamic Geometric Restarts Cutoff value –Depends on the progress of search –Never decreases, may stagnate –Increases at a much slower rate than RGR Feature: restart is ‘less’ obstructed

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense17 Outline Summary of contributions Background Randomized BT search with restarts Empirical evaluations Conclusions & future research directions

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense18 Three main experiments 1.Effect of run time on RGR & RDGR 2.Choice of r in RGR & RDGR 3.Relative performance of RDGR versus –Backtrack search (BT) [Glaubius 01] –Local Search (LS) [Zou 03] –Multi-Agent Search (ERA) [Liu et al. 02, Zou 03] –RGR  All implementations use same platform and executed to the best of our abilities (internal competition)

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense19 Evaluation criteria Solution Quality Distribution (SQD) –cumulative distributions of solution quality –measured as percentage deviation from best known solution Descriptive statistics –Mean, median, mode, std dev, max, min 95% confidence interval using –Mann-Whitney U-test –Wilcoxon matched pairs signed-rank test

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense20 Data sets 8 real-world data sets (GTAAP) –5 solvable, 3 over-constrained –Experiment repeated 500 times 4 sets of randomly generated problems –Model B, 100 instances, each instance runs for 3 minutes Solvable Unsolvable

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense21 1. Effect of varying run time RDGR consistently outperforms RGR Running time does not affect the relative dominance

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense22 2. Choice of r in RGR r = 1.1 for RGR for GTAAP & random CSPs

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense23 2. Choice of r in RDGR r = 1.1 for GTAAP r = 2 for random CSPs

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense24 3. Performance: SQDs Under-constrained: ERA > RDGR > RGR > BT > LS Over-constrained: RDGR > RGR > BT > LS > ERA

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense25 3. SQDs at phase transition Solvable: ERA still wins for smallest deviations Unsolvable: RDGR > RGR > BT > ERA > LS

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense26 3. Performance: RDGR vs. RGR RDGR allows more restarts than RGR RDGR is more stable than RGR Data sets Average restarts RGR RDGR Data sets Standard deviation RGR RDGR

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense27 Outline Summary of contributions Background Randomized BT search with restarts Empirical evaluations Conclusions & future research directions

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense28 Summary: algorithm dominance On GTAAP & randomly generated CSPs Solvable instances ERA > RDGR > RGR > BT > LS Over-constrained instances RDGR > RGR > BT > LS > ERA At phase transition (statistically) RDGR > RGR > BT > ERA > LS (although ERA gives best results on solvable instances)

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense29 Future research Design ‘progress-aware’ restart strategies –Where cutoff value is changed during search Design new search strategies –Hybrids: a solution from a given technique is fed to another –Cooperative: strategies applied where most appropriate within a given problem instance

Constraint Systems Laboratory Oct 21, 2004Guddeti: MS thesis defense30 Thank you for your attention I welcome your questions..