csc411artificial intelligence 1 chapter 1 artificial intelligence: its roots and scope 1.from eden...

21
CSC411 CSC411 Artificial Intelligence Artificial Intelligence 1 Chapter 1 Chapter 1 Artificial Intelligence: Artificial Intelligence: Its Roots and Scope Its Roots and Scope 1. From Eden to ENIAC: Attitudes toward intelligence, Knowledge, and Human Artifice 2. Overview of AI Application Areas 3. Artificial Intelligence – A Summary Contents:

Upload: alexander-page

Post on 25-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 11

Chapter 1Chapter 1

Artificial Intelligence: Artificial Intelligence: Its Roots and ScopeIts Roots and Scope

1. From Eden to ENIAC: Attitudes toward intelligence, Knowledge, and Human Artifice

2. Overview of AI Application Areas 3. Artificial Intelligence – A Summary

Contents:

Page 2: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 22

An Attempted DefinitionAn Attempted DefinitionAIAI – – the branch of computer science that is concerned with the branch of computer science that is concerned with the automation of intelligent behaviorthe automation of intelligent behavior– Sound theoretical and applied principlesSound theoretical and applied principles– Data structures for knowledge representationData structures for knowledge representation– Algorithms of applying knowledgeAlgorithms of applying knowledge– Languages for algorithm implementationLanguages for algorithm implementation

ProblemProblem– What is Intelligence?What is Intelligence?

This course discussesThis course discusses– The collection of problems and methodologies studied by AI The collection of problems and methodologies studied by AI

researchersresearchers

Page 3: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 33

Brief Early History of AIBrief Early History of AIAristotle – 2000 years agoAristotle – 2000 years ago– The nature of worldThe nature of world– LogicsLogics– Modus ponens and reasoning systemModus ponens and reasoning system

Bacon – 1620sBacon – 1620s– SearchSearch– InductionInduction

Calculating machinesCalculating machines– Ancient Chinese abacus (4000 years ago)Ancient Chinese abacus (4000 years ago)– John Napier – multiplication and exponents (1614)John Napier – multiplication and exponents (1614)– Pascal – Pascaline (1642, 1670)Pascal – Pascaline (1642, 1670)– Leibniz – Lebniz Wheel (1694)Leibniz – Lebniz Wheel (1694)

Descrates (1680)Descrates (1680)– Thought and mindThought and mind– Separate mind from physical worldSeparate mind from physical world– Mental processMental process

Page 4: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 44

Modern HistoryModern HistoryFormal logicFormal logic– LeibnizLeibniz– BooleBoole– GodelGodel– TuringTuring– Frege – first-order predicate calculusFrege – first-order predicate calculus

Graph theoryGraph theory– EulerEuler

State space searchState space search

Page 5: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 55

The Turing TestThe Turing Test

If the interrogator cannot distinguish the machine from the human, then the machine may be assumed to be intelligent.

The interrogator

•cannot see and speak to either

• does not know which is actually machine

•May communicate with them solely by textual device

Page 6: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 66

Models of IntelligenceModels of IntelligenceLogic ModelsLogic Models– Formal logicFormal logic– Probability logicProbability logic– Fuzzy logicFuzzy logic– Non-monotonic logic Non-monotonic logic

Biological ModelsBiological Models– Connectionist modelConnectionist model– Genetic algorithmsGenetic algorithms– EvolutionEvolution

Social ModelsSocial Models– Network modelsNetwork models– BehaviorsBehaviors

Agents -- CombinationAgents -- Combination

Page 7: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 77

Agents TheoriesAgents TheoriesIntelligence is reflected by a collective behaviors Intelligence is reflected by a collective behaviors of large numbers of very simple interacting, semi-of large numbers of very simple interacting, semi-autonomous individuals – agentsautonomous individuals – agentsVarious agentsVarious agents– Rote agentsRote agents– Coordination agentsCoordination agents– Search agentsSearch agents– Learning agentsLearning agents– Decision agentsDecision agents

Agents designAgents design– Structure for information representationStructure for information representation– Search strategiesSearch strategies– Architecture for supporting the interaction of agents Architecture for supporting the interaction of agents

Page 8: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 88

AI Research and Application AreasAI Research and Application AreasGame PlayingAutomated Reasoning and Theorem ProvingExpert SystemsNatural Language Understanding and Semantic ModellingModelling Human PerformancePlanning and RoboticsLanguages and Environments for AIMachine LearningAlternative Representations: Neural Nets and Genetic AlgorithmsAI and Philosophy

Page 9: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 99

Important Features of Artificial Important Features of Artificial IntelligenceIntelligence

1. The use of computers to do reasoning, pattern recognition, learning, or some other form of inference.

2. A focus on problems that do not respond to algorithmic solutions. This underlies the reliance on heuristic search as an AI problem-solving technique.

