Sept 14, 2015 Introduction to Intelligent Agent Dr. Hao WANG, R&L Group, CS, NJU.

Slides:



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

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Distributed Scheduling in Supply Chain Management Emrah Zarifoğlu
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
Introduction to Artificial Intelligence
Some questions o What are the appropriate control philosophies for Complex Manufacturing systems? Why????Holonic Manufacturing system o Is Object -Oriented.
Intelligent Agents Russell and Norvig: 2
Agents and Intelligent Agents  An agent is anything that can be viewed as  perceiving its environment through sensors and  acting upon that environment.
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.
Supporting the Requirement for Flexibility in Automated Business Processes using Intelligent Agents Stewart Green University of the West of England.
Specifying Agent Interaction Protocols with AUML and OCL COSC 6341 Project Presentation Alexei Lapouchnian November 29, 2000.
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
Software Connectors. Attach adapter to A Maintain multiple versions of A or B Make B multilingual Role and Challenge of Software Connectors Change A’s.
Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved. Software Connectors Software Architecture Lecture 7.
Intelligent Agent Systems. Artificial Intelligence Systems that think like humans Systems that think rationally Systems that act like humans Systems that.
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.
April 15, 2005Department of Computer Science, BYU Agent-Oriented Software Engineering Muhammed Al-Muhammed Brigham Young University Supported in part by.
Design of Multi-Agent Systems Teacher Bart Verheij Student assistants Albert Hankel Elske van der Vaart Web site
CS 6100 MultiAgent Systems Lecture 1: Introduction Slides adapted from Sobah Abbas Petersen (with permission)
Multiagent Systems: Local Decisions vs. Global Coherence Leen-Kiat Soh, Nobel Khandaker, Adam Eck Computer Science & Engineering University of Nebraska.
Introduction to Intelligent Software Agents Martin Beer, School of Computing & Management Sciences, Sheffield Hallam University, Sheffield, United Kingdom.
The Need of Unmanned Systems
Towards A Multi-Agent System for Network Decision Analysis Jan Dijkstra.
INTRODUCTION TO ARTIFICIAL INTELLIGENCE Massimo Poesio Intelligent agents.
Introduction To System Analysis and design
Robotica Lezione 1. Robotica - Lecture 12 Objectives - I General aspects of robotics –Situated Agents –Autonomous Vehicles –Dynamical Agents Implementing.
Topic 2: Multi-Agent Systems a practical example categories of MAS examples definitions: agents and MAS conclusion.
1 Intelligent Systems Q: Where to start? A: At the beginning (1940) by Denis Riordan Reference Modern Artificial Intelligence began in the middle of the.
Knowledge representation
Agent-Oriented Software Engineering CSC532 Xiaomei Huang.
Course Overview Agent Technology. Course information Instructors – Software Agent: Dr. Ping YU – Intelligent Agent:
©Intelligent Agent Technology and Application, 2006, Ai Lab NJU Intelligent Agent Technology and Application Course overview and what is intelligent agent.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Course overview and what is intelligent agent
NAVEEN AGENT BASED SOFTWARE DEVELOPMENT. WHAT IS AN AGENT? A computer system capable of flexible, autonomous (problem-solving) action, situated in dynamic,
Artificial Intelligence By Michelle Witcofsky And Evan Flanagan.
How Solvable Is Intelligence? A brief introduction to AI Dr. Richard Fox Department of Computer Science Northern Kentucky University.
1 CS 2710, ISSP 2610 Foundations of Artificial Intelligence introduction.
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.
Bio-Networking: Biology Inspired Approach for Development of Adaptive Network Applications 21 May 2005Ognen Paunovski Bio-Networking: Biology Inspired.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
Ann Nowe VUB 1 What are agents anyway?. Ann Nowe VUB 2 Overview Agents Agent environments Intelligent agents Agents versus objects.
L1. Introduction. Motivations Human world physical world humans knowledge reasoning action/behavior communications collaborations negotiations Agent world.
Algorithmic, Game-theoretic and Logical Foundations
Introduction of Intelligent Agents
Distributed Models for Decision Support Jose Cuena & Sascha Ossowski Pesented by: Gal Moshitch & Rica Gonen.
Multiagent System Katia P. Sycara 일반대학원 GE 랩 성연식.
University of Kurdistan Artificial Intelligence Methods (AIM) Lecturer: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture,
Agent Overview. Topics Agent and its characteristics Architectures Agent Management.
Feng Zhiyong Tianjin University Fall  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that.
Software Agents & Agent-Based Systems Sverker Janson Intelligent Systems Laboratory Swedish Institute of Computer Science
Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved. Software Connectors in Practice Software Architecture.
CSE 471/598 Intelligent Agents TIP We’re intelligent agents, aren’t we?
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.
Agents and their Environment
Artificial Intelligence Lecture No. 4
Artificial Intelligence Lecture No. 5
Intelligent Agents Chapter 2.
© James D. Skrentny from notes by C. Dyer, et. al.
Introduction to Multi-Agent Systems
The VSK logic for Intelligent Agents
Structure of intelligent agents and environments
Presentation transcript:

