SlideShare a Scribd company logo
1 of 37
Download to read offline
2022 1/31
CS321: Principles of Artificial Intelligence
Introduction
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
Lecturer: Wedad Al-Sorori
2022 2/31
CS321: Principles of Artificial Intelligence
Introduction
Introduction
CS321: Principles of Artificial Intelligence
2022
Introduction 3/31
Chapter Objectives
• At the end of this chapter, the student should be able to:
• Understand Artificial Intelligence (AI).
• Identify and describe AI foundations.
• Evaluate the various definitions of AI.
• Summarize the history of AI.
• Mention AI applications with examples.
CS321: Principles of Artificial Intelligence
2022
Introduction 4/31
What is Intelligence
?
• What is intelligence?
• What is artificial intelligence?
CS321: Principles of Artificial Intelligence
2022
Introduction 5/31
• Intelligence may be defined as:
1. The capacity to acquire and apply knowledge.
2. The faculty of thought and reason.
3. In general, things that are autonomous yet adaptive are considered to
be intelligent.
What is Intelligence?
CS321: Principles of Artificial Intelligence
2022
Introduction 6/31
• 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 Intelligence?
CS321: Principles of Artificial Intelligence
2022
Introduction 7/31
• “The art of creating machines that perform functions that require
intelligence when performed by people” (Kurzweil, 1990).
• “The branch of computer science that is concerned with the automation of
intelligent behavior.” (Luger and Stublefield, 1993)
• AI is concerned with real-world problems (difficult tasks), which require
complex and sophisticated reasoning processes and knowledge.
• Artificial intelligence concerned with not just understanding but also
building intelligent entities—machines that can compute how to act
effectively and safely in a wide variety of novel situations.
What is AI?
CS321: Principles of Artificial Intelligence
2022
Introduction 8/31
• Grroking textbook defines AI as a synthetic system that exhibits
“intelligent” behavior.
• Douglas Hofstadter said, “AI is whatever hasn’t been done yet.”
• 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?
CS321: Principles of Artificial Intelligence
2022
Introduction 9/31
What is AI
• Some have defined intelligence in terms of fidelity to human
performance, while others prefer an abstract, formal definition
of intelligence called rationality—loosely speaking, doing the
“right thing.”
• Views of AI fall into four categories:
• Systems that think like humans
• Systems that act like humans
• Systems that think rationally
• Systems that act rationally
CS321: Principles of Artificial Intelligence
2022
Introduction 10/31
In 1950 Turing proposed an operational definition of intelligence by using a Test composed of:
• An interrogator (a person who will ask questions)
• a computer (intelligent machine !!)
• A person who will answer to questions
• A curtain (separator)
• If the response of a computer to an unrestricted textual natural-
language conversation cannot be distinguished from that of a human
being then it can be said to be intelligent.
Acting humanly: The Turing Test
CS321: Principles of Artificial Intelligence
2022
Introduction 11/31
• To give an answer, the computer would need to possess some capabilities:
• Natural language processing: To communicate successfully.
• Knowledge representation: To store what it knows or hears.
• Automated reasoning: to answer questions and draw conclusions using stored information.
• Machine learning: To adapt to new circumstances and to detect and extrapolate patterns.
• Computer vision: To perceive objects.
• Robotics to manipulate objects and move.
Acting humanly: The Turing Test
CS321: Principles of Artificial Intelligence
2022
Introduction 12/31
• To say that a program thinks like a human, we must know how
humans think.
• Cognitive Science: Interdisciplinary field (AI, psychology, linguistics,
philosophy, anthropology) that tries to form computational theories
of human cognition.
• We can learn about human thought in three ways:
• introspection—trying to catch our own thoughts as they go by;
• psychological experiments—observing a person in action;
• brain imaging—observing the brain in action.
Thinking Humanly: Cognitive Modeling
CS321: Principles of Artificial Intelligence
2022
Introduction 13/31
• Formalize “correct” reasoning using a mathematical model (e.g. of
deductive reasoning).
• We can learn about it through:
• Syllogisms
• Logicist
• Probability
• Logicist Program: Encode knowledge in formal logical statements and use
mathematical deduction to perform reasoning:
• Problems:
• Formalizing common sense knowledge is difficult.
• General deductive inference is computationally intractable.
Thinking Rationally: Laws of Thought
CS321: Principles of Artificial Intelligence
2022
Introduction 14/31
• An agent is an entity that perceives its environment and is able to execute
actions to change it.
• Agents have inherent goals that they want to achieve (e.g. survive,
reproduce).
• A rational agent is one that acts so as to achieve the
• best outcome or, when there is uncertainty, the best expected outcome.
• True maximization of goals requires omniscience and unlimited
computational abilities.
• Limited rationality involves maximizing goals within the computational and
other resources available.
Acting Rationally: Rational Agents
CS321: Principles of Artificial Intelligence
2022
Introduction 15/31
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.
CS321: Principles of Artificial Intelligence
2022
Introduction 16/31
Early AI: (The gestation of Artificial Intelligence)
1943 McCulloch & Pitts: Boolean circuit model of brain
1950 Turing's ``Computing Machinery and Intelligence''
1950s Early AI programs, including Samuel's checkers program,
Newell & Simon's Logic Theorist, Gelernter's Geometry Engine
The birth of Artificial Intelligence (1956)
1956 McCarthy organizes Dartmouth meeting and includes
Minsky, Shannon, Newell, Samuel, Simon
Name ``Artificial Intelligence'' adopted
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 17/31
Early enthusiasm, great expectations (1952-1969):
1957 General Problem Solver [Newell, Simon, Shaw @ CMU]
1958 Creation of the MIT AI Lab by Minsky and McCarthy
1958 LISP, [McCarthy], second high level language (MIT AI Memo 1)
1963 Creation of the Stanford AI Lab by McCarthy
1965 Robinson's complete algorithm for logical reasoning
A dose of reality (1966-1973):
1966-74 AI discovers computational complexity …
1966-72 Shakey, SRI’s Mobile Robot [Fikes, Nilson]
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 18/31
Knowledge-based systems (1969-1979)
1969 Publication of “Perceptrons” [Minsky & Papert],
Neural network research almost disappears
1969-79 Early development of knowledge-based systems
• First expert system DENDRAL for interpreting mass spectrogram data to determine molecular structure by
Buchanan, Feigenbaum, and Lederberg (1969).
1970 SHRDLU, Winograd’s natural language system
1971 MACSYMA, an symbolic algebraic manipulation system
1975 MYCIN: diagnosis of bacterial infection
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 19/31
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
CS321: Principles of Artificial Intelligence
2022
Introduction 20/31
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
CS321: Principles of Artificial Intelligence
2022
Introduction 21/31
AI becomes a science (1987 – present)
1988 Resurgence of probabilistic and decision-theoretic methods
• General focus on learning and training methods to address knowledge-acquisition
bottleneck.
• Shift of focus from rule-based and logical methods to probabilistic and statistical
methods (e.g. Bayes nets, Hidden Markov Models).
• Increased interest in particular tasks and applications
• Data mining
• Intelligent agents and Internet applications(softbots, believable agents, intelligent information
access)
• Scheduling/configuration applications (Successful companies: I2, Red Pepper, Trilogy)
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 22/31
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
CS321: Principles of Artificial Intelligence
2022
Introduction 23/31
Deep learning (2011–present)
• deep learning refers to machine learning using multiple layers of simple,
adjustable computing elements.
• A remarkable successes have led to a resurgence of interest in AI among
students, companies, investors, governments, the media, and the general
public.
• Deep learning relies heavily on powerful hardware.
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 24/31
AI History
CS321: Principles of Artificial Intelligence
2022
Introduction 25/31
• 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
CS321: Principles of Artificial Intelligence
2022
Introduction 26/31
• 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
CS321: Principles of Artificial Intelligence
2022
Introduction 27/31
• 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
CS321: Principles of Artificial Intelligence
2022
Introduction 28/31
• 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
CS321: Principles of Artificial Intelligence
2022
Introduction 29/31
• 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.
 Financial Decision Making
• Credit card providers, banks, mortgage companies use AI systems to detect fraud and expedite financial transactions.
 Configuring Hardware and Software
• AI systems configure custom computer, communications, and manufacturing systems, guaranteeing the purchaser
maximum efficiency and minimum setup time.
AI Applications
CS321: Principles of Artificial Intelligence
2022
Introduction 30/31
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
CS321: Principles of Artificial Intelligence
2022
Introduction 31/31
• Why use expert systems:
• 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.
AI Applications
CS321: Principles of Artificial Intelligence
2022
Introduction 32/31
Risks and Benefits of AI
 Our entire civilization is the product of our human intelligence. If we have
access to substantially greater machine intelligence, the ceiling on our
ambitions is raised substantially.
 As Demis Hassabis, CEO of Google DeepMind, has suggested: “First solve AI,
then use AI to solve everything else.”
 As AI systems find application in the real world, it has become necessary to
consider a wide range of risks and ethical consequences.
 In the longer term, we face the difficult problem of controlling super intelligent
AI systems that may evolve in unpredictable ways.
CS321: Principles of Artificial Intelligence
2022
Introduction 33/31
Risks and Benefits of AI
 Risks
 LETHAL AUTONOMOUS WEAPONS
 SURVEILLANCE AND PERSUASION
 BIASED DECISION MAKING
 IMPACT ON EMPLOYMENT
 SAFETY-CRITICAL APPLICATIONS
CS321: Principles of Artificial Intelligence
2022
Introduction 34/31
Problem types and problem-solving paradigms
 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
CS321: Principles of Artificial Intelligence
2022
Introduction 35/31
AI Concepts/fields
CS321: Principles of Artificial Intelligence
2022
Introduction 36/31
• To conclude:
• AI is a very fascinating field. It can help us solve difficult, real-world
problems, creating new opportunities in business, engineering, and many
other application areas.
• AI has matured considerably compared to its early decades, both
theoretically and methodologically. As the problems that AI deals with
became more complex, the field moved from Boolean logic to probabilistic
reasoning, and from hand-crafted knowledge to machine learning from
data. This has led to improvements in the capabilities of real systems and
greater integration with other disciplines.
Summary
CS321: Principles of Artificial Intelligence
2022
Introduction 37/31
THANKS

More Related Content

Similar to lec1_1.pdf

Artificial intelligence intro
Artificial intelligence introArtificial intelligence intro
Artificial intelligence intro
Ehsan Nowrouzi
 

Similar to lec1_1.pdf (20)

Artificial Intelligence- introduction
Artificial Intelligence- introductionArtificial Intelligence- introduction
Artificial Intelligence- introduction
 
28th Jan Intro to AI.ppt
28th Jan Intro to AI.ppt28th Jan Intro to AI.ppt
28th Jan Intro to AI.ppt
 
ARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm PaperARTIFICIAL INTELLIGENCETterm Paper
ARTIFICIAL INTELLIGENCETterm Paper
 
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
Introduction Artificial Intelligence a modern approach by Russel and Norvig 1
 
The IOT Academy Training for Artificial Intelligence ( AI)
The IOT Academy Training for Artificial Intelligence ( AI)The IOT Academy Training for Artificial Intelligence ( AI)
The IOT Academy Training for Artificial Intelligence ( AI)
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Lec1 introduction
Lec1 introductionLec1 introduction
Lec1 introduction
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Artificial intelligence intro
Artificial intelligence introArtificial intelligence intro
Artificial intelligence intro
 
M1 intro
M1 introM1 intro
M1 intro
 