3. A concern with problem-solving using inexact, missing, or poorly defined information and the use of representational formalisms that enable the programmer to compensate for these problems.

4. Reasoning about the significant qualitative features of a situation.

Luger: Artificial Intelligence, 5th edition. © Pearson Education Limited, 2005

Page 10: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1010

Important Features of Artificial Important Features of Artificial Intelligence Intelligence (Cont.)(Cont.)

5. An attempt to deal with issues of semantic meaning as well as syntactic form.

6. Answers that are neither exact nor optimal, but are in some sense “sufficient”. This is a result of the essential reliance on heuristic problem-solving methods in situations where optimal or exact results are either too expensive or not possible.

7. The use of large amounts of domain-specific knowledge in solving problems. This is the basis of expert systems.

8. The use of meta-level knowledge to effect more sophisticated control of problem-solving strategies. Although this is a very difficult problem, addressed in relatively few current systems, it is emerging as an essential are of research.

Page 11: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1111

Part II: Part II:

Artificial Intelligence as Representation and SearchArtificial Intelligence as Representation and Search

Page 12: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1212

A proposal for the Dartmouth summer research project on Artificial Intelligence (url IIa).

We propose that a 2 month, 10 man [sic] study of artificial intelligence be carried out during the summer of 1956 at Dartmouth College in Hanover, New Hampshire. The study is to proceed on the basis of the conjecture that every aspect of learning or any other feature of intelligence can in principle be so precisely described that a machine can be made to simulate it. An attempt will be made to find how to make machines use language, form abstractions and concepts, solve kinds of problems now reserved for humans, and improve themselves. We think that a significant advance can be made in one or more of these problems if a carefully selected group of scientists work on it together for a summer.

J. McCARTHY, Dartmouth CollegeM.L. MINSKY, Harvard UniversityN. ROCHESTER, I.B.M CorporationC.E.SHANNON, Bell Telephone Laboratories

August 31, 1955

Page 13: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1313

Main topics for discussion at the AI conference, Dartmouth College 1956 (url IIa).

1. Automatic Computers

2. How Can a Computer be Programmed to Use a Language

3. Neuron Nets

4. Theory of the Size of a Calculation

5. Self-Improvement (Machine Learning)

6. Abstractions

7. Randomness and Creativity

Page 14: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1414

Representation SystemsRepresentation SystemsWhat is it?What is it?– Capture the essential features of a problem Capture the essential features of a problem

domain and make that information accessible domain and make that information accessible to a problem-solving procedureto a problem-solving procedure

MeasuresMeasures– Abstraction – how to manage complexityAbstraction – how to manage complexity– Expressiveness – what can be representedExpressiveness – what can be represented– Efficiency – how is it used to solve problemsEfficiency – how is it used to solve problems

Trade-off between efficiency and Trade-off between efficiency and expressivenessexpressiveness

Page 15: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1515

Different representations of the real number π.

Representation of Representation of

Page 16: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1616

• Array representation – 2D

• Image representation -- Digitized image of chromosomes in metaphase.

Image RepresentationImage Representation

Page 17: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1717

Logical Clauses describing some important properties and relationships

General rule

A blocks world

Block World RepresentationBlock World Representation

Page 18: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1818

Logical predicates representing a simple description of a bluebird.

Bluebird RepresentationsBluebird Representations

Semantic network description of a bluebird.

Page 19: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 1919

State Space SearchState Space SearchState spaceState space– State – any current representation of a problemState – any current representation of a problem– State spaceState space

All possible state of the problemAll possible state of the problemStart states – the initial state of the problemStart states – the initial state of the problemTarget states – the final states of the problem that has been solvedTarget states – the final states of the problem that has been solved

– State space graph State space graph Nodes – possible statesNodes – possible statesLinks – actions that change the problem from one state to anotherLinks – actions that change the problem from one state to another

State space searchState space search– Find a path from an initial state to a target state in the state Find a path from an initial state to a target state in the state

spacespace– Various search strategiesVarious search strategies

Exhaustive search – guarantee that the path will be found if it Exhaustive search – guarantee that the path will be found if it exists exists

– Depth-firstDepth-first– Breath-firstBreath-first

Best-first searchBest-first search– heuristicsheuristics

Page 20: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 2020

Portion of the state space for tic-tac-toe.

Tic-tac-toe State SpaceTic-tac-toe State Space

Page 21: CSC411Artificial Intelligence 1 Chapter 1 Artificial Intelligence: Its Roots and Scope 1.From Eden to ENIAC: Attitudes toward intelligence, Knowledge,

CSC411CSC411 Artificial IntelligenceArtificial Intelligence 2121

State space description of the automotive diagnosis problem.

Auto Diagnosis State SpaceAuto Diagnosis State Space