Lecture-01: Introduction: TAC7011 An Agent Approach To Computational Intelligence
Lecture-01: Introduction: TAC7011 An Agent Approach To Computational Intelligence
TAC7011
An Agent Approach to Computational
Intelligence
Books:
1.Michael Wooldridge, Introduction to MultiAgent Systems, John
Wiley & Sons (2002).
2.Ethem Alpaydin, Introduction to Machine Learning MIT Press
(2004).
3.S. Russell and Peter Norvig, Artificial Intelligence: A Modern
Approach, Second Edition, Prentice Hall (2003).
Intelligent Agents
• One of the central concerns of Artificial Intelligence is
the design and implementation of
intelligent/autonomous agents
– active entities that perceive their environment, reason, plan
and execute appropriate actions to achieve their goals (in
service of their users),
– react to external changes, and have social abilities that allow
them to communicate and interact with other agents and
users.
• These may be robots or intelligent software agents that
"live" on the Internet. Agent-based approaches are good
for building open systems where components can come
and go, and work together in flexible ways.
Intelligent Agents
• “A 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.”
• Usually the agent only has
partial-actions might not have
expected consequences.
• Control systems.
• Software demons.
Agents and Environments
sensors
percepts
environment ?
agent
actions
actuators
13 Week-13
Reinforcement Learning (Chapter-20, R&N)
Example 1
”When a space probe makes its long flight from Earth
to outer planets, a ground crew is usually required to
continue to track its progress and decide how to deal
with unexpected eventualities. This is costly and, if
decisions are required quickly, it is simply not
practical. For these reasons, organisations like NASA
are seriously investigating the possibility of making
the probes more autonomous – giving them richer
decision making capabilities and responsibilities.”
Example 2
”Searching the Internet for the answer to a specific
query can be a long and tedious process. So, why not
allow a computer program – an agent – do searches for
us? The agent would typically be given a query that
would require synthesizing information from various
different internet information sources.”
Example 3
System
Input Output
Environment
Definition of Agent 4
• Examples of trivial/non-interesting agents are:
– Thermostat, UNIX deamon, e.g. Xbiff (X Windows program)
– Most software deamons, background processes in Unix OS,
which monitor a software environment and perform actions to
modify it.
An intelligent agent is a computer system capable of
flexible autonomous action in some environment.
- By flexible we mean:
- Reactive
- Pro-active
- Social
Properties of Agents 1
• Autonomous
– Capable of independent action without our interference
• Reactive
– Maintains an ongoing interaction with its environment and responds to
changes that occur in (in time for the response to be useful).
– Reactive in a fixed environment – program can execute blindly.
• Pro-active
– Generating and attempting to achieve goals; not driven solely by events;
taking the initiative.
– Proactive – goal directed behaviour.
• Social
– The ability to interact with other agents (and possibly humans) via some
kind of agent communication language and perhaps cooperate with others.
Properties of Agents 2
• Mentalistic notions, such as beliefs and intentions are
often referred to as properties of strong agents.
• Other properties are:
– Mobility: the ability of an agent to move around a network.
– Veracity: agent will not knowingly communicate false
information.
– Benevolence: agents do not have conflicting goals and 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.
Agents and Objects 1
• Are agents just objects by another name?
Distributed AI
• Main areas of DAI
1. Multi-Agent Systems (MAS) Distributed
Computing
Artificial
Intelligence
Distributed
Multi-Agent
Problem
Systems
Solving
Distributed Artificial Intelligence (DAI)
DAI Concerns
• DAI is concerned with:
– Agent granularity
– Heterogenity of agents
– Methods of distributing control among agents
– Communication possibilities
Multi-agent System
Environment
Motivation for MAS
• To solve problems that are too large for a centralized
agent
• To allow interconnection and interoperation of multiple
legacy systems
• To provide a solution to inherently distributed problems
• To provide solutions which draw from distributed
information sources
• To provide solutions where expertise is distributed
• To offer conceptual clarity and simplicity of design
Benefits of MAS
• Faster problem solving
• Decrease in communication
– Decrease in communication: there might be an increase in
the number of messages passed or in the number of
interactions among the agents. But there is a decrease in
communication as the volume of information transmitted
each time will be reduced.
• Flexibility
• Increased reliability
Cooperative and Self-interested MAS
• Cooperative
– Agents designed by interdependent designers
– Agents act for increased good of the system
– Concerned with increasing the performance of the system
• Self-interested
– Agents designed by independent designers
– Agents have their own agenda and motivation
– Concerned with the benefit and performance of the individual
agent
More realistic in an Internet setting?
Interaction and Communication in MAS
• To successfully interact, agents need ability to
cooperate, coordinate and negotiate.
• This requires communication:
– Plan /message passing
– Information exchange using shared repositories
• Important characteristics of communication:
– Relevance of the information
– Timeliness
– Completeness
Agent Typology 1
• One of the most referred to typologies is given by
Nwana, BT Research Labs
– Reference: H. S. Nwana. ”Software Agents: An Overview”,
Knowledge Engineering Review, Vol. 11, No. 3, 1996, 40
pages
Autonomous
Software
systems
Cooperate Learning
Smart
Collaborative
Agents Interface
Agents
Agents
Agent Typology 3
• Human agents: Person, Employee, Student, Nurse, or
Patient
• Artificial agents: owned and run by a legal entity
• Institutional agents: a bank or a hospital
• Software agents: Agents designed with software
• Information agent: Data bases and the internet
• Autonomous agents: Non-trivial independence
• Interactive/Interface agents: Designed for interaction
• Adaptive agents: Non-trivial ability for change
• Mobile agents: code and logic mobility
Agent Typology 4
• Collaborative/Coordinative agents: Non-trivial ability
for coordination, autonomy, and sociability
• Reactive agents: No internal state and shallow
reasoning
• Hybrid agents: a combination of deliberative and
reactive components
• Heterogenous agents: A system with various agent
sub-components
• Intelligent/smart agents: Reasoning and intentional
notions
• Wrapper agents: Facility for interaction with non-
agents
Agent Typology 5
Nwana identified the following seven types of agents:
1. Collaborative agents - autonomous and cooperate.
2. Interface agents - autonomous and learn.
3. Mobile agents - able to move around a network.
4. Information/Internet agents - manages the information on the internet.
5. Reactive agents - stimulus-response behaviour.
6. Hybrid agents - combination two or more agent philosophies.
7. Smart agents - autonomous, learn and cooperate.
• Interface agents
– Hypothesis/Goal: A personal assistant that collaborates with the user.
– Main Motivation: To eliminate humans performing several, manual sub-
operations.
– Example: A personal assistant that finds a suitable package holiday for the
user.
Agent Typology 7
• Mobile agents
– Hypothesis/Goal: Agents need not be stationary!
– Main Motivation: To reduce communication costs
– Example: Aglets
• Information/Internet agents
– Hypothesis/Goal: Reduce information overload problem
– Main Motivation: The need for tools to manage information
explosion
– Example: agents that reside on servers and access the
distributed on-line information on the Internet
Agent Typology 8
• Reactive agents
– Hypothesis/Goal: Physical grounding hypothesis:
representations grounded in the physical world.
– Key Criticism of reactive agents:
Scope is limited to games and simulations.
Not clear how to design agents so that the intended behaviour is
emergent.
• Hybrid agents
– Definition:constitutes a combination of two or more agent
philosophies (e.g deliberative & reactive).
– Hypothesis/Goal: Gains from the combination of philosophies
>> gains from the same philosophy.
Agent Typology 9
Heterogeneous agents
• Heterogeneity: a term that you’ll come across very often
in the context of agents and distributed systems, in general.
• Definition: System of agents of several types
– e.g. mobile and interface agents in the same system
– Realistic in an Internet (open-system) setting
OS API
Memory File
Mgmt. Mgmt.
Process
Mgmt.
Web Search Agents
• Web search agents and information filtering agents fall
into the category of Information/Internet agents.
User Query
Web Query Server
Browser
Response
Tasks:
Index
•Hyperlink discovery database
•Document retrieval and Web
indexing
Web robot
•It has knowledge about
the web, usenet Search Engine
newsgroups, etc.
Information Filtering Agents
User
Web News Server
Browser
Web
Indexed User
articles Profile
Indexing
Engine
Media
Filtering Agent
Summary
• An agent is a system that is capable of independent
action on behalf of its user or owner.
• A multi-agent system is one that consists of a number
of agents which interact with one another.
• In order to successfully interact, agents need ability to
cooperate, coordinate and negotiate.
Definition of Agents - Summary
• An agent acts on behalf of another user or entity
• An agent has the weak agent properties:
– autonomy, pro-activity, reactivity and social ability
• An agent may have strong agent properties :
– mentalistic notions such as beliefs and desires
• Other properties discussed in the context of agents:
– mobility, veracity, benevolence and rationality
References
• Curriculum: Wooldridge: ”Introduction to MAS”
– Chapters 1 & 2
• Article: Agent Typology
– H. S. Nwana. ”Software Agents: An Overview”, Knowledge Engineering
Review, Vol. 11, No. 3, 1996, 40 pages
• Recommended Reading
– B. Moulin, B. Chaib-draa. ”An Overview of Distributed Artificial
Intelligence”. In: G. M. P. O'Hare, N. R. Jennings (eds). Foundations of
Distributed Artificial Intelligence, John Wiley & Sons, 1996, pp. 3-56.
– Y. Shoham, Software Agents: A Oriented Programming, Journal of
Artificial Intelligence 60(1), pp.51-92.
– IEEE Intelligent Systems, Vol. 17, n.6, Nov.-Dec. 2002.
– Communications of ACM, Vol. 47, Issue 2, Feb.2004, pages 56-60.
Discussion Questions
Agents
•What's the difference between an agent and a piece of software?
•What's the difference between an agent, an intelligent agent, and an autonomous
agent?
– Is it even worth talking about agents that aren't intelligent or autonomous?
– Can you have an intelligent agent that isn't autonomous?
– Can you have an autonomous agent that isn't intelligent?
•What are the characteristics of an agent ?
– Characterize agent characteristics.
•What are the characteristics of an agent's environment ?
•Give an example of a problem domain that each of the following classes of agents
would be well suited for, and an example of a problem domain that the class would
not be well suited for:
– Reactive agents
– Simple agents with state
– Logic-based agents
– Belief-desire-intention (BDI)agents