Professional Documents
Culture Documents
AI Agent CU CSE
AI Agent CU CSE
A human agent has eyes, ears, and other sensing organs and uses hands, feet, mouth etc. as effectors.
Performance Measures
Asking the agent about its success may result in the sour grapes syndrome. An outside measure may be more objective. To create a sensible performance measure is often rather difficult.
Autonomy
We call an agent autonomous, to the extent that its behaviour is determined by its own experience. I.e. if we pre-program an agent to do everything it needs to do without learning from own experience, we would only ascribe very little or no autonomy to such an agent.
function SIMPLE-REFLEX-AGENT(percept) returns action static: rules // a set of condition-action rules rule RULE-MATCH(percept, rules) action RULE-ACTION(rule) return action
Goal-Based Agent
function AGENT -WITH-EXPLICIT_GOAL(percept, goal) returns action static: state // a description of the current world state rules // a set of condition-action rules state UPDATE_STATE(state, percept) rule RULE-MATCH(state, rules, goal) action RULE-ACTION(rule, goal) state UPDATE-STATE(state, action) return action
Utility-Based Agent
function UTILITY-BASED-AGENT(percept, utility-function) returns action static: state // a description of the current world state rules // a set of condition-action rules state UPDATE_STATE(state, percept) action UTILITY-MAXIMISER(state, rules, utility-function) state UPDATE-STATE(state, action) return action
Properties of Environments
accessible vs. inaccessible
Are all relevant aspects of the environment known to the agent?
Properties of Environments
static vs. dynamic
Does the environment change over time without the agent taking an action?
Properties of Environments
Environment Accessible Deterministic Episodic Static Discrete Yes Yes No No No Yes No Yes Yes No No No Yes No No No No No No Yes No Yes Semi Yes No No Semi No Yes Yes Yes No No Yes Yes Chess w/o clock Chess with clock Poker Taxi Driving Medical Diagnosis Image Analysis Interactive English Tutor
Summary
An agent is something that perceives and acts. An ideal agent is one that always takes the action that is expected to maximise its performance measure. An agent is autonomous to the extent that its action choices depend on its own experience .
Summary (contd)
An agent program maps from a percept to an action, while updating an internal state Reflex agents respond immediately to percepts Goal-based agents act so that they will achieve their goal(s) Utility-based agents try to maximise their happiness.
Summary (contd)
The type of environment influences substantially on what is a successful agent design. The most challenging environments are inaccessible, non-deterministic, nonepisodic, dynamic and continuous.