Top Banner
Artificial Intelligence Overview John Paxton Montana State University August 14, 2003
35

Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Artificial Intelligence Overview

John Paxton

Montana State University

August 14, 2003

Page 2: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Montana State University

Page 3: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

A Brief Bio

• 1985 The Ohio State University, B.S.Computer Science

• 1987 The University of Michigan, M.S.Computer Science

• 1990 The University of Michigan, Ph.D.Artificial Intelligence

• 2003 Montana State University – Bozeman, Professor of Computer Science

Page 4: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Talk Outline

• What is AI?

• Foundations

• History

• Areas

• Search

• Knowledge Representation

• Agents

Page 5: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

What is AI?

Science Approach

1. Systems that think like humans

2. Systems that act like humans

Engineering Approach

1. Systems that think rationally

2. Systems that act rationally

Page 6: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Acting Humanly

• Turing Test (1950)

Page 7: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Thinking Humanly

• Cognitive Modelling Approach

• General Problem Solver (Newell and Simon, 1961)

Page 8: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Thinking Rationally

• The laws-of-thought approach

• Syllogisms (Aristotle)

• It is difficult to code the knowledge and to reason with it efficiently.

Page 9: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Acting Rationally

• Rational Agent Approach. The agent acts to achieve the best (or near best) expected outcome.

Page 10: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Foundations

• Philosophy (e.g. Where does knowledge come from?)

• Mathematics (e.g. What are the formal rules to draw valid conclusions?)

• Economics (e.g. How should we make decisions to maximize payoff?)

• Neuroscience (e.g. How do brains process information?)

Page 11: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Foundations

• Psychology (e.g. How do humans and animals think and act?)

• Computer Engineering (e.g. How can we build an efficient computer?)

• Control Theory (e.g. How can artifacts operate under their own control?)

• Linguistics (e.g. How does language relate to thought?)

Page 12: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

History

• 1943-1955 Gestation.McCulloch-Pitts, Hebb, Turing Test

• 1956. Dartmouth Conference. • 1952-1969. Great Expectations.

Logic Theorist, GPS, Checkers, Lisp, Microworlds (calculus)

• 1966-1973. Reality. Machine translation (spirit == vodka), chess, intractability, fundamental limitations (Perceptrons).

Page 13: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

History

• 1969-1979. Knowledge-Based Systems. Dendral (infer molecular structure)

• 1980-present. Commercial Products.

• 1986-present. Return of neural networks.

• 1987-present. Science. Hidden Markov Models. Neural Networks. Bayesian Networks.

• 1995-present. Intelligent Agents.

Page 14: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Areas

• Agents

• Artificial Life

• Machine Discovery and Data Mining

• Expert Systems

• Fuzzy Logic

• Game Playing

• Genetic Algorithms

Page 15: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Areas

• Knowledge Representation

• Learning

• Neural Networks

• Natural Language Processing

• Planning

• Reasoning

• Robotics

Page 16: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Areas

• Search

• Speech Recognition and Synthesis

• Virtual Reality

• Computer Vision

Page 17: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Search

• Missionaries and Cannibals Problem

MMMCCC

Page 18: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Search

• Missionaries and Cannibals Solution

MMMCCC

MMCC

MC CMMM

CCMMM CCC

MMMC CC

MC

MMCC

MMCC

MC CC

MMMC

Page 19: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Types of Search

• Blind Search– Breadth-First Search– Depth-First Search

• Informed Search– Best-First Search– A* Search

Page 20: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Breadth-First Search

MMMCCC

MMMCC C

MMMC CC

MMCC

MC

Page 21: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Minimax Search

• Commonly used to determine which move to make in a 2 player, strategy game.

• Deep Junior (Ban, Bushinsky, Alterman), the reigning computer chess champion uses minimax.

• Minimax requires an evaluation function.

Page 22: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Minimax Example

• Nim

4 (my move)

3 2 1 (your move)

2 1 1 1 (my move)

1 (your move)

Page 23: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Chess Example

*

* * *

3 0 -5 4 10 2

maximizer

minimizer

Page 24: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Knowledge Representation

• Semantic Nets

• Fuzzy Logic

• First Order Predicate Calculus

Page 25: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Semantic Nets

bird

robin magpie ostrich

yes

no

is-ais-a

is-a

can-fly

can-fly

Page 26: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Fuzzy Logic

• Shaquille O’Neal is tall

5’0 6’0 7’0

tall

1.0

0.0

Page 27: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Fuzzy Logic

• Karim is tall (0.6) and a good teacher (0.9) = 0.6

• Karim is tall or a good teacher = 0.9.

• Karim is not tall = 1.0 – 0.6 = 0.4

Page 28: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

First Order Predicate Calculus

• Every Saturday is a weekend.x Saturday(x) weekend(x)

• Some day is a week day.x day(x) weekday(x)

Page 29: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Agents

AGENT ENVIRONMENT

sensors

actuators

Page 30: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Rationality Factors

• Performance Measure

• Prior Knowledge

• Performable Actions

• Agent’s Prior Percepts

Page 31: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Rational Agent

• For each possible sensor sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the sensor sequence and whatever built-in knowledge the agent has.

Page 32: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Agent Terminology

• Omniscience: the outcome of its actions are known. Impossible!

• Learning: taking actions in order to perform better (e.g. robot vacuum cleaner)

• Autonomy: the agent relies on its own sensors rather than built-in knowledge

Page 33: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Environments

• Fully observable vs. partially observable

• Deterministic vs. stochastic

• Episodic (classification) vs. sequential (conversation)

• Static vs. dynamic

• Discrete (chess) vs. continuous (taxi-driving)

• Single agent vs. multi-agent.

Page 34: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Types of Agents

• Reflex

• Model-Based

• Goal-Based

• Utility-Based

• Learning

• Combinations of the above!

Page 35: Artificial Intelligence Overview John Paxton Montana State University August 14, 2003.

Questions?