Adopt Algorithm for Distributed Constraint Optimization

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Chapter 5: Tree Constructions
Distributed Constraint Satisfaction Problems M OHSEN A FSHARCHI.
Distributed Constraint Optimization Problems M OHSEN A FSHARCHI.
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 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
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.
Types of Algorithms.
CS 484. Discrete Optimization Problems A discrete optimization problem can be expressed as (S, f) S is the set of all feasible solutions f is the cost.
Progress in Linear Programming Based Branch-and-Bound Algorithms
Game Playing (Tic-Tac-Toe), ANDOR graph By Chinmaya, Hanoosh,Rajkumar.
Algorithm Strategies Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Approximating Sensor Network Queries Using In-Network Summaries Alexandra Meliou Carlos Guestrin Joseph Hellerstein.
4 Feb 2004CS Constraint Satisfaction1 Constraint Satisfaction Problems Chapter 5 Section 1 – 3.
Multi-agent Oriented Constraint Satisfaction Authors: Jiming Liu, Han Jing and Y.Y. Tang Speaker: Lin Xu CSCE 976, May 1st 2002.
Ant Colonies As Logistic Processes Optimizers
Search Algorithms for Agents
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Optimal Fixed-Size Controllers for Decentralized POMDPs Christopher Amato Daniel.
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.
Distributed Constraint Optimization * some slides courtesy of P. Modi
Constraint Satisfaction Problems
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Chapter 3 Parallel Algorithm Design. Outline Task/channel model Task/channel model Algorithm design methodology Algorithm design methodology Case studies.
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.
Self‐Organising Sensors for Wide Area Surveillance using the Max‐Sum Algorithm Alex Rogers and Nick Jennings School of Electronics and Computer Science.
Chapter 5 Section 1 – 3 1.  Constraint Satisfaction Problems (CSP)  Backtracking search for CSPs  Local search for CSPs 2.
CS584 - Software Multiagent Systems Lecture 12 Distributed constraint optimization II: Incomplete algorithms and recent theoretical results.
Advanced Eager Scheduling for Java-Based Adaptively Parallel Computing Michael O. Neary & Peter Cappello Computer Science Department UC Santa Barbara.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Inference Complexity As Learning Bias Daniel Lowd Dept. of Computer and Information Science University of Oregon Joint work with Pedro Domingos.
Distributed Constraint Satisfaction: Foundation of Cooperation in Multi-agent Systems Makoto Yokoo Kyushu University lang.is.kyushu-u.ac.jp/~yokoo/
Conformant Probabilistic Planning via CSPs ICAPS-2003 Nathanael Hyafil & Fahiem Bacchus University of Toronto.
Lecture 4 TTH 03:30AM-04:45PM Dr. Jianjun Hu CSCE569 Parallel Computing University of South Carolina Department of.
Distributed Constraint Satisfaction Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Chapter 5 Constraint Satisfaction Problems
Finding Optimal Solutions to Cooperative Pathfinding Problems Trevor Standley and Rich Korf Computer Science Department University of California, Los Angeles.
Types of Algorithms. 2 Algorithm classification Algorithms that use a similar problem-solving approach can be grouped together We’ll talk about a classification.
CHAPTER 5 SECTION 1 – 3 4 Feb 2004 CS Constraint Satisfaction 1 Constraint Satisfaction Problems.
Performance of Distributed Constraint Optimization Algorithms A.Gershman, T. Grinshpon, A. Meisels and R. Zivan Dept. of Computer Science Ben-Gurion University.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Proposal of Asynchronous Distributed Branch and Bound Atsushi Sasaki†, Tadashi Araragi†, Shigeru Masuyama‡ †NTT Communication Science Laboratories, NTT.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Optimization in Engineering Design 1 Introduction to Non-Linear Optimization.
Chapter 5 Team Teaching AI (created by Dewi Liliana) PTIIK Constraint Satisfaction Problems.
Finding Optimal Solutions to Cooperative Pathfinding Problems Trevor Standley Computer Science Department University of California, Los Angeles
ICS 353: Design and Analysis of Algorithms Backtracking King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Adversarial Search 2 (Game Playing)
Distributed cooperation and coordination using the Max-Sum algorithm
Announcements Deadline extensions –HW 1 dues May 17 (next Wed) –Progress report due May 24 HW 1 clarifications: –On problem 3 users can lower their power.
Algorithmic and Domain Centralization in Distributed Constraint Optimization Problems John P. Davin Carnegie Mellon University June 27, 2005 Committee:
Distributed Control and Autonomous Systems Lab. Sang-Hyuk Yun and Hyo-Sung Ahn Distributed Control and Autonomous Systems Laboratory (DCASL ) Department.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Parallel Programming By J. H. Wang May 2, 2017.
The story of distributed constraint optimization in LA: Relaxed
Towards Next Generation Panel at SAINT 2002
Analysis & Design of Algorithms (CSCE 321)
Constraint Satisfaction Problems
Constraints and Search
Abstraction.
Constraint Satisfaction Problems. A Quick Overview
ICS 353: Design and Analysis of Algorithms
CS 8520: Artificial Intelligence
Parallel Programming in C with MPI and OpenMP
Constraint Satisfaction Problems
Presentation transcript:

Adopt Algorithm for Distributed Constraint Optimization Pragnesh Jay Modi Information Sciences Institute & Department of Computer Science University of Southern California http://www.isi.edu/~modi

Distributed Optimization Problem “How do a set of agents optimize over a set of alternatives that have varying degrees of global quality?” Examples allocating resources constructing schedules planning activities Difficulties No global control/knowledge Localized communication Quality guarantees required Limited time

Approach Constraint Based Reasoning Adopt algorithm Distributed Constraint Optimization Problem (DCOP) Adopt algorithm First-ever distributed, asynchronous, optimal algorithm for DCOP Efficient, polynomial-space Bounded error approximation Principled solution-quality/time-to-solution tradeoffs

Constraint Representation Why constraints for multiagent systems? Constraints are natural, general, simple Many successful applications Leverage existing work in AI Constraints Journal, Conferences Able to model coordination, conflicts, interactions, etc… Key advances Distributed constraints Constraints have degrees of violation

Distributed Constraint Optimization (DCOP) Given Variables {x1, x2, …, xn}, each assigned to an agent Finite, discrete domains D1, D2, … , Dn, For each xi, xj, valued constraint fij: Di x Dj  N. Goal Find complete assignment A that minimizes F(A) where, F(A) = S fij(di,dj), xidi,xj dj in A Constraint Graph x1 x2 x3 x4 di dj f(di,dj) 1 2 x1 x1 x1 1 1 F(A) = 0 1 F(A) = 4 2 F(A) = 7 x2 x2 x2 1 1 2 2 x3 x4 x3 x4 x3 x4

Asynchronous Backtracking Theoretical guarantee Existing Methods Branch and Bound (Hirayama97) Optimization ? Satisfaction Asynchronous Backtracking (Yokoo92) Theoretical guarantee No guarantee Iterative Improvement (Yokoo96) Synchronous Asynchronous Execution Model

Desiderata for DCOP Why is distributed important? Autonomy Communication cost Robustness (central point of failure) Privacy Why is asynchrony important? Parallelism Robust to communication delays No global clock Why are theoretical guarantees important? Optimal solutions feasible for special classes Bound on worst-case performance loosely connected communities

State of the Art in DCOP Why have previous distributed methods failed to provide asynchrony + optimality? Branch and Bound Backtrack condition - when cost exceeds upper bound Problem – sequential, synchronous Asynchronous Backtracking Backtrack condition - when constraint is unsatisfiable Problem - only hard constraints allowed Observation Previous approaches backtrack only when sub-optimality is proven

