multiagent systems an introduction to agents and mass · an introduction to agents and mass viviana...

65
Multiagent Systems An Introduction to Agents and MASs Viviana Mascardi [email protected] MAS, University of Genoa, DIBRIS Agents and MASs 1 / 43

Upload: others

Post on 22-Aug-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Multiagent SystemsAn Introduction to Agents and MASs

Viviana Mascardi

[email protected]

MAS, University of Genoa, DIBRIS Agents and MASs 1 / 43

Page 2: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Outline

1 What are Agents and MASsWhat are agents and MASMASs for software engineeringMASs for development of software applicationsMASs for simulation

2 Short history of agents and MASs

MAS, University of Genoa, DIBRIS Agents and MASs 2 / 43

Page 3: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Outline

1 What are Agents and MASsWhat are agents and MASMASs for software engineeringMASs for development of software applicationsMASs for simulation

2 Short history of agents and MASs

MAS, University of Genoa, DIBRIS Agents and MASs 3 / 43

Page 4: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs

Outline

1 What are Agents and MASsWhat are agents and MASMASs for software engineeringMASs for development of software applicationsMASs for simulation

2 Short history of agents and MASs

MAS, University of Genoa, DIBRIS Agents and MASs 4 / 43

Page 5: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

N. Jennings, K. Sycara, M. Wooldridge, JAAMAS 1(1), 1998An agent is an hardware or software system

situated

autonomousflexible

reactiveproactivesocial

MAS, University of Genoa, DIBRIS Agents and MASs 5 / 43

Page 6: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

N. Jennings, K. Sycara, M. Wooldridge, JAAMAS 1(1), 1998An agent is an hardware or software system

situatedautonomous

flexiblereactiveproactivesocial

MAS, University of Genoa, DIBRIS Agents and MASs 5 / 43

Page 7: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

N. Jennings, K. Sycara, M. Wooldridge, JAAMAS 1(1), 1998An agent is an hardware or software system

situatedautonomousflexible

reactiveproactivesocial

MAS, University of Genoa, DIBRIS Agents and MASs 5 / 43

Page 8: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

Figure: Nick, Katia, Mike

MAS, University of Genoa, DIBRIS Agents and MASs 6 / 43

Page 9: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

Besides being characterised by the notions identified by N. Jennings,K. Sycara, M. Wooldridge (“weak” definition), an agent may beconceptualised following an antropomorphic approach (“strong”definition).

Y. Shoham, Artificial Intelligence, 60(1), 1993; A. S. Rao, M. P.Georgeff, Proc. of KR&R-92Mentalistic notions: beliefs, desires, intentions, commitments, . . .J. Bates, Communications of the ACM, 37(7), 1994Emotional notions: friendlyness, trust, untrust; agents must bebelievable

MAS, University of Genoa, DIBRIS Agents and MASs 7 / 43

Page 10: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

Besides being characterised by the notions identified by N. Jennings,K. Sycara, M. Wooldridge (“weak” definition), an agent may beconceptualised following an antropomorphic approach (“strong”definition).

Y. Shoham, Artificial Intelligence, 60(1), 1993; A. S. Rao, M. P.Georgeff, Proc. of KR&R-92Mentalistic notions: beliefs, desires, intentions, commitments, . . .

J. Bates, Communications of the ACM, 37(7), 1994Emotional notions: friendlyness, trust, untrust; agents must bebelievable

MAS, University of Genoa, DIBRIS Agents and MASs 7 / 43

Page 11: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is an agent?

Besides being characterised by the notions identified by N. Jennings,K. Sycara, M. Wooldridge (“weak” definition), an agent may beconceptualised following an antropomorphic approach (“strong”definition).

Y. Shoham, Artificial Intelligence, 60(1), 1993; A. S. Rao, M. P.Georgeff, Proc. of KR&R-92Mentalistic notions: beliefs, desires, intentions, commitments, . . .J. Bates, Communications of the ACM, 37(7), 1994Emotional notions: friendlyness, trust, untrust; agents must bebelievable

MAS, University of Genoa, DIBRIS Agents and MASs 7 / 43

Page 12: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

MAS, University of Genoa, DIBRIS Agents and MASs 8 / 43

Page 13: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

Franco Zambonelli

Andrea Omicini

MAS, University of Genoa, DIBRIS Agents and MASs 9 / 43

Page 14: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

Each agent has incomplete information, or capabilities for solvingthe problem, thus each agent has a limited viewpoint;

