SlideShare a Scribd company logo
Introduction to
Artificial Intelligence
AI Definitions
• The study of how to make programs/computers do things that people do
better
• The study of how to make computers solve problems which require
knowledge and intelligence
• The exciting new effort to make computers think … machines with minds
• The automation of activities that we associate with human thinking (e.g.,
decision-making, learning…)
• The art of creating machines that perform functions that require
intelligence when performed by people
• The study of mental faculties through the use of computational models
• A field of study that seeks to explain and emulate intelligent behavior in
terms of computational processes
• The branch of computer science that is concerned with the automation
of intelligent behavior
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?
Physical Symbol System Hypothesis
• A physical symbol system (PSS)
• consists of symbols (patterns) which are combinable into
expressions
• there are processes which operate on these symbols to create
new symbols and expressions
• consider for instance English as a physical symbol system
• symbols are the alphabet
• expressions are words and sentences
• the processes are the English grammar and parsers and dictionaries
• The PSS Hypothesis states that a PSS has the necessary
and sufficient means for intelligent action
• a computer is a PSS
• if the PSS Hypothesis is true, then it should be possible to program a
computer to produce intelligent actions
• this is the (or a) goal of AI
• if the PSS Hypothesis is not true, what are the consequences for AI?
Areas of AI and Some Dependencies
Search
Vision
Planning
Machine
Learning
Knowledge
Representation
Logic
Expert
Systems
Robotics
NLP
Artificial Intelligence
Systems that act
rationally
Systems that think
like humans
Systems that think
rationally
Systems that act
like humans
THOUGHT
BEHAVIOUR
HUMAN RATIONAL
Systems that act like humans:
Turing Test
• “The art of creating machines that perform functions that require
intelligence when performed by people.” (Kurzweil)
• “The study of how to make computers do things at which, at the
moment, people are better.” (Rich and Knight)
Systems that act like humans
•You enter a room which has a computer terminal.
You have a fixed period of time to type what you
want into the terminal, and study the replies. At
the other end of the line is either a human being
or a computer system.
•If it is a computer system, and at the end of the
period you cannot reliably determine whether it
is a system or a human, then the system is
deemed to be intelligent.
?
Systems that act like humans
•The Turing Test approach
• a human questioner cannot tell if
• there is a computer or a human answering his question, via teletype (remote
communication)
• The computer must behave intelligently
•Intelligent behavior
• to achieve human-level performance in all cognitive tasks
Systems that act like humans
• These cognitive tasks include:
• Natural language processing
• for communication with human
• Knowledge representation
• to store information effectively & efficiently
• Automated reasoning
• to retrieve & answer questions using the stored
information
• Machine learning
• to adapt to new circumstances
The total Turing Test
•Includes two more issues:
• Computer vision
•to perceive objects (seeing)
• Robotics
•to move objects (acting)
What is Artificial Intelligence ?
Systems that act
rationally
Systems that think
like humans
Systems that think
rationally
Systems that act
like humans
THOUGHT
BEHAVIOUR
HUMAN RATIONAL
Systems that think like humans:
cognitive modeling
•Humans as observed from ‘inside’
•How do we know how humans think?
• Introspection vs. psychological experiments
•Cognitive Science
•“The exciting new effort to make computers think
… machines with minds in the full and literal sense”
(Haugeland)
•“[The automation of] activities that we associate
with human thinking, activities such as decision-
making, problem solving, learning …” (Bellman)
What is Artificial Intelligence ?
Systems that act
rationally
Systems that think
like humans
Systems that think
rationally
Systems that act
like humans
THOUGHT
BEHAVIOUR
HUMAN RATIONAL
Systems that think ‘rationally’
"laws of thought"
•Humans are not always ‘rational’
•Rational - defined in terms of logic?
•Logic can’t express everything (e.g. uncertainty)
•Logical approach is often not feasible in terms of
computation time (needs ‘guidance’)
•“The study of mental facilities through the use of
computational models” (Charniak and McDermott)
•“The study of the computations that make it
possible to perceive, reason, and act” (Winston)
What is Artificial Intelligence ?
Systems that act
rationally
Systems that think
like humans
Systems that think
rationally
Systems that act
like humans
THOUGHT
BEHAVIOUR
HUMAN RATIONAL
Systems that act rationally:
“Rational agent”
• Rational behavior: doing the right thing
• The right thing: that which is expected to maximize goal
achievement, given the available information
• Giving answers to questions is ‘acting’.
• I don't care whether a system:
•replicates human thought processes
•makes the same decisions as humans
•uses purely logical reasoning
Systems that act rationally
•Logic → only part of a rational agent, not all of
rationality
• Sometimes logic cannot reason a correct conclusion
• At that time, some specific (in domain) human knowledge or information is
used
•Thus, it covers more generally different situations of
problems
• Compensate the incorrectly reasoned conclusion
Systems that act rationally
• Study AI as rational agent –
2 advantages:
• It is more general than using logic only
• Because: LOGIC + Domain knowledge
• It allows extension of the approach with more scientific methodologies
Rational agents
 An agent is an entity that perceives and acts
 This course is about designing rational agents
 Abstractly, an agent is a function from percept histories to
