Professional Documents
Culture Documents
Intro To AI
Intro To AI
Module -I
Programme: B. Tech-IT
Semester: VIth
Course: Artificial Intelligence (CSE401)
Name of Faculty: Prof. Deepti Mehrotra
Artificial Intelligence in the Movies
Artificial Intelligence in Real Life
A young science (≈ 80 years old)
– Exciting and dynamic field, lots of uncharted territory left
– Impressive success stories
– “Intelligent” in specialized domains
– Many application areas
Search engines
Labor Science
Medicine/
Diagnosis
Introduction to Artificial
Intelligence
What is Artificial Intelligence
03/18/24
What is Artificial Intelligence
03/18/24
Introduction
According to John McCarthy, who is known as the father
of AI,
“AI is the science and engineering of making intelligent
machines, especially computer programs.”
Bellman, 1978
“[The automation of] activities that we associate with human
thinking, activities such as decision making, problem solving,
learning”
What is the definition of AI?
Systems that think like Systems that think
humans rationally
Systems that act like Systems that act rationally
humans
Haugeland, 1985
“The exciting new effort to make computers think machines with
minds, in the full and literal sense”
What is the definition of AI?
Systems that think like Systems that think
humans rationally
Systems that act like Systems that act rationally
humans
Kurzweil, 1990
“The art of creating machines that perform functions that require
intelligence when performed by people”
What is the definition of AI?
Systems that think like Systems that think
humans rationally
Systems that act like Systems that act rationally
humans
Nilsson, 1998
“Many human mental activities such as writing computer
programs, doing mathematics, engaging in common sense
reasoning, understanding language, and even driving an
automobile, are said to demand intelligence. We might say that
[these systems] exhibit artificial intelligence”
What is the definition of AI?
Systems that think like Systems that think
humans rationally
Systems that act like Systems that act rationally
humans
Schalkoff, 1990
“A field of study that seeks to explain and emulate intelligent
behavior in terms of computational processes”
What is the definition of AI?
Systems that think like Systems that think
humans rationally
Systems that act like Systems that act rationally
humans
Winston, 1992
“The study of the computations that make it possible to perceive,
reason, and act”
What is AI?
• Turing test (1950)
• Requires:
– Natural language
– Knowledge representation
– automated reasoning
– machine learning
– (vision, robotics.) for full test
• Thinking humanly:
– Introspection, the general problem solver (Newell and
Simon 1961)
– Cognitive sciences
• Thinking rationally:
– Logic
– Problems: how to represent and reason in a domain
• Acting rationally: 03/18/24
– Agents: Perceive and act
The Turing Test
(Can Machine think? A. M. Turing, 1950)
• Requires
– Natural language
– Knowledge representation
– Automated reasoning
– Machine learning
– (vision, robotics) for full test
03/18/24
Systems that act like humans
?
You enter a room which has a computer terminal.
You have a fixed period of time to type what you
want into the terminal, and study the replies. At
the other end of the line is either a human being
or a computer system.
If it is a computer system, and at the end of the
period you cannot reliably determine whether it
is a system or a human, then the system is
deemed to be intelligent.
What is Intelligence?
The Turing Test
• Problems:
1) Uncertainty: Not all facts are certain (e.g., the flight might be delayed).
2) Resource limitations: There is a difference between solving a problem in
principle and solving it in practice under various resource limitations such as
time, computation, accuracy etc. (e.g., purchasing a car)
Eliza
• Called after Eliza Doolittle of Pygmalion fame.
• Developed in 1964-1966 by Joseph
Weizenbaum in MIT
• Models (parodies) the rôle of a Rogerian
psychotherapist engaged in an initial interview
with a patient. Much or the technique of the
Rogerian psychotherapist involves drawing the
patient out by reflecting the patient’s statements
back at him.
http://www-ai.ijs.si/eliza/eliza.html
Eliza
Men are all alike
IN WHAT WAY
They’re always bugging us about something or other.
CAN YOU THINK OF A SPECIFIC EXAMPLE
Well, my boyfriend made me come here.
YOUR BOYFRIEND MADE YOU COME HERE
He says I am depressed much of the time.
I AM SORRY TO HEAR YOU ARE DEPRESSED
It’s true. I am unhappy.
DO YOU THINK COMING HERE WILL HELP YOU NOT TO BE UNHAPPY
I need some help, that much seems certain.
WHAT WOULD IT MEAN TO YOU IF YOU GOT SOME HELP
Perhaps I could learn to get along with my mother.
Eliza
TELL ME MORE ABOUT YOUR FAMILY
My mother takes care of me.
WHO ELSE IN YOUR FAMILY TAKES CARE OF YOU
My father.
YOUR FATHER
You are like my father in some ways
WHAT RESEMBLANCE DO YOU SEE
You are not very aggressive but I think you don’t want me to notice that.
WHAT MAKES YOU THINK I AM NOT VERY AGGRESSIVE
You don’t argue with me
WHY DO YOU THINK I DON’T ARGUE WITH YOU
What is/was Eliza?
• A chatterbot
• Turing test competitor
• A friend
• A model for other bots
What is a chatterbot?
• A chatter robot, chatterbot, chatbot, or chat bot is a computer
program designed to simulate an intelligent conversation with
one or more human users via auditory or textual methods,
primarily for engaging in small talk.
– The primary aim of such simulation has been to fool the user into thinking
that the program's output has been produced by a human (the Turing test).
– Programs playing this role are sometimes referred to as Artificial
Conversational Entities, talk bots or chatterboxes.
– Uses:
• chatterbots are often integrated into dialog systems for various practical purposes such as
online help, personalised service, or information acquisition.
• Spam in chatrooms
– Some chatterbots use sophisticated natural language processing systems,
but many simply scan for keywords within the input and pull a reply with the
most matching keywords, or the most similar wording pattern, from a textual
database.
– Collections:
http://www.simonlaven.com/
Types of Chatterbots
• Classic Chatterbots
• Complex Chatterbots
• Friendly Chatterbots
• Teachable Bots
• AIML Bots
• JFred Bots
• NativeMinds Bots Non-English Bots
• Alternative Bots
http://www.simonlaven.com/
A.L.I.C.E
A model of knowledge-based
systems development
Real
Reasoning
World Problem
Analysis System ?
Problem Solution
Representation
Components of an AI System
Theorem Proving
– Computer Vison
– Robotics
– NLP
– Expert System
Artificial Intelligence
History
•Up-to early 80’s: Creation of expert systems (systems
specialized for one particular task based on experts’
knowledge), wide industry adoption
Modern AI
•Towards more scientific, formal/mathematical
•Divided into many subareas interested in particular
aspects
•More directly connected to theoretical computer science,
statistics, operations research, biology, economics,
psychology, neuroscience etc
Theorem Proving
• Reasoning by theorem proving is a weak method,
compared to experts systems, because it does not make
use of domain knowledge.
• Computer used to automate reasoning in a logic
• Theorem proving requires a logic (syntax)
• Applications: program verification, mathematical
deduction,
• Has a set of axioms and inference rules
• Has a strategy on when how to search through the
possible applications of the axioms and rules
Computer Vision Scope
Computer Vision
• Components of NLP
Natural Language Understanding- Mapping the given input in
natural language into useful representations
Natural Language Generation-It is the process of producing
meaningful phrases and sentences in the form of natural
language from some internal representation
NLP Applications
Applications
• Machine Translation
• Information Retrieval
• Question Answering
• Dialogue Systems
• Information Extraction
• Summarization
• Sentiment Analysis
Expert System
Expert System
Capabilities of Expert
Systems
The expert systems are capable of [3]−
•Advising
•Instructing and assisting human in decision making
•Demonstrating
•Deriving a solution
•Diagnosing
•Explaining
•Interpreting input
•Predicting results
•Justifying the conclusion
•Suggesting alternative options to a problem
Conclusion
Vast Application Areas of AI:
•Gaming
•Natural Language Processing
•Vision and speech processing Systems
•Expert Systems
•Healthcare
•Handwriting Recognition
•Business
•Intelligent Robots
•Education
•Autonomous Vehicles
•Agriculture
and many more
References
[1] Artificial Intelligence (2nd ed) by Elaine Rich and Kevin
Knight, McGraw Hill (1991). ISBN 0-07-100894-2
[2] https://www.wikipedia.org/
[3]https://www.tutorialspoint.com/artificial_intelligence
Bibliography
Artificial Intelligence (3rd ed) by P H Winston, Addison-
Wesley (1992), ISBN 0-201-53377-4
Thank You