20
Agents & Environments

Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

Agents & Environments

Page 2: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 2

473 Topics

• Agents & Environments• Problem Spaces• Search & Constraint Satisfaction• Knowledge Repr’n & Logical Reasoning• Machine Learning• Uncertainty: Repr’n & Reasoning• Dynamic Bayesian Networks• Markov Decision Processes

Page 3: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Intelligent Agents• Have sensors, effectors• Implement mapping from percept

sequence to actions

Environment Agent

percepts

actions

• Performance Measure

Page 4: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Types of Agents: Robots

Xavier (CMU)

Aibo (Sony)

Walking (MIT)

Humanoid - Cog (MIT)

Page 5: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Types of Agents: Immobots

  Intelligent buildings  Autonomous spacecraft

• Softbots  Jango.excite.com  Askjeeves.com  Expert Systems

• Cardiologist

Page 6: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Types of Agents: Immobots

• Autonomous spacecraft

• Intelligent buildings

Page 7: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 7

Rolling Robots

Xavier (CMU) MIT Mobile Robot Group

Page 8: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 8

Driving Robots

DAWN (CMU Robotics Lab)

Page 9: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 9

Walking Robots

Quadraped (MIT Leg Lab) Flamingo (MIT Leg Lab)

Page 10: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 10

Humanoid Robots

Cog Project (MIT)

Page 11: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld 11

Software Robots

Page 12: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Defn: Ideal rational agent

• Rationality vs omniscience?• Acting in order to obtain valuable information

“For each possible percept sequence, does

whatever action is expected to maximize its

performance measure on the basis of evidence

perceived so far and built-in knowledge.''

Page 13: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Defn: Autonomy

An agent is autonomous to the extent that its behavior is determined by its own experience

Why is this important?

The parable of the dung beetle

Page 14: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Implementing ideal rational agent

• Table lookup agents• Agent program

  Simple reflex agents  Agents with memory

•Reflex agent with internal state•Goal-based agents•Utility-based agents

Page 15: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Simple reflex agentsE

NV

IRO

NM

EN

T

AGENT

Effectors

Sensors

what world islike now

Condition/Action ruleswhat action should I do now?

Page 16: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Reflex agent with internal state

EN

VIR

ON

ME

NT

AGENT Effectors

Sensors

what world islike now

Condition/Action ruleswhat action should I do now?

What world was like

How world evolves

Page 17: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Goal-based agentsE

NV

IRO

NM

EN

T

AGENT Effectors

Sensors

what world islike now

Goalswhat action should I do now?

What world was like

How world evolves

what it’ll be likeif I do acts A1-An

What my actions do

Page 18: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Utility-based agentsE

NV

IRO

NM

EN

T

AGENT Effectors

Sensors

what world islike now

Utility functionwhat action should I do now?

What world was like

How world evolves

What my actions do

How happy would I be?

what it’ll be likeif I do acts A1-An

Page 19: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

Properties of Environments

• Observability: full vs. partial vs. non

• Deterministic vs. stochastic• Episodic vs. nonepisodic• Static vs. … vs. dynamic• Discrete vs. continuous

• Travel agent

• WWW shopping agent

• Coffee delivery mobile robot

Page 20: Agents & Environments. © Daniel S. Weld 2 473 Topics Agents & Environments Problem Spaces Search & Constraint Satisfaction Knowledge Repr’n & Logical

© Daniel S. Weld

While driving, what’s the best policy?

• Always put blinker on before turning• Never use your blinker• Look in mirror, and use blinker only if

you observe a car that can observe you

• What kind of reasoning?– logical, goal-based, utility-based?

• What kind of agent is necessary?– reflex, goal-based, utility-based?