1 / 38

Multi-agent systemen Working together

Multi-agent systemen Working together. Cooperative Distributed Problem Solving (CDPS). How can a MAS task be divided into smaller tasks How can a solution be created for a MAS using results from individual agents What action coordination techniques can be used. Task sharing / Result sharing.

baruch
Download Presentation

Multi-agent systemen Working together

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Multi-agent systemen Working together Multi-agent systemen

  2. Cooperative Distributed Problem Solving (CDPS) • How can a MAS task be divided into smaller tasks • How can a solution be created for a MAS using results from individual agents • What action coordination techniques can be used Multi-agent systemen

  3. Task sharing / Result sharing • Task sharing: a problem is decomposed into a number of sub-tasks (how to allocate the tasks to the agents?) • Result sharing: the sharing of gained information over the agents (how to communicate the information?) Multi-agent systemen

  4. Distributed tasks • MAS perform a task collectively • Therefore task distribution methods and resource sharing are important aspects • A successful method is to breakdown the tasks into contracts Multi-agent systemen

  5. Allocation of tasks Multi-agent systemen

  6. Centralized allocation of tasks by a trader Multi-agent systemen

  7. Nr of messages processed by the trader vs nr of agents Multi-agent systemen

  8. Centralized allocation of tasks by a trader (2) • Advantage: Simple to understand and implement • Disadvantage: Centralized source of knowledge about all agents Multi-agent systemen

  9. Distributed task allocation:Acquaintance networks Every agent keeps a list of skills of all other agents: Agent A: A B C D (agents) C1: 0 1 1 0 C2: 0 0 1 0 C3: 1 0 0 1 (skills) Multi-agent systemen

  10. Distributed task allocation1. Direct Multi-agent systemen

  11. Distributed allocation2. By delegation Multi-agent systemen

  12. Task allocation: Contract nets Based on the market mechanism of making contracts between two parties There are 4 stages: • Request for bids to all agents for performing a task • Proposals from the bidders • Evaluation of proposals, selection of contractor • Establishment of contract Multi-agent systemen

  13. Task allocation: Contract nets Multi-agent systemen

  14. Contract nets Requirements: • Communication links between agents • A common language for requesting, bidding, evaluation, etc. • Limit date for proposal submission • Commitment from the contractor Multi-agent systemen

  15. Contract net languagerequest for bids Multi-agent systemen

  16. Contract net languageproposal Multi-agent systemen

  17. Contract nets Ring structure Multi-agent systemen

  18. Contract nets: Problem of sub-contracting How long do we wait? Multi-agent systemen

  19. Other types of task allocation • Combination of contract net and acquaintance network • Emergent allocation Multi-agent systemen

  20. Emergent task allocation:Reactive Gold mining robots bring gold to the user using the shortest path method. There can be only one agent per user (if conflict, react and find other user or wait) Multi-agent systemen

  21. Part IICoordination of actions Multi-agent systemen

  22. Four-stage model of CDPS(Cooperative Distributed Problem Solving) 1. Recognition (by an agent that needs others) 2. Team formation 3. Plan formation 4. Team action Multi-agent systemen

  23. Approaches to coordination between agents • Partial global plans • Joint intentions • Mutual modeling • Norms and social laws Multi-agent systemen

  24. Partial Global Planning Multi-agent systemen

  25. Joint intentions Based on commitments and conventions • A commitment is a promise to do the task • A convention is a set of rules of how to deal with commitments • For example, a commitment may be abandoned if another agent can do the same task (it becomes redundant) • A group of agents share the same commitment (joint intention) • Commitments and conventions can be coded as rules in a rule-based system Multi-agent systemen

  26. Example: ARCHON (Jennings 1993) Multi-agent systemen

  27. Coordination by mutual modeling What does the other agent want? Share the same view of the environment (world model) Share the same believes Optimize personal and MAS utility (payoff matrix) Multi-agent systemen

  28. MACE MACE (by Les Gasser,1985) was the first experimental testbed for MAS MACE brought five important components together: 1. Application agents (the actual agent application) 2. Standardized system agents (e.g. user interfaces) 3. Facilities available to all agents (software libraries) 4. Description database (maintains descriptions of other agents) 5. Kernels to handle communication, message passing, etc Multi-agent systemen

  29. Acquaintance information in MACE • Class (agents are organized in structured groups) • Name (of the agent) • Roles (of the agent in its class) • Skills • Goals • Plans Multi-agent systemen

  30. Coordination by norms and social laws • Norms are expected patterns of behavior • Social laws are imposed norms Multi-agent systemen

  31. Traffic management • Cars are agents that behave using social laws (driving on the right lane, right goes first at cross-sections, etc) • Traffic management is currently heavily studied Multi-agent systemen

  32. Planning methods • Centralized planning There is a “master” agent who distributes the sub-plans over the agents • Distributed planning Each agent generates its own plan and merges it with the other agents. After negotiation the agents execute their plans Multi-agent systemen

  33. Centralized planning Operators: MoveFromTo(b,x,y) Precond: on(b,x), clear(b), clear(y) Postcond: on(b,y), clear(y), on(b,x) MoveToTable(b,x) Precond: on(b,x), clear(b) Postcond: on(b,T), clear(x), on(b,x) Given a goal description, a set of operators, and an initial state description, generate a partial plan order Multi-agent systemen

  34. Centralized planning (2) Possible plans: S1:MoveToTable(A,B) S2:MoveToTable(C,D) S3:MoveToTable(E,F) 1. Decompose the plan into sub-plans 2. Check the preconditions to select the sub-plans 3. Synchronize the sub-plans 4. Allocate the sub-plans to agents S4: MoveFromTo(A,T,E) S5: MoveFromTo(D,T,C) S6: MoveFromTo(B,T,A) S7: MoveFromTo(F,T,D) S1:MoveToTable(A,B) { { { S3:MoveToTable(E,F) S2:MoveToTable(C,D) S4: MoveFromTo(A,T,E) S5: MoveFromTo(D,T,C) S6: MoveFromTo(B,T,A) S7: MoveFromTo(F,T,D) Multi-agent systemen

  35. Distributed planning Each of the planning agents generate a partial plan (=sub-plan) in parallel Then merge these plans into a global plan Agent 1 is specialized in doing MoveToTable(b,x) Agent 2 is specialized in doing MoveFromTo(b,x,y) Merge the plan of agent 1 with plan of agent 2 by checking the preconditions The agents need to communicate Typical there is a-synchronous execution of the plans, therefore the agents exchange handshake signals Multi-agent systemen

  36. Distributed planning (2) Plan agent1: S1:MoveToTable(A,B) S2:MoveToTable(C,D) S3:MoveToTable(E,F) Plan agent2: S4: MoveFromTo(A,T,E) S6: MoveFromTo(B,T,A) S7: MoveFromTo(D,T,C) S8: MoveFromTo(F,T,D) Final Plan A1 start with S3 (best move found after negotiation); S1 S2 Final Plan A2 Wait till A and E are free; S4 S6 Wait till D is free; S7 S8 Multi-agent systemen

  37. Aircraft tracking example Multi-agent systemen

  38. Tentamens…. Multi-agent systemen

More Related