Sept 14, 2015 Introduction to Intelligent Agent Dr. Hao WANG, R&L Group, CS, NJU

2 What is an intelligent agent? Fields that motivate agent technologies  Artificial intelligence  AI is the intelligence by machines or software  Major AI researchers and textbooks define this field as "the study and design of intelligent agents" [wikipedia: artificial intelligence]artificial intelligence Artificial Intelligence: Foundations of Computational Agents [link], Cambridge University Press, 2010link "AI is the filed that studies the synthesis and analysis of computational agents that act intelligently. " Agent is the carrier of artificial intelligence. Topics in the book: reasoning, learning, planning, etc.

3 What is an intelligent agent? Fields that motivate agent technologies  Software engineering  SE is the study and an application of engineering to the design, development, and maintenance of software. [wikipedia: software engineering]software engineering M. Wooldridge [Wooldridge 1998] System Environment inputoutput [Wooldridge 1998] M. Wooldridge, Agent and software engineering, in: AIIA, OS, physical world,... functional, reactive,... * Image from Aug 4, * What is a good software / system? Complexities come from: environment, interaction, system specification, …

4 What is an intelligent agent? Fields that motivate agent technologies  Distributed system  A software system in which components located on networked computers communicate and coordinate their actions by passing messages [wikipedia: distributed computing]distributed computing 战区高空防御导弹战区防空与导弹防御 军事战略战术中继卫星 联合监测目标攻击雷达系统 天基红外系统

5 What is an intelligent agent? Fields that motivate agent technologies  Economics  In economics, an agent is an actor and more specifically a decision maker in a model of some aspect of the economy. [wikipedia: agent (economics)]agent (economics) [wikipedia: program trading]program trading [wikipedia: algorithmic trading]algorithmic trading [wikipedia: high-frequency trading]high-frequency trading

6 What is an intelligent agent? Fields that motivate agent technologies  Economics  In economics, an agent is an actor and more specifically a decision maker in a model of some aspect of the economy. [wikipedia: agent (economics)]agent (economics) paid listing gaming / bidding

7 Gradual changes lead to crisis Big data  Volume  Velocity  Variety  Veracity  Example: find the top-k frequent integers in…  an array, a file, a database, a distributed archive, a stream * Image from Aug 6, * With the growth of complexity, there will be a point where we need brand new tools and even brand new ways of thinking.

8 Agent: general definitions Merriam-Webster  A person who does business for another person: a person who acts on behalf of another  A person or thing that causes something to happen [Russell&Norvig 2009] S. Russell & P. Norvig, Artificial Intelligence: A Modern Approach (3 rd edition), Prentice Hall, 2009.Artificial Intelligence: A Modern Approach (3 rd edition) S. Russell & P. Norvig  An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through effectors. [Russell&Norvig 2009]

9 [Maes 1995] P. Maes, Artificial life meets entertainment: lifelike autonomous agents, Communications of the ACM, 38(11): , 1995.Artificial life meets entertainment: lifelike autonomous agents P. Maes  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. [Maes 1995] Agent: general definitions D. Smith, A. Cypher & J. Spohrer  Let us define an agent as a persistent software entity dedicated to a specific purpose.  “Persistent” distinguishes agents from subroutines; agents have their own idea about how to accomplish tasks, their own agendas. “Specific purpose” distinguishes them from entire multifunction applications; agents are typically much smaller. [Smith et al. 1994] [Smith et al. 1994] D. Smith, A. Cypher & J. Spohrer, KidSim: programming agents without a programming language, Communications of the ACM, 37(7): 54-67, 1994.KidSim: programming agents without a programming language

