SlideShare a Scribd company logo
Gian Devi- Assistant Professor
Department of Computer Science
Govt College for Girls
Guugram
Introduction to Artificial
Intelligence
30th March 2020
Goals of this Course
• This class is a broad introduction to artificial
intelligence (AI)
o AI is a very broad field with many subareas
• We will cover many of the primary concepts/ideas
• But in 15 weeks we can’t cover everything
Class Web page
• https://highereduhry.webex.com/meet/gyaninsaa17
Today’s Lecture
• What is intelligence? What is artificial intelligence?
• A very brief history of AI
o Modern successes: Stanley the driving robot
• An AI scorecard
o How much progress has been made in different aspects of AI
• AI in practice
o Successful applications
• The rational agent view of AI
Artificial intellegence
What is Artificial
Intelligence?
The exciting new effort to make
computers think …
machines with minds,
in the full literal sense.
Haugeland, 1985
(excited but not really useful)
Some Definitions (I)
The study of mental faculties through the use
of computational models.
Charniak and McDermott, 1985
A field of study that seeks to explain and
emulate intelligent behavior in terms of
computational processes.
Schalkoff, 1990
(Applied psychology & philosophy?)
Some Definitions (II)
The study of how to make
computers do things at which, at
the moment, people are better.
Rich & Knight, 1991
(I can almost understand this one).
Some Definitions (III)
• Knowledge representation:
o propositional logic and first-order logic
o inference in Expert Systems
o Fuzzy logic
o Rough set
o Machine learning: classification trees
o Neural networks
o Others ?
Outline of the Course
What is Intelligence?
• Intelligence:
o “the capacity to learn and solve problems” (Websters dictionary)
o in particular,
• the ability to solve novel problems
• the ability to act rationally
• the ability to act like humans
• Artificial Intelligence
o build and understand intelligent entities or agents
o 2 main approaches: “engineering” versus “cognitive modeling”
What is Artificial
Intelligence?
(John McCarthy, Stanford University)
• What is artificial intelligence?
It is the science and engineering of making intelligent machines, especiallyintelligent
computer programs. It is related to the similar task of using computers to understand
human intelligence, but AI does not have to confine itself to methods that are
biologically observable.
• Yes, but what is intelligence?
Intelligence is the computational part of the ability to achieve goals in the world.
Varying kinds and degrees of intelligence occur in people, many animals and some
machines.
• Isn't there a solid definition of intelligence that doesn't depend on relating it to human
intelligence?
Not yet. The problem is that we cannot yet characterize in general what kinds of
computational procedures we want to call intelligent. We understand some of the
mechanisms of intelligence and not others.
• More in: http://www-formal.stanford.edu/jmc/whatisai/node1.html
What’s involved in
Intelligence?
• Ability to interact with the real world
o to perceive, understand, and act
o e.g., speech recognition and understanding and synthesis
o e.g., image understanding
o e.g., ability to take actions, have an effect
• Reasoning and Planning
o modeling the external world, given input
o solving new problems, planning, and making decisions
o ability to deal with unexpected problems, uncertainties
• Learning and Adaptation
o we are continuously learning and adapting
o our internal models are always being “updated”
• e.g., a baby learning to categorize and recognize animals
Academic Disciplines important to AI.
• Philosophy Logic, methods of reasoning, mind as physical
system, foundations of learning, language,
rationality.
• Mathematics Formal representation and proof,
algorithms,
computation, (un)decidability, (in)tractability,
probability.
• Economics utility, decision theory, rational economic
agents
• Neuroscience neurons as information processing units.
• Psychology/ how do people behave, perceive, process
Cognitive Science information, represent knowledge.
• Computer building fast computers
engineering
• Control theory design systems that maximize an objective
function over time
• Linguistics knowledge representation, grammar
History of AI
• 1943: early beginnings
o McCulloch & Pitts: Boolean circuit model of brain
• 1950: Turing
o Turing's "Computing Machinery and Intelligence“
• 1956: birth of AI
o Dartmouth meeting: "Artificial Intelligence“ name adopted
• 1950s: initial promise
o Early AI programs, including
o Samuel's checkers program
o Newell & Simon's Logic Theorist
• 1955-65: “great enthusiasm”
o Newell and Simon: GPS, general problem solver
o Gelertner: Geometry Theorem Prover
o McCarthy: invention of LISP
History of AI
• 1966—73: Reality dawns
o Realization that many AI problems are intractable
o Limitations of existing neural network methods identified
• Neural network research almost disappears
• 1969—85: Adding domain knowledge
o Development of knowledge-based systems
o Success of rule-based expert systems,
• E.g., DENDRAL, MYCIN
• But were brittle and did not scale well in practice
• 1986-- Rise of machine learning
o Neural networks return to popularity
o Major advances in machine learning algorithms and applications
• 1990-- Role of uncertainty
o Bayesian networks as a knowledge representation framework
• 1995-- AI as Science
o Integration of learning, reasoning, knowledge representation
o AI methods used in vision, language, data mining, etc
History of AI
• 1943 McCulloch & Pitts: Boolean circuit model of brain
• 1950 Turing's "Computing Machinery and Intelligence"
• 1956 Dartmouth meeting: "Artificial Intelligence"
adopted
• 1950s Early AI programs, including Samuel's checkers
program, Newell & Simon's Logic Theorist,
Gelernter's Geometry Engine
• 1965 Robinson's complete algorithm for logical
reasoning
• 1966—73 AI discovers computational complexity
Neural network research almost disappears
• 1969—79 Early development of knowledge-based systems
• 1980-- AI becomes an industry
• 1986-- Neural networks return to popularity
• 1987-- AI becomes a science
• 1995-- The emergence of intelligent agents
1. Modeling exactly how humans actually think
2. Modeling exactly how humans actually act
3. Modeling how ideal agents “should think”
4. Modeling how ideal agents “should act”
• Modern AI focuses on the last definition
o we will also focus on this “engineering” approach
o success is judged by how well the agent performs
Different Types of Artificial Intelligence
What’s involved in
Intelligence?
• Ability to interact with the real world
o to perceive, understand, and act
o e.g., speech recognition and understanding and synthesis
o e.g., image understanding
o e.g., ability to take actions, have an effect
• Reasoning and Planning
o modeling the external world, given input
o solving new problems, planning, and making decisions
o ability to deal with unexpected problems, uncertainties
• Learning and Adaptation
o we are continuously learning and adapting
o our internal models are always being “updated”
• e.g., a baby learning to categorize and recognize animals
• Perceiving, recognizing, understanding the real
world
• Reasoning and planning about the external world
• Learning and adaptation
• So what general principles should we use to
achieve these goals?
What’s involved in Intelligence? (again)
est for intelligent behavior: the Imitation G
• Turing (1950) "Computing machinery and intelligence“
• "Can machines think?"  "Can machines behave intelligently?“
• Operational t ame
• Suggests major components required for AI:
- knowledge representation
- reasoning,
- language/image understanding,
- learning
* Question: is it important that an intelligent system act like a human?
Acting humanly: Turing test
• 1950 Alan Turing’s paper, Computing Machinery and
Intelligence, described what is now called “The Turing Test”.
• Turing predicted that in about fifty years "an average
interrogator will not have more than a 70 percent chance of
making the right identification after five minutes of
questioning".
• 1957 Newell and Simon predicted that "Within ten years a
computer will be the world's chess champion."
The Origins of AI
AI system
Turing test
Experimenter
Control
Artificial intellegence
Eliza, 1965
 Patient: You are like my father in some ways.
 Doctor: What resemblance do you see?
 Patient : You are not very aggressive.
 Doctor : What makes you think I am not very aggressive?
 Patient : You don’t argue with me.
 Doctor : Why do you think I don’t argue with you?
 Patient : You are afraid of me.
 Doctor : Does it please you to believe I am afraid of you?
 Patient : My father is afraid of everybody.
 Doctor : What else comes to mind when you think of your father?
 Patient : Bullies.