actions:

[f: P* → A]
 For any given class of environments and tasks, we seek the
agent (or class of agents) with the best performance
 Caveat: computational limitations make perfect rationality
unachievable
 → design best program for given machine resources

•Artificial
• Produced by human art or effort, rather than originating naturally.
•Intelligence
•is the ability to acquire knowledge and use it"
[Pigford and Baur]
•So AI was defined as:
• AI is the study of ideas that enable computers to be intelligent.
• AI is the part of computer science concerned with design of computer
systems that exhibit human intelligence(From the Concise Oxford
Dictionary)
From the above two definitions, we can see that AI has two
major roles:
• Study the intelligent part concerned with humans.
• Represent those actions using computers.
Goals of AI
• To make computers more useful by letting them take over dangerous
or tedious tasks from human
• Understand principles of human intelligence
The Foundation of AI
• Philosophy
• At that time, the study of human intelligence began with no formal
expression
• Initiate the idea of mind as a machine and its internal operations
The Foundation of AI
 Mathematics formalizes the three main area of AI: computation,
logic, and probability
 Computation leads to analysis of the problems that can be computed
 complexity theory
 Probability contributes the “degree of belief” to handle uncertainty in AI
 Decision theory combines probability theory and utility theory (bias)
The Foundation of AI
• Psychology
• How do humans think and act?
• The study of human reasoning and acting
• Provides reasoning models for AI
• Strengthen the ideas
• humans and other animals can be considered as information processing machines
The Foundation of AI
• Computer Engineering
• How to build an efficient computer?
• Provides the artifact that makes AI application possible
• The power of computer makes computation of large and difficult problems
more easily
• AI has also contributed its own work to computer science, including: time-
sharing, the linked list data type, OOP, etc.
The Foundation of AI
•Control theory and Cybernetics
• How can artifacts operate under their own control?
• The artifacts adjust their actions
• To do better for the environment over time
• Based on an objective function and feedback from the environment
• Not limited only to linear systems but also other problems
• as language, vision, and planning, etc.
The Foundation of AI
• Linguistics
• For understanding natural languages
• different approaches has been adopted from the linguistic work
• Formal languages
• Syntactic and semantic analysis
• Knowledge representation
The main topics in AI
Artificial intelligence can be considered under a number of
headings:
• Search (includes Game Playing).
• Representing Knowledge and Reasoning with it.
• Planning.
• Learning.
• Natural language processing.
• Expert Systems.
• Interacting with the Environment
(e.g. Vision, Speech recognition, Robotics)
We won’t have time in this course to consider all of these.
•more powerful and more useful computers
•new and improved interfaces
•solving new problems
•better handling of information
•relieves information overload
•conversion of information into knowledge
Some Advantages of Artificial
Intelligence
The Disadvantages
• increased costs
• difficulty with software development - slow and expensive
• few experienced programmers
• few practical products have reached the market as yet.
Search
• Search is the fundamental technique of AI.
• Possible answers, decisions or courses of action are structured into an
abstract space, which we then search.
• Search is either "blind" or “uninformed":
• blind
• we move through the space without worrying about what is coming next, but recognising
the answer if we see it
• informed
• we guess what is ahead, and use that information to decide where to look next.
• We may want to search for the first answer that satisfies our goal, or we
may want to keep searching until we find the best answer.
Knowledge Representation & Reasoning
• 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.
• how do we describe what we know about the world ?
• how do we describe it concisely ?
• how do we describe it so that we can get hold of the right piece of
knowledge when we need it ?
• how do we generate new pieces of knowledge ?
• how do we deal with uncertain knowledge ?
Knowledge
Declarative Procedural
• Declarative knowledge deals with factoid questions
(what is the capital of India? Etc.)
• Procedural knowledge deals with “How”
• Procedural knowledge can be embedded in
declarative knowledge
Planning
Given a set of goals, construct a sequence of actions that
achieves those goals:
• often very large search space
• but most parts of the world are independent of most
other parts
• often start with goals and connect them to actions
• no necessary connection between order of planning and
order of execution
• what happens if the world changes as we execute the
plan and/or our actions don’t produce the expected
results?
Learning
• If a system is going to act truly appropriately, then it must be able to
change its actions in the light of experience:
•how do we generate new facts from old ?
•how do we generate new concepts ?
•how do we learn to distinguish different
situations in new environments ?
Interacting with the Environment
•In order to enable intelligent behaviour, we will
have to interact with our environment.
•Properly intelligent systems may be expected to:
• accept sensory input
•vision, sound, …
• interact with humans
•understand language, recognise speech,
generate text, speech and graphics, …
• modify the environment
•robotics
History of AI
• AI has a long history
• Ancient Greece
• Aristotle
• Historical Figures Contributed
• Ramon Lull
• Al Khowarazmi
• Leonardo da Vinci
• David Hume
• George Boole
• Charles Babbage
• John von Neuman
• As old as electronic computers themselves (c1940)
History of AI
• Origins
• The Dartmouth conference: 1956
• John McCarthy (Stanford)
• Marvin Minsky (MIT)
• Herbert Simon (CMU)
• Allen Newell (CMU)
• Arthur Samuel (IBM)
• The Turing Test (1950)
• “Machines who Think”
• By Pamela McCorckindale
Periods in AI
• Early period - 1950’s & 60’s
• Game playing
• brute force (calculate your way out)
• Theorem proving
• symbol manipulation
• Biological models
• neural nets
• Symbolic application period - 70’s
• Early expert systems, use of knowledge
• Commercial period - 80’s
• boom in knowledge/ rule bases
Periods in AI cont’d
•? period - 90’s and New Millenium
•Real-world applications, modelling, better evidence,
use of theory, ......?
•Topics: data mining, formal models, GA’s, fuzzy logic,
agents, neural nets, autonomous systems
•Applications
• visual recognition of traffic
• medical diagnosis
• directory enquiries
• power plant control
• automatic cars
Fashions in AI
Progress goes in stages, following funding booms and crises: Some examples:
1. Machine translation of languages
1950’s to 1966 - Syntactic translators
1966 - all US funding cancelled
1980 - commercial translators available
2. Neural Networks
1943 - first AI work by McCulloch & Pitts
1950’s & 60’s - Minsky’s book on “Perceptrons” stops nearly all work on nets
1986 - rediscovery of solutions leads to massive growth in neural nets research
Symbolic and Sub-symbolic AI
• Symbolic AI is concerned with describing and manipulating
our knowledge of the world as explicit symbols, where
these symbols have clear relationships to entities in the real
world.
• Sub-symbolic AI (e.g. neural-nets) is more concerned with
obtaining the correct response to an input stimulus without
‘looking inside the box’ to see if parts of the mechanism can
be associated with discrete real world objects.
• This course is concerned with symbolic AI.
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
• Prediction of protein structure
• Text classification, document sorting:
• Web pages, e-mails
• Articles in the news
• Video, image classification
• Music composition, picture drawing
• Natural Language Processing