10 [Hayes-Roth 1995] B. Hayes-Roth, An architecture for adaptive intelligent systems, Artificial Intelligence, 72(1): , 1995.An architecture for adaptive intelligent systems B. Hayes-Roth  “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.  Conceptually, perception informs reasoning and reasoning guides action, although in some cases perception may drive action directly. [Hayes-Roth 1995] Agent: general definitions

11 [Wooldridge&Jennings 1995] M. Wooldridge & N. R. Jennings, Intelligent agents: theory and practice, Knowledge Engineering Review, 10: , 1995.Intelligent agents: theory and practice … the term agent is used to denote a hardware or (more usually) software-based computer system that enjoys the following properties:  Autonomy: agents operate without the direct intervention of humans or others, and have some kind of control over their actions and internal state;  Reactivity: agents perceive their environment, and respond in a timely fashion to changes that occur in it; [Wooldridge&Jennings 1995] Agent: a weak notion

12 [Wooldridge&Jennings 1995] M. Wooldridge & N. R. Jennings, Intelligent agents: theory and practice, Knowledge Engineering Review, 10: , 1995.Intelligent agents: theory and practice … the term agent is used to denote a hardware or (more usually) software-based computer system that enjoys the following properties:  Proactiveness: agents do not simply act in response to their environment; they are able to exhibit goal-directed behavior by taking the initiative;  Social ability: agents interact with other agents (and possibly humans) via some kind of agent-communication language. [Wooldridge&Jennings 1995] Agent: a weak notion

13 [Wooldridge&Jennings 1995] M. Wooldridge & N. R. Jennings, Intelligent agents: theory and practice, Knowledge Engineering Review, 10: , 1995.Intelligent agents: theory and practice Stronger notions = weak notions + …  Mentalistic notions: conceptualized or implemented using notions such as  Knowledge  Belief  Intention  Obligation  Emotional notions  human-like [Wooldridge&Jennings 1995] Agent: stronger notions * Image from Aug 10, * ** Image from Aug 10, **

14 [Wooldridge&Jennings 1995] M. Wooldridge & N. R. Jennings, Intelligent agents: theory and practice, Knowledge Engineering Review, 10: , 1995.Intelligent agents: theory and practice [Wooldridge&Jennings 1995] Agent: other properties Other properties  Mobility: agent is able to move around an electronic network (to perform local processing of information);  Veracity: agents will not knowingly communicate false information;  Benevolence: agents do not have conflicting goals, and that every agent will therefore always try to do what is asked of it;  Rationality: an agent will act in order to achieve its goals, and will not act in such a way as to prevent its goals being achieved.

15 An agent inhabits in its environment, which is typically dynamic & complex. An agent perceives its environment, and affects its environment by its actions, and from its perception to its action there is typically a decision-making process (reasoning, planning, …). An agent usually has the so-called weak characteristics: autonomy, reactivity, proactiveness, and social abilities. An agent may have stronger characteristics, being mentalistic or even emotional. In some applications, an agent may be designed with emphases on other characteristics, such as mobility, veracity, benevolence, and rationality. Agent: summary

16 Synonyms of the term “intelligent agent”  Robot, software agent, softbot, knowbot, taskbot, userbot, … Chinese translations of the term “intelligent agent”  “ 智能代理 ”  A person who does business for another person: a person who acts on behalf of another  “ 智能体 ” 、 “ 智能主体 ”  A thing that causes something to happen; the carrier of AI  “ 智能艾真体 ”  “ 以音译为基础,又兼顾了一定的物理含义,而且 ‘ 艾 ’ 含有漂亮的 意思。 ” Synonyms and Chinese Translations [Cai&He 2002, Cai 2003?] [Cai&He 2002] 蔡自兴, 贺汉根, 智能科学发展的若干问题, 自动化学报, 28(suppl): , [Shi 2000] [Shi 2000] 史忠植, 智能主体及其应用, 科学出版社, [Cai 2003?] 蔡自兴, 对 Agent 中文译法的讨论, Available online: Accessed: Aug 6,

