Unit 4 Ai
Unit 4 Ai
I. Intelligent Agent
Defn: is one that is capable of flexible autonomous action in order to meet its design
objectives, where flexibility means three things
1. reactivity: able to perceive their environment(maintains an ongoing interaction)
and respond to it in time to satisfy their design objectives
2. pro-activeness: able to exhibit goal-directed behavior by taking the initiative in
order to satisfy their design objectives
3. social ability: are capable of interacting(cooperation, coordination, and
negotiation) with other agents (and possibly humans) in order to satisfy their
design objectives
Difference between agents and objects : three distinctions are
a. agents are more autonomy than objects( they decide for themselves whether or
not to perform an action on request from another agent)
b. agents are capable of flexible (reactive, pro-active, social) behavior, and the
object has nothing to say about such types of behavior
c. a multiagent system is inherently multi-threaded, in that each agent is assumed
to have at least one thread of control.
II. Architecture for Intelligent Agent
2.1 Abstract Architectures for Intelligent Agents
1. Standard agent
assume the state of the agent's as a set S = {sl ,s2,...} . At any given instant, the
environment is assumed to be in one of these states.
Let a set A = {a1,a2,...} of actions.
Then abstractly, an agent can be viewed as Action: S* A
3. next(next state function) => which maps an internal state and percept to an
internal state. updates its view of the world when it gets a new percept.
Agent Control Loop
1. Agent starts in some initial internal state i0.
2. Observes its environment state e, and generates a percept see(e).
3. Internal state of the agent is then updated via next function, becoming next
(i0,see(e)).
4. The action selected by the agent is action (next(i0,see(e))). This action is then
performed.
5. Goto (2).
2.2 Concrete Architectures for Intelligent Agents
In abstract architecture the abstract function action, indicates which action to
perform—but the implementation of action is not shown/discussed
four classes of agents
1. Logic based agents
2. Reactive agents
3. Belief-desire-intention agents
4. Layered architectures
1. Logic based agents
Also called as symbolic-based or deliberative architecture
agent behavior is based on the manipulation of the symbolic representation.
logic-based architecture formalism is as follows:
1. Assume that the environment is described by sentences in L and the knowledge
base that contains all the information regarding the environment KB = P(L) where
P(L) is the set of possible environments.
2. For each moment of the time t, an agent’s internal state is represented by KB =
Semantics +Pragmatics
Meaning(substance, type) of the information,
Syntax
Format of information being transferred
Communication protocols
Method of interconnection
3.4 Binary and n-ary communication protocols
A binary protocol involves a single sender and a single receiver
an n-ary protocol involves a single sender and multiple receivers (sometimes
called broadcast or multicast).
3.5 Agent communication languages(ACL)
A language that formalizes how agents may interact with one another and which
is based on Speech Act Theory( is a theory of how utterances are used to achieve
one’s intentions)
Speech act theory views human natural language as actions, such as requests,
suggestions, commitments, and replies.
speech act has three aspects
1. Locution, the physical utterance by the speaker
2. Illocution, the intended meaning of the utterance by the speaker
3. Perlocution, the action that results from the locution.
speech acts can be seen to have 2 components:
1. A performative verb => e.g. Request, inform
2. Propositional content => e.g. ”the door is closed”
2. Axiomatic Approach
1. Abstracting away the details of the bargaining process
2. Considering only the set of outcomes that satisfy certain pre-defined properties
(i.e., Axioms).
3. Typical Example: Nash Bargaining Model, 1950
Nash analyzed a 2-agent setting where the agents have to decide on an outcome
Types of arguments
1. Explantations (involve only beliefs)
Tweety flies because it is a bird
2. Threats (involve beliefs + goals)
You should do otherwise I will do
You should not do otherwise I will do
3. Rewards (involve beliefs + goals)
If you do , I will do
If you don’t do , I will do
Interactions between arguments
1. Rebutting attacks: two arguments with contradictory conclusions
E.g., Tweety flies because it is a bird versus Tweety does not fly because it is a
penguin
2. Assumption attacks: an argument attacks an assumption of another argument
E.g., Tweety flies because it is a bird, and it is not provable that Tweety is a
penguin versus Tweety is a penguin
3. Undercutting attacks:An argument challenges the connection between the
premisses and the conclusion
E.g., Tweety flies because all the birds I ’ve seen fly
I ’ve seen Opus, it is a bird and it does not fly
The strength of an argument depends on the quality of information used to build
that argument
Status of arguments : Some attacks can be removed