More Related Content

Similar to Introduction to Artificial Intelligence.pdf

AI ROUGH NOTES.pptx
AI ROUGH NOTES.pptxAI ROUGH NOTES.pptx
AI ROUGH NOTES.pptx
nireekshan1
 
chapter 1 AI.pptx
chapter 1 AI.pptxchapter 1 AI.pptx
chapter 1 AI.pptx
qwtadhsaber
 
Intro artificial intelligence
Intro artificial intelligenceIntro artificial intelligence
Intro artificial intelligence
Fraz Ali
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
HardikPChauhan
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
EithuThutun
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
DepartmentofITAITS
 
AI_Intro1.ppt
AI_Intro1.pptAI_Intro1.ppt
AI_Intro1.ppt
ssuserf35e0b1
 
Chap1.ppt
Chap1.pptChap1.ppt
Chap1.ppt
KhanKhaja1
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
WordoflifeBible
 
901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence
chougulesup79
 
artificial intelligence basis-introduction
artificial intelligence basis-introductionartificial intelligence basis-introduction
artificial intelligence basis-introduction
Saranya Subakaran
 
901470 chap1
901470 chap1901470 chap1
901470 chap1
spandangunti1
 
901470_Chap1 (1).ppt
901470_Chap1 (1).ppt901470_Chap1 (1).ppt
901470_Chap1 (1).ppt
MohamedAissaoui18
 
Artificial Intelligence for Business.ppt
Artificial Intelligence for Business.pptArtificial Intelligence for Business.ppt
Artificial Intelligence for Business.ppt
FarhanaMariyam1
 
901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence
floraaluoch3
 
Lecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.pptLecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.ppt
DebabrataPain1
 
Ai introduction
Ai  introductionAi  introduction
Ai introduction
BalneSridevi
 
AIML_Unit1.pptx
AIML_Unit1.pptxAIML_Unit1.pptx
AIML_Unit1.pptx
Somnath Kolgiri
 

Similar to Introduction to Artificial Intelligence.pdf (20)

AI ROUGH NOTES.pptx
AI ROUGH NOTES.pptxAI ROUGH NOTES.pptx
AI ROUGH NOTES.pptx
 
chapter 1 AI.pptx
chapter 1 AI.pptxchapter 1 AI.pptx
chapter 1 AI.pptx
 
Intro artificial intelligence
Intro artificial intelligenceIntro artificial intelligence
Intro artificial intelligence
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
AI_Intro1.ppt
AI_Intro1.pptAI_Intro1.ppt
AI_Intro1.ppt
 
Chap1.ppt
Chap1.pptChap1.ppt
Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt
901470_Chap1.ppt901470_Chap1.ppt
901470_Chap1.ppt
 
901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence901470_Chap1.ppt about to Artificial Intellgence
901470_Chap1.ppt about to Artificial Intellgence
 
artificial intelligence basis-introduction
artificial intelligence basis-introductionartificial intelligence basis-introduction
artificial intelligence basis-introduction
 
901470 chap1
901470 chap1901470 chap1
901470 chap1
 
901470_Chap1 (1).ppt
901470_Chap1 (1).ppt901470_Chap1 (1).ppt
901470_Chap1 (1).ppt
 
Artificial Intelligence for Business.ppt
Artificial Intelligence for Business.pptArtificial Intelligence for Business.ppt
Artificial Intelligence for Business.ppt
 
901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence901470_Chap1.ppt.artificial intelligence
901470_Chap1.ppt.artificial intelligence
 
Lecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.pptLecture 1. Introduction to AI and it's applications.ppt
Lecture 1. Introduction to AI and it's applications.ppt
 
Ai introduction
Ai  introductionAi  introduction
Ai introduction
 
AIML_Unit1.pptx
AIML_Unit1.pptxAIML_Unit1.pptx
AIML_Unit1.pptx
 

Recently uploaded

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
KrzysztofKkol1
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
varshanayak241
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 

Recently uploaded (20)

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 