17 Examples of agents Air-conditioner / any control system  Thermostat Software daemon  Print server  Http server

18 Think… Find some other examples of agents (not necessarily intelligent); in particular, specify:  1. The environment that the agent inhabits;  2. Possible actions of the agent, and how each of them will change the environment;  3. The goal or design purpose of the agent.

19 Think… If a traffic light together with its control system is designed as an intelligent agent, what are the properties that this agent should exhibit?  1. Weak properties? (autonomous, reactive, proactive, social)  2. Strong properties? (mental, emotional)  3. Other properties? (mobile, veracious, benevolent, rational)

20 The environment Why is the ENVIRONMENT important when we are interested in AGENTS?  From the perspective of problem solving, the environment, together with the goal of the agent, defines the PROBLEM;  Understanding the environment can largely guide the design of the intelligent agent.

21 The environment [Sutton&Barto 1998] The thing the agent interacts with, comprising everything outside the agent is called the environment. Agent-environment boundary is not often the same as the physical boundary of a robot’s body.  Motors, mechanical linkages, sensing hardware Anything that cannot be changed arbitrarily by the agent should be considered part of its environment.

22 Properties of environments Accessibility: accessible vs. inaccessible Determinism: deterministic vs. nondeterministic Dynamism: static vs. dynamic Continuity: discrete vs. continuous [Russell&Norvig 2009] S. Russell & P. Norvig, Artificial Intelligence: A Modern Approach (3 rd edition), Prentice Hall, 2009.Artificial Intelligence: A Modern Approach (3 rd edition) [Russell&Norvig 2009]

Inaccessible (partially observable)  The agent needs to keep track of the environment through its internal state.  Example: observe the current weather  in a windowless room  at the South Pole of Pluto  Accessible + noise = inaccessible 23 Accessibility Accessible (fully observable)  An accessible environment is one in which can obtain complete, accurate, up-to-date information about the environment’s state.  Example: observe the weather, is it sunny / rainy / cloudy / …? Most real-world environments are inaccessible. The more accessible an environment is, the simpler it is to build agents.

Nondeterministic (stochastic)  Nondeterminism captures the facts that…  Agents have at best partial control over their environment  Actions may fail to have the desired result 24 Determinism Deterministic  A deterministic environment is one in which any action has single guaranteed effect.  There is no uncertainty about the state that will result from performing an action.  A deterministic environment may exhibit nondeterminism if it’s sufficiently complex  Lack of a good environment model  Lack of complete sensor coverage

25 Dynamism Static  A static environment is one that can be assumed to remain unchanged except by the performance of actions by the agent.

Continuous  A continuous environment is one that may be in uncountably many states.  The information a discrete-state agent uses in order to select an action in a continuous environment will be made on the basis of information that is inherently approximate. 26 Continuity Discrete  A discrete environment is one that can be guaranteed to only ever be in a finite number of discrete states. Most complex general class of environments  Inaccessible, nondeterministic, dynamic, and continuous  a.k.a. open environments

 Simplest case  The agent knows (1) the maze and (2) the goal position.  Actions of the agent have deterministic effects.  The maze is fixed.  accessible, deterministic, static, and discrete 27 Examples of environments: maze games Maze games are common testbeds for intelligent agents N S E W agent goal position obstacles

 If actions are performed via motors…  There are chances of mechanical failure  accessible, nondeterministic, static, and discrete 28 Examples of environments: maze games N S E W agent goal position obstacles  If, in addition, the sight is limited…  inaccessible, nondeterministic, static, and discrete

29 Examples of environments: maze games  If there is another agent, or the maze is random…  inaccessible, nondeterministic, dynamic, and discrete  If the maze becomes more practical…  inaccessible, nondeterministic, dynamic, and continuous

30 Think… Determine the types of the following environments Mine- sweeper E- shopping PokerChess Deterministic? Accessible? Discrete? Static?

