Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea...
-
Upload
lucinda-hodge -
Category
Documents
-
view
214 -
download
0
Transcript of Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea...
![Page 1: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/1.jpg)
Multi-Agent SystemsLecture 11Lecture 11
Computer Science WPI
Spring 2002
Adina Magda [email protected]
![Page 2: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/2.jpg)
AOSEAOSEMAS applications in industryMAS applications in industryLecture outlineLecture outline
1 Agent-oriented software engineering1 Agent-oriented software engineering1.1 Agent-based approaches to software 1.1 Agent-based approaches to software engineeringengineering
1.2 Agent-oriented analysis and design1.2 Agent-oriented analysis and design
1.3 Pitfalls of agent-based solutions1.3 Pitfalls of agent-based solutions
2 MAS applications in design2 MAS applications in design
3 MAS applications in scheduling3 MAS applications in scheduling
![Page 3: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/3.jpg)
3
1 Agent-oriented software 1 Agent-oriented software engineeringengineering
1.1 Agent-based approaches to 1.1 Agent-based approaches to software engineeringsoftware engineering
Techniques for tackling complexity in softwareTechniques for tackling complexity in software(Booch, Object-Oriented Analysis and Design with Applications,
1994) Decomposition Abstraction Organisation
![Page 4: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/4.jpg)
(a) Agent-oriented decomposition Decompose the problem in terms of autonomous agents that can engage in flexible, high-level interactions.
Agents autonomy reduces control complexity since the system’s control is localised inside each individual problem solving component.
Action selection can be based on the local situation
4
![Page 5: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/5.jpg)
Agents make decisions about the nature and scope of the interactions at run-time – this makes the engineering of complex systems easier for two reasons:
• It is difficult/impossible to know a priori all potential interactions, at what time, for what reason - agents have the ability to initiate and respond to interactions in a flexible manner, to deal with unanticipated requests
• Management of control relationships between the software components is significantly reduced - any coordination that is required is handled bottom-up through inter-agent interaction.
5
![Page 6: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/6.jpg)
(b) Agent-oriented abstraction Clear and strong degree of correspondence between the notions of subsystems and agents.
Subsystem components are represented as agents The interactions between the subsystems is viewed in
terms of high-level social interactions. Booch: “at any given level of abstraction, we find
meaningful collection of entities that collaborate to achieve some higher level view”
Agents are cooperating to achieve common objectives, coordinating their actions or negotiating to resolve conflicts
6
![Page 7: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/7.jpg)
(c) Agent-oriented organizational structures The agent-oriented approach provides an explicit representation of organisational relationships and structures.
Represent and manage organizational structures; may vary during problem solving
The entire subsystem can be viewed as a primitive component or as a team or collection of agents recursive agent structures can be defined to lower the complexity.
Individual or organisational groupings can be developed in relative isolation and then added into the system in an incremental manner.
7
![Page 8: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/8.jpg)
1.2 Agent-oriented analysis and design1.2 Agent-oriented analysis and design
Analysis and design methodology What is a methodology? What is a methodology good for?
Two groups of agent-oriented methodologies Extend or adapt OO methodologies to the
purpose of AOSE Adapt knowledge engineering methodologies
8
![Page 9: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/9.jpg)
Extend or adapt OO methodologies
AAII methodologyAAII methodology based on the BDI model A set of models which, when fully elaborated, define an
agent specificationExternal model Presents a system level view: agents and relationships Inheritance relationships between agent classes +
instances of these classes at run-time Agent model: agent class model + agent instance
model Each agent has at least 3 attributes: beliefs, desires,
intentions + how they are overridden during inheritanceInternal model - implements the agents 9
![Page 10: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/10.jpg)
Steps to design an agent system following this methodology
Identify the relevant roles in the application domain and develop an agent class hierarchy
Identify the responsibilities associated with each role, the services required by and provided by the role, the goals associated to each service
For each role, determine plans that may be used to achieve it and the context conditions under which each plan is appropriate
Determine the belief structure of the system - the information required for each plan and goal
Exercise For each step, identify how it should instantiate on a
particular problem10
![Page 11: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/11.jpg)
GAIA methodology (Wooldrige e.a.)GAIA methodology (Wooldrige e.a.) Go from a statement of requirements to a detailed design Moves from abstract concepts to increasingly concrete
concepts Basic idea: think of building agent-based systems as a
process of organizational design
Abstract concepts Concrete concepts
Roles Agent types
Responsibilities Services
Liveness properties Acquaintances
Safety properties
Permissions
Activities
Protocols11
![Page 12: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/12.jpg)
Organization = a collection of roles that stand in certain relationships to one another and take part in systematic patterns of interaction with other roles
Roles = may be instantiated to agents; not necessarily fixed
Responsibilities = functionality– Liveness property = state of affair the agent has to bring about
given environment conditions– Satfety properties = invariants
Permissions = rights associated to a role; identify the resources available to the role to realize responsibilities
Activities = computations associated with a role that may be carried out by the agent without interacting with other agents
Protocols = the way a role can interact with other roles
12
![Page 13: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/13.jpg)
AgentUMLAgentUML
Based on previous research of extending UML
Extensions to UML: Support for expressing concurrent threads of interaction, and thus
agent protocols A notion of role that extends that provided in UML and allows an agent
to play many roles
From the AUML Web site: http://www.auml.org/ To recommend technology for adoption of common semantics, meta-
model, and abstract syntax for agent-based analysis and design methodologies.
To recommend technology for adoption that enable interoperability across the lifecycle of AUML tools designs/work products.
To leverage existing FIPA and OMG specifications. Currently, AUML is a goal—not an existing modeling language.
13
![Page 14: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/14.jpg)
Adapt KE methodologiesSeveral solutions have been proposed for MAS
modelling extending CommonKADS (European standard for knowledge modelling)
The MAS-CommonKADS methodologyThe MAS-CommonKADS methodology Agent Model: describes the main characteristics of
the agents, including reasoning capabilities, skills (sensors/effectors), services, goals, etc.
Task Model: describes the tasks carried out by agents, and task decomposition, using textual templates and diagrams.
Expertise Model: describes the knowledge needed by the agents to carry out the tasks.)
14
![Page 15: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/15.jpg)
Coordination Model: describes the conversations between agents, that is, their interactions, protocols and required capabilities.
Organisation Model: describes the organisation in which the MAS is going to be introduced and the organisation of the agent society.
Communication Model: details the human-software agent interactions, and the human factors for developing user interfaces.
Design model: collects the previous models and is subdivided into three submodels:
application design: composition or decomposition of the agents and selection of the most suitable agent architecture for each agent;
architecture design: designing of the relevant aspects of the agent network: required network, low level communication facilities
platform design: selection of the agent development platform for each agent architecture 15
![Page 16: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/16.jpg)
1.3 Pitfalls of agent-based solutions1.3 Pitfalls of agent-based solutions Oversell agent solutions Get religious or dogmatic about agents You don't know why you want agents You believe that agents are a silver bullet You have too many agents or too few agents Your agents use too much AI You decide you want your own agent
architecture You spend all your time implementing
infrastructure
16
![Page 17: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/17.jpg)
17
Greg Milette’s presentationGreg Milette’s presentation
2 MAS applications in design2 MAS applications in design
3 MAS applications in 3 MAS applications in planning and schedulingplanning and scheduling
Edwin Jacques’s presentationEdwin Jacques’s presentation
![Page 18: Lecture 11 Multi-Agent Systems Lecture 11 Computer Science WPI Spring 2002 Adina Magda Florea adina@wpi.edu.](https://reader036.fdocuments.net/reader036/viewer/2022082713/5697bf781a28abf838c81b7c/html5/thumbnails/18.jpg)
ReferencesReferences M. Wooldrige. An Introduction to MultiAgent Systems, John
Wiley&Sons, 2002. N.R. Jennings. On agent-based software engineering. Artificial
Intelligence, Vol. 117, No.2, 2000, p.277-296. N. R. Jennings, M Wooldridge. Agent-Oriented Software
Engineering, in Handbook of Agent Technology, Ed. J. Bradshaw, AAAI/MIT Press. 2001 (to appear)
G. Booch, Object-Oriented Analysis and Design with Applications, Addison-Wesley, Reading, MA, 1994.
C. Iglesias, M. Garijo, J.C. Gonzalez. A survey of agent-oriented methodologies. In Proc. of ATAL, the 5th International Workshop on Agent theories, Architectures and languages, Paris, 4-7 July, 1998, p.185-198.
C. Iglesias e.a. Analysis and design of multiagent systems using MAS-CommonKADS. In Proc. of AAAI’97, Workshop on Agent Theories, Architectures and languages, Providence, RI, 1997.
18