there is no global system control;data is decentralized; andcomputation is asynchronous.

MAS, University of Genoa, DIBRIS Agents and MASs 10 / 43

Page 15: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

Each agent has incomplete information, or capabilities for solvingthe problem, thus each agent has a limited viewpoint;there is no global system control;

data is decentralized; andcomputation is asynchronous.

MAS, University of Genoa, DIBRIS Agents and MASs 10 / 43

Page 16: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

Each agent has incomplete information, or capabilities for solvingthe problem, thus each agent has a limited viewpoint;there is no global system control;data is decentralized; and

computation is asynchronous.

MAS, University of Genoa, DIBRIS Agents and MASs 10 / 43

Page 17: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs What are agents and MAS

What is a MAS?

Each agent has incomplete information, or capabilities for solvingthe problem, thus each agent has a limited viewpoint;there is no global system control;data is decentralized; andcomputation is asynchronous.

MAS, University of Genoa, DIBRIS Agents and MASs 10 / 43

Page 18: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for software engineering

MASs as a Software Engineering metaphor foranalysis and design

F. Zambonelli, A. Omicini, JAAMAS, 9(3), 2004“...today’s software engineering approaches are increasingly adoptingabstractions approaching that of agent-based computing.

This trend can be better understood by recognising that the vastmajority of modern distributed systems scenarios are intrinsicallyprone to be developed in terms of MASs, and that modern distributedsystems are already de facto MASs, i.e., they are indeed composed ofautonomous, situated, and social components”

MAS, University of Genoa, DIBRIS Agents and MASs 11 / 43

Page 19: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for software engineering

MASs as a Software Engineering metaphor foranalysis and design

F. Zambonelli, A. Omicini, JAAMAS, 9(3), 2004“...today’s software engineering approaches are increasingly adoptingabstractions approaching that of agent-based computing.This trend can be better understood by recognising that the vastmajority of modern distributed systems scenarios are intrinsicallyprone to be developed in terms of MASs, and that modern distributedsystems are already de facto MASs, i.e., they are indeed composed ofautonomous, situated, and social components”

MAS, University of Genoa, DIBRIS Agents and MASs 11 / 43

Page 20: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for software engineering

MASs as a Software Engineering metaphor: how?

PDT, http://www.cs.rmit.edu.au/agents/pdt/

MAS, University of Genoa, DIBRIS Agents and MASs 12 / 43

Page 21: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for software engineering

MASs as a Software Engineering metaphor: how?

Ingenias, http://ingenias.sourceforge.net/

MAS, University of Genoa, DIBRIS Agents and MASs 13 / 43

Page 22: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development

Agents are employed as the technology for implementing thesoftware application itself.

This choice is usually made when the agent metaphor has alreadybeen applied for the engineering steps coming before in the SWlife cycle, when the intelligence of the individual agent is morerelevant than the “emerging intelligence” of the overall system,when complex patterns of interactions may be required, when theapplication to be developed is geographically distributed, isdecentralized, is open.

MAS, University of Genoa, DIBRIS Agents and MASs 14 / 43

Page 23: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development

Agents are employed as the technology for implementing thesoftware application itself.This choice is usually made when the agent metaphor has alreadybeen applied for the engineering steps coming before in the SWlife cycle, when the intelligence of the individual agent is morerelevant than the “emerging intelligence” of the overall system,when complex patterns of interactions may be required, when theapplication to be developed is geographically distributed, isdecentralized, is open.

MAS, University of Genoa, DIBRIS Agents and MASs 14 / 43

Page 24: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: how?

Jade, http://jade.tilab.com/MAS, University of Genoa, DIBRIS Agents and MASs 15 / 43

Page 25: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: how?

Jade, http://sourceforge.net/projects/jason/

MAS, University of Genoa, DIBRIS Agents and MASs 16 / 43

Page 26: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development

Many agent-based development tools exist, but they are notcommercial projects supported by large and solid companies. This isone of the reasons for the limited adoption of this technology byindustries.

But, what about using existing technologies that are not officiallytagged as “agent-oriented”, but that are very suitable for implementingsoftware agents, for the implementation stage, and a “pure” agentapproach for the modeling and design stages?

MAS, University of Genoa, DIBRIS Agents and MASs 17 / 43

Page 27: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development

Many agent-based development tools exist, but they are notcommercial projects supported by large and solid companies. This isone of the reasons for the limited adoption of this technology byindustries.But, what about using existing technologies that are not officiallytagged as “agent-oriented”, but that are very suitable for implementingsoftware agents, for the implementation stage, and a “pure” agentapproach for the modeling and design stages?

MAS, University of Genoa, DIBRIS Agents and MASs 17 / 43

Page 28: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and SOC (2009)

MAS, University of Genoa, DIBRIS Agents and MASs 18 / 43

Page 29: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and cloud (2011)

MAS, University of Genoa, DIBRIS Agents and MASs 19 / 43

Page 30: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and cloud (2011)

MAS, University of Genoa, DIBRIS Agents and MASs 20 / 43

Page 31: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and WSs (2013)

MAS, University of Genoa, DIBRIS Agents and MASs 21 / 43

Page 32: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and IoT (2013)

MAS, University of Genoa, DIBRIS Agents and MASs 22 / 43

Page 33: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and IoT (2015)

MAS, University of Genoa, DIBRIS Agents and MASs 23 / 43

Page 34: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for development of software applications

Agent-based development: agents and IoT (2018)

MAS, University of Genoa, DIBRIS Agents and MASs 24 / 43

Page 35: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for simulation

Agent-based simulation

C. M. Macal and M. J. North, Proc. of Winter Simulation Conference,2007“... Agent-based modeling and simulation (ABMS) is a new approachto modeling systems comprised of autonomous, interacting agents.

ABMS promises to have far-reaching effects on the way thatbusinesses use computers to support decision-making andresearchers use electronic laboratories to support their research.”

MAS, University of Genoa, DIBRIS Agents and MASs 25 / 43

Page 36: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for simulation

Agent-based simulation

C. M. Macal and M. J. North, Proc. of Winter Simulation Conference,2007“... Agent-based modeling and simulation (ABMS) is a new approachto modeling systems comprised of autonomous, interacting agents.ABMS promises to have far-reaching effects on the way thatbusinesses use computers to support decision-making andresearchers use electronic laboratories to support their research.”

MAS, University of Genoa, DIBRIS Agents and MASs 25 / 43

Page 37: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for simulation

Agent-based simulation

C. M. Macal and M. J. North, Proc. of Winter Simulation Conference,2007“Some have gone so far as to contend that ABMS “is a third way ofdoing science,” in addition to traditional deductive and inductivereasoning.

Computational advances have made possible a growing number ofagent-based models across a variety of application domains.Applications range from modeling agent behavior in the stock market,supply chains, and consumer markets, to predicting the spread ofepidemics, the threat of bio-warfare, and the factors responsible for thefall of ancient civilizations. ”

MAS, University of Genoa, DIBRIS Agents and MASs 26 / 43

Page 38: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for simulation

Agent-based simulation

C. M. Macal and M. J. North, Proc. of Winter Simulation Conference,2007“Some have gone so far as to contend that ABMS “is a third way ofdoing science,” in addition to traditional deductive and inductivereasoning.Computational advances have made possible a growing number ofagent-based models across a variety of application domains.Applications range from modeling agent behavior in the stock market,supply chains, and consumer markets, to predicting the spread ofepidemics, the threat of bio-warfare, and the factors responsible for thefall of ancient civilizations. ”

MAS, University of Genoa, DIBRIS Agents and MASs 26 / 43

Page 39: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

What are Agents and MASs MASs for simulation

Agent-based simulation: how?

NetLogo, http://ccl.northwestern.edu/netlogo/MAS, University of Genoa, DIBRIS Agents and MASs 27 / 43

Page 40: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Outline

1 What are Agents and MASsWhat are agents and MASMASs for software engineeringMASs for development of software applicationsMASs for simulation

2 Short history of agents and MASs

MAS, University of Genoa, DIBRIS Agents and MASs 28 / 43

Page 41: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Agents’ history

Current interest in autonomous agents did not emerge from a vacuum.Researchers and developers from many different disciplines havebeen talking about closely related issues for some time. The maincontributors are:

artificial intelligenceobject-oriented programming and concurrent object-basedsystemshuman-computer interface design

MAS, University of Genoa, DIBRIS Agents and MASs 29 / 43

Page 42: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Artificial Intelligence

Among the oldest areas of research, the activity most closelyconnected with that of autonomous agents was AI “planning” (A.Newell e H. A. Simon, Lernende Automaten, 1961; R. E. Fikes eN. Nilsson, Artificial Intelligence, 5(2), 1971).Until the 1980s comparatively little effort within the AI communitywas directed to the study of intelligent agents. The primary reasonfor this state of affairs was that AI researchers had historicallytended to focus on the various different components of intelligentbehaviour (learning, reasoning, problem solving, visionunderstanding and so on) in isolation.Expert systems: “disembodied intelligence”, no real-timecapabilities, no social ability.