Artificial intellegence
Chinese
Writing is
given to the
person
Correct
Responses
The Chinese Room
She does not
know
Chinese
Set of rules, in
English, for
transforming
phrases
• So imagine an individual is locked in a room and given a
batch of Chinese writing.
• The person locked in the room does not understand Chinese.
Next he is given more Chinese writing and a set of rules (in
English which he understands) on how to collate the first set of
Chinese characters with the second set of Chinese
characters.
• Suppose the person gets so good at manipulating the Chinese
symbols and the rules are so good, that to those outside the
room it appears that the person understands Chinese.
• Searle's point is that, he doesn't really understand Chinese, it
really only following a set of rules.
• Following this argument, a computer could never be truly
intelligent, it is only manipulating symbols that it really doesn't
understand the semantic context.
The Chinese Room
Chinese
Writing is
given to the
person
Correct
Responses
The Chinese Room
She does not
know
Chinese
Set of rules, in
English, for
transforming
phrases
In 1997, Deep Blue beat Gary
Kasparov.
Newell and Simon Prediction
3000
2800
2600
2400
2200
2000
1800
1600
1400
1200
Human World Champion Deep Blue
Deep Thought
Ratings
• Chess Playing is a classic AI problem
o well-defined problem
o very complex: difficult for humans to play well
• Conclusion:
1966 1971 1976 1981 1986 1991 1997
o YES: today’s computers can beat even the best human
•Deep Blue defeated the reigning world chess champion Garry Kasparov
in 1997
Can Computers beat Humans at Chess?
PointsRatings
• Chess Playing is a classic AI problem
o well-defined problem
o very complex: difficult for humans to play well
3000
2800
2600
2400
2200
2000
1800
1600
1400
1200
Garry Kasparov (current World Champion) Deep Blue
Deep Thought
1966 1971 1976 1981 1986 1991 1997
• Conclusion: YES: today’s computers can beat even
the best human
Ratings
Can Computers play Humans at Chess?
PointsRatings
• This is known as “speech synthesis”
o translate text to phonetic form
• e.g., “fictitious” -> fik-tish-es
o use pronunciation rules to map phonemes to actual sound
• e.g., “tish” -> sequence of basic audio sounds
• Difficulties
o sounds made by this “lookup” approach sound unnatural
o sounds are not independent
• e.g., “act” and “action”
• modern systems (e.g., at AT&T) can handle this pretty well
o a harder problem is emphasis, emotion, etc
• humans understand what they are saying
• machines don’t: so they sound unnatural
• Conclusion:
o NO, for complete sentences
o YES, for individual words
Can Computers Talk?
• Speech Recognition:
o mapping sounds from a microphone into a list of words
o classic problem in AI, very difficult
• Recognizing single words from a small vocabulary
• systems can do this with high accuracy (order of 99%)
• e.g., directory inquiries
o limited vocabulary (area codes, city names)
o computer tries to recognize you first, if unsuccessful hands you
over to a human operator
o saves millions of dollars a year for the phone companies
Can Computers Recognize Speech?
• Recognizing normal speech is much more difficult
o speech is continuous: where are the boundaries between words?
• e.g., “John’s car has a flat tire”
o large vocabularies
• can be many thousands of possible words
• we can use context to help figure out what someone said
o e.g., hypothesize and test
o try telling a waiter in a restaurant:
“I would like some dream and sugar in my coffee”
o background noise, other speakers, accents, colds, etc
o on normal speech, modern systems are only about 60-70% accurate
• Conclusion:
o NO, normal speech is too complex to accurately recognize
o YES, for restricted problems (small vocabulary, single speaker)
Recognizing human speech (ctd.)
• Learning and Adaptation
o consider a computer learning to drive on the freeway
o we could code lots of rules about what to do
o and/or we could have it learn from experience
Darpa’s Grand Challenge. Stanford’s “Stanley” drove
150 without supervision in the Majove dessert
o machine learning allows computers to learn to do things without
explicit programming
• Conclusion: YES, computers can learn and
adapt, when presented with information in the
appropriate way
Can Computers Learn and Adapt ?
Artificial intellegence
• Recognition v. Understanding (like Speech)
o Recognition and Understanding of Objects in a scene
• look around this room
• you can effortlessly recognize objects
• human brain can map 2d visual image to 3d “map”
• Why is visual recognition a hard problem?
• Conclusion:
o mostly NO: computers can only “see” certain types of objects under
limited circumstances
o YES for certain constrained problems (e.g., face recognition)
Can Computers “see”?
Can Computers plan and make decisions?
• Intelligence
o involves solving problems and making decisions and plans
o e.g., you want to visit your cousin in Boston
• you need to decide on dates, flights
• you need to get to the airport, etc
• involves a sequence of decisions, plans, and actions
• What makes planning hard?
o the world is not predictable:
• your flight is canceled or there’s a backup on the 405
o there is a potentially huge number of details
• do you consider all flights? all dates?
o no: commonsense constrains your solutions
o AI systems are only successful in constrained planning problems
• Conclusion: NO, real-world planning and decision-
making is still beyond the capabilities of modern
computers
o exception: very well-defined, constrained problems: mission planning for
satelites.
• Speech synthesis, recognition and understanding
o very useful for limited vocabulary applications
o unconstrained speech understanding is still too hard
• Computer vision
o works for constrained problems (hand-written zip-codes)
o understanding real-world, natural scenes is still too hard
• Learning
o adaptive systems are used in many applications: have their limits
• Planning and Reasoning
o only works for constrained problems: e.g., chess
o real-world is too complex for general systems
• Overall:
o many components of intelligent systems are “doable”
o there are many interesting research problems remaining
Summary of State of AI Systems in Practice
• Post Office
o automatic address recognition and sorting of mail
• Banks
o automatic check readers, signature verification systems
o automated loan application classification
• Telephone Companies
o automatic voice recognition for directory inquiries
• Credit Card Companies
o automated fraud detection
• Computer Companies
o automated diagnosis for help-desk applications
• Netflix:
o movie recommendation
• Google:
o Search Technology
Intelligent Systems in Your Everyday Life
• Have you ever used any kind of credit/ATM/store card
while shopping?
o if so, you have very likely been “input” to an AI algorithm
• All of this information is recorded digitally
• Companies like Nielsen gather this information weekly
and search for patterns
o general changes in consumer behavior
o tracking responses to new products
o identifying customer segments: targeted marketing, e.g., they find out that
consumers with sports cars who buy textbooks respond well to offers of new
credit cards.
o Currently a very hot area in marketing
• How do they do this?
o Algorithms (“data mining”) search data for patterns
o based on mathematical theories of learning
o completely impractical to do manually
AI Applications: Consumer Marketing
AI Applications: Identification Technologies
• ID cards
o e.g., ATM cards
o can be a nuisance and security risk:
• cards can be lost, stolen, passwords forgotten, etc
• Biometric Identification
o walk up to a locked door
• camera
• fingerprint device
• microphone
• iris scan
o computer uses your biometric signature for identification
• face, eyes, fingerprints, voice pattern, iris pattern
Value of
the Stock ?
?
time in days
• The Prediction Problem
o given the past, predict the future
o very difficult problem!
o we can use learning algorithms to learn a predictive model from historical
data
• prob(increase at day t+1 | values at day t, t-1,t-2. .. ,t-k)
o such models are routinely used by banks and financial traders to manage
portfolios worth millions of dollars
AI Applications: Predicting the Stock Market
AI-Applications: Machine Translation
• Language problems in international business
o e.g., at a meeting of Japanese, Korean, Vietnamese and Swedish
investors, no common language
o or: you are shipping your software manuals to 127 countries
o solution; hire translators to translate
o would be much cheaper if a machine could do this!
• How hard is automated translation
o very difficult!
o e.g., English to Russian
o “The spirit is willing but the flesh is weak” (English)
o “the vodka is good but the meat is rotten” (Russian)
o not only must the words be translated, but their meaning also!
• Nonetheless....
o commercial systems can do a lot of the work very well (e.g., restricted
vocabularies in software documentation)
o algorithms which combine dictionaries, grammar models, etc.
o see for example babelfish.altavista.com
2. Prepositional logic – prolog – expert systems with
inference algorithms
3. Rough set theory
4. Decision trees, kNN, Naive Bayes
5. Neural network
The agenda of AI class:
1. Fuzzy logic

