Introduction To Artificial Intelligence Cosc 4061: Chapter One
Introduction To Artificial Intelligence Cosc 4061: Chapter One
CoSc 4061
Prerequisites: Logic in computer science
Chapter One
1
Outline
Basic Concepts of an Artificial Intelligence
Introduction to Artificial Intelligence
History of AI
Foundations of AI
Components of an AI System
2
Introduction
Introduction
What is Artificial Intelligence (AI) ?
Artificial Intelligence is composed of two words Artificial and Intelligence.
4
Artificial intelligence can be viewed from a variety of perspectives.
PROLOG is declarative in nature and has facilities for explicitly limiting the
search space.
6
Definition of Artificial Intelligence?
Artificial Intelligence (AI) is a branch of Science which deals
10
…What is the definition of AI?
11
…What is the definition of AI?
Bellman, 1978
“[The automation of] activities that we associate with human thinking,
activities such as decision making, problem solving, learning”
12
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
13
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
14
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
Haugeland, 1985
“The exciting new effort to make computers think machines with
minds, in the full and literal sense”
15
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
Kurzweil, 1990
“The art of creating machines that perform functions that require
intelligence when performed by people”
16
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
17
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
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”
18
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
19
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
Schalkoff, 1990
“A field of study that seeks to explain and emulate intelligent behavior
in terms of computational processes”
20
What is the definition of AI?
Systems that think like Systems that think rationally
humans
Systems that act like humans Systems that act rationally
Winston, 1992
“The study of the computations that make it possible to perceive,
reason, and act”
21
Areas of AI and Some Dependencies
Knowledge
Search Logic Representation
Machine
Planning
Learning
Expert
NLP Vision Robotics Systems
AI Advocators
• AI advocators publicly support/recommends on the
ultimate goal
– AI researchers are generally categorized as weak and
strong AI advocators
– Strong AI advocators
• In the future technologists will one day be able to build a
computer with all cognitive, memory, and emotional
capabilities of the human brain.
• They believe that computers will someday be more
intelligent than human beings
– Weak AI advocators
• If people need to make a computer that thinks, they should
replace the circuits with proteins
• They believe that we will achieve to build robust computer
systems that mostly provide decision support and decision
making
23
Weak A.I.
Machines with weak AI are made to respond to specific
situations, but can not think for themselves
Strong A.I.
A machine with strong A.I. is able to think and act just like a
human. It is able to learn from experiences.
Since there are no real life examples of strong A.I. yet, the
best representation would be how Hollywood portrays robots.
General AI goal
– Replicate human intelligent
– Solve knowledge intensive/Sever/ task
– Make an intelligent connection between
perception (insight, sense, become aware) and action
– Enhance human-computer interaction/
communication
25
General AI goal
• Engineering based AI goal
– Develop concepts, theory and practice of building
intelligent machines
– Emphasis is on system building
• Science based AI goal
– Develop concepts, mechanisms and vocabulary to
understand biological intelligent behaviours
– Emphasis is on understanding intelligent
behaviours
26
Approaches of AI
• AI can be explained as approaches centered as
both around human and rationality
• The Humanistic-Centered approach
– The scientific part
– Involves an empirical science
– It involves two goals: THNKING AND ACTING
HUMANLY
27
Approaches of AI…
• Humanistic-centered approach
– Thinking Humanly: The Cognitive Modeling
• Reasons like humans do
– Programs that behaves like humans
E.g; Abebe is a man, all men are mortal: therefore Abebe is mortal
– These laws of thought governed the operation of the mind and
initiated the filed of logic
30
Approaches of AI…
• Acting rationally: The rational agent
– Doing the right thing so as to achieve one’s goal,
given one’s beliefs.
– AI is the study and construction of rational agents
(an agent that perceives and acts)
– Rational actions requires the ability to represent
knowledge and reason with it so as to reach good
decision
• Learning for better understanding of how the world
works
31
History of AI
• The concept of intelligent machines is found in
Greek mythology. There is a story in the 8th
century A.D about Pygmalion Olio, the
legendary king of Cyprus. He fell in love with
an ivory statue he made to represent his ideal
woman.
• The king prayed to the goddess Aphrodite, and
the goddess miraculously brought the statue to
life.
32
History of AI
• Other myths involve human-like artifacts. As a
present from Zeus to Europa, Hephaestus
created Talos, a huge robot. Talos was made of
bronze and his duty was to patrol the beaches
of Crete.
• Aristotle (384-322 BC) developed an informal
system of syllogistic logic, which is the basis
of the first formal deductive reasoning system.
33
History of AI
• Early in the 17 th century, Descartes proposed
that bodies of animals are nothing more than
complex machines.
• Pascal in 1642 made the first mechanical
digital calculating machine. In the 19 th century,
George Boole developed a binary algebra
representing (some) "laws of thought."
34
History of AI
• Charles Babbage & Ada Byron worked on
programmable mechanical calculating
machines. In the late 19th century and early
20th century, mathematical philosophers like
Gottlob Frege, Bertram Russell, Alfred North
Whitehead, and Kurt Gödel built on Boole's
initial logic concepts to develop mathematical
representations of logic problems.
35
History of AI
• Formally initiated in 1956 and the name AI was
coined by John McCarthy
• The advent of general purpose computers provided a
vehicle for creating artificially intelligent entities.
• Development of knowledge-based systems: the key to
power
– Performance of general-purpose problem solving methods is
weak for complex domains
– Use knowledge more suited to make better reasoning in
narrow areas of expertise (like human experts do)
– Early knowledge intensive system include:
• The Dendral program (1969): solved the problem of inferring
molecular structure.
• MYCIN (1976): used for medical diagnosis:
36
History of AI…
• Shifts from procedural to declarative
programming paradigm
– Rather than telling the computer how to compute a
solution, a program consists of a knowledge base
of facts and relationships
– Rather than running a program to obtain a solution,
the user asks question so that the system searches
through the KB to determine the answer
37
Limitation of AI today
• Today’s successful AI systems operate in well-
defined domains and employ narrow,
specialized knowledge.
• Common sense knowledge is needed to
function in complex, open-ended worlds. Such
a system also needs to understand
unconstrained natural language.
• However these capabilities are not yet fully
present in today’s intelligent systems.
38
What can AI systems NOT do yet?
– Understand natural language robustly
(e.g., read and understand articles in a news paper)
– Surf the web
– Interpret an arbitrary visual scene
– Learn a natural language
– Construct plans in dynamic real-time
domains
– Exhibit true autonomy and intelligence
39
The Disadvantages
increased costs
difficulty with software development - slow and
expensive
few experienced programmers
few practical products have reached the market
as yet.
Applications of AI
• AI is concerned with automating both the
Mundane/ordinary and experts tasks.
• Categories of AI applications include:
– Mundane Tasks (Pattern recognition)
– Natural Language Processing (NLP: generation,
translation, understanding)
– Formal Tasks (Games, Puzzles, Mathematics)
– Expert Tasks (Medical Diagnosis, Fault
Finding, Engineering)
– Paradoxically, it turns out that it is the
Mundane task that is generally much the
hardest to automate
41
Applications of AI…
• Subfields of AI
• Following are major subfields of AI
– Natural Language Processing (NLP)
• It enables computers communicate in human language,
English Amharic…)
– Knowledge Representations (KR)
• Schemas to store information, both facts and inferences,
before and during interrogation
– Automatic Reasoning
• Uses stored information to answer questions and draw
new conclusions
42
Applications of AI…
• Subfields of AI…
– Machine learning
• Adapt to new circumstances and accumulate knowledge
– Computer vision
• Recognize objects based on patterns in the same way as
the human visual system
– Robotics
• Produce mechanical device capable of controlling
motion; which enable computers see, hear and take
actions
43
AI Applications…
Autonomous Planning &
Scheduling:
Autonomous rovers.
AI Applications…
Autonomous Planning & Scheduling:
Telescope scheduling
AI Applications…
Autonomous Planning & Scheduling:
Analysis of data:
AI Applications…
Medicine:
Image guided surgery
AI Applications…
Medicine:
Image analysis and enhancement
AI Applications…
Transportation:
Autonomous vehicle
control:
AI Applications…
Transportation:
Pedestrian detection:
AI Applications…
Games:
AI Applications…
Games:
AI Applications…
Robotic toys:
AI Applications…
Other application areas:
Bioinformatics:
Gene expression data analysis
Perception.
Some Advantages of Artificial Intelligence
• ALVINN
• DEEP BLUE
• MACHINE TRANSLATION
• AUTONOMOUS AGENTS
• INTERNET AGENTS
56
Knowledge Representation & Reasoning
It is the second most important concept in AI
If we are going to act rationally in our environment, then we must have
some way of describing that environment and drawing inferences from that
representation.
Declarative Procedural
often very large search space but most parts of the world are
independent of most other parts
64