MAS, University of Genoa, DIBRIS Agents and MASs 30 / 43

Page 43: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Artificial Intelligence

First delusions with planning: “first-principle planning” (meaningthat, in order to satisfy a goal, the agent has to formulate anentirely new plan for that goal) does not allow the implementationof reactive agents (“calculative rationality”) and it is undecidable inmany cases (D. Chapman, Artificial Intelligence, 32, 1987)Traditional, symbolic approaches to agency and AI leave room tothe “behavioural AI”, or “reactive AI” (R. Brooks, ArtificialIntelligence, 47, 1991).

MAS, University of Genoa, DIBRIS Agents and MASs 31 / 43

Page 44: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Artificial Intelligence

From the ’90s, researchers start to recognise that both purelyreactive architectures, a la “Brooks”, and purely deliberativearchitectures, a la “first-principle planning”, have both advantagesand disvantages ==> birth of “hybrid architectures”, usuallystratified (TouringMachines by I. A. Ferguson, 1992, InteRRaP byJ. P. Muller e M. Pischel, 1994).Practical reasoning agents: agents whose architecture ismodelled on or inspired by a theory of practical reasoning inhumans. By practical reasoning, we mean the kind of pragmaticreasoning that we use to decide what to do.The most widely known architecture for practical reasoning is theBelief-Desire-Intention one (M. P. Georgeff e A. L. Lansky, Proc. diAAAI-87, 1987).

MAS, University of Genoa, DIBRIS Agents and MASs 32 / 43

Page 45: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Artificial Intelligence

1993: researchers start to understand and accept that intelligentagents are not just a branch of AI, but they are an autonomoustechnological and methodological approach. Y. Shoham, with hispaper “Agent-oriented programming”, Artificial Intelligence 60(1),is considered the father of agent oriented programming.

MAS, University of Genoa, DIBRIS Agents and MASs 33 / 43

Page 46: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Object-oriented programming

Objects are defined as computational entities that encapsulatesome state, are able to perform actions, or methods on this state,and communicate by message passing.So, what is the difference between an agent and an object?

MAS, University of Genoa, DIBRIS Agents and MASs 34 / 43

Page 47: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Object-oriented programming

Differences between agents and objects:Autonomy: an object can be thought of as exhibiting autonomyover its state: it has control over it. But an object does not exhibitcontrol over it’s behaviour. “Objects do it for free; agents do it formoney”.Flexibility: the standard object model has nothing whatsoever tosay about how to build systems that integrate proactive, reactiveand social behaviour. One could argue that we can buildobject-oriented programs that do integrate these types ofbehaviour. But this argument misses the point, which is that thestandard object-oriented programming model has nothing to dowith these types of behaviour.

MAS, University of Genoa, DIBRIS Agents and MASs 35 / 43

Page 48: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs

Human-computer interface design

With respect to the interaction paradigm known as direct manipulation,we would like to have programs that behave like “digital butlers”:

N. Negroponte, Being Digital, 1995“The agent answers the phone, recognizes the callers, disturbsyou when appropriate, and may even tell a white lie on yourbehalf”.“If you have somebody who knows you well and shares much ofyour information, that person can act on your behalf veryeffectively. If your secretary falls ill, it would make no difference ifthe temping agency could send you Albert Einstein. This issue isnot about IQ. It is shared knowledge and the practice of using it inyour best interests”.“Like an army commander sending a scout ahead ... you willdispatch agents to collect information on your behalf”.

MAS, University of Genoa, DIBRIS Agents and MASs 36 / 43

Page 49: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Intentional Systems

When explaining human activity, it is often useful to make statementssuch as the following:

Janine took her umbrella because she believed it was going to rain.

Michael worked hard because he wanted to possess a PhD.

These statements make use of a “folk psychology”, by which humanbehaviour is predicted and explained through the attribution ofattitudes, such as believing, wanting, hoping, fearing,...

The attitudes employed in such folk psychological descriptions arecalled the intentional notions.

Intentional system = system made up of entities whose behaviour canbe predicted by the method of attributing belief, desires and rationalacumen.

[D. C. Dennett, The Intentional Stance, 1989]

MAS, University of Genoa, DIBRIS Agents and MASs 37 / 43

Page 50: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Intentional Systems

When explaining human activity, it is often useful to make statementssuch as the following:

Janine took her umbrella because she believed it was going to rain.

Michael worked hard because he wanted to possess a PhD.

These statements make use of a “folk psychology”, by which humanbehaviour is predicted and explained through the attribution ofattitudes, such as believing, wanting, hoping, fearing,...

The attitudes employed in such folk psychological descriptions arecalled the intentional notions.

Intentional system = system made up of entities whose behaviour canbe predicted by the method of attributing belief, desires and rationalacumen.

[D. C. Dennett, The Intentional Stance, 1989]

MAS, University of Genoa, DIBRIS Agents and MASs 37 / 43

Page 51: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Intentional Systems

When explaining human activity, it is often useful to make statementssuch as the following:

Janine took her umbrella because she believed it was going to rain.

Michael worked hard because he wanted to possess a PhD.

These statements make use of a “folk psychology”, by which humanbehaviour is predicted and explained through the attribution ofattitudes, such as believing, wanting, hoping, fearing,...

The attitudes employed in such folk psychological descriptions arecalled the intentional notions.

Intentional system = system made up of entities whose behaviour canbe predicted by the method of attributing belief, desires and rationalacumen.

[D. C. Dennett, The Intentional Stance, 1989]

MAS, University of Genoa, DIBRIS Agents and MASs 37 / 43

Page 52: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Intentional Systems

When explaining human activity, it is often useful to make statementssuch as the following:

Janine took her umbrella because she believed it was going to rain.

Michael worked hard because he wanted to possess a PhD.

These statements make use of a “folk psychology”, by which humanbehaviour is predicted and explained through the attribution ofattitudes, such as believing, wanting, hoping, fearing,...

The attitudes employed in such folk psychological descriptions arecalled the intentional notions.

Intentional system = system made up of entities whose behaviour canbe predicted by the method of attributing belief, desires and rationalacumen.

[D. C. Dennett, The Intentional Stance, 1989]

MAS, University of Genoa, DIBRIS Agents and MASs 37 / 43

Page 53: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Intentional Systems

When explaining human activity, it is often useful to make statementssuch as the following:

Janine took her umbrella because she believed it was going to rain.

Michael worked hard because he wanted to possess a PhD.

These statements make use of a “folk psychology”, by which humanbehaviour is predicted and explained through the attribution ofattitudes, such as believing, wanting, hoping, fearing,...

The attitudes employed in such folk psychological descriptions arecalled the intentional notions.

Intentional system = system made up of entities whose behaviour canbe predicted by the method of attributing belief, desires and rationalacumen.

[D. C. Dennett, The Intentional Stance, 1989]

MAS, University of Genoa, DIBRIS Agents and MASs 37 / 43

Page 54: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Agents as Intentional Systems

If we adhere to the “strong definition” of agents, intentionalsystems are a suitable theory for agents.

The representation of intentional notions raises a set of delicatetechnical questions, both on the syntactic and the semantic side.

Modal logic languages are suitable for specifying agents asintentional systems.

Languages based on computational (modal) logic are suitable forprogramming agents.

Axiomatised logic-based languages can undergo an axiomaticverification; other languages which can be used for modelchecking.

MAS, University of Genoa, DIBRIS Agents and MASs 38 / 43

Page 55: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Agents as Intentional Systems

If we adhere to the “strong definition” of agents, intentionalsystems are a suitable theory for agents.

The representation of intentional notions raises a set of delicatetechnical questions, both on the syntactic and the semantic side.

Modal logic languages are suitable for specifying agents asintentional systems.

Languages based on computational (modal) logic are suitable forprogramming agents.

Axiomatised logic-based languages can undergo an axiomaticverification; other languages which can be used for modelchecking.

MAS, University of Genoa, DIBRIS Agents and MASs 38 / 43

Page 56: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Agents as Intentional Systems

If we adhere to the “strong definition” of agents, intentionalsystems are a suitable theory for agents.

The representation of intentional notions raises a set of delicatetechnical questions, both on the syntactic and the semantic side.

Modal logic languages are suitable for specifying agents asintentional systems.

Languages based on computational (modal) logic are suitable forprogramming agents.

Axiomatised logic-based languages can undergo an axiomaticverification; other languages which can be used for modelchecking.

MAS, University of Genoa, DIBRIS Agents and MASs 38 / 43

Page 57: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Agents as Intentional Systems

If we adhere to the “strong definition” of agents, intentionalsystems are a suitable theory for agents.

The representation of intentional notions raises a set of delicatetechnical questions, both on the syntactic and the semantic side.

Modal logic languages are suitable for specifying agents asintentional systems.

Languages based on computational (modal) logic are suitable forprogramming agents.

Axiomatised logic-based languages can undergo an axiomaticverification; other languages which can be used for modelchecking.

MAS, University of Genoa, DIBRIS Agents and MASs 38 / 43

Page 58: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Agents as Intentional Systems

If we adhere to the “strong definition” of agents, intentionalsystems are a suitable theory for agents.

The representation of intentional notions raises a set of delicatetechnical questions, both on the syntactic and the semantic side.

Modal logic languages are suitable for specifying agents asintentional systems.

Languages based on computational (modal) logic are suitable forprogramming agents.

Axiomatised logic-based languages can undergo an axiomaticverification; other languages which can be used for modelchecking.

MAS, University of Genoa, DIBRIS Agents and MASs 38 / 43

Page 59: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Modal Logic

Modal logic is an extension of classical logic with (generally) a newconnective 2 and its derivable counterpart ♦, known as necessity andpossibility respectively.

If a formula 2p is true, it means that p is necessarily true, i.e. true inevery possible scenario, and ♦p means that p is possibly true, i.e. truein at least one possible scenario.

It is possible to define ♦ in terms of 2:

♦p ⇔ ¬2¬p

MAS, University of Genoa, DIBRIS Agents and MASs 39 / 43

Page 60: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Modal Logic

Modal logic is an extension of classical logic with (generally) a newconnective 2 and its derivable counterpart ♦, known as necessity andpossibility respectively.

If a formula 2p is true, it means that p is necessarily true, i.e. true inevery possible scenario, and ♦p means that p is possibly true, i.e. truein at least one possible scenario.

It is possible to define ♦ in terms of 2:

♦p ⇔ ¬2¬p

MAS, University of Genoa, DIBRIS Agents and MASs 39 / 43

Page 61: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Modal Logic

Modal logic is an extension of classical logic with (generally) a newconnective 2 and its derivable counterpart ♦, known as necessity andpossibility respectively.

If a formula 2p is true, it means that p is necessarily true, i.e. true inevery possible scenario, and ♦p means that p is possibly true, i.e. truein at least one possible scenario.

It is possible to define ♦ in terms of 2:

♦p ⇔ ¬2¬p

MAS, University of Genoa, DIBRIS Agents and MASs 39 / 43

Page 62: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

Modal Logic

Different kinds of modal logics exist:epistemic logictemporal logicdeontic logicdynamic logic... and combinations of them (BDI logic, KARO logic, ...)

MAS, University of Genoa, DIBRIS Agents and MASs 40 / 43

Page 63: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

History of MASs: the Contract Net Protocol

In the Contract Net Protocol (Davis, R. and R. G. Smith. Negotiation asa metaphor for distributed problem solving. Artificial Intelligence, vol.20 pp. 63-100, 1983), agents can dynamically take two roles: manageror contractor.

Given a task to perform, an agent first determines whether it canbreak it into subtasks that could be performed concurrently.It employs the Contract Net Protocol to announce the tasks thatcould be transferred, and requests bids from nodes that couldperform any of these tasks.A node that receives a task announcement replies with a bid forthat task, indicating how well it thinks it can perform the task.The contractor collects the bids and awards the task to the bestbidder.

MAS, University of Genoa, DIBRIS Agents and MASs 41 / 43

Page 64: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

History of MASs: Actors

Actors (C. Hewitt, P. Bishop and R. Steiger. A Universal Modular ActorFormalism for Artificial Intelligence IJCAI 1973; G. Agha. ACTORS: AModel of Concurrent Computation in Distributed Systems. The MITPress: Cambridge, MA, 1986) were proposed as universal primitives ofconcurrent computation.Actors are self-contained, interactive autonomous components of acomputing system that communicate by asynchronous messagepassing.The basic actor primitives are:

create: creating an actor from a behavior description and a set ofparameters, possibly including existing actors;send: sending a message to an actor;become: changing an actor’s local state.

MAS, University of Genoa, DIBRIS Agents and MASs 42 / 43

Page 65: Multiagent Systems An Introduction to Agents and MASs · An Introduction to Agents and MASs Viviana Mascardi viviana.mascardi@unige.it MAS, University of Genoa, DIBRIS Agents and

Short history of agents and MASs Agents as Intentional Systems

...some (many!) years ago...

MAS, University of Genoa, DIBRIS Agents and MASs 43 / 43