Intelligent Systems

Intelligent Systems
Introduction Part 2
AI Areas
1. Alan Turing defined intelligent behavior as the
ability to achieve human level performance in
cognitive tasks, sufficient to fool an interrogator
2. Minsky defined intelligence in terms of
mechanisms. e.g., a human is a 'meat' machine
3. More recently some scientists have come to view
intelligence as a genetic process - evolving in a
competitive environment. The more competitive
the more intelligent.
4. Insect Intelligence
5. Recently Hybrid Systems
In terms of Software
Knowledge based systems, expert systems
Neural Networks
Genetic algorithms, genetic programming
Particle Swarm Optimization
Early AI
• 1950 – 1953: Early chess programs
(Shannon and Turing)
• 1956: Logic Theorist (Newell and Simon)
• 1960 – 1972( SAINT (Calculus),
ANALOGY (Geometric analogy),
STUDENT (read and solved high school
algebra word problems) - Winograd
If the number of customers Tom gets is three times the
square of 20 percent of the number of advertisements he runs,
and the number of advertisements he runs is 45 what is the
number of customers Tom gets?
Early Operational Definition of
Intelligence - Herb Simon
A (mental) act or series of acts is intelligent if it accomplishes
something that, if accomplished by a human being, would be called
“I know my friend is intelligent because he plays pretty good chess
(can keep a car on the road, can diagnose symptoms of a disease,
can solve the problem of the Missionaries and Cannibals, etc.). I
know that computer A is intelligent because it can play excellent
chess (better than all but about 50 humans in the entire world). I
know that Navlab is intelligent because it can stay on the road, etc,
etc. The trouble with those people who think that computer
intelligence is in the future is that they have never done serious
research on human intelligence.”
Class Exercise
Solve this problem
8-Puzzle: Arrange the tiles so that all the tiles are in the correct positions.
1 2 3
7 6 5
7 5
Class Exercise
How much money is sent?
Crypt Arithmetic
Class Exercise
Solve this game problem
MC Problem: There are three missionaries and three cannibals on the left bank
of a river. They wish to cross over to the right bank using a boat that can only
carry two at a time. The number of cannibals on either bank must never exceed
the number of missionaries on the same bank, otherwise the missionaries will
become the cannibals' dinner! Plan a sequence of crossings that will take
everyone safely across.
What do these problems have in common?
State Space Problem Solving
Initial State
Operators are rules that expand a state into a new states.
(Operators have costs associated with them.)
Goal State
Path cost
Branching Factor: If each state can be expanded into (generates)
b new states at the next level we say that the branching factor is b
1 + b + b2 + …. + bd
State of a MC problem
the number of missionaries on the left bank,
the number of cannibals on the left bank,
the side the boat is on.
All other information can be deduced from this
Start state is: state(3,3,left)
End state is: state(0,0,right)
Search Algorithm
Specify the problem {state space, initial states, goal state, set of
Start from an initial state
Set the frontier to the initial state
loop: If the frontier is empty fail;
remove a choice s from the frontier and set path to this choice
if s is a goal succeed (return the path);
expand the choice (for a in actions add [path + a -> Result(s,a)]
to frontier)
The algorithm terminates when we have found the goal state or there
are no new states to be found or time has expired
Ways of making the choice
Uniform Cost Search
g(n) is the cost of the search to node n
chooses the lowest cost node on the frontier.
Uniform cost search is breadth first search
with g(n) = DEPTH(n)
Depth-limited search
Iterative deepening - a depth first
search is run repeatedly, increasing
the depth limit with each iteration
Find a route from
Arad to Bucharest
Class Exercise
Find a route from Arad to Bucharest
Using Depth first
Using Breadth first
For uniformity assume nodes ordered anti clockwise
starting from west first come first expanded
How would you then find a shortest (least cost) route?
Heuristic Functions
Humans intuitively uses heuristics
h(n) = estimated cost of the cheapest path from node n to a
goal state.
Now find a shortest route from
Arad to Bucharest
The straight line distance may be used as an heuristic to
estimate the cost to the destination
h(n) = d(n, Bucharest)
Question: If this heurisic function is used what path will be
selected [Resolve node selection from vertically up
clockwise and first come first expanded]? Breadth first ?
A* Search
The selection function used is f(n) = g(n) + h(n)
where g(n) is the actual cost of the path to n, and,
h(n) is the heuristically estimated cost from n to the goal
A* is optimal provided that h(n) does not overestimate
the cost from n to the destination.
Question: If this heuristic function is used what path will
be selected?
Early AI
• Was all about searching using heuristics
• Computer Scientists thought that difficult
AI problems could be solved by heuristic
• The 8-puzzle can be solved very
successfully using a particular heuristic.
What do you think such an heuristic can
look like?
Difficulties with Early AI
The main difficulties for early AI were:
 Because AI researchers were developing general
methods for broad classes of problems, early
programs contained little or even no knowledge
about a problem domain. To solve problems,
programs applied a search strategy by trying out
different combinations of small steps, until the right
one was found. This approach was quite feasible for
smaller problems, so it seemed reasonable that, if
the programs could be “scaled up” to solve large
problems, they would finally succeed.
Domain Knowledge
• The power of AI programs to perform at high
levels of competence is primarily a function of the
program's knowledge of its task domain, and not
of the programs reasoning process.
• 1969 - 1982: DENDRYL, MYCIN, Prospector
• 1975: Frames (Objects) (Minski)
• 1982: R1 (McDermott)
Knowledge Based Systems
• To build an intelligent computer system, we
have to capture, organize and use human
expert knowledge in some narrow area of
Narrow Domain Turing Tests
• A program thought intelligent in some
narrow area of expertise is evaluated by
comparing its performance with the
performance of a human expert.
The technology of expert systems,
the key to success
Probably the most important development in the
eighties was the realisation that the domain for
intelligent machines had to be sufficiently
Knowledge Based Systems
Tax Cut: rule based tax advisor
Medical Diagnosis
Pension regulation helpers
Modeling Human Intelligence
AI researchers decided to have a new look at
neural networks (mid-1980s – onwards)
The real breakthrough came in 1986 when the backpropagation learning algorithm, first introduced by
Bryson and Ho in 1969 (Bryson & Ho, 1969), was
reinvented by Rumelhart and McClelland in Parallel
Distributed Processing (1986).
Artificial neural networks have come a long way
from the early models of McCulloch and Pitts to an
interdisciplinary subject with roots in neuroscience,
psychology, mathematics and engineering, and will
continue to develop in both theory and practical
Use of Prediction
What would you do if you had $10000CA and $50000ZAR?
Evolutionary Meaning of
• Genes, chromosomes
• Evolutionary fitness (survival of the fittest)
• Competing populations
Insect Intelligence
• Realization that insects are constantly
optimizing survival parameters
• Particle Swarm Optimization
• Ant Colony Optimization
• Bees Algorithm
Hybrid Intelligent Systems
• Combination of powerful techniques
applied to solve a problem
• Different components solved by hybridizing
intelligent systems
• From loosely coupled to tightly coupled
Stand Alone Models
• Independent components that do not interact
• Solving problems that have naturally
independent components – eg., decision
support and categorization
• Expert systems with neural networks
• Knowledge from the ES is used to set the
initial conditions and training set of the NN
• An ANN uses a GA to optimize its topology
Integrated – Fused Architectures
• Combine different techniques in one
computational model
• Share data structures and knowledge
• Extended range of capabilities – e.g.,
classification with explanation, or,
adaptation with classification
Can Computer Intelligence equal
human intelligence?
• AI may have a comparative advantage in
some areas
• Example: electronic book is both more and
less than a real book
• Virtual shopping mall is similarly different
from a real mall
• Robotic Soccer
AI Topics
AI Topics
a dynamic library of introductory information about
Artificial Intelligence

similar documents