Lec1 1
Lec1 1
Principles of Artificial
Intelligence
Course Code CS321
Faculty of Computing and Information Technology
Computer Science Department
Jan, 2022
These slides are based on lecture notes of the book’s author(Artificial
Intelligence: A Modern Approach,)
&
King Saud University course materials
&
Grokking Artificial Intelligence Algorithms
Introduction
Chapter Objectives
• At the end of this chapter, the student should be able to:
?What is Intelligence
• What is intelligence?
What is Intelligence?
What is Intelligence?
• Salvador Dali’ believed that ambition is an attribute of intelligence; he
said, “Intelligence without ambition is a bird without wings.”
• Albert Einstein believed that imagination is a big factor in intelligence;
he said, “The true sign of intelligence is not knowledge, but
imagination.”
• And Stephen Hawking said, “Intelligence is the ability to adapt,”
What is AI?
What is AI?
• Russell textbook define AI as the study of agents that receive percepts from
the environment and perform actions. Each such agent implements a
function that maps percept sequences to actions, and we cover different
ways to represent these functions, such as reactive agents, real-time
planners, decision-theoretic systems, and deep learning systems.
What is AI
The Foundations of AI
• Philosophy: Philosophers (going back to 400 B.c.) made A1 conceivable by
considering the ideas that the mind is in some ways like a machine, that it operates
on knowledge encoded in some internal language, and that thought can be used to
choose what actions to take.
• Mathematics: Mathematician provided the tools to manipulate statements of
logical certainty as well as uncertain, probabilistic statements. They also set the
groundwork for understanding computation and reasoning about algorithms.
• Economics: Economists formalized the problem of making decisions that maximize
the expected outcome to the decision-maker.
• Neuroscience: physical substrate for mental activity
• Psychology: Psychologists adopted the idea that humans and animals can be
considered information processing machines. Linguists showed that language use
fits into this model.
• Computer engineering: Computer engineers provided the artifacts that make A1
applications possible. AI programs tend to be large, and they could not work
without the great advances in speed and memory that the computer industry has
provided.
• Control theory: It deals with designing devices that act optimally on the basis of
feedback from the environment. Initially, the mathematical tools of control theory
were quite different from AI, but the fields are coming closer together.
AI History
AI History
Early enthusiasm, great expectations (1952-1969):
AI History
AI History
AI becomes an Industry (1980 – present)
1980-88 Expert systems industry booms
1981 Japan: Fifth generation project to build intelligent
computers based on Prolog logic programming.
US: Microelectronics and Computer Technology Corp.
UK: Alvey (Natural Language Tools)
AI History
The return of neural networks (1986 - present)
• New algorithms discovered for training more complex neural networks (1986).
• Cognitive modeling of many psychological processes using neural networks, e.g.
learning language.
1988-93 Expert systems industry busts: ``AI Winter''
1985-95 Neural networks return to popularity
AI History
AI becomes a science (1987 – present)
AI History
Big data (2001–present)
• These data sets include trillions of words of text, billions of images, and billions of
hours of speech and video, as well as vast amounts of genomic data, vehicle
tracking data, clickstream data, social network data, and so on.
• the development of learning algorithms specially designed to take advantage of
very large data sets.
• The availability of big data and the shift towards machine learning helped AI recover
commercial attractiveness (Havenstein, 2005; Halevy et al., 2009)
AI History
Deep learning (2011–present)
AI History
AI Applications
• ROBOTIC VEHICLES:
• cars
• radio-controlled cars of the 1920s.
• 1980s without control
• driving on dirt roads in the 132-mile DARPA Grand Challenge in
2005
• driving on on streets with traffic in the 2007 Urban
Challenge
• In 2018, Waymo test vehicles passed the landmark of 10
million miles.
• commercial robotic taxi service.
• autonomous fixed-wing drones and Quadcopters.
• Legged locomotion BigDog, a quadruped robot by
Raibert et al. (2008).
• Atlas, a humanoid robot.
AI Applications
• AUTONOMOUS PLANNING AND SCHEDULING
– NASA’s Remote Agent program
– The EUROPA planning toolkit and the SEXTANT system
• MACHINE TRANSLATION
• SPEECH RECOGNITION
– Alexa, Siri, Cortana, and Google offer assistants that can
answer questions and carry out tasks for the user
AI Applications
• RECOMMENDATIONS:
– Companies such as Amazon, Facebook, Netflix, Spotify, YouTube,
Walmart, and others use ML to recommend what u like.
• IMAGE UNDERSTANDING
• MEDICINE
• Search Engines
AI Applications
• Game Playing
●
Deep Blue defeated world chess
champion Garry Kasparov in 1997.
●
ALPHAGO surpassed all human Players on
Go.
●
ALPHAZERO, used no input from
humans (except for the rules of the
game), and was able to learn through
self-play alone to defeat all opponents,
human and machine, at Go, chess, and
shogi.
AI Applications
• Expert Systems
Geology
• prospector expert system carries evaluation of mineral potential of geological site or region.
Diagnostic Systems
• Pathfinder, a medical diagnosis system (suggests tests and makes diagnosis) developed by Heckerman and other Microsoft
research.
• MYCIN system for diagnosing bacterial infections of the blood and suggesting treatments.
AI Applications
Knowledge-based system
• Expert system (or knowledge-based system): a program which encapsulates knowledge from
some domain, normally obtained from a human expert in that domain
• components:
• Knowledge base (KB): repository of rules, facts (productions)
• working memory: (if forward chaining used)
• inference engine: the deduction system used to infer results from user input and KB
• user interface: interfaces with user
• external control + monitoring: access external databases, control,...
AI Applications
• commercial viability: whereas there may be only a few experts whose time is expensive and rare, you can have many
expert systems
• expert systems can be used anywhere, anytime
• expert systems can explain their line of reasoning
• commercially beneficial: the first commercial product of AI
• Weaknesses:
• expert systems are as sound as their KB; errors in rules mean errors in diagnoses
• automatic error correction, learning is difficult (although machine learning research may change this)
• the extraction of knowledge from an expert, and encoding it into machine-inferrable form is the most difficult part of
expert system implementation.
Risks
LETHAL AUTONOMOUS WEAPONS
SURVEILLANCE AND PERSUASION
BIASED DECISION MAKING
IMPACT ON EMPLOYMENT
SAFETY-CRITICAL APPLICATIONS
AI aims to solve:
Search problems: Find a path to a solution
Optimization problems: Find a good solution
Prediction and classification problems: Learn from patterns in data
Clustering problems: Identify patterns in data
Deterministic models: Same result each time it’s calculated
Stochastic/probabilistic models: Potentially different result each time it’s
calculated
AI Concepts/fields
Summary
• To conclude:
THANKS