AIML UNit-1
AIML UNit-1
Grading
●
Problem sets: mostly programming
assignments (Lisp: more on this soon).
●
Midterm
●
Final
●
Class participation and discussion.
What is Artificial Intelligence?
What is Artificial Intelligence?
Some Definitions...
●
Build intelligent artifacts vs. understanding
human behavior.
●
Does it matter how I built it as long as it
does the job well?
●
Should the system behave like a human or
behave intelligently?
Turing proposed that a computer can be said to possess artificial intelligence if it can mimic
human responses under specific conditions. The original Turing Test requires three terminals,
each of which is physically separated from the other two. One terminal is operated by a
computer, while the other two are operated by humans.
During the test, one of the humans functions as the questioner, while the second human and
the computer function as respondents. The questioner interrogates the respondents within a
specific subject area, using a specified format and context. After a preset length of time or
number of questions, the questioner is then asked to decide which respondent was human and
which was a computer.
The test is repeated many times. If the questioner makes the correct determination in half of
the test runs or less, the computer is considered to have artificial intelligence because the
questioner regards it as "just as human" as the human respondent.
Dimensions in AI Definitions
The Turing Test
Human beings are intelligent
To be called intelligent, a machine must produce
responses that are indistinguishable from those of a human
Dimensions in AI Definitions
Acting humanly:The Turing Test
●
Turing (1950) "Computing machinery and intelligence":
●
"Can machines think?" "Can machines behave intelligently?"
●
Operational test for intelligent behavior: the Imitation Game
●
Anticipated major arguments against AI in following 50 years
●
Suggested major components of AI:
- knowledge representation
- reasoning,
- language/image understanding,
- learning
What Does AI Really Do?
●
Knowledge Representation (how does a
program represent its domain of
discourse?)
●
Automated reasoning.
●
Planning (get the robot to find the bananas
in the other room).
●
Machine Learning (adapt to new
circumstances).
●
Natural language understanding.
●
Machine vision, speech recognition, finding
data on the web, robotics, and much more.
A Brief History of AI
●
The Dartmouth conference, Summer ‘56.
●
Early enthusiasm 52-59:
– Puzzle solving with the General Problem
Solver, Geometry theorem prover, Checkers
player, Lisp.
●
Reality strikes:
– Programs don’t scale up.
– The problem is not as easy as we thought:
●
The spirit is willing but the flesh is weak -->
The vodka is good but the meat is rotten.
More History
●
Knowledge-based systems (expert
systems) 1969-1979:
– Ed Feigenbaum (Stanford): Knowledge is
power! (as opposed to weak methods)
●
Dendral (inferring molecular structure from a mass
spectrometer).
●
MYCIN: diagnosis of blood infections
●
AI becomes an industry:
– R1: configuring computers for DEC.
– Robotic vision applications
Recent Events: 1987-Present
●
AI turns more scientific, relies on more
mathematically sophisticated tools:
– Hidden Markov models (for speech
recognition)
– Belief networks (see Office 97).
●
Focus turns to building useful artifacts as
opposed to solving the grand AI problem.
●
The victory of the neats over the scruffies?
Recent AI Successes
●
Deep Blue beats Kasparov (AI?)
●
Theorem provers proved an unknown
theorem.
●
Expert systems: medical, diagnosis, design
●
Speech recognition applications (in limited
domains).
●
Robots controlling quality in factories.
• Intelligent agents on board Deep Space 1.
Recent AI Successes
Autonomous planning and scheduling of
tasks aboard a spacecraft
Beating Gary Kasparov in a chess match
Steering a driver-less car
Understanding language
Robotic assistants in surgery
Monitoring trade in the stock market to see
if insider trading is going on
An Intelligent Agent
●
‘Anything’ that can gather information about
its environment and take action based on that
information.
An Intelligent Agent
Knowledge learning
representation
planning reasoning
Artificial Intelligence
The word Artificial Intelligence comprises of two words
“Artificial” and “Intelligence”. Artificial refers to
something which is made by human or non natural thing
and Intelligence means ability to understand or think.
There is a misconception that Artificial Intelligence is a
system, but it is not a system .AI is implemented in the
system. There can be so many definition of AI, one
definition can be “It is the study of how to train the
computers so that computers can do things which at
present human can do better.”Therefore It is a
intelligence where we want to add all the capabilities to
machine that human contain.
Machine Learning
Machine Learning is the learning in which machine can
learn by its own without being explicitly programmed. It
is an application of AI that provide system the ability to
automatically learn and improve from experience. Here
we can generate a program by integrating input and
output of that program. One of the simple definition of
the Machine Learning is “Machine Learning is said to
learn from experience E w.r.t some class of task T and a
performance measure P if learners performance at the
task in the class as measured by P improves with
experiences.”
The key difference between AI and ML are:
ARTIFICIAL INTELLIGENCE MACHINE LEARNING
1.AI stands for Artificial intelligence, 1.ML stands for Machine Learning
where intelligence is defined as a which is defined as the acquisition of
ability to acquire and apply knowledge. knowledge or skill
2. The aim is to increase chance of 2.The aim is to increase accuracy, but
success and not accuracy. it does not care about success
3.It work as a computer program that 3.It is a simple concept machine takes
does smart work. data and learn from data.
4.The goal is to simulate natural 4.The goal is to learn from data on
intelligence to solve complex problem. certain task to maximize the
5.AI is decision making performance of machine on this task.
6.It leads to develop a system to mimic 5.ML allows system to learn new
human to respond behave in a things from data.
circumstances. 6.It involves in creating self learning
7.AI will go for finding the optimal algorithms.
solution. 7.ML will go for only solution for that
8.AI leads to intelligence or wisdom. whether it is optimal or not.
8.ML leads to knowledge.
Knowledge Representation
Knowledge Representation
The general framework for solving problems by computer is given above
figure.
To solve a problem, the designer of a system must :
flesh out the task and determine what constitutes a solution;
represent the problem in a language with which a computer
can reason;
use the computer to compute an output, which is an answer
presented to a user or a sequence of actions to be carried out
in the environment; and
interpret the output as a solution to the problem.
Knowledge Representation
Knowledge is the information about a domain that can be used to
solve problems in that domain.
To solve many problems requires much knowledge, and this
knowledge must be represented in the computer.
As part of designing a program to solve problems, we must define
how the knowledge will be represented.
A representation scheme is the form of the knowledge that is used in
an agent.
A representation of some piece of knowledge is the internal
representation of the knowledge.
A representation scheme specifies the form of the knowledge.
LISP, the main programming language of AI, was developed to process lists and trees.
A knowledge base:
Name of objects (things, people, places, events ... in the chosen domain)
Concepts and theories about these objects
Practical procedures and relationships representing real-world knowledge
An inference mechanism:
Procedures which examine the knowledge base in an orderly manner
Procedures are used to reason, answer questions, solve problems & make decisions
within the domain
State Space Search
State space search is a process used in the field of computer science,
including artificial intelligence (AI), in which successive
configurations or states of an instance are considered, with the
intention of finding a goal state with a desired property.
Problems are often modelled as a state space, a set of states that a
problem can be in.
The set of states forms a graph where two states are connected if there
is an operation that can be performed to transform the first state into
the second.
State space search often differs from traditional computer science
search methods because the state space is implicit: the typical state
space graph is much too large to generate and store in memory.
Instead, nodes are generated as they are explored, and typically
discarded thereafter. A solution to a combinatorial search instance
may consist of the goal state itself, or of a path from some initial state
to the goal state.
Production Systems
Explanation :
AI programs are characterized by deriving conclusions on the basis of proof or
reasoning.
AI Problem Charateristics
7. The AI problems involve a large amount of knowledge
base as compared to conventional programs which require
database only.
Explanation :
You have to create a database for a conventional program whereas for AI
problems we need the database which is referred to as Knowledge bank.
AI Problem Charateristics
The AI problem use a heuristic technique to search a
solution path where a traditional program uses algorithmic
search.
Explanation :
AI uses a guided path to find a solution, Guidance for picking a path is
provided in terms of distance left or cost to reach the goal. For example, to reach
Delhi from Noida, You will pick the road which reduces the distance to Delhi
(Goal). The information of how much distance is left is called heuristic
information. Notice that this helps in choosing right path out of so many paths
available.