+ All Categories
Home > Documents > Artificial Intelligence: Everything You Need to Know in 90...

Artificial Intelligence: Everything You Need to Know in 90...

Date post: 14-Nov-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
71
Artificial Intelligence: Everything You Need to Know in 90 Minutes Mark Maloof Department of Computer Science Georgetown University Washington, DC 20057-1232 http://www.cs.georgetown.edu/ ~ maloof Governing Emerging Technologies (CCTP-779) 5 October 2015
Transcript
Page 1: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence:Everything You Need to Know in 90 Minutes

Mark Maloof

Department of Computer ScienceGeorgetown University

Washington, DC 20057-1232http://www.cs.georgetown.edu/~maloof

Governing Emerging Technologies (CCTP-779)

5 October 2015

Page 2: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Outline

I What is AI?

I Computation, Algorithms, Turing Machines, and Limits

I Logic, Probability, Numbers, and Logic and Probability

I Hypercomputation (and pseudo-hyper computation!)

I Stanley: A reason to be optimistic

I What about me!?

I Bring it on home

Page 3: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

What is AI?

Page 4: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

McCarthy et al., 1955

I “The study is to proceed on the basis of the conjecture thatevery aspect of learning or any other feature of intelligencecan in principle be so precisely described that a machine canbe made to simulate it.”

Page 5: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Haugeland, 1985

I “The exciting new effort to make computers think...machineswith minds, in the full and literal sense.”

Page 6: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Charniak and McDermott, 1985

I “...the study of mental faculties through the use ofcomputational models.”

Page 7: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Rich and Knight, 1992, 2009

I “The study of how to make computers do things at which, atthe moment, people are better.”

Page 8: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Nilsson, 1998

I “Artificial intelligence, broadly (and somewhat circularly)defined, is concerned with intelligent behavior in artifacts.Intelligent behavior, in turn, involves perception, reasoning,learning, communicating, and acting in complexenvironments.”

Page 9: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Russell and Norvig’s Four Approaches

1. Think like a human

2. Act like a human

3. Think rationally

4. Act rationally

Page 10: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Think Like A Human

I “...machines with minds, in the full and literal sense”

I Put simply, program computers to do what the brain does

I How do humans think?

I What is thinking, intelligence, consciousness?

I If we knew, can computers do it, think like humans?

I Does the substrate matter, silicon versus meat?

I Computers and brains have completely different architectures

I Is the brain carrying out computation?

I If not, then what is it?

I Can we know ourselves well enough to produce intelligentcomputers?

Page 11: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Act Like A HumanTuring Test

Source: http://en.wikipedia.org/wiki/Turing test

Page 12: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Obligatory xkcd Comic

Source: http://xkcd.com/329/

Page 13: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

The Brilliance of the Turing Test

I Sidesteps the hard questions:I What is intelligence?I What is thinking?I What is consciousness?

I If humans can’t tell the difference between human intelligenceand artificial intelligence, then that’s it

I Proposed in 1950, Turing’s Imitation Game is still relevant

Page 14: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Think Rationally

I Think rationally? Think logic!I Put simply, write computer programs that carry out logical

reasoningI Logic: propositional, first-order, modal, temporal, . . .I Reasoning: deduction, induction, abduction, . . .

I Possible problem: Humans don’t really think logically

I Do we care? Strong versus weak AI

I One problem: often difficult to establish the truth or falsity ofpremises

I Another: conclusions aren’t strictly true or false

Page 15: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Act Rationally

I Act rationally? Think probability and decision theory!

I “A rational agent is one that acts so as to achieve the bestoutcome or, when there is uncertainty, the best expectedoutcome” (Russell and Norvig, 2010, p. 4)

I <jab>“when there is uncertainty”</jab>

I When isn’t there uncertainty?

I Predominant approach to AI (for now)

Page 16: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Computation!

Page 17: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Binary

I Everything in a computer is binary: 0 or 1I Start with one wire and two voltage levels:

I 0–2 volts ⇒ 0I 3–5 volts ⇒ 1

I One wire ≡ one binary digit ≡ one bitI What can you do?

I change 0 to 1I change 1 to 0

