Franco Guidi P.1 Intelligent Agents Franco GUIDI POLANCO Politecnico di Torino / CIM Group 09-APR-2003.

Slides:



Advertisements
Similar presentations
Peer-to-peer and agent-based computing Agents & Multi-Agent Systems: Introduction (Contd)
Advertisements

Agent Based Software Development Michael Luck, Ronald Ashri and Mark dInverno.
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Intelligent Architectures for Electronic Commerce Part 1.5: Symbolic Reasoning Agents.
Chapter 15: Agents Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Formal Semantics for an Abstract Agent Programming Language K.V. Hindriks, Ch. Mayer et al. Lecture Notes In Computer Science, Vol. 1365, 1997
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
Some questions o What are the appropriate control philosophies for Complex Manufacturing systems? Why????Holonic Manufacturing system o Is Object -Oriented.
5-1 Chapter 5: REACTIVE AND HYBRID ARCHITECTURES.
Intelligent Agents Russell and Norvig: 2
SELBO Agent Ivan Minov University of Plovdiv “Paisii Hilendarski“
Outline Overview of agent architectures Deliberative agents
Agents in the previous examples Agents are just 3D objects in virtual worlds Agents are not independent thread. No agent architecture. ……
Constructing the Future with Intelligent Agents Raju Pathmeswaran Dr Vian Ahmed Prof Ghassan Aouad.
CSE 471/598, CBS 598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Fall 2004.
©Intelligent Agent Technology and Application, 2006, Ai Lab NJU Intelligent Agent Technology and Application Course overview and what is intelligent agent.
Lecture 1: Introduction Slides adapted from Sobah Abbas Petersen
Concrete architectures (Section 1.4) Part II: Shabbir Ssyed We will describe four classes of agents: 1.Logic based agents 2.Reactive agents 3.Belief-desire-intention.
A Multi-Agent System for Visualization Simulated User Behaviour B. de Vries, J. Dijkstra.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we? Spring 2004.
Design of Multi-Agent Systems Teacher Bart Verheij Student assistants Albert Hankel Elske van der Vaart Web site
BDI Agents Martin Beer, School of Computing & Management Sciences,
CS 6100 MultiAgent Systems Lecture 1: Introduction Slides adapted from Sobah Abbas Petersen (with permission)
1 Chapter 19 Intelligent Agents. 2 Chapter 19 Contents (1) l Intelligence l Autonomy l Ability to Learn l Other Agent Properties l Reactive Agents l Utility-Based.
Multiagent Systems: Local Decisions vs. Global Coherence Leen-Kiat Soh, Nobel Khandaker, Adam Eck Computer Science & Engineering University of Nebraska.
The Robotics Institute
Introduction to Intelligent Software Agents Martin Beer, School of Computing & Management Sciences, Sheffield Hallam University, Sheffield, United Kingdom.
Towards A Multi-Agent System for Network Decision Analysis Jan Dijkstra.
Intelligent Agents. Software agents O Monday: O Overview video (Introduction to software agents) O Agents and environments O Rationality O Wednesday:
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio Intelligent agents.
CH558 Software Agent (Software Agent Technology and Multi-agent Systems) Spring Semester, 2005 Dept. of Computer Science Yonsei University.
5-1 LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES An Introduction to MultiAgent Systems
Agent-Oriented Software Engineering CSC532 Xiaomei Huang.
Belief Desire Intention Agents Presented by Justin Blount From Reasoning about Rational Agents By Michael Wooldridge.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
NAVEEN AGENT BASED SOFTWARE DEVELOPMENT. WHAT IS AN AGENT? A computer system capable of flexible, autonomous (problem-solving) action, situated in dynamic,
Agents CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Multi-Agent Systems University “Politehnica” of Bucarest Spring 2011 Adina Magda Florea curs.cs.pub.ro.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
Artificial Intelligence Lecture 1. Objectives Definition Foundation of AI History of AI Agent Application of AI.
1 The main topics in AI Artificial intelligence can be considered under a number of headings: –Search (includes Game Playing). –Representing Knowledge.
Ann Nowe VUB 1 What are agents anyway?. Ann Nowe VUB 2 Overview Agents Agent environments Intelligent agents Agents versus objects.
Introduction of Intelligent Agents
Instructional Objective  Define an agent  Define an Intelligent agent  Define a Rational agent  Discuss different types of environment  Explain classes.
Agent Overview. Topics Agent and its characteristics Architectures Agent Management.
Do software agents know what they talk about? Agents and Ontology dr. Patrick De Causmaecker, Nottingham, March 7-11, 2005.
Intelligent systems, intelligent agents New AI directions: cognitive and applications Advantages: adaptable, flexible, able to learn, user- friendly, “bluff”
Intelligent Agents A Tutorial Prof. Fuhua Lin. From Objects to Agents Objects: the “Classical Perspective” Objects: the “Classical Perspective” State.
Intelligent Agents Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
Intelligent Agents on the Internet and Web BY ROHIT SINGH MANHAS M.C.A 4TH SEM. Dept. of I&CT, MIT, Manipal.
EEL 5937 Multi Agent Systems -an introduction-. EEL 5937 Content What is an agent? Communication Ontologies Mobility Mutability Applications.
Artificial Intelligence Logical Agents Chapter 7.
The Agent and Environment Presented By:sadaf Gulfam Roll No:15156 Section: E.
EEL 5937 Multi Agent Systems -an introduction-. EEL 5937 Content What is an agent? Communication Ontologies Mobility Mutability Applications.
Done by Fazlun Satya Saradhi. INTRODUCTION The main concept is to use different types of agent models which would help create a better dynamic and adaptive.
Politecnico di Torino / CIM Group
Intelligent Agents (Ch. 2)
LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES
Service-Oriented Computing: Semantics, Processes, Agents
Do software agents know what they talk about?
Artificial Intelligence Lecture No. 4
Intelligent Agents Chapter 2.
Web-Mining Agents Cooperating Agents for Information Retrieval
© James D. Skrentny from notes by C. Dyer, et. al.
Service-Oriented Computing: Semantics, Processes, Agents
Introduction to Multi-Agent Systems
Michael Wooldridge presented by Kim Sang Soon
The VSK logic for Intelligent Agents
Service-Oriented Computing: Semantics, Processes, Agents
Structure of intelligent agents and environments
Presentation transcript:

Franco Guidi P.1 Intelligent Agents Franco GUIDI POLANCO Politecnico di Torino / CIM Group 09-APR-2003

Franco Guidi P.2 Agenda Introduction Abstract Architectures for Autonomous Agents Concrete Architectures for Intelligent Agents Multi-Agent Systems Summary

Franco Guidi P.3 Introduction

Franco Guidi P.4 What agents are “One who is authorised to act for or in place of another as a : a representative, emissary, or official of a government b : one engaged in undercover activities (as espionage) : SPY c : a business representative (as of an athlete or entertainer) ”

Franco Guidi P.5 What agents are "An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through effectors." Russell & Norvig

Franco Guidi P.6 What agents are "Autonomous agents are computational systems that inhabit some complex dynamic environment, sense and act autonomously in this environment, and by doing so realize a set of goals or tasks for which they are designed." Pattie Maes

Franco Guidi P.7 What agents are “Intelligent agents continuously perform three functions: perception of dynamic conditions in the environment; action to affect conditions in the environment; and reasoning to interpret perceptions, solve problems, draw inferences, and determine actions.” Barbara Hayes-Roth

Franco Guidi P.8 What agents are "Intelligent agents are software entities that carry out some set of operations on behalf of a user or another program with some degree of independence or autonomy, and in so doing, employ some knowledge or representation of the user's goals or desires." IBM's Intelligent Agent Strategy white paper

Franco Guidi P.9 What agents are Definition that refers to “agents” (and not “intelligent agents”): “An agent is a computer system that is situated in some environment, and that is capable of autonomous action in this environment in order to meet its design objectives.” Wooldridgep & Jennings

Franco Guidi P.10 What agents are

Franco Guidi P.11 Agents & Environments The agent takes sensory input from its environment, and produces as output actions that affect it. Environment sensor input action output Agent

