Cut-and-Traverse: A new Structural Decomposition Method for CSPs Yaling Zheng and Berthe Y. Choueiry Constraint Systems Laboratory Computer Science & Engineering.

Slides:



Advertisements
Similar presentations
Tree Clustering for Constraint Networks 1 Chris Reeson Advanced Constraint Processing Fall 2009 By Rina Dechter & Judea Pearl Artificial Intelligence,
Advertisements

Anagh Lal Tuesday, April 08, Chapter 9 – Tree Decomposition Methods- Part II Anagh Lal CSCE Advanced Constraint Processing.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Information Networks Graph Clustering Lecture 14.
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Lecture 8 Jianjun Hu Department of Computer Science and Engineering University of South Carolina CSCE350 Algorithms and Data Structure.
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
1 Directional consistency Chapter 4 ICS-179 Spring 2010 ICS Graphical models.
Foundations of Constraint Processing, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
16:36MCS - WG20041 On the Maximum Cardinality Search Lower Bound for Treewidth Hans Bodlaender Utrecht University Arie Koster ZIB Berlin.
Anagh Lal Monday, April 14, Chapter 9 – Tree Decomposition Methods Anagh Lal CSCE Advanced Constraint Processing.
Foundations of Constraint Processing, Fall 2004 November 8, 2004Ordering heuristics1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Improving Backtrack Search For Solving the TCSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
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,
 i may require adding new constraints, except for… o i =1  domain filtering o i =   constraint filtering Robert Woodward & Berthe Y. Choueiry Constraint.
1 Directional consistency Chapter 4 ICS-275 Spring 2007.
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’051 Applying Structural Decomposition Methods to Crossword Puzzle Problems Student:
A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
1.A finer version of PPC. 2.Cheaper than PPC and F-W. 3.Guarantees the minimal network. 4.Automatically decomposes the graph into its bi-connected components:
SubSea: An Efficient Heuristic Algorithm for Subgraph Isomorphism Vladimir Lipets Ben-Gurion University of the Negev Joint work with Prof. Ehud Gudes.
M. HardojoFriday, February 14, 2003 Directional Consistency Dechter, Chapter 4 1.Section 4.4: Width vs. Local Consistency Width-1 problems: DAC Width-2.
Multicast Routing in ATM Networks with Multiple Classes of QoS Ren-Hung Hwang, Min-Xiou Chen, and Youn-Chen Sun Department of Computer Science & Information.
Constraint Systems Laboratory March 26, 2007Reeson–Undergraduate Thesis1 Using Constraint Processing to Model, Solve, and Support Interactive Solving of.
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
Consistency Methods for Temporal Reasoning Lin XU Constraint Systems Laboratory Advisor: Dr. B.Y. Choueiry April, 2003 Supported by a grant from NASA-Nebraska,
Efficient Gathering of Correlated Data in Sensor Networks
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
CSC 423 ARTIFICIAL INTELLIGENCE Constraint Satisfaction Problems.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
1 Directional consistency Chapter 4 ICS-275 Spring 2009 ICS Constraint Networks.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 6 Binary CSP.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
Data Structures and Algorithms in Parallel Computing Lecture 2.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
Computing Branchwidth via Efficient Triangulations and Blocks Authors: F.V. Fomin, F. Mazoit, I. Todinca Presented by: Elif Kolotoglu, ISE, Texas A&M University.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
University of Calabria, Italy Gianluigi Greco and Francesco Scarcello 17th Int. Conf. on Principles and Practice of Constraint Programming Perugia, Italy,
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Problem Solving with Constraints CSPs and Relational DBs1 Problem Solving with Constraints CSCE496/896, Fall
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Structure-Based Methods Foundations of Constraint Processing
Consistency Methods for Temporal Reasoning
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Constraint Satisfaction Problems vs. Finite State Problems
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.
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Structure-Based Methods Foundations of Constraint Processing
CSPs and Relational DBs
Structure-Based Methods Foundations of Constraint Processing
Problem Solving with Constraints
Structure-Based Methods Foundations of Constraint Processing
Problem Solving with Constraints
Problem Solving with Constraints
Major Design Strategies
Improving the Performance of Consistency Algorithms by Localizing and Bolstering Propagation in a Tree Decomposition Shant Karakashian, Robert J. Woodward.
Structure-Based Methods Foundations of Constraint Processing
An Introduction Structure-Based Methods
Structure-Based Methods Foundations of Constraint Processing
Presentation transcript:

Cut-and-Traverse: A new Structural Decomposition Method for CSPs Yaling Zheng and Berthe Y. Choueiry Constraint Systems Laboratory Computer Science & Engineering University of Nebraska-Lincoln yzheng, Tree-Structured DecompositionsCut-and-Traverse (CaT) Decomposition This research is supported by CAREER Award # from the National Science Foundation. General principal 1.Decompose a CSP into sub-problems connected in a tree structure Compute a constraint tree T equivalent to the hypergraph of the CSP Each node in T contains one or more constraints of original CSP 2.Solve each sub-problem (all solutions), usually by a join operation. 3.Apply directional arc-consistency to the constraint tree T. 4.Find a solution for the CSP using backtrack-free search. Goal : a decomposition technique that is efficient and minimizes width of tree 1.Hinge + decomposition: An improvement to hinge decomposition 2.Cut decomposition: A hinge + decomposition bounded by the number of cuts 3.Traverse decomposition: Based on a simple sweep of the constraint hypergraph 4.Cut-and-Traverse decomposition: A combination of the cut and traverse decompositions Given a constraint hypergraph H = (V, E) where H is connected and |E| ≥ k+1. We call a k-cut of H a set F of hyperedges that satisfies the following conditions: 1.F is a subset of E and |F| = k, and 2.The remaining constraint hypergraph H 1, …, H q has at least 2 components. Hinge decomposition of H cg  Hinge decomposition continuously finds 1- cut in in H cg  Width of the 1-hinge tree to the right is 12. Traverse Decomposition We traverse a constraint hypergraph from a set F of hyperedges, until all the hyperedges are visited as follows: Start from F s, mark all hyperedges whose vertices contained in F s as ‘visited.’ Then traverse to F s ’s unvisited neighbors F 1, mark all hyperedges whose vertices contained in F 1 as ‘visited.’ Then traverse to F 1 ’s unvisited neighbors F 2, mark all hyperedges whose vertices contained in F 2 as ‘visited.’ Continuously traversing until all the hyperedges are visited. A traverse decomposition for H cg starting from {s 1 }. Width of the join tree is 3. Future work 1.Empirically evaluate and compare the new proposed decomposition methods on randomly generated constraint hypergraphs. 2.Compare cut-and-traverse decomposition method with hinge decomposition + tree clustering method, and hinge decomposition + biconnected component + hypertree decomposition. References 1.Gottlob, G., Leone, N., Scarcello, F. : On Tractable Queries and Constraints. In: 10th International Conference and Workshop on Database and Expert System Applications (DEXA 1999). (1999) 2.Decther, R.: Constraint Processing. Morgan Kaufmann (2003) 3.Freuder, E.C.: A Sufficient Condition for Backtrack-Bounded Search. JACM 32 (4) (1985) 4.Gyssens, M., Jeavons, P.G., Cohen, D.A.: Decomposing Constraint Satisfaction Problems using Database Techniques. Artificial Intelligence 38 (1989) 5.Jeavons, P.G., Cohen, D.A., Gyssens, M. : A structural Decomposition for Hypergraphs. Contemporary Mathematics 178 (1994) 6.Decther, R., Pearl. J: Tree Clustering for Constraint Networks. Artificial Intelligence 38 (1998) Gottlob, G., Leone, N., Scarcello, F.: Hypertree Decompositions and Tractable Queries. Journal of Computer and System Sciences 64 (2002) 8.Harvey, P., Ghose, A.: Reducing Redundancy in the Hypertree Decomposition Scheme. IEEE International Conference on Tools with Artificial Intelligence (ICTAI 03). (2003) 9.Gottlob, G., Leone, N., Scarcello, F.: A comparison of Structural CSP Decomposition Methods. Artifical Intelligence 124 (2000) 10.Gottlob, G., Hutle, M., Wotawa, F.: Combining Hypertree, Bicomp, And Hinge Decomposition. ECAI 02 (2002) 11.Zheng, Y., Choueiry B.Y.: Cut-and-Traverse: A New Structural Decomposition Strategy for Finite Constraint Satisfaction Problems. CSCLP 04 (2004). Cut Decomposition A Cut-and-Traverse decomposition of H cg. Cut limit size is 2. Width of the join tree is 2. A constraint hypergraph H cg.  After finding all the 1-cuts, we continuously find 2-cuts in H cg.  When there are multiple 2-cuts, we choose the one that yields the best division (i.e., the size of the largest sub-problem is the smallest).  Width of the 2-hinge + tree below is 5. Applying hinge decomposition to H cg. Applying hinge + decomposition to H cg. Contribution in Context Hinge + Hypertree [7] TraverseCut-and-Traverse Cut Hinge [4] Tree Clustering   Treewidth [6] Hinge + Tree Clustering [4] Biconnected Component [3] Biconnected Component + Hinge + Hypertree [10] Cut decomposition: A restricted hinge + decomposition. During the process of decomposition, every sub constraint hypergraph contains at least 2 cuts. This constraint tree is not a cut decomposition because the node {s 4, s 5, s 6, s 11, s 12 } contains 3 cuts: {s 4, s 5 }, {s 6, s 12 }, and {s 11 }. Applying cut decomposition to H cg. We traverse a constraint hypergraph from a set F s of hyperedges to another set of hyperedges F d as follows: Start from F s, mark all hyperedges whose vertices contained in F s as ‘visited.’ Then traverse to F s ’s ‘unvisited’ neighbors and those hyperedges in F d that has common vertices with F s, we denote them as F 1, mark all hyperedges whose vertices contained in F 1 as ‘visited.’ Then traverse to F 1 ’s ‘unvisited’ neighbors and those hyperedges in F d that has common vertices with F 1, we denote them as F 2, mark all hyperedges whose vertices contained in F 2 as ‘visited.’ Continuously traversing until traversing to F d and all the hyperedges are visited. A traverse decomposition for H cg starting from {s 1, s 2 } to {s 9, s 16 }. Width of the join tree is 3. Notice that traverse decomposition cannot guarantee a good decomposition result. The result of the decomposition depends on the starting set of hyperedges and ending set of hyperedges. The following graph shows a bad traverse decomposition. A traverse decomposition for H cg starting from {s 6, s 9, s 12 }. Width of the join tree is 10. Cut-and-Traverse decomposition has the following steps: 1. Decompose the constraint hypergraph using cut decomposition. The cut decomposition results in a constraint tree T. 2. For each tree node T, traverse it. If the tree node does not contain any cut, then traverse it from an arbitrary hyperedge. If the tree node contains one cut C 1, then traverse it from C 1. If the tree node contains two cuts C 1 and C 2, then traverse it from C 1 to C Combine the traverse results. Conclusions 2.Hinge + decomposition strongly generalizes hinge decomposition. 3.Cut-and-traverse strongly generalizes cut decomposition. 4.Hypertree decomposition strongly generalizes hinge + decomposition, traverse decomposition, Cut-and-Traverse decomposition. Hinge + decomposition of H cg Hinge + Decomposition Constraint Hypergraph Hinge + decomposition O(|V||E| k+1 ) Cut decomposition O(|V||E| k+1 ) Traverse decompositionO(|V||E| 2 ) Cut-and-Traverse decompositionO(|V||E| k+1 ) k is the limit size for cuts 1.All these decomposition methods can be performed in polynomial time. September 8, 2004