More Related Content

PDF
Web 2.0 Collective Intelligence - How to use collective intelligence techniqu...
PDF
Artificial Intelligence Research Topics for PhD Manuscripts 2021 - Phdassistance
PDF
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
PPTX
Artificial Intelligence Research Topics for PhD Manuscripts 2021 - Phdassistance
PPTX
Basics of machine_learning
PPTX
Machine learning seminar presentation
PPT
CS 561a: Introduction to Artificial Intelligence
PDF
Future aspects of ai by rahul abhishek
Web 2.0 Collective Intelligence - How to use collective intelligence techniqu...
Artificial Intelligence Research Topics for PhD Manuscripts 2021 - Phdassistance
A Paper Presentation On Artificial Intelligence And Global Risk Paper Present...
Artificial Intelligence Research Topics for PhD Manuscripts 2021 - Phdassistance
Basics of machine_learning
Machine learning seminar presentation
CS 561a: Introduction to Artificial Intelligence
Future aspects of ai by rahul abhishek

What's hot (20)

PDF
Artificial Intelligence Techniques In Power Systems Paper Presentation
PDF
Paper sharing_deep learning for smart manufacturing methods and applications
PPTX
Cognitive computing
DOCX
Artificial Intelligence power point presentation document
PDF
DWX 2018 Session about Artificial Intelligence, Machine and Deep Learning
PPTX
artificial Intelligence
PDF
Introduction to Artificial Intelligence and Machine Learning for policy makers
PPTX
Artificial Intelligence and Expert System
DOC
Chapter 1 (final)
PPTX
Introduction to AI
PPTX
From Narrow AI to Artificial General Intelligence (AGI)
PDF
Ai notes
PPTX
Deep Learning Explained: The future of Artificial Intelligence and Smart Netw...
DOC
Artificial intelligence
PDF
Introduction to Artificial Intelligence
PDF
Future Trends in Artificial Intelligence
PDF
Artificial intelligence uses in productive systems and impacts on the world...
PDF
Cognitive Computing - A Primer
PDF
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
PPT
ARTIFICIAL INTELLIGENCE & NEURAL NETWORKS
Artificial Intelligence Techniques In Power Systems Paper Presentation
Paper sharing_deep learning for smart manufacturing methods and applications
Cognitive computing
Artificial Intelligence power point presentation document
DWX 2018 Session about Artificial Intelligence, Machine and Deep Learning
artificial Intelligence
Introduction to Artificial Intelligence and Machine Learning for policy makers
Artificial Intelligence and Expert System
Chapter 1 (final)
Introduction to AI
From Narrow AI to Artificial General Intelligence (AGI)
Ai notes
Deep Learning Explained: The future of Artificial Intelligence and Smart Netw...
Artificial intelligence
Introduction to Artificial Intelligence
Future Trends in Artificial Intelligence
Artificial intelligence uses in productive systems and impacts on the world...
Cognitive Computing - A Primer
Fundamental Questions - The Second Decade of AI: Towards Architectures for Hu...
ARTIFICIAL INTELLIGENCE & NEURAL NETWORKS
Ad