Franco Guidi P.12 Agents & Environments (cont.) In complex environments: An agent do not have complete control over its environment, it just have partial control Partial control means that an agent can influence the environment with its actions An action performed by an agent may fail to have the desired effect. Conclusion: environments are non- deterministic, and agents must be prepared for the possibility of failure.

Franco Guidi P.13 Agents & Environments (cont.) Effectoric capability: agent’s ability to modify its environment. Actions have pre-conditions Key problem for an agent: deciding which of its actions it should perform in order to best satisfy its design objectives.

Franco Guidi P.14 Examples of agents Control systems e.g. Thermostat Software daemons e.g. Mail client But… are they known as Intelligent Agents? N

Franco Guidi P.15 What is “intelligence”?

Franco Guidi P.16 What intelligent agents are “An intelligent agent is one that is capable of flexible autonomous action in order to meet its design objectives, where flexible, I mean three things: reactivity: agents are able to perceive their environment, and respond in a timely fashion to changes that occur in it in order to satisfy its design objectives; pro-activeness: intelligent agents are able to exhibit goal- directed behaviour by taking the initiative in order to satisfy its design objectives; social ability: intelligent agents are capable of interacting with other agents (and possibly humans) in order to satisfy its design objectives”; Wooldridgep & Jennings

Franco Guidi P.17 Agent characteristics Autonomy Proactiveness (Goal oriented) Reactivity Socially able (a.k.a. communicative) Weak notion + Mobility Veracity Benevolence Rationality Weak notion of agent Strong notion of agent An Agent has the weak agent characteristics. It may have the strong agent characteristics. (Amund Tveit)

Franco Guidi P.18 Objects & Agents Object “Objects do it for free; agents do it for money” sayHelloToThePeople() say Hello to the people “Hello People!” Agents control its states and behaviours Classes control its states

Franco Guidi P.19 Objects & Agents (cont.) Distinctions: Agents embody stronger notion of autonomy than objects Agents are capable of flexible (reactive, pro-active, social) behaviour A multi-agent system is inherently multi- threaded

Franco Guidi P.20 Abstract Architectures for Autonomous Agents

Franco Guidi P.21 Formalization Agents Standard agents Purely reactive agents Agents with state Environments History Perception

Franco Guidi P.22 Agents & Environments Agent’s environment states characterised by a set: S={ s1,s2,…} Effectoric capability of the Agent characterised by a set of actions: A={ a1,a2,…} Environment sensor input action output Agent

Franco Guidi P.23 Standard agents A Standard agent decides what action to perform on the basis of his history (experiences). A Standard agent can be viewed as function action: S*  A S* is the set of sequences of elements of S.

Franco Guidi P.24 Environments Environments can be modeled as function env: S x A  P (S) where P (S) is the powerset of S; This function takes the current state of the environment s  S and an action a  A (performed by the agent), and maps them to a set of environment states env(s,a). Deterministic environment: all the sets in the range of env are singletons. Non-deterministic environment: otherwise.

Franco Guidi P.25 History History represents the interaction between an agent and its environment. A history is a sequence: Where: s 0 is the initial state of the environment a u is the u’th action that the agent choose to perform s u is the u’th environment state h:s 0 s 1 s 2 … s u a0a0 a1a1 a2a2 a u-1 auau

Franco Guidi P.26 Purely reactive agents A purely reactive agent decides what to do without reference to its history (no references to the past). It can be represented by a function action: S  A Example: thermostat Environment states: temperature OK; too cold heater off if s = temperature OK action(s) = heater on otherwise

Franco Guidi P.27 Perception see and action functions: Environment Agent seeaction

Franco Guidi P.28 Perception (cont.) Perception is the result of the function see: S  P where P is a (non-empty) set of percepts (perceptual inputs). Then, the action becomes: action: P*  A which maps sequences of percepts to actions

Franco Guidi P.29 Perception ability MIN MAX Omniscient Non-existent perceptual ability | E | = 1| E | = | S | where E: is the set of different perceived states Two different states s 1  S and s 2  S (with s 1  s 2 ) are indistinguishable if see( s 1 ) = see( s 2 )