I This state change is computation at its most basic level

I Not very interesting, but wait! There’s more!

Page 18: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Bits, Bytes, and Gigs

I Why limit ourselves to one wire?I One wire ≡ bitI Eight wires ≡ byte, 28 = 256

I Most computers and smartphones are 64-bit devicesI 264 = 18, 446, 744, 073, 709, 551, 616

I Implications:I What the device can store at each memory location (word size)I How many memory locations the device can address (address

size)

Page 19: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Binary Representations of Stuff

I Everything in a computer is coded in a binary representationI integers: 7 ≡ 0100I real numbers −2.7 ≡ −27× 10−1 ≡ 111011100001

I −27 × 10−1 ≡ 1 11011 1 00001

I characters ‘A’ ≡ 65 ≡ 01000001I sequence of charactersI color: integers for red, blue, green intensityI images: two-dimensional organization of colorsI video: sequence of images

I Critical point: Every operation is a numeric computation,even if it involves changing your last name.

Page 20: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

NOT

A out

0 11 0

Page 21: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

AND

A B Q

0 0 00 1 01 0 01 1 1

Page 22: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Computation: Beautiful NAND

inputs outputA B Q

0 0 10 1 11 0 11 1 0

Page 23: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

NAND is Cool!

I NAND is functionally completeI Anything computable can be computed using only NAND gates

I This is not controversialI It’s descriptive, but it’s not constructive

I Tells you that, but not how

I So is the brain carrying out computation?

I That’s the difficult question

I You can’t just answer no

I You have to explain that not-computation process

I That’s even more difficult

Page 24: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

What is Computation?

I “The ‘computable’ numbers may be described briefly as thereal numbers whose expressions as a decimal are calculable byfinite means” (Turing, 1936)

I Therefore, computation is the means of calculating suchcomputable numbers

I What is a computable number?

I What is not a computable number?

Page 25: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesBasic Ideas

I A Turing machine is a mathematical model of computation

I Turing machines can compute anything

I They can produce any computable number

Page 26: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesPictorially

a1 a2 ... ai ... an B B

Finite

Controlinitial state

final states

...

headsymbol

tape

blank

state register

transition function

Source: Hopcroft and Ullman (1979, Fig. 7.1, p. 148)

Page 27: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesFormally

I Formally, following Hopcroft and Ullman (1979), a Turingmachine is the 7-tuple

M = 〈Q, Γ,B,Σ, δ, q0,B,F 〉 ,

whereI Q is the finite set of states,I Γ is the alphabet, a finite set of allowable tape symbols,I B is the blank symbol, which is included in Γ,I Σ is the set of input symbols, which is a subset of Γ excluding

B,I δ is the transition function, which is a mapping from Q × Γ to

Q × Γ× {L,R},I q0 is the start state and is in Q,I F is the set of final states and is a subset of Q.

Page 28: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM for AND

I States: Q = {a, b, c , d , e}I Alphabeta: Γ = {0, 1,B}I Input symbols: Σ = {0, 1}I Transition function: δ =

symbolstate 0 1

a c, 0, L b, 1, Lb d, B, R e, B, Rc e, B, R e, B, Rd — e, 0, Re — —

I Start state: q0 = a

I Final states: F = {e}

Page 29: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM State Diagram for AND

b

d

c e

a>

0:0,L

1:1,L

0,1:B,R

1:0,R

0:B,R

1:B,R

Page 30: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM Computation of AND

b

d

c e

a>

0:0,L

1:1,L

0,1:B,R

1:0,R

0:B,R

1:B,R

I Computation (1 AND 1 = 1):

a11 → 1b1

→ e1B

Page 31: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM Computation of AND

b

d

c e

a>

0:0,L

1:1,L

0,1:B,R

1:0,R

0:B,R

1:B,R

I Computation (0 AND 1 = 0):

a01 → 0c1

→ e0B

Page 32: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM Computation of AND

b

d

c e

a>

0:0,L

1:1,L

0,1:B,R

1:0,R

0:B,R

1:B,R

I Computation (1 AND 0 = 0):

a10 → 1b0

→ d1B