Adopt: Asynchronous Distributed Optimization First key idea -- Weak backtracking Adopt’s backtrack condition – when lower bound gets too high Why lower bounds? allows asynchrony allows soft constraints allows quality guarantees Any downside? backtrack before sub-optimality is proven solutions need revisiting Second key idea -- Efficient reconstruction of abandoned solutions

Adopt Algorithm Agents are ordered in a tree Basic Algorithm: x1 x2 x3 x4 x1 x2 x3 x4 Agents are ordered in a tree constraints between ancestors/descendents no constraints between siblings Basic Algorithm: choose value with min cost Loop until termination-condition true: When receive message: send VALUE message to descendents send COST message to parent send THRESHOLD message to child Constraint Graph Tree Ordering x1 x2 x4 x3 VALUE messages COST messages THRESH messages

Weak Backtracking Suppose parent has two values, “white” and “black” Explore “white” first Receive cost msg Now explore “black” parent parent parent LB(w) = 0 LB(b) = 0 LB(w) = 2 LB(b) = 0 LB(w) = 2 LB(b) = 0 Receive cost msg Go back to “white” Termination Condition True parent parent parent LB(w) = 2 LB(b) = 3 LB(w) = 2 LB(b) = 3 LB(w)=10 =UB(w) LB(b)=12 . . . .

Example LB=0 LB=2 LB=0 LB=0 LB=0 LB =1 LB =1 LB=2 Constraint Graph concurrently choose, send to descendents x1 x2 x3 x4 x1 x4 x1 switches value x1 x2 x3 x1 LB=0 LB =1 x2 x2 LB=2 LB =1 x3 x4 x3 x4 LB=2 report lower bounds x2, x3 switch value, report new lower bounds Note: x3’s cost message to x2 is obsolete since x1 has changed value, msg will be disregarded x1 optimal solution x1 x2 x3 x4 Constraint Graph x1 x2 x3 x4 di dj f(di,dj) 1 2 LB=0 x2 LB=0 x3 x4 LB=0 x2, x3 report new lower bounds

Revisiting Abandoned Solutions Problem reconstructing from scratch is inefficient remembering solutions is expensive Solution backtrack thresholds – polynomial space control backtracking to efficiently re-search Parent informs child of lower bound: parent backtrack threshold = 10 . . . . Explore “white” first LB(w) = 10 LB(b) = 0 Now explore “black” LB(b) = 11 Return to “white”

Backtrack Thresholds Suppose agent i received threshold = 10 from its parent Explore “white” first Receive cost msg Stick with “white” agent i agent i LB(w) = 0 LB(b) = 0 threshold = 10 LB(w) = 2 LB(b) = 0 threshold = 10 LB(w) = 2 LB(b) = 0 threshold = 10 Receive more cost msgs Now try black Key Point: Don’t change value until LB(current value) > threshold. LB(w) = 11 LB(b) = 0 threshold = 10 LB(w) = 11 LB(b) = 0 threshold = 10

Backtrack thresholds with multiple children LB(w) = 10 parent thresh = ? thresh = ? How to correctly subdivide threshold? multiple children Third key idea: Dynamically rebalance threshold Time T1 Time T2 Time T3 LB(w) = 10 LB(w) = 10 LB(w) = 10 parent parent parent thresh=5 thresh=4 thresh=5 thresh=6 LB=6

Evaluation of Speedups Conclusions Adopt’s lower bound search method and parallelism yields significant efficiency gains Sparse graphs (density 2) solved optimally, efficiently by Adopt.

Number of Messages only local communication (no broadcast) Conclusion Communication grows linearly only local communication (no broadcast)

Bounded error approximation Motivation Quality control for approximate solutions Problem User provides error bound b Goal Find any solution S where cost(S)  cost(optimal soln) + b Fourth key idea: Adopt’s lower-bound based search method naturally leads to bounded error approximation! root lower bound = 10 threshold = 10 + b

Evaluation of Bounded Error Conclusion Time-to-solution decreases as b is increased. Plus: Guaranteed worst-case performance!

Adopt summary – Key Ideas First-ever 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