31 Agents vs. functional systems [Recall] An intelligent agent is:  Proactive: goal-directed  Reactive: perceive and respond to its environment  Sociable: interact with other agents / human Functional system  Precondition + postcondition  Example: design by contract (DbC)design by contract * * Image from (license: CC0 1.0), Aug 11, accessible, deterministic, static, discrete inaccessible, nondeterministic, dynamic, continuous

32 Agents vs. objects Object  Computational entities that encapsulate some state, are able to perform actions, or methods on this state, and communicate by message passing  Combination of variables, functions, and data structures [Wooldridge&Ciancarini 2001] M. Wooldridge & P. Ciancarini, Agent-oriented software engineering: the state of the art, in: Proceedings of the 1 st International Workshop on Agent-oriented Software Engineering, 2001.Agent-oriented software engineering: the state of the art [Wooldridge&Ciancarini 2001] [Wikipedia: Object (computer science)]Object (computer science) a set of assignments to variables W ALL ·E move_north( ) move_south( ) move_east( ) move_west( ) (x, y)

33 Agents vs. objects Differences between agents and objects  The level of autonomy  Objects have control over its internal state (encapsulation: private variables) W ALL ·E move_north( ) move_south( ) move_east( ) move_west( ) (x, y)  Objects invoke other objects’ methods, whereas agents can only request other agents to perform actions. Objects do it for free; agents do it for money.  Objects have no control over its behavior: once a method is made public, objects cannot decide whether or not that method is executed.

34 Agents & OOP OOP: object-oriented programming  Standard OOP does not require agent-like properties.  In standard OOP, there is a single thread of control, whereas in principle each agent should have its own thread of control.  Agent is similar to active object. W ALL ·E move_north( ) move_south( ) move_east( ) move_west( ) (x, y) run( )

35 Agents vs. expert systems Expert system  Computer system that emulates the decision-making ability of human expert  Designed to solve complex problems by reasoning about knowledge, represented primarily as if-then rules rather than through conventional procedural code Key difference  Expert systems are not coupled to their environment;  Expert systems are not designed for reactive, proactive behavior;  Expert systems do not consider social ability. [Wooldridge 2009] M. Wooldridge, An Introduction to Multiagent Systems (2 nd edition), John Wiley & Sons, [Woooldridge 2009] [Wikipedia: expert system]expert system

36 Distributed Artificial Intelligence (DAI) DAI is a subfield of AI Dedicated to the development of distributed solutions for complex problems regarded as requiring intelligence Main areas of DAI – Distributed problem solving (DPS) Centralized control and distributed data – Multi-agent system (MAS) Distributed control and distributed data [Wikipedia: distributed artificial intelligence]distributed artificial intelligence

37 DAI considers… Agent granularity (agent size) Heterogeneity of agents (agent type) Methods of distributed control (among agents) Communication MAS – Coarse agent granularity – High-level communication distributed computing distributed AI AI MAS DPS

38 Motivation behind MAS To solve problems too large for centralized agents – e.g., economic system To allow interconnection and interoperation of multiple legacy systems – e.g., web crawling To provide solutions to inherently distributed systems To provide solutions when expertise is distributed To provide conceptual clarity and simplicity of design

39 Benefits of MAS Faster problem solving Decreasing communication – Higher semantics of communication (speech-act level) Flexibility Increasing reliability

40 Heterogeneity degrees in MAS Low – Identical agents, different resources Medium – Different agent expertise High – Share only interaction protocol (e.g. FIPA or KQML)

41 Cooperative and self-interested MAS Cooperative – Agents are designed by interdependent designers – Agents act for the common good of the system – Focus on the performance of the entire system, not the interests of individual agents Self-interested – Agents are designed by independent designers – Agents have their own agenda and motivation – Concerned with the benefit of each agent (‘individualistic’) Which is more realistic in an Internet-setting?

42 Our categorization of MAS Cooperative MAS (teamwork) – Agents share a common objective Competitive MAS – Each agent has its own objective, and these objectives are contradictory Coopetitive ( 竞合 ) MAS – Each agent has its own objectives; these objectives are typically competitive, but there is still possibility that agents may cooperate to achieve their common good

43 Summary Agent has general definitions, weak definitions, and strong definitions Classification of the environment Differences between agents and functional systems, objects, expert systems, etc. A brief introduction to multi-agent systems