→ e0B

Page 33: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Turing MachinesTM Computation of AND

b

d

c e

a>

0:0,L

1:1,L

0,1:B,R

1:0,R

0:B,R

1:B,R

I Computation (0 AND 0 = 0):

a00 → 0c0

→ e0B

Page 34: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Algorithms

I An algorithm is a formal, step-by-step process foraccomplishing a computational task in a finite amount of time

I Critical elements:I StatementsI Sequences of statementsI Select whether to execute a sequenceI Loop over a sequence until satisfying some condition

Page 35: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

The Church-Turing Thesis

I Algorithms and Turing machines are equivalent

Page 36: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

What about Programs?

I Turing Machines ≡ Algorithms ≈ Programs ≡ NAND GatesI Why?

I Programs are implementations of algorithmsI Turing machines have infinite memoryI Computers have finite memory (word size, address space)I Finite-length binary numbers only approximate real numbersI Therefore, computers approximate Turing machinesI Does this matter? Probably not.I Computers are getting damn powerfulI By the way, brains are also finite...

Page 37: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Uncomputability or Undecidability

I Perhaps a bigger problem: Not everything is computable

I That is, there are limits on what is computableI Problems are decidable, undecidable, and semi-decidable

I decidable: for all possible inputs, an algorithm exists thatreturns success or failure

I undecidable: for all possible inputs, no algorithm exists thatalways returns success or failure

I semi-decidable: more complicated, but let’s say it’s analgorithm that always returns success and either returns failureor does not halt (i.e., loops forever)

I Godel, Post, Church, Turing, and others

Page 38: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

The Halting Problem

I Formal algorithms for decidable problems halt and returneither success or failure

I The Halting Problem:I There can be no algorithm that takes as input any other

algorithm and returns success if the input algorithm haltsI There can be no Turing machine that takes as input any other

Turing machine and returns success if the input Turingmachines halts

Page 39: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Some Big Questions

I Is intelligence a computable function?I Put another way: Is the brain a Turing machine?I Put another way: Can we duplicate the brain’s processing?I What are the implications of the Halting Problem or is it a red

herring?

I Are we relegated to simulate some or all of the brain’sfunction?

I The answer for ‘some’ is un-controversially yes.I All? Maybe.

I If the brain is not computing, what is it doing?

I Is the “binary approximation” of the world a problem?

Page 40: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Hypercomputation

I “The new field of hypercomputation studies models ofcomputation that can compute more than the Turing machineand addresses their implications” (Ord, 2002)

I Computers ≈ Turing machines < Hypercomputers

I On the other hand, “...there is no such discipline ashypercomputation” (Davis, 2006)

I Furthermore, Turing was not an idiot

Page 41: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Hypercomputation in a Nutshell

I Computers and Turing machines are digital (i.e., binary)I The brain is analog (i.e., continuous)

I what about spike trains?

I Digital is only an approximation to analogI yeah, but, sampling theorems!

I Approximation matters for some peopleI are we watching reality or just a movie?I is it chicken or does it taste like chicken?

I For some, approximation means Turing machines can’t beminds

I Perhaps a device carrying out hypercomputation could

I But there are not yet any sufficiently powerful hypercomputers

I ...except, of course, the brain

I That is, brains perform hypercomputation; Turing machinescan not; therefore, Turing machines can not be minds

Page 42: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence

Page 43: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence

Page 44: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence

Page 45: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence

Page 46: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stanley: A Reason to be Optimistic

I A self-driving car, a precursor to Google’s self-driving car

I In 2005, drove a 175-mile course in the Mojave Desert

I Unaided by humans, who had only two-hours prior notice ofthe route

I Stanley used terrain maps to plan its overall route

I As it drove, it relied on its own analysis of “analytical relationsand truths” to anticipate what lay ahead, by navigating theroad itself, assessing its condition, and avoiding obstacles

Page 47: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Video: The Great Robot Race

Page 48: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stanley

Source: Thrun (2010, Figure 2)

Page 49: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stanley

Source: Thrun (2010, Figure 7)

Page 50: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stanley

Source: Thrun (2010, Figure 9a)