Franco Guidi P.30 Perception ability (cont.) Example: x = “The room temperature is OK” y = “There is no war at this moment” then: S={ (x,y),(x,  y),(  x,y),(  x,  y)} s1 s2 s3 s4 but for the thermostat: p1 if s=s1 or s=s2 see(s) = p2 if s=s3 or s=s4

Franco Guidi P.31 Agents with state see, next and action functions Environment Agent seeaction next state

Franco Guidi P.32 Agents with state (cont.) The same perception function: see: S  P The action-selection function is now: action: I  A where I: set of all internal states of the agent An aditional function is introduced: next: I x P  I

Franco Guidi P.33 Agents with state (cont.) Behaviour: The agent starts in some internal initial state i 0 Then observes its environment state s The internal state of the agent is updated with next(i 0,see(s)) The action selected by the agent becomes action(next(i 0,see(s))), and it is performed The agent repeats the cycle observing the environment

Franco Guidi P.34 Concrete Architectures for Intelligent Agents

Franco Guidi P.35 Classes of agents Logic-based agents Reactive agents Belief-desire-intention agents Layered architectures

Franco Guidi P.36 Logic-based architectures “Traditional” approach to build artificial intelligent systems: Logical formulas: symbolic representation of its environment and desired behaviour. Logical deduction or theorem proving: syntactical manipulation of this representation. and or grasp(x) Pressure( tank1, 220) Kill(Marco, Caesar)

Franco Guidi P.37 Logic-based architectures: example A cleanning robot In(x,y) agent is at (x,y) Dirt(x,y) there is a dirt at (x,y) Facing(d) the agent is facing direction d

Franco Guidi P.38 Logic-based architectures: abstraction Let L be the set of sentences of classical first- order logic Let D= P (L) be the set of L databases (the internal state of the agent is element of D), and  1,  2,.. memebers of D The agent decision making rules are modelled through a set of deduction rules,   |    means that formula  can be proved from database  using only the deduction rules 

Franco Guidi P.39 Logic-based architectures: abstraction (cont.) The perception function remains unchanged: see: S  P The next function is now : next: D x P  D The action function becomes: action: D  A

Franco Guidi P.40 Logic-based architectures: abstraction (cont.) Pseudo-code of function action is: 1. begin function action 2. for each a  do 3. if  |   Do(a) then return a 4. for each a  do 5. If  |    Do(a) then return a 6. return null 7. end function action

Franco Guidi P.41 Reactive architectures Forces: Rejection of symbolic representations Rational behaviour is seen innately linked to the environment Intelligent behaviour emerges from the interaction of various simpler behaviours situation  action

Franco Guidi P.42 Reactive architectures: example A mobile robot that avoids obstacles ActionGoTo (x,y): moves to position (x,y) ActionAvoidFront(z): turn left or rigth if there is an obstacle in a distance less than z units.

Franco Guidi P.43 Belief-Desire-Intention (BDI) architectures They have their Roots in understanding practical reasoning. It involves two processes: Deliberation: deciding what goals we want to achieve. Means-ends reasoning: deciding how we are going to achieve these goals.

Franco Guidi P.44 BDI architectures (cont.) First: try to understand what options are available. Then: choose between them, and commit to some. These choosen options become intentions, which then determine the agent’s actions.

Franco Guidi P.45 BDI architectures (cont.) Intentions are important in practical reasoning: Intentions drive means-end reasoning Intentions constrain future deliberation Intentions persist Intentions influence beliefs upon which future reasoning is based

Franco Guidi P.46 BDI architectures: reconsideration of intentions Example (taken from Cisneros et al.) Time t = 0 Desire: Kill the alien Intention: Reach point P Belief: The alien is at P P

Franco Guidi P.47 BDI architectures: reconsideration of intentions P Q Time t = 1 Desire: Kill the alien Intention: Reach point P Belief: The alien is at P Wrong!

