Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
8 Chapter 8: Multi-agents Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 1 8 Objectives • List and describe the dimensions of a multi-agent system: heterogeneity, control regime, cooperation, and goals • List and describe the axes for describing a MAS task (time, subject of action, movement, dependency) • List and describe the axes for describing a MAS collective (composition, size, communications, reconfigurability) • Compute the social entropy of a team. • Describe the use of social rules and internal motivation for emergent social behavior. Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 2 8 The Study of Multiple Robots Distributed Artificial Intelligence Distributed Problem Solving Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 MultiAgent Systems Chapter 8: Multi-agents 3 8 The Study of Agency (after Stone and Veloso 2002) Distributed Artificial Intelligence Distributed Problem Solving Single computer: •How to decompose task? •How to synthesize solutions? Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 How to solve problems Or meet goals by “divide and conquer” MultiAgent Systems Divide among agents: •Who to subcontract to? •How do they cooperate? Chapter 8: Multi-agents 4 4 Dimensions of a Multi-agent System 8 • Heterogeneity – Same (homogeneous) vs. different (heterogeneous) – Can be different on either software or hardware • Control Regime – Centralized vs. Distributed • Cooperation – Active (acknowledge each other) vs. Non-active (cooperation emerges, not explicit) – Communicating or non-communicating • Goals – Common goal (same, explicit) vs. Individual goal Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 5 8 The Ecological Niche of a MultiAgent System Remember…. • Single Robot – Task – Environment – Agent Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 6 8 The Ecological Niche of a MultiAgent System • Multi-agent system – Task – Environment – Individual Agent – Collective Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 emphasis Chapter 8: Multi-agents 7 8 3 Categories of Dependency 1. Independent – Robots don’t have to work directly or be aware of others 2. Dependent – Must work together for efficiency ex. Box pushing 3. Interdependent – Cyclic dependency ex. resupply Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 8 8 Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Box-Pushing Chapter 8: Multi-agents 9 8 MAS Task Summary • Time – – – – Fixed time task (ex. Collect as many cans in 10 minutes) Minimum time (ex. Visit all rooms as fast as possible) Unlimited time (ex. Patrol the building) Synchronization required (ex. Push two buttons at same time) • Subject of Action – Object-based (e.g., robots place a single object- soccer) – Robot-based (e.g., robots place themselves- mapping) • Movement – – – – Coverage (ex. Spread out to cover as much as possible) Convergence (ex. Robots meet from different start positions) Movement-to (ex. Going to a single location) Movement-while (ex. Formation control) • Dependency – Independent (ex. Doesn’t require agents to know about others) – Dependent (ex. Task requires multiple agents) – Interdependent (ex. Agents depend on each other cyclically) Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 10 8 2 Categories of Composition • Composition – Homogeneous – Heterogeneous Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 11 8 Case Studies • Georgia Tech 1994 AAAI Mobile Robot Competition team • Each robot hardware and software homogeneous • Reactive behaviors – – – – – – Wander-for-goal Move-to-goal Avoid Avoid-other-robots Grab-trash Drop-trash • Affordances – Orange=goal – Green=robot – Blue=trashcan Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Dimensional score: Homogeneous Distributed control Active cooperation (though minimal) Individual goal Chapter 8: Multi-agents 12 8 Example of Heterogeneous Team • USF USAR team • Robot had different hardware, software • Currently teleoperated navigation with autonomous reactive victim detection • Single goal, active cooperation – Confirm a victim with distributed sensors – Open door, “spotting” for navigation in confined spaces Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Dimensional score: Heterogeneous Distributed control (could be central.) Active cooperation Single goal Chapter 8: Multi-agents 13 8 Social Entropy • Way to measure heterogeneity of a collective • (go to board-> 4 identical, 4 marsupial) Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 14 8 Example of Heterogeneous Team • USC UAV/UGV team • autonomous helicopter transporting small robot • Currently teleoperated • Single goal, active cooperation Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 15 8 Control - Centralized Control. - Distributed Control. Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 16 8 Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 17 8 Cooperation - Refers to how the robots interact with each other in pursuing a goal. - Active cooperation: Acknowledging one another and working together. ‘does not necessarily mean the robots communicate with each other.’ - Non-active cooperation: Robots individually pursue a goal without acknowledging other robots but cooperation emerges. Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 18 8 Box Pushing: Dynamic Reconfigurability Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 19 8 Physically Reconfigurable Robots Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 20 8 Class Exercise • Consider the case of resupply, where many multiple vehicles are in the field and a lesser number of smaller vehicles exist to carry fuel to them, return to base, and then carry more fuel out on demand. A field vehicle emits a message that it needs to be refueled. The message intensity increases inversely proportional to the amount of remaining fuel. • Describe the MAS task. • Describe the MAS collective. Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 21 8 Goal • Single Goal • Individual Goals - purely reactive robots Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 22 8 In the end…most popular • Homogeneous Non-communicating agents • Heterogeneous Non-communicating agents • Homogeneous communicating agents • Heterogeneous communicating agents Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 23 8 Class Exercise • Design a multi-agent team for USAR in terms of – – – – Heterogeneity Control Cooperation Goals Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 24 8 How to Get “Right” Emergent Behavior • Societal Rules vs. behaviors – Nerd Herd, Maja Mataric • What if homogeneous, individual goals operating in the same area?: example-- traffic and traffic jams • Motivation – ALLIANCE, Lynn Parker • What if have single goal, divided among homogeneous agents and one robot breaks?: example—cleaning up a nuclear spill Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 25 8 Mataric’s Nerd Herd and Social Rules Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 26 8 Explicit Social Rules vs. Behaviors • Societal Rules – Ignorant Coexistence • Basic reactive approach, except robots couldn’t recognize other robots • High degree of task interference – Informed Coexistence • Recognize each other PLUS simple social rule: if detect robot, stop and wait for time P; if still there, turn left then resume move to goal • Better – Intelligent Coexistence • Recognize each other PLUS behavior: repulsed by other robots concurrent with attraction to move in same direction as the majority • Best Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 27 8 Motivation: ALLIANCE • Divide and conquer works until a robot fails then what about the failed robot’s area? • Robot A fails: – It may realize that it is not doing a good job: becomes increasingly FRUSTRATED and change behavior (give up) - it is called ACQUIESCENCE • Allows other robots to help without task interference • Robot B is finished with its task – Sees that it is waiting for Robot A and becomes increasingly FRUSTRATED until it decides to help - IMPATIENCE – Goes and helps Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 28 8 Emotional Waiters • USF heterogeneous team – Robot Server, serve food, count treat removal – Robot Refiller – Problem in 1999: refiller blocked, Server stuck • Each robot has an emotional state generator – Emotions result from observed progress on task (and personality, motivation) • Waiter calls for refill, if refiller takes long time, gets impatient, begins to move towards the refiller (intercept), eventually goes to refill station Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 29 8 Emotions: Waiters Waiter Serve Refiller Request Wait Hurry Impatient Go Serve Intercept Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Refill Go Home Chapter 8: Multi-agents Get Intercept 30 8 Example: Comms using ACL Waiter Serve Refille r Request Impatient Intercept Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Wait (achieve :sender butler :receiver leguin :reply-with 1234 :language plain :ontology waiters :content refill ) Chapter 8: Multi-agents Refill Hurry Get Intercept 31 8 Cont. Waiter Serve Refiller Request Impatient Intercept Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Wait (achieve :sender butler :receiver leguin :reply-with 1234 :language plain :ontology waiters :content hurry ) Chapter 8: Multi-agents Refill Hurry Get Intercept 32 8 Cont. Waiter Serve Refiller Request Impatient (achieve :sender butler Wait :receiver leguin :reply-with 1234 :language plain :ontology waiters :content meet me half way ) Hurry Get Intercept Intercept Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Refill Chapter 8: Multi-agents 33 8 Summary • Many, cheap robots are often better than single, expensive robot • Multi-agents are generally at least reactive, sometimes hybrid deliberative/reactive • Dimensions for categorizing: – Heterogeneity, control, cooperation, and goals – (may change dynamically) • Interference is a big problem – Social rules – Emotions, Motivation • Social entropy can be used to measure heterogeneity Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 34 8 Review Questions • What are the dimensions of a multi-agent system? – Heterogeneity, control regime, cooperation, goals • What are the four axes of a task in a collective? – time, subject of action, movement, dependency • What are the four axes of a collective? – composition, size, communications, reconfigurability • Which is more likely to fail to in the field? – a team R with 1 member of caste 1 and 5 members of caste 2 – A team R with 6 members of caste 1 Introduction to AI Robotics (MIT Press), copyright Robin Murphy 2000 Chapter 8: Multi-agents 35