24
Agents Robert Platt Northeastern University Some material used from: 1. Russell/Norvig, AIMA 2. Stacy Marsella, CS4100 3. Seif El-Nasr, CS4100

Agents - ccs.neu.edu

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Agents - ccs.neu.edu

Agents

Robert PlattNortheastern University

Some material used from:1. Russell/Norvig, AIMA2. Stacy Marsella, CS41003. Seif El-Nasr, CS4100

Page 2: Agents - ccs.neu.edu

What is an Agent?

Agent Environment

Sense

Act

Page 3: Agents - ccs.neu.edu

What is an Agent?

Agent Environment

Sense

Act

Page 4: Agents - ccs.neu.edu

What is an Agent?

Agent Environment

Sense

Act

Page 5: Agents - ccs.neu.edu

Types of Agents

Page 6: Agents - ccs.neu.edu

Types of Agents

Different types of agents fill in these boxes differently

Page 7: Agents - ccs.neu.edu

Types of Agents

Let's think about environment first

Page 8: Agents - ccs.neu.edu

Environment Types

■ Fully observable (vs. partially observable): An agent's sensors give it access to the complete state of the environment at each point in time.

Fully observed Partially observed

Page 9: Agents - ccs.neu.edu

Environment Types

■ Deterministic (vs. stochastic): Next state completely determined by current state and action executed by agent.

Deterministic Stochastic

Page 10: Agents - ccs.neu.edu

Environment Types

■ Static (vs. dynamic): The environment is unchanged while an agent is deliberating.

Static Dynamic

Page 11: Agents - ccs.neu.edu

Environment Types

■ Discrete (vs. continuous): A finite number of distinct, clearly defined states, percepts and actions.

Page 12: Agents - ccs.neu.edu

Environment Types

■ Single agent (vs. multi-agent): An agent operating by itself in an environment. Do other agent interfere with my performance measure? Multi-agent can be competitive or collaborative.

Competitive Collaborative

Page 13: Agents - ccs.neu.edu

Knowledge of the environment

■ Known vs. Unknown: An agent may not know the laws that govern the environment

– Often incredibly hard problem.– Imagine watching a baseball game for the first time– Balks, infield fly rule, 3rd strike steal, fouling being

or not being a strike – all these exceptions

Page 14: Agents - ccs.neu.edu

Environment Typestask environm.

observable determ./stochastic

episodic/sequential

static/dynamic

discrete/continuous

agents

crosswordpuzzle

fully determ. sequential static discrete single

chess withclock

fully strategic sequential semi discrete multi

poker

backgammon

taxidriving

partial stochastic sequential dynamic continuous multi

medicaldiagnosis

partial stochastic sequential dynamic continuous single

image analysis

fully determ. episodic semi continuous single

partpickingrobot

partial stochastic episodic dynamic continuous single

refinery controller

partial stochastic sequential dynamic continuous single

interact.Eng. tutor

partial stochastic sequential dynamic discrete multi

Page 15: Agents - ccs.neu.edu

Environment Typestask environm.

observable determ./stochastic

episodic/sequential

static/dynamic

discrete/continuous

agents

crosswordpuzzle

fully determ. sequential static discrete single

chess withclock

fully strategic sequential semi discrete multi

poker partial stochastic sequential static discrete multi

backgammon

taxidriving

partial stochastic sequential dynamic continuous multi

medicaldiagnosis

partial stochastic sequential dynamic continuous single

image analysis

fully determ. episodic semi continuous single

partpickingrobot

partial stochastic episodic dynamic continuous single

refinery controller

partial stochastic sequential dynamic continuous single

interact.Eng. tutor

partial stochastic sequential dynamic discrete multi

Page 16: Agents - ccs.neu.edu

Environment Typestask environm.

observable determ./stochastic

episodic/sequential

static/dynamic

discrete/continuous

agents

crosswordpuzzle

fully determ. sequential static discrete single

chess withclock

fully strategic sequential semi discrete multi

poker partial stochastic sequential static discrete multi

backgammon

fully stochastic sequential static discrete multi

taxidriving

partial stochastic sequential dynamic continuous multi

medicaldiagnosis

partial stochastic sequential dynamic continuous single

image analysis

fully determ. episodic semi continuous single

partpickingrobot

partial stochastic episodic dynamic continuous single

refinery controller

partial stochastic sequential dynamic continuous single

interact.Eng. tutor

partial stochastic sequential dynamic discrete multi

Page 17: Agents - ccs.neu.edu

Types of Agents

Different types of agents fill in these boxes differently

Page 18: Agents - ccs.neu.edu

Types of Agents: Reflex Agent

Reflex Agent:

Chooses action based on current percept

Does not consider (explicitly) future consequences of actions

Page 19: Agents - ccs.neu.edu

Direct connection between perceptions and action

– encoded by a set of if-then statements (e.g. if I hit a wall, rotate 45 deg clockwise)

– when does this work well/poorly?

– would you design a self-driving car like this?

Types of Agents: Reflex Agent

Page 20: Agents - ccs.neu.edu

Types of Agents: Model Based Reflex Agent

Page 21: Agents - ccs.neu.edu

Types of Agents: Goal Based Agent

Page 22: Agents - ccs.neu.edu

Types of Agents: Utility Based Agent

Page 23: Agents - ccs.neu.edu

Types of Agents: Learning Agent

Page 24: Agents - ccs.neu.edu

This Course

This course is largely about problem solving in increasingly uncertain environments and agents with more complex tasks/goals in those environments...

… and the more sophisticated approaches to representation and agent design that are needed to be effective in those domains