Download INFO372 - Department of Computer Science

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Human–computer interaction wikipedia , lookup

Human-Computer Interaction Institute wikipedia , lookup

Computer Go wikipedia , lookup

AI winter wikipedia , lookup

Technological singularity wikipedia , lookup

Human–computer chess matches wikipedia , lookup

Turing test wikipedia , lookup

Artificial intelligence in video games wikipedia , lookup

Embodied cognitive science wikipedia , lookup

Intelligence explosion wikipedia , lookup

Ethics of artificial intelligence wikipedia , lookup

Existential risk from artificial general intelligence wikipedia , lookup

History of artificial intelligence wikipedia , lookup

Philosophy of artificial intelligence wikipedia , lookup

Transcript
INFO 372:
Explorations in Artificial Intelligence
Prof. Carla P. Gomes
[email protected]
Introduction
Carla P. Gomes
INFO372
Overview of this Lecture
• Course Administration
• What is Artificial Intelligence?
• Course Themes, Goals, and Syllabus
Carla P. Gomes
INFO372
Course Administration
Carla P. Gomes
INFO372
INFO372 – Explorations in
Artificial Intelligence
Lectures: Tuesday and Thursday - 10:10 - 11:25
Location: Olin Hall, room 216
Lecturer: Prof. Gomes
Office: 5133 Upson Hall
Phone: 255 9189
Email: [email protected]
Administrative Assistant: Beth Howard
([email protected])
5136 Upson Hall, 255-4188
TA: Robert Xiao [email protected]
Web Site: www.cs.cornell.edu/gomes/COURSES/INFO372
Carla P. Gomes
INFO372
Office Hours
TA: Robert Xiao (TBA)
Prof. Gomes:
Office: 5133 Upson Hall
Wednesdays: 2:30p.m – 3:30 p.m.
I prefer to meet during my scheduled office hours,
however, if you need to meet with me at a different
time please schedule an appointment by email.
Carla P. Gomes
INFO372
Grades
Midterm
(25%)
Homework
(30%)
Participation
(5%)
Final
(40%)
Note: The lowest homework grade will be dropped before the
final grade is computed.
Carla P. Gomes
INFO372
Homework
• Homework is very important. It is the best way for you to
learn the material.
• Your lowest homework grade will be dropped before the
final grade is computed.
• You are encouraged to discuss the problems with your
classmates, but all work handed in should be original,
written by you in your own words.
• No late homework will be accepted
Carla P. Gomes
INFO372
Textbook
Artificial Intelligence: A Modern Approach (AIMA)
(Second Edition) by Stuart Russell and Peter Norvig
Artificial Intelligence : A New Synthesis
By Nils Nilsson
Principles of Constraint Programming
By Krzysztof Apt
Linear Programming by Vasek Chvatal
Carla P. Gomes
INFO372
Overview of this Lecture
• Course Administration
• What is Artificial Intelligence?
• Course Themes, Goals, and Syllabus
Carla P. Gomes
INFO372
What is Artificial Intelligence (AI)?
What is Intelligence?
Historical Perspective of AI
State-of-the-art and Challenges
Carla P. Gomes
INFO372
What is AI?
Ambitious goals:
– understand “intelligent” behavior
– build “intelligent” agents
Carla P. Gomes
INFO372
What is Intelligence?
• Intelligence:
– “the capacity to learn and solve problems”
(Webster dictionary)
– the ability to act rationally
• Artificial Intelligence:
– build and understand intelligent entities
– synergy between:
philosophy, psychology, and cognitive science
computer science and engineering
mathematics and physics
Carla P. Gomes
INFO372
AI Leverages
from Different Disciplines
Philosophy
e.g., foundational issues in logic, methods of reasoning,
mind as physical system, foundations of learning,
language, rationality
Computer science and engineering
e.g., complexity theory, algorithms, logic and inference,
programming languages, and system building (hardware
and software).
Mathematics and physics
e.g., statistical modeling, continuous mathematics, Markov
models, statistical physics, and complex systems.
and others, e.g., cognitive science, neuroscience, economics,
psychology, linguistics, …
Carla P. Gomes
INFO372
AI:
Historical Perspective
Obtaining an understanding of the human mind is one of the
final frontiers of modern science.
Founders:
George Boole, Gottlob Frege, and Alfred Tarski
formalizing the laws of human thought
Alan Turing, John von Neumann, and Claude Shannon
thinking as computation
John McCarthy, Marvin Minsky, Herbert Simon, and Allen Newell
the start of the field of AI (1959)
Carla P. Gomes
INFO372
In 1936, Alan Turing, a British mathematician, showed
that there exists a relatively simple universal computing
device that can perform any computational process.
Computers use such a universal model.
Alan
Turing
Turing Machine
(abstraction)
Turing also showed the limits of computation – some problems
cannot be computed even with the most powerful computer and even
with unlimited amount of time – e.g., Halting problem.
Acting humanly: Turing Test
Alan Turing
•
Turing (1950) "Computing machinery and intelligence":
"Can machines think?"  "Can machines behave intelligently?"
– Operational test for intelligent behavior: the Imitation Game
AI system passes
if interrogator
cannot tell which one
is the machine
•
•
•
Predicted that by 2000, a machine might have a 30% chance of fooling a lay
person for 5 minutes
Anticipated all major arguments against AI in following 50 years
Suggested major components of AI: knowledge, reasoning, natural language
understanding, learning
•
Carla P. Gomes
INFO372
Some Famous Imitation Games
• 1960s
ELIZA Joseph Weizenbaum
– Rogerian psychotherapist
• 1990s
ALICE
• Loebner prize
– win $100,000 if you pass the test
Carla P. Gomes
INFO372
ELIZA:
impersonating a Rogerian psychotherapist
1960s ELIZA Joseph Weizenbaum
http://www-ai.ijs.si/eliza/eliza.html
Eliza:
a friend you could never have before
Eliza: Hello. I am ELIZA. How can I help you?
You: Well I feel sad
Eliza: Do you often feel sad?
You: not very often, but it's becoming more common
Eliza: Please go on.
Carla P. Gomes
INFO372
Chat Bot – ALICE
(AI Foundation)
•
•
•
•
Human: hi my name is Carla
ALICE: How are you doing, Carla.
Human: what is your name?
ALICE: My name is ALICE.
Human: what is your full name?
ALICE: ALICE = Artificial Linguistic Internet Computer Entity.
Human: when were you born?
ALICE: I was connected to the net on November 23, 1995.
Human: Have you passed the Loebner Prize?
ALICE: The Loebner Prize is an annual Turing Test sponsored by New York
philanthropist Hugh Loebner. Dr. Wallace and ALICE won it in 2000. The
ALICE program was ranked "most human computer" by the panel of
judges.
Human: who is Dr. Wallace?
ALICE: He is a famous computer scientist, the author of ALICE, and a
graduate of Carnegie Mellon.
Human: Where does Dr. Wallace work?
ALICE: he works from his home in San Francisco.
Carla P. Gomes
INFO372
Acting humanly: Turing Test
Turing test  identified key research areas in AI:
•
•
•
•
Natural Language Processing – to communicate with the machine;
Knowledge Representation – to store and manipulate information;
Automated reasoning – to use the stored information to answer questions
and draw new conclusions;
Machine Learning – to adapt to new circumstances and to detect and
extrapolate patterns.
but does a machine need to act humanly
to be considered intelligent?
Carla P. Gomes
INFO372
Other perspectives on Intelligence
Thinking humanly: cognitive modeling
Requires scientific theories of internal activities of the brain; How to validate?
1) Cognitive Science (top-down)  Predicting and testing behavior of human subjects
– computer models + experimental
techniques from psychology
2) Cognitive Neuroscience (bottom-up)  Direct identification from neurological data
Thinking rationally: "laws of thought“
Logic  Making the right inferences! Several Greek schools developed various forms of logic: notation and rules of
derivation for thoughts;
Aristotle: what are correct arguments/thought processes? (characterization of “right thinking”);
Socrates is a man
All men are mortal
-------------------------Therefore Socrates is mortal
More contemporary logicians (e.g. Boole, Frege, Tarski)  Direct line through mathematics and philosophy to modern AI
Acting rationally: rational agent
Rational behavior: doing the right thing; that which is expected to maximize goal achievement, given
the available information; Doesn't necessarily involve thinking – e.g., blinking reflex – but thinking
should be in the service of rational action;
Always doing the right thing  sometimes not feasible in complex
environments  Computational demands can be too high!
Carla P. Gomes
INFO372
What is AI?
Human-like
Intelligence
Thought/
Reasoning
Behavior/
Actions
“Ideal” Intelligent/
Rationally
Thinking
humanly
Thinking
Rationally
Acting
Humanly
Acting
Rationally
Carla P. Gomes
INFO372
Different Approaches
I Building exact models of human cognition
view from psychology and cognitive science
II Developing methods to match or exceed human
performance in certain domains, possibly by
very different means  e.g., Deep Blue;
Focus of INFO372 (most recent progress).
Carla P. Gomes
INFO372
What's involved in Intelligence?
A) Ability to interact with the real world
to perceive, understand, and act
speech recognition and understanding
image understanding (computer vision)
B) Reasoning and Planning
INFO 372
modelling the external world
problem solving, planning, and decision making
ability to deal with unexpected problems, uncertainties
C) Learning and Adaptation
We are continuously learning and adapting.
We want systems that adapt to us!
Carla P. Gomes
INFO372
State-of-the-art
Reasoning and Planning in AI
A few examples…
Carla P. Gomes
INFO372
1996 - EQP:
Robbin’s Algebras are all boolean
A mathematical conjecture (Robbins conjecture) unsolved for decades
The Robbins problem was to determine whether one
particular set of rules is powerful enough to capture all of
the laws of Boolean algebra. One way to state the Robbins
problem in mathematical terms is:
Can the equation not(not(P))=P be derived from the
following three equations?
[1] P or Q = Q or P,
[2] (P or Q) or R = P or (Q or R),
[3] not(not(P or Q) or not(P or not(Q))) = P.
[An Argonne lab program] has come up with a major mathematical
proof that would have been called creative if a human had thought of it.
New York Times, December, 1996
http://www-unix.mcs.anl.gov/~mccune/papers/robbins/
Carla P. Gomes
INFO372
1997:
Deep Blue beats the World Chess Champion
vs.
I could feel human-level intelligence across the room
-Gary Kasparov, World Chess Champion (human…)
Carla P. Gomes
INFO372
Deep Blue vs. Kasparov
Game 1: 5/3/97:
Kasparov wins
Game 2: 5/4/97:
Deep Blue wins
Game 3: 5/6/97:
Draw
Game 4: 5/7/97:
Draw
“I felt a new kind of
Intelligence” ( across
the board from him)
Kasparov 1997
Game 5: 5/10/97:
The value of IBM’s stock
Draw
Increased by $18 Billion!
Game 6: 5/11/97:
Deep Blue wins
One of the most famous modern computers,
Deep Blue, which defeated Gary Kasparov at chess.
Carla P. Gomes
INFO372
1999: Remote Agent takes
Deep Space 1 on a galactic ride
Goals
Scripts
Scripted
Executive
ESL
Mission-level
actions &
resources
Generative
Planner &
Scheduler
Generative
Mode Identification
& Recovery
component models
Monitors
Real-time Execution
Adaptive Control
Hardware
For two days in May, 1999, an AI Program called Remote Agent
autonomously ran Deep Space 1 (some 60,000,000 miles from earth)
Carla P. Gomes
INFO372
Remote Agent:
1999 Winner of NASA's Software of the Year Award
It's one small step in the history of space flight. But it was one giant leap for
computer-kind, with a state of the art artificial intelligence system
being given primary command of a spacecraft. Known as Remote Agent,
the software operated NASA's Deep Space 1 spacecraft and its futuristic ion
engine during two experiments that started on Monday, May 17, 1999.
For two days Remote Agent ran on the on-board computer of Deep Space 1,
more than 60,000,000 miles (96,500,000 kilometers) from Earth.
The tests were a step toward robotic explorers of the 21st century that are
less costly, more capable and more independent from ground control.
http://ic.arc.nasa.gov/projects/remote-agent/index.html
Carla P. Gomes
INFO372
2000: SCIFINANCE
synthesizes programs for financial modeling
• Develop pricing models
for complex derivative
structures
• Involves the solution of a
set of PDEs (partial
differential equations)
• Integration of objectoriented design, symbolic
algebra, and plan-based
scheduling
Carla P. Gomes
INFO372
Proverb 1999: Solving Crossword Puzzles as
Probabilistic Constraint Satisfaction
Proverb solves
crossword puzzles
better than most
humans
Michael Littman et a. 99
Carla P. Gomes
INFO372
Robocup @ Cornell
199
http://www.mae.cornell.edu/raff/MultiAgentSystems/MultiAgentSystems.htm
Carla P. Gomes
INFO372
2003 Robocup Italy
Carla P. Gomes
INFO372
2005 Autonomous Control:
DARPA GRAND CHALLENGE
October 9, 2005
Stanley and the Stanford RacingTeam
were awarded 2 million dollars for being the
first team to complete the 132 mile
DARPA Grand Challenge course (Mojave Desert).
Stanley finished in just under 6 hours 54 minutes
and averaged over 19 miles per hours on the course.
Carla P. Gomes
INFO372
Carla P. Gomes
INFO372
Course Themes, Goals, and Syllabus
Carla P. Gomes
INFO372
Goals of INFO 372
Introduce the students to a range of computational modeling
approaches and solution strategies using examples from AI and
Information Science.
Formalisms:
Logical representations;
Constraint-based languages,
Mathematical programming;
Multi-agent formalisms (including adversarial games);
Solution strategies:
Logical inference;
General complete backtrack search;
Local search;
Dynamic Programming;
Carla P. Gomes
INFO372
Goals of INFO 372
Special models:
Satisfiability (SAT); Maximum SAT; Horn
Constraint Satisfaction; Binary Constraint Satisfaction;
Mixed Integer Programming, Linear Programming and
Network Flow Models;
Themes:
Expressiveness and efficiency tradeoffs of the various representation
formalisms
Students learn about the tradeoffs in modeling choices.;
Concrete examples to move from one representation modeling
formalism to another formalism;
Carla P. Gomes
INFO372
Summary
Discussed Artificial Intelligence and characteristics
of intelligent systems.
Gave series of example systems, involving e.g.
game playing, automated reasoning, and planning.
Computers are getting smarter !!!
Suggested Reading: Chapter 1 Russell & Norvig
Carla P. Gomes
INFO372
The END
Carla P. Gomes
INFO372