Franco Guidi P.48 BDI architectures: reconsideration of intentions Dilemma: If intentions are not reconsidered sufficiently often, the agent can continue to aim to an unreachable or no longer valid goal (bold agents) If intentions are constantly reconsidered, the agent can fail to dedicate sufficient work to achieve any goal (cautious agents) Some experiments: Environments with low rate of change: better bold agents than cautious ones. Environments with high rate of change: the opposite.

Franco Guidi P.49 Layered architectures To satisfy the requirement of integrating a reactive and a proactive behaviour. Two types of control flow: Horizontal layering: software layers are each directly connected to the sensory input and action output. Vertical layering: sensory input and action output are each dealt with by at most one layer each.

Franco Guidi P.50 Layered architectures: horizontal layering Advantage: conceptual simplicity (to implement n behaviours we implement n layers) Problem: a mediator function is required to ensure the coherence of tje overall behaviour Layer n … Layer 2 Layer 1 perceptual input action output

Franco Guidi P.51 Layered architectures: vertical layering Subdivided into: Layer n … Layer 2 Layer 1 Layer n … Layer 2 Layer 1 perceptual input action output perceptual input action output One pass architecture Two pass architecture

Franco Guidi P.52 Layered architectures: TOURINGMACHINES Proposed by Innes Ferguson Perception subsystem Action subsystem Reactive layer Planning layer Modelling layer Control system sensor input action output

Franco Guidi P.53 Layered architectures: INTERRAP Proposed by Jörg Müller World interface Behaviour layer Plan layer Cooperation layer World model Planning knowledge Social knowledge sensor inputaction output

Franco Guidi P.54 Multi-Agent Systems (MAS)

Franco Guidi P.55 Main idea Cooperative working environment comprising synergistic software components can cope with complex problems.

Franco Guidi P.56 Cooperation Three main approaches: Cooperative interaction Contract-based co-operation Negotiated cooperation

Franco Guidi P.57 Rationality Priciple of social rationality by Hogg et al.: “Whithin an agent-based society, if a socially rational agent can perform an action so that agents’ join benefit is greather than their joint loss then it may select that action.” EU(a) = f( IU(a), SU(a) ) where: EU(a): expected utility of action a IU(a): individual utility SU(a): social utility

Franco Guidi P.58 Communication Agent Communication Languages (ACL) Different ACLs: FIPA (Foundation for Intelligent Physical Agents) ACL etc. Ontology

Franco Guidi P.59 MAS Tools and Techniques ADK AgentSheets AgentTool Bee-gent CABLE Cornet Way JAK CORMAS Cougaar DECAF Excalibur Agent FIPA-OS Grasshopper Massyve Kit NARVAL RePast RESTINA SEMOA SIM_AGENT StarLogo TuCSon VOYAGER Xraptor ZEUZ IDOL IMPACT JACK JADE JADE / LEAP JAFMAS /JIVE JATLiteBean JESS Kaarlboga LEE Living Markets MAML MAP /CSM Some products identified by AgentLink:

Franco Guidi P.60 Summary

Franco Guidi P.61 Summary Agents exhibit autonomy, responsiveness, proactiveness and social ability. They may also exhibit mobility, veracity, benevolence, rationality and cooperation Frameworks for agent development see agents as intentional systems. Some invoke semantics of possible worlds, other distinguish between explicit and implicit belief

Franco Guidi P.62 Summary (cont.) Agents’ architectures may be fundamentally deliberative or reactive, or may combine both approaches in a hybrid architecture Rationality in MAS involves considering the social and the individual utility of an action For an effective communication between agents is required a common language and ontology

Franco Guidi P.63 References Cisneros J., Huerta D. and Mandujano S. “Arquitectura BDI - Sistemas multiagente” Franklin S. et al. “Is it an Agent, or just a Program?: A Taxonomy for Autonomous Agents” in Proceedings of the Third International Workshop an Agent Theories, Architectures, and Languages. Springer-Verlag, 1996 Maes P. “Software Agents”. Available Mangina E. “Review of software products for multi-agent systems”. Available Wooldridge M. “An introduction to multiagent systems”. John Wiley & Sons, Chichester, February 2002