Top Banner
The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003
34

The Future of Artificial Intelligence 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: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future of Artificial Intelligence

John Paxton

Montana State University

August 14, 2003

Page 2: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Bannack

Page 3: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

What makes AI difficult?

• Different problems have inherently different complexities to solve.

Page 4: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Sorting Problem

• Input: 2 4 6 7 5 3 1

• Output: 1 2 3 4 5 6 7

Page 5: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Selection Sort

• Step 1: 2 4 6 7 5 3 1

• Step 2: 2 4 6 1 5 3 7

• Step 3: 2 4 3 1 5 6 7

• Step 4: 2 4 3 1 5 6 7

• Step 5: 2 1 3 4 5 6 7

• Step 6: 2 1 3 4 5 6 7

• Step 7: 1 2 3 4 5 6 7

Page 6: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Selection Sort

• If there are n items to sort, selection sort takes O(n2) time

• What does this mean? If we double the size of the input, we can expect the algorithm to take four times as long.

Page 7: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Quicksort

• O(n log2 n)

2 4 6 7 5 3 1

1 4 6 7 5 3

3 6 7 5

5 7

Page 8: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Quicksort

n n log2 n n2

10 33.22 100

100 66.44 10000

1000 99.66 1,000,000

10000 132.88 100,000,000

Page 9: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Sorting

• It can be proven that sorting n numbers based on comparisons has a best case of O(n log n).

• Thus, the inherent complexity of sorting is O(n log n), even though worse algorithms such as selection sort exist.

Page 10: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Class P

• P = Polynomial

• Any problem whose inherent complexity is O(np) where p is a constant is in the class P.

• Problems that are in P typically are practical to solve on computers.

Page 11: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Travelling Salesperson Problem

• Starting in City A, what is the shortest circuit that visits cities B, C, and D?

• A – B – C – D – A• A – B – D – C – A• A – C – B – D – A• A – C – D – B – A• A – D – B – C – A• A – D – C – B - A

Page 12: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

TSP

• In the preceding problem, there were 4 cities and 3! possible solutions

• In general, if there are n cities, one must consider (n-1)! possibilities.

• (n-1)! is not O(np) for any fixed p. (n-1)! is in the EXP class.

• Each problem in the EXP class is O(pn) for some fixed p.

Page 13: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Comparison

n n2 (n-1)!

5 25 24

10 100 362,880

15 225 8.7E10

20 400 1.2E17

Page 14: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Class EXP

• As you can see from the preceding table, problems that are in the class EXP do not have practical solutions on computers

Page 15: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Relevance to AI

• Unfortunately, many interesting problems in AI are in the class EXP.

• For example, the TSP problem.

Page 16: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Satisficing

• What can be done?

• Instead of settling for the optimal answer, look for a “pretty good” solution instead. This technique is also known as satisficing.

Page 17: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Satisficing Example

Page 18: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Heuristics

• A “heuristic” is a rule-of-thumb that works in practice, but has no guarantee of being optimal.

Page 19: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Water Jug Problem

• Place 6 liters of water in the 8 gallon jug in as few steps as possible

8 3

Page 20: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Water Jug Problem

• Place 8 liters of water in the 10 gallon jug in as few steps as possible

10 4

Page 21: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Water Jug Problem

• Place 10 liters of water in the 15 gallon jug in as few steps as possible

15 5

Page 22: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Past AI Predictions

• Game Playing. Researchers thought that AI chess playing programs would beat the best humans by 1970.

• Machine Translation.– The spirit is willing, but the flesh is weak.– The whisky is strong, but the meat is rotten.

Page 23: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Objections to AI

• Theology• Heads-in-the-Sand• Mathematical• Self Awareness• Capability X is lacking (e.g. enjoy ice cream)• Lady Lovelace’s objection• Continuity of nervous system• Informality of behavior (no rules)• ESP

Page 24: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Consumer Robots

Page 25: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Gastrobots (University of South Florida)

• Sustain themselves by eating naturally occurring foods

Page 26: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• COG, a robot at MIT

• Track eye movement• Recognize faces• Grab objects• Hear a rhythm, play it

back on drums

Page 27: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Art – Raymond Kurzweil’s screensaver program, Aaron

• Poetry

• Music

Page 28: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Natural Language

• Charles Schwab incorporates iPhrase at its web site to allow users to use natural language to ask questions. For example, “Which of these stocks has the highest revenues?”

Page 29: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Products that do one thing well.

• For example, Continental Divide Robotics has developed a system based on GPS that can locate any person or any object anywhere in the world and notify a user if it is “out of bounds”. This could help a parent monitor a child, for example.

Page 30: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Companionship

• At Microsoft, a product is under development that learns about you. Who is important to you? Are you busy? The product can then monitor incoming e-mails and phone calls.

Page 31: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future• Virtual Reality

• Haptek, People Putty

• Create your own 3-D interactive characters

Page 32: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• Computers will get faster

• Software will get better

• AI will creep closer to human capabilities (search, learning, knowledge representation)

Page 33: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

The Future

• There are lots of potential benefits!

• There are certainly some potential drawbacks!

• Most AI researchers believe humans will stay in control

Page 34: The Future of Artificial Intelligence John Paxton Montana State University August 14, 2003.

Questions?