Intro AI.pdf
Intro AI.pdfIntro AI.pdf
Intro AI.pdf
 
Lecture 1.ppt
Lecture 1.pptLecture 1.ppt
Lecture 1.ppt
 
Artificial intelligence introduction
Artificial intelligence introductionArtificial intelligence introduction
Artificial intelligence introduction
 
Artificial Intelligence by Sushil Louis
Artificial Intelligence by Sushil LouisArtificial Intelligence by Sushil Louis
Artificial Intelligence by Sushil Louis
 
m1-intro.ppt
m1-intro.pptm1-intro.ppt
m1-intro.ppt
 
#1 Lecture .pptx
#1 Lecture .pptx#1 Lecture .pptx
#1 Lecture .pptx
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
 
AI.ppt
AI.pptAI.ppt
AI.ppt
 
M1 intro
M1 introM1 intro
M1 intro
 

Recently uploaded

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Recently uploaded (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

lec1_1.pdf

  • 1. 2022 1/31 CS321: Principles of Artificial Intelligence Introduction 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 Lecturer: Wedad Al-Sorori
  • 2. 2022 2/31 CS321: Principles of Artificial Intelligence Introduction Introduction
  • 3. CS321: Principles of Artificial Intelligence 2022 Introduction 3/31 Chapter Objectives • At the end of this chapter, the student should be able to: • Understand Artificial Intelligence (AI). • Identify and describe AI foundations. • Evaluate the various definitions of AI. • Summarize the history of AI. • Mention AI applications with examples.
  • 4. CS321: Principles of Artificial Intelligence 2022 Introduction 4/31 What is Intelligence ? • What is intelligence? • What is artificial intelligence?
  • 5. CS321: Principles of Artificial Intelligence 2022 Introduction 5/31 • Intelligence may be defined as: 1. The capacity to acquire and apply knowledge. 2. The faculty of thought and reason. 3. In general, things that are autonomous yet adaptive are considered to be intelligent. What is Intelligence?
  • 6. CS321: Principles of Artificial Intelligence 2022 Introduction 6/31 • 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 Intelligence?
  • 7. CS321: Principles of Artificial Intelligence 2022 Introduction 7/31 • “The art of creating machines that perform functions that require intelligence when performed by people” (Kurzweil, 1990). • “The branch of computer science that is concerned with the automation of intelligent behavior.” (Luger and Stublefield, 1993) • AI is concerned with real-world problems (difficult tasks), which require complex and sophisticated reasoning processes and knowledge. • Artificial intelligence concerned with not just understanding but also building intelligent entities—machines that can compute how to act effectively and safely in a wide variety of novel situations. What is AI?
  • 8. CS321: Principles of Artificial Intelligence 2022 Introduction 8/31 • Grroking textbook defines AI as a synthetic system that exhibits “intelligent” behavior. • Douglas Hofstadter said, “AI is whatever hasn’t been done yet.” • 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?
  • 9. CS321: Principles of Artificial Intelligence 2022 Introduction 9/31 What is AI • Some have defined intelligence in terms of fidelity to human performance, while others prefer an abstract, formal definition of intelligence called rationality—loosely speaking, doing the “right thing.” • Views of AI fall into four categories: • Systems that think like humans • Systems that act like humans • Systems that think rationally • Systems that act rationally
  • 10. CS321: Principles of Artificial Intelligence 2022 Introduction 10/31 In 1950 Turing proposed an operational definition of intelligence by using a Test composed of: • An interrogator (a person who will ask questions) • a computer (intelligent machine !!) • A person who will answer to questions • A curtain (separator) • If the response of a computer to an unrestricted textual natural- language conversation cannot be distinguished from that of a human being then it can be said to be intelligent. Acting humanly: The Turing Test
  • 11. CS321: Principles of Artificial Intelligence 2022 Introduction 11/31 • To give an answer, the computer would need to possess some capabilities: • Natural language processing: To communicate successfully. • Knowledge representation: To store what it knows or hears. • Automated reasoning: to answer questions and draw conclusions using stored information. • Machine learning: To adapt to new circumstances and to detect and extrapolate patterns. • Computer vision: To perceive objects. • Robotics to manipulate objects and move. Acting humanly: The Turing Test
  • 12. CS321: Principles of Artificial Intelligence 2022 Introduction 12/31 • To say that a program thinks like a human, we must know how humans think. • Cognitive Science: Interdisciplinary field (AI, psychology, linguistics, philosophy, anthropology) that tries to form computational theories of human cognition. • We can learn about human thought in three ways: • introspection—trying to catch our own thoughts as they go by; • psychological experiments—observing a person in action; • brain imaging—observing the brain in action. Thinking Humanly: Cognitive Modeling
  • 13. CS321: Principles of Artificial Intelligence 2022 Introduction 13/31 • Formalize “correct” reasoning using a mathematical model (e.g. of deductive reasoning). • We can learn about it through: • Syllogisms • Logicist • Probability • Logicist Program: Encode knowledge in formal logical statements and use mathematical deduction to perform reasoning: • Problems: • Formalizing common sense knowledge is difficult. • General deductive inference is computationally intractable. Thinking Rationally: Laws of Thought
  • 14. CS321: Principles of Artificial Intelligence 2022 Introduction 14/31 • An agent is an entity that perceives its environment and is able to execute actions to change it. • Agents have inherent goals that they want to achieve (e.g. survive, reproduce). • A rational agent is one that acts so as to achieve the • best outcome or, when there is uncertainty, the best expected outcome. • True maximization of goals requires omniscience and unlimited computational abilities. • Limited rationality involves maximizing goals within the computational and other resources available. Acting Rationally: Rational Agents
  • 15. CS321: Principles of Artificial Intelligence 2022 Introduction 15/31 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.
  • 16. CS321: Principles of Artificial Intelligence 2022 Introduction 16/31 Early AI: (The gestation of Artificial Intelligence) 1943 McCulloch & Pitts: Boolean circuit model of brain 1950 Turing's ``Computing Machinery and Intelligence'' 1950s Early AI programs, including Samuel's checkers program, Newell & Simon's Logic Theorist, Gelernter's Geometry Engine The birth of Artificial Intelligence (1956) 1956 McCarthy organizes Dartmouth meeting and includes Minsky, Shannon, Newell, Samuel, Simon Name ``Artificial Intelligence'' adopted AI History
  • 17. CS321: Principles of Artificial Intelligence 2022 Introduction 17/31 Early enthusiasm, great expectations (1952-1969): 1957 General Problem Solver [Newell, Simon, Shaw @ CMU] 1958 Creation of the MIT AI Lab by Minsky and McCarthy 1958 LISP, [McCarthy], second high level language (MIT AI Memo 1) 1963 Creation of the Stanford AI Lab by McCarthy 1965 Robinson's complete algorithm for logical reasoning A dose of reality (1966-1973): 1966-74 AI discovers computational complexity … 1966-72 Shakey, SRI’s Mobile Robot [Fikes, Nilson] AI History
  • 18. CS321: Principles of Artificial Intelligence 2022 Introduction 18/31 Knowledge-based systems (1969-1979) 1969 Publication of “Perceptrons” [Minsky & Papert], Neural network research almost disappears 1969-79 Early development of knowledge-based systems • First expert system DENDRAL for interpreting mass spectrogram data to determine molecular structure by Buchanan, Feigenbaum, and Lederberg (1969). 1970 SHRDLU, Winograd’s natural language system 1971 MACSYMA, an symbolic algebraic manipulation system 1975 MYCIN: diagnosis of bacterial infection AI History
  • 19. CS321: Principles of Artificial Intelligence 2022 Introduction 19/31 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
  • 20. CS321: Principles of Artificial Intelligence 2022 Introduction 20/31 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
  • 21. CS321: Principles of Artificial Intelligence 2022 Introduction 21/31 AI becomes a science (1987 – present) 1988 Resurgence of probabilistic and decision-theoretic methods • General focus on learning and training methods to address knowledge-acquisition bottleneck. • Shift of focus from rule-based and logical methods to probabilistic and statistical methods (e.g. Bayes nets, Hidden Markov Models). • Increased interest in particular tasks and applications • Data mining • Intelligent agents and Internet applications(softbots, believable agents, intelligent information access) • Scheduling/configuration applications (Successful companies: I2, Red Pepper, Trilogy) AI History
  • 22. CS321: Principles of Artificial Intelligence 2022 Introduction 22/31 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
  • 23. CS321: Principles of Artificial Intelligence 2022 Introduction 23/31 Deep learning (2011–present) • deep learning refers to machine learning using multiple layers of simple, adjustable computing elements. • A remarkable successes have led to a resurgence of interest in AI among students, companies, investors, governments, the media, and the general public. • Deep learning relies heavily on powerful hardware. AI History
  • 24. CS321: Principles of Artificial Intelligence 2022 Introduction 24/31 AI History
  • 25. CS321: Principles of Artificial Intelligence 2022 Introduction 25/31 • 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
  • 26. CS321: Principles of Artificial Intelligence 2022 Introduction 26/31 • 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
  • 27. CS321: Principles of Artificial Intelligence 2022 Introduction 27/31 • 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
  • 28. CS321: Principles of Artificial Intelligence 2022 Introduction 28/31 • 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
  • 29. CS321: Principles of Artificial Intelligence 2022 Introduction 29/31 • 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.  Financial Decision Making • Credit card providers, banks, mortgage companies use AI systems to detect fraud and expedite financial transactions.  Configuring Hardware and Software • AI systems configure custom computer, communications, and manufacturing systems, guaranteeing the purchaser maximum efficiency and minimum setup time. AI Applications
  • 30. CS321: Principles of Artificial Intelligence 2022 Introduction 30/31 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
  • 31. CS321: Principles of Artificial Intelligence 2022 Introduction 31/31 • Why use expert systems: • 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. AI Applications
  • 32. CS321: Principles of Artificial Intelligence 2022 Introduction 32/31 Risks and Benefits of AI  Our entire civilization is the product of our human intelligence. If we have access to substantially greater machine intelligence, the ceiling on our ambitions is raised substantially.  As Demis Hassabis, CEO of Google DeepMind, has suggested: “First solve AI, then use AI to solve everything else.”  As AI systems find application in the real world, it has become necessary to consider a wide range of risks and ethical consequences.  In the longer term, we face the difficult problem of controlling super intelligent AI systems that may evolve in unpredictable ways.
  • 33. CS321: Principles of Artificial Intelligence 2022 Introduction 33/31 Risks and Benefits of AI  Risks  LETHAL AUTONOMOUS WEAPONS  SURVEILLANCE AND PERSUASION  BIASED DECISION MAKING  IMPACT ON EMPLOYMENT  SAFETY-CRITICAL APPLICATIONS
  • 34. CS321: Principles of Artificial Intelligence 2022 Introduction 34/31 Problem types and problem-solving paradigms  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
  • 35. CS321: Principles of Artificial Intelligence 2022 Introduction 35/31 AI Concepts/fields
  • 36. CS321: Principles of Artificial Intelligence 2022 Introduction 36/31 • To conclude: • AI is a very fascinating field. It can help us solve difficult, real-world problems, creating new opportunities in business, engineering, and many other application areas. • AI has matured considerably compared to its early decades, both theoretically and methodologically. As the problems that AI deals with became more complex, the field moved from Boolean logic to probabilistic reasoning, and from hand-crafted knowledge to machine learning from data. This has led to improvements in the capabilities of real systems and greater integration with other disciplines. Summary
  • 37. CS321: Principles of Artificial Intelligence 2022 Introduction 37/31 THANKS