Similar to Artificial intellegence (20)

PPT
Cognitive Science.ppt
PPTX
AI_Unit_IARTIFICIAL INTELLIGENCE UNIT 1 OSMANIA UNIVERSITY
PPTX
AIML_Unit1.pptx
PDF
Introduction-To-AI(L-1) for civil engineers
PDF
Introduction-To-AI(L-1).pdf
PPTX
Artificial Intelligence Lab programs 1. Write a Program to Implement
PPTX
AI ghfghfghfghfghfghfghfgh fhgfghfgjh Lecture.pptx
PPTX
Module 1.pptx AIIAIAIAIAIAIIAIAIAIAIAIAIAI
PPTX
Artificial Intelligence_Lecture_1. .pptx
PPTX
1 Introduction to AI.pptx
PPTX
PDF
Module-1.1.pdf of aiml engineering mod 1
PDF
Ai lecture 1
PPTX
Artificial_intelligence.pptx
PPTX
Introduction to Artificial Intelligence 01_intro.pptx
PPT
AI.ppt
PDF
Introduction to Artificial Intelligence.pdf
PPTX
Artificial intelligence introduction
PPTX
Introduction to Artificial Intelligence
PPTX
Global Trends in Artificial Intelligence.pptx
Cognitive Science.ppt
AI_Unit_IARTIFICIAL INTELLIGENCE UNIT 1 OSMANIA UNIVERSITY
AIML_Unit1.pptx
Introduction-To-AI(L-1) for civil engineers
Introduction-To-AI(L-1).pdf
Artificial Intelligence Lab programs 1. Write a Program to Implement
AI ghfghfghfghfghfghfghfgh fhgfghfgjh Lecture.pptx
Module 1.pptx AIIAIAIAIAIAIIAIAIAIAIAIAIAI
Artificial Intelligence_Lecture_1. .pptx
1 Introduction to AI.pptx
Module-1.1.pdf of aiml engineering mod 1
Ai lecture 1
Artificial_intelligence.pptx
Introduction to Artificial Intelligence 01_intro.pptx
AI.ppt
Introduction to Artificial Intelligence.pdf
Artificial intelligence introduction
Introduction to Artificial Intelligence
Global Trends in Artificial Intelligence.pptx
Ad

