CSE 473: Artificial Intelligence
Hanna Hajishirzi
https://courses.cs.washington.edu/courses/cse473/19au
Several slides from Luke Zettlemoyer, Dan Klein, Dan Weld, Stuart Russell, Andrew Moore
CSE 473: Artificial Intelligence Hanna Hajishirzi - - PowerPoint PPT Presentation
CSE 473: Artificial Intelligence Hanna Hajishirzi https://courses.cs.washington.edu/courses/cse473/19au Several slides from Luke Zettlemoyer, Dan Klein, Dan Weld, Stuart Russell, Andrew Moore AI Today o Course Format o What is
Hanna Hajishirzi
https://courses.cs.washington.edu/courses/cse473/19au
Several slides from Luke Zettlemoyer, Dan Klein, Dan Weld, Stuart Russell, Andrew Moore
Hanna Hajishirzi hannaneh@cs Mondays 11-12 CSE654 Aida Amini amini91@cs Mondays 4-5 CSE386 Chris Clark csquared@cs Tue 2-3pm Allen 220 Xinyue Chen chenxy20@cs Thu 2-3pm Allen 220 Andrey Ryabtsev ryabtsev@cs Wed 5-6pm Allen 220 Alyssa La Fleur lafleur1@cs Fri 11 -12 Allen 021 Svetoslav Kolev swetko@cs Wed 12-1pm Allen 220
CSE 332
read more we recommend
presentation does not necessarily follow the presentation in the book.
The science of making machines that:
Think like people Act like people Think rationally Act rationally
We’ll use the term rational in a very specific, technical way:
▪ Rational: maximally achieving pre-defined goals ▪ Rationality only concerns what decisions are made
(not the thought process behind them)
▪ Goals are expressed in terms of the utility of outcomes ▪ Being rational means maximizing your expected utility
A better title for this course would be:
Computational Rationality
▪ Brains (human minds) are very good at making rational decisions, but not perfect ▪ Brains aren’t as modular as software, so hard to reverse engineer! ▪ “Brains are to intelligence as wings are to flight” ▪ Lessons learned from the brain: memory and simulation are key to decision making
(expected) utility.
action space dictate techniques for selecting rational actions
types
problem can be solved with an existing technique
Agen t ?
Sensors Actuator s
Environme nt
Percepts Actions
Agent ? Sensors Actuators Environment
Percepts Actions
Pac-Man is a registered trademark of Namco-Bandai Games, used here for educational purposes
Rational Agents
[decisions]
Robots
[physically embodied]
Machine Learning
[learning decisions; sometimes independent]
NLP Computer Vision Human-AI Interaction
Newell & Simon's Logic Theorist, Gelernter's Geometry Engine
Quiz: Which of the following can be done at present?
Irving Bird where some honey was. Irving told him there was a beehive in the oak tree. Joe walked to the oak tree. He ate the beehive. The End.
river bank where his good friend Bill Bird was sitting. Henry slipped and fell in the river. Gravity drowned. The End.
the crow was sitting in his tree, holding a piece of cheese in his mouth. He noticed that he was holding the piece of cheese. He became hungry, and swallowed the cheese. The fox walked over to the crow. The End.
[Shank, Tale-Spin System, 1984]
Computer Vision
https://pjreddie.com/darknet/yolo/
Object Recognition Scene Segmentation
Google Goggles Smile Detection Leaf Snap
The flower was so vivid and attractive. Blue flowers are running rampant in my garden. Scenes around the lake on my bike ride. Blue flowers have no scent. Small white flowers have no idea what they are. Spring in a white dress. This horse walking along the road as we drove by.
Image captioning: What begins to work
We sometimes do well: 1 out of 4 times, machine captions were preferred over the original Flickr captions:
The couch is definitely bigger than it looks in this photo. My cat laying in my duffel bag. A high chair in the trees. Yellow ball suspended in water.
But many challenges remain (better examples of when things go awry)
Decision Making
“I could feel --- I could smell --- a new kind of intelligence across the table.”
“Deep Blue hasn't proven anything.”
Text from Bart Selman, image from IBM’s Deep Blue pages
Pong Enduro Beamrider Q*bert
AlphaGo deep RL defeats Lee Sedol (4-1)
[Schulman, Moritz, Levine, Jordan, Abbeel, ICLR 2016]
harder than simulations!
Images from UC Berkeley, Boston Dynamics, RoboCup, Google
(expected) utility.
action space dictate techniques for selecting rational actions
types
problem can be solved with an existing technique
Agen t ?
Sensors Actuator s
Environme nt
Percepts Actions
Fully observable vs. Partially observable
Can the agent observe the complete state of the environment?
vs.
Single agent vs. Multiagent
Is the agent the only thing acting in the world?
vs.
Deterministic vs. Stochastic
Is there uncertainty in how the world works?
vs.
Static vs. Sequential
Does the agent take more than one action?
vs.
Discrete vs. Continuous
vs.
Clear utility function Not so clear utility function
Originally developed at UC Berkeley:
http://www-inst.eecs.berkeley.edu/~cs188/pacman/pacman.html
Goal:
through the maze
Techniques:
first, etc.
A*, etc.
Goal:
Techniques:
minimax, alpha-beta, expectimax, etc.
Goal:
ghosts
Techniques:
Bayes Nets
and particle filtering
Goal:
about the world
Techniques: