can computers think

43
Can computers think ? Krishnan GTC talk Sept. 18,2011

Upload: gtclub

Post on 18-May-2015

1.159 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Can computers think

Can computers think ?

Krishnan

GTC talk

Sept. 18,2011

Page 2: Can computers think

Classic book on the subject

Page 3: Can computers think

Machines vs. Humans

• Machinery outperforms us in physical ways– Cars outrun us– Planes can fly, we cant

• This doesn’t disturb us

• Is thinking a human prerogative ?– Can mechanical devices out think us

Page 4: Can computers think

What can computers do better ?

• Computations on large numbers– E.g. Multiplying two 100 digit numbers

• Play chess (and other games)

• Answer natural language questions– IBM Watson

• House cleaning robots ?

• But does this mean they are intelligent ?

Page 5: Can computers think

Advertisement

Will you buy ?

Thinking Computer : Rs. 100,000

Page 6: Can computers think

What is intelligence ?

• Newell and Simon - the use and manipulation of various symbol systems, such as those featured in mathematics or logic

• Large debate in the AI, Psychology, Philosophy community

Page 7: Can computers think

Alan Turing

• British scientist– Helped solved the Enigma

Machine (WWII)– Advances in Probability Theory

• Invented the theory behind computers– Turing Machine– Turing Test

Page 8: Can computers think

The imitation game

• Proposed by Alan Turing in 1950• It is played with three people, a man (A), a

woman (B), and an interrogator (C) who may be of either sex. The interrogator stays in a room apart from the other two.

• The object of the game for the interrogator is to determine which of the other two is the man and which is the woman. He knows them by labels X and Y, and at the end of the game he says either ‘‘X is A and Y is B’’ or ‘’X is B and Y is A.

Page 9: Can computers think

Turing test: Distinguish man and machine

What would it take for a computer’s thoughts to be indistinguishable from a human’s?

Page 10: Can computers think
Page 11: Can computers think

Chinese Room• The system comprises:

– a human, who only understands English– a rule book, written in English– two stacks of paper.

• One stack of paper is blank. • The other has indecipherable symbols on them.

• In computing terms – the human is the CPU– the rule book is the program – the two stacks of paper are storage devices.

• The system is housed in a room that is totally sealed with the exception of a small opening.

Page 12: Can computers think

Chinese Room: Process• The human sits inside the room

waiting for pieces of paper to be pushed through the opening.

• The pieces of paper have indecipherable symbols written upon them.

• The human has the task of matching the symbols from the "outside" with the rule book.

• Once the symbol has been found the instructions in the rule book are followed.

– may involve writing new symbols on blank pieces of paper,

– or looking up symbols in the stack of supplied symbols.

• Eventually, the human will write some symbols onto one of the blank pieces of paper and pass these out through the opening.

Page 13: Can computers think

Chinese Room: Summary

• Simple Rule processing system but in which the “rule processor” happens to be intelligent but has no understanding of the rules

• The set of rules might be very large

• But this is philosophy and so ignore the practical issues

Page 14: Can computers think

Searle’s Claim

• We have a system that is capable of passing the Turing Test and is therefore intelligent according to Turing.

• But the system does not understand Chinese as it just comprises a rule book and stacks of paper which do not understand Chinese.

• Therefore, running the right program does not necessarily generate understanding.

Page 15: Can computers think

Strong AI

• Strong AI is artificial intelligence that matches or exceeds human intelligence

• The intelligence of a machine can successfully perform any intellectual task that a human being can

• Advocates of "Strong AI" believe that computers are capable of true intelligence

• They argue that what intelligence is strictly algorithmic, i.e., a program running in a complex, but predictable, system of electro-chemical components (neurons).

Page 16: Can computers think

Strong AI

• Many supporters of strong AI believe that the computer and the brain have equivalent computing power

• With sufficient technology, it will someday be possible to create machines that have the same type of capabilities as humans

• However, Strong AI's reduction of consciousness into an algorithm is difficult for many to accept

• Proponents are: Ray Kurzweil, Marvin Minsky etc.

Page 17: Can computers think

Weak AI

• The Weak AI thesis claims that machines, even if they appear intelligent, can only simulate intelligence

• They will never actually be aware of what they are doing

• Some weak AI proponents believe that human intelligence results from a superior computing mechanism which, while exercised in the brain, will never be present in a Turing-equivalent computer

• Roger Penrose is a proponent of Weak AI

Page 18: Can computers think

What can a computer compute ?

• Hardware – circuits, gates, wires• Software – Program that runs on the

hardware• Turings remarkable discovery – All

computing machines are equivalent in what they can do– Though speeds may differ

• All computers are equivalent to a Universal Turing machine

Page 19: Can computers think

Algorithms

• The word comes from the Persian mathematician Abu Jafar Mohammed ibn Musa al Khowarizm

• He wrote a book– Kitab Al-jabr wal-muqabala

• Example algorithm– Euclids algorithm for highest common factor

of two numbers

Page 20: Can computers think

Euclid’s algorithm

This is a systematic procedure that will work for any two positive integers

Page 21: Can computers think

David Hilbert(1862-1943)

Hilbert's programme:

•To establish the foundations of mathematics, in particular by clarifying and justifying use of the infinite:

``The definitive clarification of the nature of the infinite has become necessary, not merely for the special interests of the individual sciences but for the honour of human understanding itself.''

•Aimed to reconstitute infinitistic mathematics in terms of a formal system which could be proved (finitistically) consistent, complete and decidable.

Page 22: Can computers think

•Consistent: It should be impossible to derive a contradiction (such as 1=2).

•Complete: All true statements should be provable.

•Decidable: There should be a (definite, finitary, terminating) procedure for deciding whether or not an arbitrary statement is provable. (The Entscheidungsproblem)

There is the problem. Seek its solution. You can find it by pure reason, for in mathematics there is no ignorabimus.

Wir müssen wissen, wir werden wissen

Page 23: Can computers think

Bertrand Russell(1872-1970)

Alfred Whitehead(1861-1947)

•Russell's paradox showed inconsistency of naive foundations such as Frege's: {X | XX}

•"The set of sets which are not members of themselves"

•Theory of Types and Principia Mathematica (1910,1912,1913)

Page 24: Can computers think

Kurt Gödel(1906-1978)

•Uber formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme (1931)

•Any sufficiently strong, consistent formal system must be

•Incomplete

•Unable to prove its own consistency

Page 25: Can computers think

Alan Turing(1912-1954)

•On computable numbers with an application to the Entscheidungsproblem (1936)

• Church, Kleene, Post

Page 26: Can computers think
Page 27: Can computers think

Turing machine

• Imagine a device for carrying out a computational procedure (like Euclid’s algorithm)

• What is the general form such a machine can take ?– Machine should have discrete states (large but finite

in number)– Input/Output of unrestricted size– Finite number of states implies cannot internalize the

data

Page 28: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

28

A Turing Machine

............Tape

Read-Write headControl Unit

Page 29: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

29

The Tape

............

Read-Write head

No boundaries -- infinite length

The head moves Left or Right

Page 30: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

30

............

Read-Write head

The head at each time step:

1. Reads a symbol 2. Writes a symbol 3. Moves Left or Right

Page 31: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

31

............

Example:Time 0

............Time 1

1. Reads2. Writes

a a cb

a b k c

ak

3. Moves Left

Page 32: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

32

The Input String

............

Blank symbol

head

a b ca

Head starts at the leftmost positionof the input string

Input string

Page 33: Can computers think

Adapted from slide by Costas Busch, http://www.cs.rpi.edu/courses/fall01/modcomp/

33

States & Transitions

1q 2qLba ,

Read Write Move Left

1q 2qRba ,

Move Right

Page 34: Can computers think

John von Neumann architecture

Page 35: Can computers think

Ways that the brain differs from a conventional computer:

• Very few cycles available to make decisions• Massively parallel: 100 trillion interneuronal

connections• Combines digital & analog phenomena at

every level– Nonlinear dynamics can be modeled using digital

computation to any desired degree of accuracy– Benefits of modeling using transistors in their analog

native mode

35

Page 36: Can computers think

Ways that the brain differs from a conventional computer:

• The brain is self-organizing at every level• Great deal of stochastic (random within

controlled constraints) process in every aspect– Self-organizing, stochastic techniques are routinely

used in pattern recognition• Information storage is holographic in its

properties

36

Page 37: Can computers think

The brain’s design is a level of complexity we can

manage• Only about 20 megabytes of compressed design

information about the brain in the genome– A brain has ~ billion times more information than the genome

that describes its design

• The brain’s design is a probabilistic fractal• We’ve already created simulations of ~ 20 regions (out

of several hundred) of the brain

37

Page 38: Can computers think

Is the brain a computer ?

• If it is– then the limits of

computers are the limits of the brain

– A brain cannot do what a computer cannot

• Counter example: The halting problem

Page 39: Can computers think

What computers cannot do: The halting problem

• An example of something that is not computable.• Created by Turing in 1936 to define a problem which no

algorithmic procedure can solve.• Can we write a program that will take in a user's program

and inputs and decide whether – it will eventually stop, or– it will run infinitely in some infinite loop ?

• The answer is No; there is no procedural method for answering the halting problem

• Human beings can do this by inspection– Does this imply human brain can perform non-computational

procedures ?– If so what is the mechanism ?

Page 40: Can computers think

Penrose’s belief

• There is some part of conscious thinking that cannot be simulated on a computer

• What is it in the physics of the world that cannot be controlled computationally ?

• Is quantum mechanics the answer ?– In quantum mechanics, a particle can be in

two places at the same time– Quantum wave function collapse happens

when the particle is observed

Page 41: Can computers think

How are new ideas formed

• Physical brain activity—rapid trials of combinations of growing and contracting dendritic spines, which stretch out to the synapses that separate a nerve cell from its neighbor

• These take place below one graviton (particles that transmit gravity)

Page 42: Can computers think

How are new ideas formed ?

• How is a final dendrite construction settled on when our mind grasps a concept or glimpses a new symphonic work?

• Microtubules in brain orchestrate collapse of the quantum wave function

Page 43: Can computers think

Further readings

• http://www.brainpickings.org/index.php/2010/09/07/what-does-it-mean-to-be-human/