Lecture 2. AI Techniques

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 23

Module 1 : Problem Solving & Scope of AI

1
Topics to be covered

• Turning test.
• Information, knowledge, intelligence.
• Human intelligence vs Artificial intelligence.

• Intelligent computing vs conventional computing.


• An artificial problem.
• An artificial technique.
• Problem solving / problem representation.
• Problem characteristics.
• State space representation.

2
The Turing Test

• Turing proposed operational test for intelligent behavior in 1950.

3
The Turing Test
• To conduct Turing test, we need two people and the machine to be
evaluated. One person plays the role of the interrogator, who is in a
separate room from the computer and the other person.

• The interrogator can ask questions of either the person or the computer by
typing questions and receiving typed responses. however, the integrator
knows only as A and B and aims to determine which is the person and
which is the machine.

• The goal of the machine is to fool the interrogator into believing that it is the
person. If the machine succeeds at this, then we will conclude that the
machine can think. The machine is allowed to do whatever it can to fool the
interrogator.

4
Information, knowledge, intelligence
• Information is a message that contains relevant meaning, implication, or
input for decision and/or action. Information comes from both current
(communication) and historical(processed data or ‘reconstructed picture’)
sources. In essence, the purpose of information is to aid in making
decisions and/or solving problems or realizing an opportunity.

• Knowledge is the cognition or recognition (know-what),capacity to act


(know-how), and understanding (know-why) that resides or is contained
within the mind or in the brain. The purpose of knowledge is to better our
lives.

• Intelligence (also called intellect) is an umbrella term used to describe a


property of the mind that encompasses many related abilities, such as the
capacities to reason, to plan, to solve problems, to think abstractly, to
comprehend ideas, to use language, and to learn.

5
Human intelligence vs Artificial intelligence

6
Intelligent computing vs Conventional Computing

7
AI problem
• Much of the early work in the field focused on formal tasks, such as game
playing and theorem proving.

• Another early foray into AI focused on the sort of problem solving that we do
every day called as mundane tasks, such as common sense reasoning.

• The problem area where AI is now flourishing most as a practical discipline


are primarily the domains that require only specialized expertise without the
assistance of common sense knowledge, called as expert systems.

8
Formal Tasks

• Games
–Chess
–Backgammon
–Checkers-Go

• Mathematics
–Geometry
–Logic
–Internal calculus
–Proving properties of programs

9
Mundane Tasks

• Perception
–Vision
–Speech

• Natural language
–Understanding
–Generation
–Translation

• Common sense reasoning

• Robot control

10
Expert Tasks

• Engineering
–Design
–Fault finding
–Manufacturing planning

• Scientific analysis

• Medical diagnosis

• Financial analysis

11
Limits of AI Today
Today’s AI systems have been able to achieve limited success in some of these
tasks.

•In Computer vision, the systems are capable of face recognition.


•In Robotics, we have been able to make vehicles that are mostly autonomous.
•In Natural language processing, we have systems that are capable of simple
machine translation.
•Today’s Expert systems can carry out medical diagnosis in a narrow domain.
•Speech understanding systems are capable of recognizing several thousand
words continuous speech
•Planning and scheduling systems had been employed in scheduling experiments
with the Telescope.
•The Learning systems are capable of doing text categorization into about a 1000
topics
•In Games, AI systems can play at the Grand Master level in chess .

12
What can AI systems NOT do yet ?

• Understand natural language robustly (e.g. read and understand articles in a


newspaper).

• Surf the web

• Interpret an arbitrary visual scene

• Learn a natural language

• Construct plans in dynamic real-time domains

• Exhibit true autonomy and intelligence

13
What is an AI Technique
AI technique is a method that exploits knowledge which should be represented in
such a way that –

•1) The knowledge captures generalization or we can say that situations that
share important properties and grouped together rather than to represent
separately each individual situation.

•2) It can be understood by people who provide it. In many AI domains most of the
knowledge, a programs has, must ultimately be provided by people in terms they
understand.

•3) It can easily be modified to correct errors and to reflect changes in the world
and in our world view.

•4) It can be used in a great many situations even if it is not totally accurate or
complete.

•5) It can be used to help overcome its own sheer bulk by to narrow the range of
possibilities that must usually be considered.

14
Examples of AI problems
• Tic-Tac toe
• Water jug problem
• 8-pzzle problem
• 8-queen problem
• Chess problem
• Missionaries and cannibals problem
• Tower of Hanoi problem
• Traveling salesman problem
• Magic square
• Language understanding problems
• Monkey and Banana Problem
• Crypt arithmetic puzzle
• Block World problem
15
Problem Solving
• Problem solving is a process of generating solutions from observed data.

• Key element of problem solving:

–State: A state is a representation of problem at a given moment.


–State space: Contains all the possible states for a given problem.
–Operators: the available actions performed is called operators.
–Initial state: position from which the problem-solving process may start.
–Goal state: solution to the problem.

16
General Problem solving
To build a system, to solve a particular problem, there are four things:

•1. Define the problem precisely (apply the State Space representation).

•2. Analyze the problem.

•3. Isolate and represent the task knowledge that is necessary to solve the problem.

•4.Choose the best problem solving technique(s) and apply it to the particular
problem.

17
Problem Characteristics
To choose an appropriate method for a particular problem:

•1.Is the problem decomposable?

•2.Can solution steps be ignored or undone?

•3.Is the universe predictable?

•4.Is a good solution absolute or relative?

•5.Is the solution a state or a path?

•6.What is the role of knowledge?

•7.Does the task require human-interaction?

18
State Space Representation

• Before a solution can be found, the prime condition is that the problem must
be very precisely defined. By defining it properly, one converts the abstract
problem into real workable states that are really understood.

• A set of all possible states for a given problem is known as the state space of
the problem. State space representations are highly beneficial in AI because
they provide all possible states, operations and goals.

• If the entire state space representations for a problem is given, it is possible


to trace the path from the initial state to the goal state and identify the
sequence of operators necessary for doing it.

19
8-puzzle problem

• In the 8-puzzle problem we have a 3×3 square board and 8 numbered tiles.
The board has one blank position.

• Tiles can be slid to adjacent blank positions. We can alternatively and


equivalently look upon this as the movement of the blank position up, down,
left or right.

• The objective of this puzzle is to move the tiles starting from an initial position
and arrive at a given goal configuration.

20
8-puzzle problem

21
State space of the 8-puzzle problem

22
Thank You

23

You might also like