Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Distributed Constraint Satisfaction Problems M OHSEN A FSHARCHI.
Inconsistent Heuristics
Distributed Constraint Optimization Problems M OHSEN A FSHARCHI.
Adopt Algorithm for Distributed Constraint Optimization
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
MBD and CSP Meir Kalech Partially based on slides of Jia You and Brian Williams.
Coverage by Directional Sensors Jing Ai and Alhussein A. Abouzeid Dept. of Electrical, Computer and Systems Engineering Rensselaer Polytechnic Institute.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Exact Inference in Bayes Nets
5-1 Chapter 5 Tree Searching Strategies. 5-2 Satisfiability problem Tree representation of 8 assignments. If there are n variables x 1, x 2, …,x n, then.
Branch & Bound Algorithms
Chapter 6: Transform and Conquer
Planning under Uncertainty
A Decentralised Coordination Algorithm for Maximising Sensor Coverage in Large Sensor Networks Ruben Stranders, Alex Rogers and Nicholas R. Jennings School.
1 Complexity of Network Synchronization Raeda Naamnieh.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
08/1 Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT Wolfram Burgard and Bernhard Nebel.
Search Algorithms for Agents
B + -Trees (Part 1). Motivation AVL tree with N nodes is an excellent data structure for searching, indexing, etc. –The Big-Oh analysis shows most operations.
Ch 13 – Backtracking + Branch-and-Bound
Backtracking Reading Material: Chapter 13, Sections 1, 2, 4, and 5.
Impact of Problem Centralization on Distributed Constraint Optimization Algorithms John P. Davin and Pragnesh Jay Modi Carnegie Mellon University School.
Backtracking.
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.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Knight’s Tour Distributed Problem Solving Knight’s Tour Yoav Kasorla Izhaq Shohat.
Decentralised Coordination of Mobile Sensors School of Electronics and Computer Science University of Southampton Ruben Stranders,
Distributions of Randomized Backtrack Search Key Properties: I Erratic behavior of mean II Distributions have “heavy tails”.
Chapter 19: Binary Trees. Objectives In this chapter, you will: – Learn about binary trees – Explore various binary tree traversal algorithms – Organize.
Network Aware Resource Allocation in Distributed Clouds.
Distributed Constraint Optimization: Approximate Algorithms Alessandro Farinelli.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
June 21, 2007 Minimum Interference Channel Assignment in Multi-Radio Wireless Mesh Networks Anand Prabhu Subramanian, Himanshu Gupta.
Boundary Recognition in Sensor Networks by Topology Methods Yue Wang, Jie Gao Dept. of Computer Science Stony Brook University Stony Brook, NY Joseph S.B.
Design and Analysis of Algorithms - Chapter 111 How to tackle those difficult problems... There are two principal approaches to tackling NP-hard problems.
Chapter 12 Coping with the Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Télécom 2A – Algo Complexity (1) Time Complexity and the divide and conquer strategy Or : how to measure algorithm run-time And : design efficient algorithms.
CS584 - Software Multiagent Systems Lecture 12 Distributed constraint optimization II: Incomplete algorithms and recent theoretical results.
An Efficient Algorithm for Enumerating Pseudo Cliques Dec/18/2007 ISAAC, Sendai Takeaki Uno National Institute of Informatics & The Graduate University.
Distributed Constraint Satisfaction: Foundation of Cooperation in Multi-agent Systems Makoto Yokoo Kyushu University lang.is.kyushu-u.ac.jp/~yokoo/
A Study of Balanced Search Trees: Brainstorming a New Balanced Search Tree Anthony Kim, 2005 Computer Systems Research.
Mobile Agent Migration Problem Yingyue Xu. Energy efficiency requirement of sensor networks Mobile agent computing paradigm Data fusion, distributed processing.
RBFS is a linear-space algorithm that expands nodes in best-first order even with a non-monotonic cost function and generates fewer nodes than iterative.
Iterative Improvement Algorithm 2012/03/20. Outline Local Search Algorithms Hill-Climbing Search Simulated Annealing Search Local Beam Search Genetic.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Lecture 3: Uninformed Search
Distributed Constraint Optimization Problem for Decentralized Decision Making Optimization in Multi-Agent Systems.
Distributed Constraint Satisfaction Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
1 Branch and Bound Searching Strategies Updated: 12/27/2010.
1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3 Grand Challenge:
Performance of Distributed Constraint Optimization Algorithms A.Gershman, T. Grinshpon, A. Meisels and R. Zivan Dept. of Computer Science Ben-Gurion 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.
Chapter 13 Backtracking Introduction The 3-coloring problem
CSCE350 Algorithms and Data Structure Lecture 21 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
ICS 353: Design and Analysis of Algorithms Backtracking King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Distributed cooperation and coordination using the Max-Sum algorithm
Algorithmic and Domain Centralization in Distributed Constraint Optimization Problems John P. Davin Carnegie Mellon University June 27, 2005 Committee:
1 Chapter 5 Branch-and-bound Framework and Its Applications.
CMPT 463. What will be covered A* search Local search Game tree Constraint satisfaction problems (CSP)
Decision Trees DEFINITION: DECISION TREE A decision tree is a tree in which the internal nodes represent actions, the arcs represent outcomes of an action,
Backtracking And Branch And Bound
Chapter 1.
Chapter 2.
Backtracking and Branch-and-Bound
Major Design Strategies
Major Design Strategies
Presentation transcript:

Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS Autumn 2011 (based largely on tutorial on IJCAI 2011 Optimization in Multi-Agent Systems)