Recently uploaded (20)

PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
A Presentation on Artificial Intelligence
PPTX
Chapter 5: Probability Theory and Statistics
PPTX
1. Introduction to Computer Programming.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Hybrid model detection and classification of lung cancer
PPTX
A Presentation on Touch Screen Technology
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
Univ-Connecticut-ChatGPT-Presentaion.pdf
TLE Review Electricity (Electricity).pptx
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
MIND Revenue Release Quarter 2 2025 Press Release
WOOl fibre morphology and structure.pdf for textiles
A Presentation on Artificial Intelligence
Chapter 5: Probability Theory and Statistics
1. Introduction to Computer Programming.pptx
Approach and Philosophy of On baking technology
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Getting Started with Data Integration: FME Form 101
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Hybrid model detection and classification of lung cancer
A Presentation on Touch Screen Technology
Enhancing emotion recognition model for a student engagement use case through...
SOPHOS-XG Firewall Administrator PPT.pptx
Heart disease approach using modified random forest and particle swarm optimi...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
A comparative study of natural language inference in Swahili using monolingua...

Artificial intellegence

  • 1. Gian Devi- Assistant Professor Department of Computer Science Govt College for Girls Guugram Introduction to Artificial Intelligence 30th March 2020
  • 2. Goals of this Course • This class is a broad introduction to artificial intelligence (AI) o AI is a very broad field with many subareas • We will cover many of the primary concepts/ideas • But in 15 weeks we can’t cover everything Class Web page • https://highereduhry.webex.com/meet/gyaninsaa17 Today’s Lecture • What is intelligence? What is artificial intelligence?
  • 3. • A very brief history of AI o Modern successes: Stanley the driving robot • An AI scorecard o How much progress has been made in different aspects of AI • AI in practice o Successful applications • The rational agent view of AI
  • 6. The exciting new effort to make computers think … machines with minds, in the full literal sense. Haugeland, 1985 (excited but not really useful) Some Definitions (I)
  • 7. The study of mental faculties through the use of computational models. Charniak and McDermott, 1985 A field of study that seeks to explain and emulate intelligent behavior in terms of computational processes. Schalkoff, 1990 (Applied psychology & philosophy?) Some Definitions (II)
  • 8. The study of how to make computers do things at which, at the moment, people are better. Rich & Knight, 1991 (I can almost understand this one). Some Definitions (III)
  • 9. • Knowledge representation: o propositional logic and first-order logic o inference in Expert Systems o Fuzzy logic o Rough set o Machine learning: classification trees o Neural networks o Others ? Outline of the Course
  • 10. What is Intelligence? • Intelligence: o “the capacity to learn and solve problems” (Websters dictionary) o in particular, • the ability to solve novel problems • the ability to act rationally • the ability to act like humans • Artificial Intelligence o build and understand intelligent entities or agents o 2 main approaches: “engineering” versus “cognitive modeling”
  • 11. What is Artificial Intelligence? (John McCarthy, Stanford University) • What is artificial intelligence? It is the science and engineering of making intelligent machines, especiallyintelligent computer programs. It is related to the similar task of using computers to understand human intelligence, but AI does not have to confine itself to methods that are biologically observable. • Yes, but what is intelligence? Intelligence is the computational part of the ability to achieve goals in the world. Varying kinds and degrees of intelligence occur in people, many animals and some machines. • Isn't there a solid definition of intelligence that doesn't depend on relating it to human intelligence? Not yet. The problem is that we cannot yet characterize in general what kinds of computational procedures we want to call intelligent. We understand some of the mechanisms of intelligence and not others. • More in: http://www-formal.stanford.edu/jmc/whatisai/node1.html
  • 12. What’s involved in Intelligence? • Ability to interact with the real world o to perceive, understand, and act o e.g., speech recognition and understanding and synthesis o e.g., image understanding o e.g., ability to take actions, have an effect • Reasoning and Planning o modeling the external world, given input o solving new problems, planning, and making decisions o ability to deal with unexpected problems, uncertainties • Learning and Adaptation o we are continuously learning and adapting o our internal models are always being “updated” • e.g., a baby learning to categorize and recognize animals
  • 13. Academic Disciplines important to AI. • Philosophy Logic, methods of reasoning, mind as physical system, foundations of learning, language, rationality. • Mathematics Formal representation and proof, algorithms, computation, (un)decidability, (in)tractability, probability. • Economics utility, decision theory, rational economic agents • Neuroscience neurons as information processing units. • Psychology/ how do people behave, perceive, process Cognitive Science information, represent knowledge. • Computer building fast computers engineering • Control theory design systems that maximize an objective function over time • Linguistics knowledge representation, grammar
  • 14. History of AI • 1943: early beginnings o McCulloch & Pitts: Boolean circuit model of brain • 1950: Turing o Turing's "Computing Machinery and Intelligence“ • 1956: birth of AI o Dartmouth meeting: "Artificial Intelligence“ name adopted • 1950s: initial promise o Early AI programs, including o Samuel's checkers program o Newell & Simon's Logic Theorist • 1955-65: “great enthusiasm” o Newell and Simon: GPS, general problem solver o Gelertner: Geometry Theorem Prover o McCarthy: invention of LISP
  • 15. History of AI • 1966—73: Reality dawns o Realization that many AI problems are intractable o Limitations of existing neural network methods identified • Neural network research almost disappears • 1969—85: Adding domain knowledge o Development of knowledge-based systems o Success of rule-based expert systems, • E.g., DENDRAL, MYCIN • But were brittle and did not scale well in practice • 1986-- Rise of machine learning o Neural networks return to popularity o Major advances in machine learning algorithms and applications • 1990-- Role of uncertainty o Bayesian networks as a knowledge representation framework • 1995-- AI as Science o Integration of learning, reasoning, knowledge representation o AI methods used in vision, language, data mining, etc
  • 16. History of AI • 1943 McCulloch & Pitts: Boolean circuit model of brain • 1950 Turing's "Computing Machinery and Intelligence" • 1956 Dartmouth meeting: "Artificial Intelligence" adopted • 1950s Early AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine • 1965 Robinson's complete algorithm for logical reasoning • 1966—73 AI discovers computational complexity Neural network research almost disappears • 1969—79 Early development of knowledge-based systems • 1980-- AI becomes an industry • 1986-- Neural networks return to popularity • 1987-- AI becomes a science • 1995-- The emergence of intelligent agents
  • 17. 1. Modeling exactly how humans actually think 2. Modeling exactly how humans actually act 3. Modeling how ideal agents “should think” 4. Modeling how ideal agents “should act” • Modern AI focuses on the last definition o we will also focus on this “engineering” approach o success is judged by how well the agent performs Different Types of Artificial Intelligence
  • 18. What’s involved in Intelligence? • Ability to interact with the real world o to perceive, understand, and act o e.g., speech recognition and understanding and synthesis o e.g., image understanding o e.g., ability to take actions, have an effect • Reasoning and Planning o modeling the external world, given input o solving new problems, planning, and making decisions o ability to deal with unexpected problems, uncertainties • Learning and Adaptation o we are continuously learning and adapting o our internal models are always being “updated” • e.g., a baby learning to categorize and recognize animals
  • 19. • Perceiving, recognizing, understanding the real world • Reasoning and planning about the external world • Learning and adaptation • So what general principles should we use to achieve these goals? What’s involved in Intelligence? (again)
  • 20. est for intelligent behavior: the Imitation G • Turing (1950) "Computing machinery and intelligence“ • "Can machines think?"  "Can machines behave intelligently?“ • Operational t ame • Suggests major components required for AI: - knowledge representation - reasoning, - language/image understanding, - learning * Question: is it important that an intelligent system act like a human? Acting humanly: Turing test
  • 21. • 1950 Alan Turing’s paper, Computing Machinery and Intelligence, described what is now called “The Turing Test”. • Turing predicted that in about fifty years "an average interrogator will not have more than a 70 percent chance of making the right identification after five minutes of questioning". • 1957 Newell and Simon predicted that "Within ten years a computer will be the world's chess champion." The Origins of AI
  • 24. Eliza, 1965  Patient: You are like my father in some ways.  Doctor: What resemblance do you see?  Patient : You are not very aggressive.  Doctor : What makes you think I am not very aggressive?  Patient : You don’t argue with me.  Doctor : Why do you think I don’t argue with you?  Patient : You are afraid of me.  Doctor : Does it please you to believe I am afraid of you?  Patient : My father is afraid of everybody.  Doctor : What else comes to mind when you think of your father?  Patient : Bullies.
  • 26. Chinese Writing is given to the person Correct Responses The Chinese Room She does not know Chinese Set of rules, in English, for transforming phrases
  • 27. • So imagine an individual is locked in a room and given a batch of Chinese writing. • The person locked in the room does not understand Chinese. Next he is given more Chinese writing and a set of rules (in English which he understands) on how to collate the first set of Chinese characters with the second set of Chinese characters. • Suppose the person gets so good at manipulating the Chinese symbols and the rules are so good, that to those outside the room it appears that the person understands Chinese. • Searle's point is that, he doesn't really understand Chinese, it really only following a set of rules. • Following this argument, a computer could never be truly intelligent, it is only manipulating symbols that it really doesn't understand the semantic context. The Chinese Room
  • 28. Chinese Writing is given to the person Correct Responses The Chinese Room She does not know Chinese Set of rules, in English, for transforming phrases
  • 29. In 1997, Deep Blue beat Gary Kasparov. Newell and Simon Prediction
  • 30. 3000 2800 2600 2400 2200 2000 1800 1600 1400 1200 Human World Champion Deep Blue Deep Thought Ratings • Chess Playing is a classic AI problem o well-defined problem o very complex: difficult for humans to play well • Conclusion: 1966 1971 1976 1981 1986 1991 1997 o YES: today’s computers can beat even the best human •Deep Blue defeated the reigning world chess champion Garry Kasparov in 1997 Can Computers beat Humans at Chess? PointsRatings
  • 31. • Chess Playing is a classic AI problem o well-defined problem o very complex: difficult for humans to play well 3000 2800 2600 2400 2200 2000 1800 1600 1400 1200 Garry Kasparov (current World Champion) Deep Blue Deep Thought 1966 1971 1976 1981 1986 1991 1997 • Conclusion: YES: today’s computers can beat even the best human Ratings Can Computers play Humans at Chess? PointsRatings
  • 32. • This is known as “speech synthesis” o translate text to phonetic form • e.g., “fictitious” -> fik-tish-es o use pronunciation rules to map phonemes to actual sound • e.g., “tish” -> sequence of basic audio sounds • Difficulties o sounds made by this “lookup” approach sound unnatural o sounds are not independent • e.g., “act” and “action” • modern systems (e.g., at AT&T) can handle this pretty well o a harder problem is emphasis, emotion, etc • humans understand what they are saying • machines don’t: so they sound unnatural • Conclusion: o NO, for complete sentences o YES, for individual words Can Computers Talk?
  • 33. • Speech Recognition: o mapping sounds from a microphone into a list of words o classic problem in AI, very difficult • Recognizing single words from a small vocabulary • systems can do this with high accuracy (order of 99%) • e.g., directory inquiries o limited vocabulary (area codes, city names) o computer tries to recognize you first, if unsuccessful hands you over to a human operator o saves millions of dollars a year for the phone companies Can Computers Recognize Speech?
  • 34. • Recognizing normal speech is much more difficult o speech is continuous: where are the boundaries between words? • e.g., “John’s car has a flat tire” o large vocabularies • can be many thousands of possible words • we can use context to help figure out what someone said o e.g., hypothesize and test o try telling a waiter in a restaurant: “I would like some dream and sugar in my coffee” o background noise, other speakers, accents, colds, etc o on normal speech, modern systems are only about 60-70% accurate • Conclusion: o NO, normal speech is too complex to accurately recognize o YES, for restricted problems (small vocabulary, single speaker) Recognizing human speech (ctd.)
  • 35. • Learning and Adaptation o consider a computer learning to drive on the freeway o we could code lots of rules about what to do o and/or we could have it learn from experience Darpa’s Grand Challenge. Stanford’s “Stanley” drove 150 without supervision in the Majove dessert o machine learning allows computers to learn to do things without explicit programming • Conclusion: YES, computers can learn and adapt, when presented with information in the appropriate way Can Computers Learn and Adapt ?
  • 37. • Recognition v. Understanding (like Speech) o Recognition and Understanding of Objects in a scene • look around this room • you can effortlessly recognize objects • human brain can map 2d visual image to 3d “map” • Why is visual recognition a hard problem? • Conclusion: o mostly NO: computers can only “see” certain types of objects under limited circumstances o YES for certain constrained problems (e.g., face recognition) Can Computers “see”?
  • 38. Can Computers plan and make decisions? • Intelligence o involves solving problems and making decisions and plans o e.g., you want to visit your cousin in Boston • you need to decide on dates, flights • you need to get to the airport, etc • involves a sequence of decisions, plans, and actions • What makes planning hard? o the world is not predictable: • your flight is canceled or there’s a backup on the 405 o there is a potentially huge number of details • do you consider all flights? all dates? o no: commonsense constrains your solutions o AI systems are only successful in constrained planning problems • Conclusion: NO, real-world planning and decision- making is still beyond the capabilities of modern computers o exception: very well-defined, constrained problems: mission planning for satelites.
  • 39. • Speech synthesis, recognition and understanding o very useful for limited vocabulary applications o unconstrained speech understanding is still too hard • Computer vision o works for constrained problems (hand-written zip-codes) o understanding real-world, natural scenes is still too hard • Learning o adaptive systems are used in many applications: have their limits • Planning and Reasoning o only works for constrained problems: e.g., chess o real-world is too complex for general systems • Overall: o many components of intelligent systems are “doable” o there are many interesting research problems remaining Summary of State of AI Systems in Practice
  • 40. • Post Office o automatic address recognition and sorting of mail • Banks o automatic check readers, signature verification systems o automated loan application classification • Telephone Companies o automatic voice recognition for directory inquiries • Credit Card Companies o automated fraud detection • Computer Companies o automated diagnosis for help-desk applications • Netflix: o movie recommendation • Google: o Search Technology Intelligent Systems in Your Everyday Life
  • 41. • Have you ever used any kind of credit/ATM/store card while shopping? o if so, you have very likely been “input” to an AI algorithm • All of this information is recorded digitally • Companies like Nielsen gather this information weekly and search for patterns o general changes in consumer behavior o tracking responses to new products o identifying customer segments: targeted marketing, e.g., they find out that consumers with sports cars who buy textbooks respond well to offers of new credit cards. o Currently a very hot area in marketing • How do they do this? o Algorithms (“data mining”) search data for patterns o based on mathematical theories of learning o completely impractical to do manually AI Applications: Consumer Marketing
  • 42. AI Applications: Identification Technologies • ID cards o e.g., ATM cards o can be a nuisance and security risk: • cards can be lost, stolen, passwords forgotten, etc • Biometric Identification o walk up to a locked door • camera • fingerprint device • microphone • iris scan o computer uses your biometric signature for identification • face, eyes, fingerprints, voice pattern, iris pattern
  • 43. Value of the Stock ? ? time in days • The Prediction Problem o given the past, predict the future o very difficult problem! o we can use learning algorithms to learn a predictive model from historical data • prob(increase at day t+1 | values at day t, t-1,t-2. .. ,t-k) o such models are routinely used by banks and financial traders to manage portfolios worth millions of dollars AI Applications: Predicting the Stock Market
  • 44. AI-Applications: Machine Translation • Language problems in international business o e.g., at a meeting of Japanese, Korean, Vietnamese and Swedish investors, no common language o or: you are shipping your software manuals to 127 countries o solution; hire translators to translate o would be much cheaper if a machine could do this! • How hard is automated translation o very difficult! o e.g., English to Russian o “The spirit is willing but the flesh is weak” (English) o “the vodka is good but the meat is rotten” (Russian) o not only must the words be translated, but their meaning also! • Nonetheless.... o commercial systems can do a lot of the work very well (e.g., restricted vocabularies in software documentation) o algorithms which combine dictionaries, grammar models, etc. o see for example babelfish.altavista.com
  • 45. 2. Prepositional logic – prolog – expert systems with inference algorithms 3. Rough set theory 4. Decision trees, kNN, Naive Bayes 5. Neural network The agenda of AI class: 1. Fuzzy logic