Page 51: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stanley

Source: Thrun (2010, Figure 13)

Page 52: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

What about Me?

Page 53: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Machine LearningOr Pick Your Favorite Term...

I Given data, develop or use computational methods to buildmodels that

1. predict something about new data2. provide a better understanding of the data itself

I I do the first thing

Page 54: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Learning MethodsThree Components

1. representation language: the language used to build modelsI first-order logicI prior and class-conditional probability distributions

2. training algorithm: uses training examples to induce a modelI generate clauses consistent with the examplesI find maximum-likelihood estimates for prior and

class-conditional distributions

3. prediction algorithm: uses the model to output a predictionfor an observation

I use logical deduction to make a predictionI use Bayes’ rule to make the most probable prediction

Page 55: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Example of Classification

I Task: predict political party based on voting recordI Data Set: 1984 US Congressional Voting Record

ph

ysic

ian

-fee

-fre

eze

mx-

mis

sile

imm

igra

tio

n

(12

oth

ers)

crim

e

party

n n y n democratn n y y democrat

. . . . . . . . . . . . . . . . . .y y n y republicany n y y republican

I Rule: if (physician-fee-freeze = y) and

(synfuels-corporation-cutback = n) then party = republican;

otherwise, party = democrat

Page 56: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Example of a Decision Tree

synfuels-corporation-cutback

physician-fee-freeze

republican

democrat

democrat

YN

YN

Page 57: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Batch versus On-line Learning

I Batch learning: When one can collect all examples for learningbefore applying the method

I Examples:I predict if mushrooms are poisonous (no new mushrooms)I predict political party based on last year’s votes (all the votes

have been cast)

I On-line learning: Examples arrive over time in a stream

I Also known as incremental learningI Examples:

I predict preferences for scheduling meetingsI predict importance of e-mail

I What happens if the target concept changes?

Page 58: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Concept Drift

I Concretely: An example has a legitimate label at one timeand a different legitimate label at another time (cf. noise)

I Bayesian Decision Theory: a change inI the prior distributionI the class-conditional distributionI both distributions

I Geometrically: target concept in the input space changes itsI sizeI shapeI locationI some combination of these

I Also known as shifting targets, non-stationary environments,time-changing data streams, evolving data streams

Page 59: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stagger Concepts

S M LTCR

CT

R

CR

T

Size

Red

Green

Blue

ShapeColor

S M LTCR

CT

R

CR

T

Size

Red

Green

Blue

ShapeColor

S M LTCR

CT

R

CR

T

Size

Red

Green

Blue

ShapeColor

Time steps 1–40: Time steps 41–80: Time steps 81–120:red ∧ small green ∨ circle medium ∨ large

Page 60: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Insights into PerformanceClassifier Trained on Examples from a Single Target Concept

10

20

30

40

50

60

70

80

90

100

0 5 10 15 20 25 30 35 40

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

Naive Bayes, Single Concept

Page 61: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Insights into PerformanceClassifier Trained on All Examples Over Three Different Target Concepts

10

20

30

40

50

60

70

80

90

100

0 20 40 60 80 100 120

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

Naive Bayes on All Examples

Page 62: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Insights into PerformanceClassifier Trained on Examples from Each Target Concept

10

20

30

40

50

60

70

80

90

100

0 20 40 60 80 100 120

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

Naive Bayes on Each Concept

Page 63: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Insights into PerformanceOverlay of the Previous Two Plots

10

20

30

40

50

60

70

80

90

100

0 20 40 60 80 100 120

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

Naive Bayes on Each ConceptNaive Bayes on All Examples

Page 64: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stagger Concepts

10

20

30

40

50

60

70

80

90

100

0 20 40 60 80 100 120

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

DWM-NBNaive Bayes on Each ConceptNaive Bayes on All Examples

Bach and Maloof (2008)

Page 65: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Dynamic Weighted Majority

I Objective:I Build up a weighted pool of consultantsI Make predictions based on their weighted advice

I Start with a “consultant” who is paid $1

I When presented with a decision, ask the consultant for advice

I Predict based on the adviceI If the advice is incorrect then