Introduction to Artificial Intelligence.pdf

  • 2. AI Definitions • The study of how to make programs/computers do things that people do better • The study of how to make computers solve problems which require knowledge and intelligence • The exciting new effort to make computers think … machines with minds • The automation of activities that we associate with human thinking (e.g., decision-making, learning…) • The art of creating machines that perform functions that require intelligence when performed by people • The study of mental faculties through the use of computational models • A field of study that seeks to explain and emulate intelligent behavior in terms of computational processes • The branch of computer science that is concerned with the automation of intelligent behavior
  • 3. 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
  • 4. 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?
  • 5. Physical Symbol System Hypothesis • A physical symbol system (PSS) • consists of symbols (patterns) which are combinable into expressions • there are processes which operate on these symbols to create new symbols and expressions • consider for instance English as a physical symbol system • symbols are the alphabet • expressions are words and sentences • the processes are the English grammar and parsers and dictionaries • The PSS Hypothesis states that a PSS has the necessary and sufficient means for intelligent action • a computer is a PSS • if the PSS Hypothesis is true, then it should be possible to program a computer to produce intelligent actions • this is the (or a) goal of AI • if the PSS Hypothesis is not true, what are the consequences for AI?
  • 6. Areas of AI and Some Dependencies Search Vision Planning Machine Learning Knowledge Representation Logic Expert Systems Robotics NLP
  • 7. Artificial Intelligence Systems that act rationally Systems that think like humans Systems that think rationally Systems that act like humans THOUGHT BEHAVIOUR HUMAN RATIONAL
  • 8. Systems that act like humans: Turing Test • “The art of creating machines that perform functions that require intelligence when performed by people.” (Kurzweil) • “The study of how to make computers do things at which, at the moment, people are better.” (Rich and Knight)
  • 9. Systems that act like humans •You enter a room which has a computer terminal. You have a fixed period of time to type what you want into the terminal, and study the replies. At the other end of the line is either a human being or a computer system. •If it is a computer system, and at the end of the period you cannot reliably determine whether it is a system or a human, then the system is deemed to be intelligent. ?
  • 10. Systems that act like humans •The Turing Test approach • a human questioner cannot tell if • there is a computer or a human answering his question, via teletype (remote communication) • The computer must behave intelligently •Intelligent behavior • to achieve human-level performance in all cognitive tasks
  • 11. Systems that act like humans • These cognitive tasks include: • Natural language processing • for communication with human • Knowledge representation • to store information effectively & efficiently • Automated reasoning • to retrieve & answer questions using the stored information • Machine learning • to adapt to new circumstances
  • 12. The total Turing Test •Includes two more issues: • Computer vision •to perceive objects (seeing) • Robotics •to move objects (acting)
  • 13. What is Artificial Intelligence ? Systems that act rationally Systems that think like humans Systems that think rationally Systems that act like humans THOUGHT BEHAVIOUR HUMAN RATIONAL
  • 14. Systems that think like humans: cognitive modeling •Humans as observed from ‘inside’ •How do we know how humans think? • Introspection vs. psychological experiments •Cognitive Science •“The exciting new effort to make computers think … machines with minds in the full and literal sense” (Haugeland) •“[The automation of] activities that we associate with human thinking, activities such as decision- making, problem solving, learning …” (Bellman)
  • 15. What is Artificial Intelligence ? Systems that act rationally Systems that think like humans Systems that think rationally Systems that act like humans THOUGHT BEHAVIOUR HUMAN RATIONAL
  • 16. Systems that think ‘rationally’ "laws of thought" •Humans are not always ‘rational’ •Rational - defined in terms of logic? •Logic can’t express everything (e.g. uncertainty) •Logical approach is often not feasible in terms of computation time (needs ‘guidance’) •“The study of mental facilities through the use of computational models” (Charniak and McDermott) •“The study of the computations that make it possible to perceive, reason, and act” (Winston)
  • 17. What is Artificial Intelligence ? Systems that act rationally Systems that think like humans Systems that think rationally Systems that act like humans THOUGHT BEHAVIOUR HUMAN RATIONAL
  • 18. Systems that act rationally: “Rational agent” • Rational behavior: doing the right thing • The right thing: that which is expected to maximize goal achievement, given the available information • Giving answers to questions is ‘acting’. • I don't care whether a system: •replicates human thought processes •makes the same decisions as humans •uses purely logical reasoning
  • 19. Systems that act rationally •Logic → only part of a rational agent, not all of rationality • Sometimes logic cannot reason a correct conclusion • At that time, some specific (in domain) human knowledge or information is used •Thus, it covers more generally different situations of problems • Compensate the incorrectly reasoned conclusion
  • 20. Systems that act rationally • Study AI as rational agent – 2 advantages: • It is more general than using logic only • Because: LOGIC + Domain knowledge • It allows extension of the approach with more scientific methodologies
  • 21. Rational agents  An agent is an entity that perceives and acts  This course is about designing rational agents  Abstractly, an agent is a function from percept histories to actions:  [f: P* → A]  For any given class of environments and tasks, we seek the agent (or class of agents) with the best performance  Caveat: computational limitations make perfect rationality unachievable  → design best program for given machine resources 
  • 22. •Artificial • Produced by human art or effort, rather than originating naturally. •Intelligence •is the ability to acquire knowledge and use it" [Pigford and Baur] •So AI was defined as: • AI is the study of ideas that enable computers to be intelligent. • AI is the part of computer science concerned with design of computer systems that exhibit human intelligence(From the Concise Oxford Dictionary)
  • 23. From the above two definitions, we can see that AI has two major roles: • Study the intelligent part concerned with humans. • Represent those actions using computers.
  • 24. Goals of AI • To make computers more useful by letting them take over dangerous or tedious tasks from human • Understand principles of human intelligence
  • 25. The Foundation of AI • Philosophy • At that time, the study of human intelligence began with no formal expression • Initiate the idea of mind as a machine and its internal operations
  • 26. The Foundation of AI  Mathematics formalizes the three main area of AI: computation, logic, and probability  Computation leads to analysis of the problems that can be computed  complexity theory  Probability contributes the “degree of belief” to handle uncertainty in AI  Decision theory combines probability theory and utility theory (bias)
  • 27. The Foundation of AI • Psychology • How do humans think and act? • The study of human reasoning and acting • Provides reasoning models for AI • Strengthen the ideas • humans and other animals can be considered as information processing machines
  • 28. The Foundation of AI • Computer Engineering • How to build an efficient computer? • Provides the artifact that makes AI application possible • The power of computer makes computation of large and difficult problems more easily • AI has also contributed its own work to computer science, including: time- sharing, the linked list data type, OOP, etc.
  • 29. The Foundation of AI •Control theory and Cybernetics • How can artifacts operate under their own control? • The artifacts adjust their actions • To do better for the environment over time • Based on an objective function and feedback from the environment • Not limited only to linear systems but also other problems • as language, vision, and planning, etc.
  • 30. The Foundation of AI • Linguistics • For understanding natural languages • different approaches has been adopted from the linguistic work • Formal languages • Syntactic and semantic analysis • Knowledge representation
  • 31. The main topics in AI Artificial intelligence can be considered under a number of headings: • Search (includes Game Playing). • Representing Knowledge and Reasoning with it. • Planning. • Learning. • Natural language processing. • Expert Systems. • Interacting with the Environment (e.g. Vision, Speech recognition, Robotics) We won’t have time in this course to consider all of these.
  • 32. •more powerful and more useful computers •new and improved interfaces •solving new problems •better handling of information •relieves information overload •conversion of information into knowledge Some Advantages of Artificial Intelligence
  • 33. The Disadvantages • increased costs • difficulty with software development - slow and expensive • few experienced programmers • few practical products have reached the market as yet.
  • 34. Search • Search is the fundamental technique of AI. • Possible answers, decisions or courses of action are structured into an abstract space, which we then search. • Search is either "blind" or “uninformed": • blind • we move through the space without worrying about what is coming next, but recognising the answer if we see it • informed • we guess what is ahead, and use that information to decide where to look next. • We may want to search for the first answer that satisfies our goal, or we may want to keep searching until we find the best answer.
  • 35. Knowledge Representation & Reasoning • 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. • how do we describe what we know about the world ? • how do we describe it concisely ? • how do we describe it so that we can get hold of the right piece of knowledge when we need it ? • how do we generate new pieces of knowledge ? • how do we deal with uncertain knowledge ?
  • 36. Knowledge Declarative Procedural • Declarative knowledge deals with factoid questions (what is the capital of India? Etc.) • Procedural knowledge deals with “How” • Procedural knowledge can be embedded in declarative knowledge
  • 37. Planning Given a set of goals, construct a sequence of actions that achieves those goals: • often very large search space • but most parts of the world are independent of most other parts • often start with goals and connect them to actions • no necessary connection between order of planning and order of execution • what happens if the world changes as we execute the plan and/or our actions don’t produce the expected results?
  • 38. Learning • If a system is going to act truly appropriately, then it must be able to change its actions in the light of experience: •how do we generate new facts from old ? •how do we generate new concepts ? •how do we learn to distinguish different situations in new environments ?
  • 39. Interacting with the Environment •In order to enable intelligent behaviour, we will have to interact with our environment. •Properly intelligent systems may be expected to: • accept sensory input •vision, sound, … • interact with humans •understand language, recognise speech, generate text, speech and graphics, … • modify the environment •robotics
  • 40. History of AI • AI has a long history • Ancient Greece • Aristotle • Historical Figures Contributed • Ramon Lull • Al Khowarazmi • Leonardo da Vinci • David Hume • George Boole • Charles Babbage • John von Neuman • As old as electronic computers themselves (c1940)
  • 41. History of AI • Origins • The Dartmouth conference: 1956 • John McCarthy (Stanford) • Marvin Minsky (MIT) • Herbert Simon (CMU) • Allen Newell (CMU) • Arthur Samuel (IBM) • The Turing Test (1950) • “Machines who Think” • By Pamela McCorckindale
  • 42. Periods in AI • Early period - 1950’s & 60’s • Game playing • brute force (calculate your way out) • Theorem proving • symbol manipulation • Biological models • neural nets • Symbolic application period - 70’s • Early expert systems, use of knowledge • Commercial period - 80’s • boom in knowledge/ rule bases
  • 43. Periods in AI cont’d •? period - 90’s and New Millenium •Real-world applications, modelling, better evidence, use of theory, ......? •Topics: data mining, formal models, GA’s, fuzzy logic, agents, neural nets, autonomous systems •Applications • visual recognition of traffic • medical diagnosis • directory enquiries • power plant control • automatic cars
  • 44. Fashions in AI Progress goes in stages, following funding booms and crises: Some examples: 1. Machine translation of languages 1950’s to 1966 - Syntactic translators 1966 - all US funding cancelled 1980 - commercial translators available 2. Neural Networks 1943 - first AI work by McCulloch & Pitts 1950’s & 60’s - Minsky’s book on “Perceptrons” stops nearly all work on nets 1986 - rediscovery of solutions leads to massive growth in neural nets research
  • 45. Symbolic and Sub-symbolic AI • Symbolic AI is concerned with describing and manipulating our knowledge of the world as explicit symbols, where these symbols have clear relationships to entities in the real world. • Sub-symbolic AI (e.g. neural-nets) is more concerned with obtaining the correct response to an input stimulus without ‘looking inside the box’ to see if parts of the mechanism can be associated with discrete real world objects. • This course is concerned with symbolic AI.
  • 46. AI Applications •Autonomous Planning & Scheduling: • Autonomous rovers.
  • 47. AI Applications • Autonomous Planning & Scheduling: •Telescope scheduling
  • 48. AI Applications • Autonomous Planning & Scheduling: •Analysis of data:
  • 50. AI Applications • Medicine: •Image analysis and enhancement
  • 56. AI Applications Other application areas: • Bioinformatics: • Gene expression data analysis • Prediction of protein structure • Text classification, document sorting: • Web pages, e-mails • Articles in the news • Video, image classification • Music composition, picture drawing • Natural Language Processing