Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Constraint Satisfaction Problems Russell and Norvig: Chapter
Local Search Jim Little UBC CS 322 – CSP October 3, 2014 Textbook §4.8
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) Oct, 5, 2012.
Local Search Algorithms Chapter 4. Outline Hill-climbing search Simulated annealing search Local beam search Genetic algorithms Ant Colony Optimization.
Adopt Algorithm for Distributed Constraint Optimization
CompAPO: A complete version of the APO Algorithm Tal Grinshpoun and Amnon Meisels Department of Computer Science Ben-Gurion University of the Negev.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
1 CMSC 471 Fall 2002 Class #6 – Wednesday, September 18.
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Review: Constraint Satisfaction Problems How is a CSP defined? How do we solve CSPs?
CPSC 322, Lecture 16Slide 1 Stochastic Local Search Variants Computer Science cpsc322, Lecture 16 (Textbook Chpt 4.8) February, 9, 2009.
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 3, 2010.
CPSC 322, Lecture 15Slide 1 Stochastic Local Search Computer Science cpsc322, Lecture 15 (Textbook Chpt 4.8) February, 6, 2009.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
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.
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.8) February, 02, 2009.
CPSC 322, Lecture 14Slide 1 Local Search Computer Science cpsc322, Lecture 14 (Textbook Chpt 4.8) February, 4, 2009.
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.
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.
Constraint Satisfaction Problems
Foundations of Constraint Processing, Fall 2005 November 2, 2005Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Stochastic greedy local search Chapter 7 ICS-275 Spring 2007.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 2 Ryan Kinworthy CSCE Advanced Constraint Processing.
Constraint Satisfaction Problems
Constraint Satisfaction Problems
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Local Search CPSC 322 – CSP 5 Textbook §4.8 February 7, 2011.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Constraint Satisfaction Problems Chapter 6. Review Agent, Environment, State Agent as search problem Uninformed search strategies Informed (heuristic.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
Searching by Constraint CMSC Artificial Intelligence January 24, 2008.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Chapter 5: Constraint Satisfaction ICS 171 Fall 2006.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Fall 2006 Jim Martin.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
Local Search and Optimization Presented by Collin Kanaley.
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
Constraint Satisfaction Problems (Chapter 6)
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Grand Challenge:
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Constraint Satisfaction Problems University of Berkeley, USA
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Computing & Information Sciences Kansas State University Friday, 08 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 7 of 42 Friday, 08 September.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
1 CSC 384 Lecture Slides (c) , C. Boutilier and P. Poupart CSC384: Lecture 16  Last time Searching a Graphplan for a plan, and relaxed plan heuristics.
Foundations of Constraint Processing Local Search for CSPs1 Foundations of Constraint Processing CSCE421/821, Spring
1 Constraint Satisfaction Problems (CSP). Announcements Second Test Wednesday, April 27.
Constraint Satisfaction Problems
Artificial Intelligence Chapter 11 Alternative Search Formulations and Applications.
Problem Solving with Constraints Local Search for CSPs1 Foundations of Constraint Processing CSCE496/896, Fall2011
Alternative Search Formulations and Applications
CS 561, Session 8 1 This time: constraint satisfaction - Constraint Satisfaction Problems (CSP) - Backtracking search for CSPs - Local search for CSPs.
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Foundations of Constraint Processing
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Biointelligence Lab School of Computer Sci. & Eng.
Constraint Satisfaction Problems
Biointelligence Lab School of Computer Sci. & Eng.
Foundations of Constraint Processing
CS 8520: Artificial Intelligence
Constraint Satisfaction Problems
Presentation transcript:

Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002

Outline 1.Introduction 2.The multi-agent model 3.Approximate solution 4.Empirical studies on extended ERA methods 5.Discussion 6.Summary

Introduction CSPs Related work Multi-agent system The proposed approach

CSPs A CSP consists of: A finite set of variables A domain set, containing a finite and discrete domain for each variable A constraint set, each constraint is a set of tuples indicating the mutually consistent values of the variables The solution, S, for a CSP is an assignment to all variables such that the assignment satisfies all given constraint Example: n-queen, coloring problem

Related work General methods for solving CSP: generate-test (GT) generates each possible combination of the variables systematically and then checks whether it is a solution Backtracking (BT) assignment values to variables sequentially and then checks constraints for each variable assignment In this respect, BT is more efficient than GT

Improvement for BT Avoid thrashing Consistency techniques (Arc consistency and k- consistency) Avoid both thrashing and redundant-work Dependency-directed backtracking scheme Increasing the efficiency Search Order BT is still unable to solve nontrivial large-scale CSPs in a reasonable runtime

Improvement for GT Stochastic and heuristic algorithms most popular ideas is to perform local search Three key elements in local search Configuration Evaluation value Neighbor Local search uses repair or hill climbing To avoid local optima, random-walk and tabu search Also: Hill-climbing, min-conflicts, MCRW and GSAT

Min-conflicts heuristics Minton Selects a new value that minimizes the number of outstanding constraint violation after each step The multi-agent approach utilized the idea of inconsistency reduction on a complete initial assignment The approach differs from the min-conflicts approach in a number of ways.

Other methods Other methods for solving CSPs: Neural Network and Genetic Algorithms all methods, techniques have their advantages and disadvantages BT: small size problem, stable and complete Local search: large scale problem, incomplete

Multi-agent systems Computational systems in which several agents interact or work together in order to achieve goals Agent may be homogeneous or heterogeneous Agent may have the common goals or distinct goals

Distributed constraint satisfaction Distributed CSP is a CSP in which variables and constraints are semantically partitioned into sub- problems, each of which is solved by an agent The agents have to comply with certain constraints among them Find a solution requires that all agents find the values for their variables that satisfy not only their own constraints but also interagent constraints Yokoo et al. developed algorithm: asynchronous backtracking asynchronous weak-commitment search multi-agent real-time-A* algorithm

Swarm-like systems Swarm is a formulation for simulating distributed multi-agent systems, which involves three key environment: Living environment Agents with reactive rules Schedule serving Liu developed an evolutionary autonomous agent system An energy-based artificial-life model for solving n- queen

The proposed approach Environment, Reactive rules, and agents (ERA) Intended to provided an alternative, multi- agent formulation that can solve general CSPs and to find approximate solution without too much cost This system self-organizes itself The main difference between ERA and local search: the evaluation value

The multi-agent model ERA fundamentals The basic ERA algorithm Propitiates of the basic algorithm

ERA fundamentals The notions of agent and multi-agent system can be defined as: An agent is a virtual entity Be able to live and act in the environment Be able to sense its local environment Be driven by certain objectives Have some reactive behaviors

ERA fundamentals (cont ’ d) A multi-agent system is a system that contains: An environment E is a space in which the agent live A set of reactive rules, R, governing the interaction between the agents and their environment, they are the laws of the agent universe A set of agents, A={a1, a2, a3, …, an} Goal: examine how exact or approximate solutions to CSPs can self-organized by a multi-agent system, consisting of {E, R, A}

Overview of the multi-agent formulation Environment records the number of constraint violations of the current state Agent represents a variable and the position of agent corresponds the value Objective is the move to a position whose constraint violation number is 0 Solution state is when every agent finds its zero- position

Environment size: N rows (n variable) E= Rowi= E is an array of size  |D k |.e(I,j) Values Domain value: e(i,j).value records the i th value of domain D j Attack ((x1, y1), (x2, y2)) Violation number: e(I, j).violation Zero-position

Agents Agents: trying to find better positions that can lead them to a solution based on certain reactive moving behaviors

Local reactive behaviors To find a solution state, the agents will select and execute some predefined local reactive behaviors Least-move Better-move Random-move

System schedule Time step =0: the system is initialized Time step  time step+1:one unit increment of the system clock, all agent have a chance to decide their moves End: all agents are at zero-positions or its clock exceeds a time threshold

The basic ERA algorithm

Properties of the basic ERA algorithm Termination Correctness Complexity Space complexity is O(  |Di|) Time complexity of the initialization is O(  |Di|) Time complexity of each step is O(n  |Di|) in the worst case

Approximate solution Each state represents an approximate solution The system always evolves toward a better state in which more constraints are satisfied After a few step, the assignments of most variables will satisfy constraints

Empirical studies on extended ERA methods with behavior prioritization and different selection probabilities Presents several empirical results on solving different n-queen and coloring problem Discusses how to apply and implement this approach by choosing the probabilities of least- move and random-move Examines the effectiveness of prioritizing agent behaviors in order to efficiently derive an approximate solution

N-queen problem

Coloring problem

Discussion Comparison with min-conflicts heuristics Comparison with Yokoo et al. ’ s distributed constraint satisfaction Remarks on partial constraint satisfaction Remarks on agent information and communication for conflict-check Remarks on sequential-iteration implementation

Summary Described a multi-agent oriented approach to solving CSP: ERA Introduced three reactive behaviors: better-move, least-move and random- move Presented several empirical studies Compared the ERA with some of the existing heuristic

Questions? If not, let ’ s start the discussion