Ch1 AI Intro
Ch1 AI Intro
ARTIFICIAL
INTELLIGENT
ASSESSMENT
2
TOPIC SCHEDULE
3
TOPIC 1: INTRODUCTION TO ARTIFICIAL INTELLIGENT
4
AI DEFINITIONS
• The study of how to make programs/computers do Thinking
things that people do better machines or
• The study of how to make computers solve problems
which require knowledge and intelligence
machine
• The exciting new effort to make computers think … intelligence
machines with minds
• The automation of activities that we associate with
human thinking (e.g., decision-making, learning…) Studying
• The art of creating machines that perform functions cognitive
that require intelligence when performed by people faculties
• The study of mental faculties through the use of
computational models
• A field of study that seeks to explain and emulate Problem
intelligent behavior in terms of computational Solving and
processes CS
• The branch of computer science that is concerned with
the automation of intelligent behavior
SO WHAT IS AI?
• AI as a field of study
– Computer Science
– Cognitive Science
– Psychology
– Philosophy
– Linguistics
– Neuroscience
• AI is part science, part engineering
• AI often must study other domains in order to implement systems
– e.g., medicine and medical practices for a medical diagnostic system,
engineering and chemistry to monitor a chemical processing plant
• AI is a belief that the brain is a form of biological computer and that
the mind is computational
• AI has had a concrete impact on society but unlike other areas of CS,
the impact is often
– felt only tangentially (that is, people are not aware that system X has AI)
– felt years after the initial investment in the technology
WHAT IS INTELLIGENCE?
• Is there a “holistic” definition for intelligence?
• Here are some definitions:
– the ability to comprehend; to understand and profit from experience
– a general mental capability that involves the ability to reason, plan, solve
problems, think abstractly, comprehend ideas and language, and learn
– is effectively perceiving, interpreting and responding to the environment
• None of these tells us what intelligence is, so instead, maybe we
can enumerate a list of elements that an intelligence must be able
to perform:
– perceive, reason and infer, solve problems, learn and adapt, apply
common sense, apply analogy, recall, apply intuition, reach emotional
states, achieve self-awareness
• Which of these are necessary for intelligence? Which are
sufficient?
• Artificial Intelligence – should we define this in terms of human
intelligence?
– does AI have to really be intelligent?
– what is the difference between being intelligent and demonstrating
intelligent behavior?
THE TURING TEST
• 1950 – Alan Turing devised a test for
intelligence called the Imitation Game
– Ask questions of two entities, receive
answers from both
– If you can’t tell which of the entities is
human and which is a computer
program, then you are fooled and we
should therefore consider the computer Questions
Answers Answers
to be intelligent
• Recent trend
– More sophisticated Interaction with the user through
• natural language understanding
• speech recognition and synthesis
• image analysis
31
THE FIELD OF ARTIFICIAL INTELLIGENCE (AI)
• Primary goal:
– Development of software aimed at enabling machines to solve problems
through human-like reasoning
32
EXAMPLES
• Recognizing
Playing chessspeech
• Diagnosing
Driving on the
diseases
highway
• Translating
Mowing thelanguages
lawn
• Data
Answering
miningquestions
• The term means that they have no additional information about states beyond
that provided in the problem definition.
• All they can do - generate successors and distinguish a goal state from a
nongoal state.
• All search strategies are distinguished by the order in which nodes are
expanded.
• GREEDY BEST-FIRST SEARCH tries to expand the node that is closest to the goal, on the
grounds that this is likely to lead to a solution quickly. Thus, it evaluates nodes by using just
the heuristic function: f(n) = h(n).
• A* SEARCH( pronounce as “A star search) : Minimizing the total estimated solution cost. It
evaluates nodes by combining g(n), the cost to reach the node, and h(n), the cost to get from
the node to the goal.
• Memory-bounded heuristic search: The simplest way to reduce memory requirements for A∗
is to adapt the idea of iterative deepening to the heuristic search context, resulting in the
iterative-deepening A∗ (IDA∗ ) algorithm. >Recursive best-first search ( 2 or more
memories)
EXAMPLE: TIC TAC TOE #1
• Precompiled move
table.
move
table
• Predefined strategy:
– 1. Win
– 2. Block
– 3. Take center
– 4. Take corner
– 5. Take any open square
• Given a board, consider all possible moves (future boards) and pick the best one
• Look ahead (opponent’s best move, your best move…) until end of game
• Functions needed:
– Next move generator
– Board evaluation function
• Built by
– interrogating domain experts
– storing acquired knowledge in a form suitable for solving problems,
using simple reasoning
• Used by
– Querying the user for problem-specific information
– Using the information to draw inferences from the knowledge base
– Supplies answers or suggested ways to collect further inputs
57
OVERVIEW OF EXPERT SYSTEMS (CONT’D)
58
ARTIFICIAL NEURAL NETWORKS (ANN)
• Human brain consists of 100 billion densely interconnected simple processing
elements known as neurons
• ANNs are based on a simplified model of the neurons and their operation
• After learning the ANN is able to solve problems, even with newish input
• The learning phase may or may not involve human intervention (supervised vs
unsupervised learning)
• The problem solving 'model' developed remains implicit and unknown to the user
• Particularly suitable for problems not prone to algorithmic solutions, eg, pattern
recognition, decision support
59
ARTIFICIAL NEURAL NETWORKS (CONT’D)
60
GENETIC ALGORITHMS (GA)
• New generations of solutions are produced beginning with the intial population, using specific
genetic operations: selection, crossover and mutation
61
GENETIC ALGORITHMS (CONT’D)
62
FUZZY SYSTEMS
63
FUZZY SYSTEMS (CONT’D)
64
CASE-BASED REASONING (CBR)
• CBR systems search the case-base for cases with attributes similar to
given problem
65
CASE-BASED REASONING (CONT’D)
• Application examples:
– Utilisation of shop floor expertise in aircraft repairs
– Legal reasoning
– Dispute mediation
– Data mining
– Fault diagnosis
– Scheduling
66
DATA MINING
67
DATA MINING (CONT’D)
• It is possible to extract useful information on market and customer
behaviour by “mining" the data
• Note: This goes far beyond simple statistical analysis of numerical data, to
classification and analysis of non-numerical data
68
INTELLIGENT SOFTWARE AGENTS (ISA)
• ISAs are computer programs that provide active assistance to information
system users
• Act in many ways like a personal assistant to the user by attempting to adapt
to the specific needs of the user
• Capable of learning from the user as well as other intelligent software agents
• Application examples:
– News and Email Collection,
Filtering and Management
– Online Shopping
– Event Notification
– Personal scheduling
– Online help desks, interactive characters
– Rapid Response Implementation
69
LANGUAGE TECHNOLOGY (LT)
• Applications of LT:
– Natural Language Processing (NLP)
– Knowledge Representation
– Speech recognition
– Optical character recognition (OCR)
– Handwriting recognition
– Machine translation
– Text summarisation
– Speech synthesis Hi, I am Cybelle.
What is your name?