From (Dis)CSP to (D)COP 2

Example: Sensor Surveillance 3

Complete Algorithms 4

Synchronous/Centralized BnB C C C

Ineffective Asynchronous DCOP (Assuming integer costs) DCOP: sequence of DisCSP, with decreasing thresholds: DisCSP cost = k, DisCSP cost = k-1, DisCSP cost = k-2,... ABT asynchronously solves each instance until finding the first unsolvable instance Synchrony on solving sequence instances: cost k instance is solved before cost k-1 instance Very inefficient 6

ADOPT: DFS Tree ADOPT assumes that agents are arranged in a DFS tree: – constraint graph  rooted graph (select a node as root) – some links form a tree / others are back edges – two constrained nodes must be in the same path to the root by tree links (same branch) Every graph admits a DFS tree 7

ADOPT Description Asynchronous algorithm Each time an agent receives a message: – Processes it (the agent may take a new value) – Sends VALUE messages to its children and pseudochildren – Sends a COST message to its parent Context: set of (variable value) pairs (as ABT agent view) of ancestor agents (in the same branch) Current context: – Updated by each VALUE message – If current context is not compatible with some child context, the latter is initialized (also the child bounds) 8

ADOPT: Messages value(parent  children U pseudochildren, a): parent informs descendants that it has taken value a cost(child  parent, lower bound, upper bound, context): child informs parent of the best cost of its assignement; attached context to detect obsolescence; threshold (parent  child, t): minimum cost of solution in child is at least t termination (parent  children): LB = UB 9

ADOPT: Data Structures 10 x j lower boundslb(x k ) upper boundsub(x k ) thresholdsth(x k ) contextscontext(x k ) xixi

ADOPT: Bounds 11

ADOPT: Example 4 Variables (4 agents) x 1, x 2, x 3 x 4 with D = {a, b} 4 binary identical cost functions Constraint graph: 12

ADOPT: Example 13

ADOPT Properties For finite DCOPs with binary non-negative constraints, ADOPT is guaranteed to terminate with the globally optimal solution. 14

ADOPT: Value Assignment An ADOPT agent takes the value with minimum LB Best-first search with eager behavior: – Agents may constantly change value – Generates many context changes Threshold: – lower bound of the cost that children have from previous search – parent distributes threshold among children – incorrect distribution does not cause problems: the child with minor allocation would send a COST to the parent later, and the parent will rebalance the threshold distribution 15

Performance on Graph Coloring ADOPT’s lower bound search method and parallelism yields significant efficiency gains. Sparse graphs (density 2) solved optimally and efficiently by ADOPT. Communication only grows linearly thanks to the sparsity of constraint graph 16 Avg. number of cycles, link density = 2 Avg. number of cycles, link density = 3 Avg. messages per cycle

Adopt summary – Key Ideas Optimal, asynchronous algorithm for DCOP – polynomial space at each agent Weak Backtracking – lower bound based search method – Parallel search in independent subtrees Efficient reconstruction of abandoned solutions – backtrack thresholds to control backtracking Bounded error approximation – sub-optimal solutions faster – bound on worst-case performance 17

Approximate Algorithms 18

Why Approximate Algorithms Motivations – Often optimality in practical applications is not achievable – Fast good enough solutions are all we can have Example – Graph coloring: – Medium size problem (about 20 nodes, three colors per node) – Number of states to visit for optimal solution in the worst case 3^20 = 3 billions of states Problem: Provide guarantees on solution quality

Issues with Distributed Local Greedy Alg Parallel execution: A greedy local move might be harmful/useless  Need coordination 20

Distributed Stochastic Algorithms Greedy local search with activation probability to mitigate issues with parallel executions – DSA-1: change value of one variable at time Initialize agents with a random assignment and communicate values to neighbors Each agent: – Generates a random number and execute only if rnd less than activation probability – When executing changes value maximizing local gain – Communicate possible variable change to neighbors 21

DSA-1: Execution Example 22

DSA-1: Discussion Extremely “cheap” (computation/communication) Good performance in various domains – e.g. target tracking [Fitzpatrick Meertens 03, Zhang et al. 03], – Shows an anytime property (not guaranteed) – Benchmarking technique for coordination Problems – Activation probablity must be tuned [Zhang et al. 03] – No general rule, hard to characterise results across domains 23

Maximum Gain Message (MGM-1) Coordinate to decide who is going to move – Compute and exchange possible gains – Agent with maximum (positive) gain executes Analysis [Maheswaran et al. 04] – Empirically, similar to DSA – More communication (but still linear) – No Threshold to set – Guaranteed to be monotonic (Anytime behavior) 24

MGM-1: Example 25

Local Greedy Approaches Exchange local values for variables – Similar to search based methods (e.g. ADOPT) Consider only local information when maximizing – Values of neighbors Anytime behavior But: Could result in very bad solutions 26

Conclusions 27

Conclusion Distributed constraint optimization generalizes distributed constraint satisfaction by allowing real-valued constraints Both complete and approximate algorithms exist – complete can require exponential number of message exchanges (in the number of variables) – approximate can return (very) suboptimal solutions Very active areas of research with a lot of progress – new algorithms emerging frequently Reading: [Vidal] – Chapter 2, [Shoham] – Chapter 2, IJCAI 2011 Optimization in Multi-Agent Systems tutorial, Part 2: 37-61min and Part 3: 0-38min[Vidal] Optimization in Multi-Agent Systems tutorial 28