Multi Agent Systems
Multi Agent Systems
Reference
[1] Michael Wooldridge, An Introduction to MultiAgent Systems, Second Edition, 2009 [2] R.H. Bordini, J.F.Hubner, M. Wooldridge, Programming multiagent systems in AgentSpeak using Jason, 2007.
Outline
Background
Subfield of AI Development of distributed solutions for complex problems problem that is beyond the capability of an individual problem solver Two mainstreams
Distributed prolem solving (DPS) MultiAgent systems (MAS)
Background
Two mainstreams
a system comprising several agents that live and interact in the same environment.
Outline
Example
What is an Agent?
There is no universally accepted definition of the term Agent There is a general consensus that autonomy is central to the notion of agency. Difficulty is that various attributes associated with agency are of diffening importance for different domains.
8
What is an Agent?
Autonomy:
Thus: an agent is a computer system capable of autonomous action in some environment in order to meet its design objectives
SYSTEM input ENVIRONMENT
9
output
What is an Agent?
Environment Actions
10
What is an Agent?
In most domain of reasonable complexity, an agent will not have complete control over its environment. It will have at best partial control, in that it can influence it.
11
What is an Agent?
Thermostat
Have a sensor for detecting room temperature Two signals: too low, and OK Available actions: heating on , and heating off Rules:
When the door of the room is close? guaranteed effects When the door of the room is open?
12
What is an Agent?
An intelligent agent is a computer system capable of flexible autonomous action in some environment By flexible, we mean:
13
Reactivity
If a programs environment is guaranteed to be fixed, the program need never worry about its own success or failure program just executes blindly
The real world is not like that: things change, information is incomplete. Many (most?) interesting environments are dynamic
14
Reactivity
A reactive system is one that maintains an ongoing interaction with its environment, and responds to changes that occur in it (in time for the response to be useful)
15
Proactiveness
we generally want agents to do things for us goal directed behavior Pro-activeness = generating and attempting to achieve goals; not driven solely by events; taking the initiative Recognizing opportunities
16
Social Ability
The real world is a multi-agent environment: we cannot go around attempting to achieve goals without taking others into account Some goals can only be achieved with the cooperation of others Social ability in agents is the ability to interact with other agents (and possibly humans) via some kind of agent-communication language, and perhaps cooperate with others
17
Outline
23
An accessible environment is one in which the agent can obtain complete, accurate, up-to-date information about the environments state Most moderately complex environments (including, for example, the everyday physical world and the Internet) are inaccessible
24
The more accessible an environment is, the simpler it is to build agents to operate in it Example:
a vacuum agent with only a local dirt sensor cannot tell whether there is dirt in other squares, an automated taxi cannot see what other drivers are thinking
25
A deterministic environment is one in which any action has a single guaranteed effect there is no uncertainty about the state that will result from performing an action
26
Example:
The vacuum world as we described it is deterministic, but variations can include stochastic elements such as randomly appearing dirt and an unreliable suction mechanism Taxi driving is clearly non-deterministic in this sense, because one can never predict the behavior of traffic exactly; moreover, one's tires blow out and one's engine seizes up without warning
27
A static environment is one that can be assumed to remain unchanged except by the performance of actions by the agent A dynamic environment is one that has other processes operating on it, and which hence changes in ways beyond the agents control
28
Other processes can interfere with the agents actions (as in concurrent systems theory) The physical world is a highly dynamic environment Example:
29
An environment is discrete if there are a fixed, finite number of actions and percepts in it Russell and Norvig give a chess game as an example of a discrete environment, and taxi driving as an example of a continuous one
30
Example:
a discrete-state environment such as a chess game has a finite number of distinct states. Chess also has a discrete set of percepts and actions. Taxi driving is a continuous- state and continuous-time problem: the speed and location of the taxi and of the other vehicles sweep through a range of continuous values and do so smoothly over time.
31
Outline
32
Logic-Based Architectures
33
BDI Architectures
information the agent has about world states of affairs that the agent, in an ideal world, would wish to be brought about desires that the agent has committed to achieving
Desires:
Intentions
Belief-Desire-Intention
Environment
sense belief revision act
Beliefs
generate options
Desires
filter
Intentions
Beliefs -- > prolog like facts Desires and intentions are realized from plan library Plans achieve some state of affairs A plan has body and invocation condition The agent picks one desires and puts it on execution stack Execution stack are intentions
Example
Cleaning agent