I cut the consultant’s pay in halfI hire a new consultant and pay her $1

I Give feedback to all consultants so they can learn how not tobe stupid

I For bad advice, cut pay and hire new consultants

I Predict based on consultants’ weighted advice

Page 66: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Stagger Concepts

10

20

30

40

50

60

70

80

90

100

0 20 40 60 80 100 120

Pred

ictiv

e A

ccur

acy

(%)

Time Step (t)

DWM-NBNaive Bayes on Each ConceptNaive Bayes on All Examples

Bach and Maloof (2008)

Page 67: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

What I Told You

I What is AI?

I Computation, Algorithms, Turing Machines, and Limits

I Logic, Probability, Numbers, and Logic and Probability

I Hypercomputation (and pseudo-hyper computation!)

I Stanley: A reason to be optimistic

I All about me!!

I Brought it on home

Page 68: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

A Parting Shot: Tesler’s Theorem

I “Intelligence is whatever machines haven’t done yet.”

I Commonly quoted as “AI is whatever hasn’t been done yet.”

Page 69: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Questions?

Page 70: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

Artificial Intelligence:Everything You Need to Know in 90 Minutes

Mark Maloof

Department of Computer ScienceGeorgetown University

Washington, DC 20057-1232http://www.cs.georgetown.edu/~maloof

Governing Emerging Technologies (CCTP-779)

5 October 2015

Page 71: Artificial Intelligence: Everything You Need to Know in 90 Minutespeople.cs.georgetown.edu/~maloof/pubs/maloof.cctp779.f15.pdf · 2015. 9. 30. · I Everything in a computer is binary:

References I

S. H. Bach and M. A. Maloof. Paired learners for concept drift. In Proceedings of the Eighth IEEE InternationalConference on Data Mining, pages 23–32, Los Alamitos, CA, 2008. IEEE Press.

E. Charniak and D. McDermott. Introduction to Artificial Intelligence. Addison-Wesley, Reading, MA, 1985.

M. Davis. Why there is no such discipline as hypercomputation. Applied Mathematics and Computation, 178(1):4–7, 2006. doi: http://dx.doi.org/10.1016%2Fj.amc.2005.09.066.

J. Haugeland. Artificial intelligence: The very idea. MIT Press, Cambridge, MA, 1985.

J. E. Hopcroft and J. D. Ullman. Introduction to Automata Theory, Languages, and Computation.Addison-Wesley, Reading, MA, 1979.

J. McCarthy, M. I. Minsky, N. Rochester, and C. E. Shannon. A proposal for the Dartmouth summer researchproject on artificial intelligence, 1955. URLhttp://www-formal.stanford.edu/jmc/history/dartmouth/dartmouth.html. [Online; accessed 7 August2014].

N. J. Nilsson. Artificial Intelligence: A New Synthesis. Morgan Kaufmann, San Francisco, CA, 1998.

T. Ord. Hypercomputation: Computing more than the Turing machine. Technical Report arXiv:math/0209332[math.LO], arXiv, 2002. URL http://arxiv.org/abs/math/0209332. [Online; accessed 8 October 2014].

E. Rich and K. Knight. Artificial intelligence. McGraw-Hill, New York, NY, 2nd edition, 2009.

E. Rich, K. Knight, and S. B. Nair. Artificial intelligence. Tata McGraw-Hill, New Delhi, 3rd edition, 2009.

S. J. Russell and P. Norvig. Artificial Intelligence: A Modern Approach. Prentice Hall, Upper Saddle River, NJ, 3rdedition, 2010.

J. C. Schlimmer and R. H. Granger. Beyond incremental processing: Tracking concept drift. In Proceedings of theFifth National Conference on Artificial Intelligence, pages 502–507, Menlo Park, CA, 1986. AAAI Press.

S. Thrun. Toward robotic cars. Communications of the ACM, 53(4):99–106, 2010. URLhttp://cacm.acm.org/magazines/2010/4/81485-toward-robotic-cars/.

A. M. Turing. On computable numbers, with an application to the Entscheidungsproblem. Proceedings of theLondon Mathematical Society, 2(42):230–265, 1936.


Recommended