SlideShare a Scribd company logo
Artificial Intelligence
What is AI?
• Can machines “think”?
• Can machines be truly autonomous?
• Can machines program themselves?
• Can machines learn?
• Will they ever be “conscious”, and is that
necessary?
• media depictions of AI (science fiction)
– HAL in 2001: Space Odessey
– Spielberg’s AI
– Data on Star Trek Next Generation
– ...
• real AI has many practical applications
– credit evaluation, medical diagnosis
– guidance systems, surveillance
– manufacturing (robotics, logistics)
– information kiosks, computer-aided tutoring
– AI in video games (also: Deep Blue, chess)
– driverless vehicles, UAVs
– Mars rover, Hubble telescope
• AI has a long history, and draws on many
fields
– mathematics, computability, formal logic
– control theory
– optimization
– cognitive science
– linguistics
Perspectives on AI
• Philosophical
– What is the nature of intelligence?
• Psychological
– How do humans think?
• Engineering
– advanced methods for building complex
systems that solve hard real-world problems
Philosophical Perspective
• started with Greek philosophers (e.g. Aristotle)
– syllogisms
– natural categories
• 1700-1800s: development of logic, calculus
– Descartes, Liebnitz, Boole, Frege, Tarski, Russell
– what are concepts? existence, intention, causality...
– reductionist approaches to try to mechanize reasoning
• 1900s: development of computers
– input/output model
– is intelligence a “computable function”?
– Turing, von Neumann, Gödel
• Does “intelligence” require a physical brain?
– Programmed devices will probably never have
“free will”
• Or is it sufficient to produce intelligent
behavior, regardless of how it works?
• The Turing Test
– first published in 1950
– a panel of human judges asks questions through
a teletype interface (restricted to topic areas)
– a program is intelligent if it can fool the judges
and look indistinguishable from other humans
– annual competition at MIT: the Loebner Prize
• chatterbots
Psychological Perspective
• AI is about understanding and modeling
human intelligence
• Cognitive Science movement (ca. 1950s)
– replace stimulus/response model
– internal representations
– mind viewed as “information processor”
(sensory perceptionsconceptsactions)
• Are humans a good model of intelligence?
– strengths:
• interpretation, dealing with ambiguity, nuance
• judgement (even for ill-defined situations)
• insight, creativity
• adaptiveness
– weaknesses:
• slow
• error-prone
• limited memory
• subject to biases
• influenced by emotions
Optimization
• AI draws upon (and extends) optimization
– remember NP-hard problems?
• there is (probably) no efficient algorithm that solves them in
polynomial time
– but we can have approximation algorithms
• run in polynomial time, but don’t guarantee optimal solution
– classic techniques: linear programming, gradient descent
• Many problems in AI are NP-hard (or worse)
• AI gives us techniques for solving them
– heuristic search
– use of expertise encoded in knowledge bases
– AI relies heavily on greedy algorithms, e.g. for scheduling
– custom algorithms for search (e.g. constraint
satisfaction), planning (e.g. POP, GraphPlan), learning
(e.g. rule generation), decision making (MDPs)
Planning
• Autonomy – we want computers to figure out
how to achieve goals on their own
– Given a goal G
– and a library of possible actions Ak
– find a sequence of actions A1..An
– that changes the state of the worlds to achieve G
current state of world desired state of world
pickup(A)
puton(A,table)
pickup(C)
puton(C,A)
pickup(B)
pickup(B,C)
• Examples:
– Blocks World – stack blocks in a desired way
– traveling from College Station to Statue of Liberty
– rescuing a victim in a collapsed building
– cooking a meal
• The challenges of planning are:
– for each task, must invoke sub-tasks to ensure pre-
conditions are satisfied
• in order to nail 2 pieces of wood together, I have to have a
hammer
– sub-tasks might interact with each other
• if I am holding a hammer and nail, I can’t hold the boards
– so planning is a combinatorial problem
Intelligent Agents
• agents are: 1) autonomous, 2) situated in an
environment they can change, 3) goal-oriented
• agents focus on decision making
• incorporate sensing, reasoning, planning
– sense-decide-act loop
• rational agents try to maximize a utility
function (rewards, costs)
goals KB initial state
goal state
perception
action
agent environment
• agents often interact in multi-agent systems
– collaborative
• teamwork, task distribution
• information sharing/integration
• contract networks
• voting
• remember Dr. Shell’s multi-robots
– competitive
• agents will maximize self utility in open systems
• negotiation
• auctions, bidding
• game theory
• design mechanisms where there is incentive to
cooperate
Core Concepts in AI
• Symbolic Systems Hypothesis
– intelligence can be modeled as manipulating symbols
representing discrete concepts
• like Boolean variables for CupEmpty, Raining, LightsOn,
PowerLow, CheckmateInOneMove, PedestrianInPath...
• inference and decision-making comes from comparing
symbols and producing new symbols
– Herbert Simon, Allan Newell (CMU, 1970s)
• (A competing idea: Connectionism)
– neural networks
– maybe knowledge can’t be represented by discrete
concepts, but is derived from associations and their
strengths
– good model for perception and learning
Core Concepts in AI
• Search
– everything in AI boils down to discrete search
– search space: different possible actions
branch out from initial state
– finding a goal
• weak methods: depth-first search (DFS), breadth-
first search (BFS), constraint satisfaction (CSP)
• strong methods: use ‘heuristics’, A* search
S0
goal nodes
• Applications of search
– game search (tic-tac-toe, chess)
– planning
– natural language parsing
– learning (search for logical rules that describe
all the positive examples and no negative
examples by adding/subtracting antecedents)
• Knowledge-representation
– attempt to capture expertise of human experts
– build knowledge-based systems, more powerful
than just algorithms and code
– “In the knowledge lies the power” (Ed
Feigenbaum, Turing Award: 1994 )
– first-order logic
• p vegetarian(p)↔(f eats(p,f)m meat(m)contains(f,m))
• x,y eat(joe,x)contains(x,y)fruit(y)vegetable(y)
•  vegetarian(joe)
– inference algorithms
• satisfiability, entailment, modus ponens, backward-
chaining, unification, resolution
Core Concepts in AI
• Expert Systems
– Medical diagnosis: rules for linking symptoms
with diseases, from interviews with doctors
– Financial analysis: rules for evaluating credit
score, solvency of company, equity-to-debt
ratio, sales trends, barriers to entry
– Tutoring – rules for interpreting what a student
did wrong on a problem and why, taxonomy of
possible mis-conceptions
– Science – rules for interpreting chemical
structures from mass-spectrometry data, rules
for interpreting well logs and finding oil
• Major problem with many expert systems:
brittleness
• Major issue in AI today: Uncertainty
– using fuzzy logic for concepts like “good
management team”
– statistics: conditional probability that a patient
has meningitis given they have a stiff neck
– Markov Decision Problems: making decisions
based on probabilities and payoffs of possible
outcomes
Sub-areas within AI
• Natural language
– parsing sentences, representing meaning, metaphor,
answering questions, translation, dialog systems
• Vision
– cameraimagescorners/edges/surfaces
objectsstate description
– occlusion, shading, textures, face recognition,
stereo(3D), motion(video)
• Robotics – configuration/motion planning
• Machine Learning (machines can adapt!)
– decision trees, neural networks, linear classifiers
– extract characteristic features from a set of examples

More Related Content

Similar to ArtificialIntelligence.ppt

AI Introduction
AI Introduction AI Introduction
AI Introduction
Nashrah Habib
 
Cognitive Science.ppt
Cognitive Science.pptCognitive Science.ppt
Cognitive Science.ppt
BalasundaramSr
 
Introduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdfIntroduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdf
gqgy2nsf5x
 
AI.ppt
AI.pptAI.ppt
AI.ppt
Mard Geer
 
Artificial intelligence in robotics
Artificial intelligence in roboticsArtificial intelligence in robotics
Artificial intelligence in robotics
W3Edify
 
Artificial Intelligence.pptx
Artificial Intelligence.pptxArtificial Intelligence.pptx
Artificial Intelligence.pptx
MirzaJahanzeb5
 
Artificial Intelligence and The Complexity
Artificial Intelligence and The ComplexityArtificial Intelligence and The Complexity
Artificial Intelligence and The Complexity
Hendri Karisma
 
Artificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarArtificial Intelligence by B. Ravikumar
Artificial Intelligence by B. Ravikumar
Garry D. Lasaga
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or history
Arslan Sattar
 
Lec-1.pdf
Lec-1.pdfLec-1.pdf
Lec-1.pdf
ZainabShahzad9
 
computer science engineering spe ialized in artificial Intelligence
computer science engineering spe ialized in artificial Intelligencecomputer science engineering spe ialized in artificial Intelligence
computer science engineering spe ialized in artificial Intelligence
KhanKhaja1
 
ai.ppt
ai.pptai.ppt
ai.ppt
securework
 
ai.ppt
ai.pptai.ppt
ai.ppt
KhanKhaja1
 
Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
Meenakshi Paul
 
1 artificial intelligence
1  artificial intelligence1  artificial intelligence
1 artificial intelligence
Ahmad sohail Kakar
 
UNIT 1 SRMIST KTR_problem and agents.pdf
UNIT 1 SRMIST KTR_problem and agents.pdfUNIT 1 SRMIST KTR_problem and agents.pdf
UNIT 1 SRMIST KTR_problem and agents.pdf
RishuRaj953240
 
n01.ppt
n01.pptn01.ppt
n01.ppt
ssuser7d214c
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
jsjsjeusjsj
 

Similar to ArtificialIntelligence.ppt (20)

AI Introduction
AI Introduction AI Introduction
AI Introduction
 
Cognitive Science.ppt
Cognitive Science.pptCognitive Science.ppt
Cognitive Science.ppt
 
Introduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdfIntroduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdf
 
AI.ppt
AI.pptAI.ppt
AI.ppt
 
Artificial intelligence in robotics
Artificial intelligence in roboticsArtificial intelligence in robotics
Artificial intelligence in robotics
 
Artificial Intelligence.pptx
Artificial Intelligence.pptxArtificial Intelligence.pptx
Artificial Intelligence.pptx
 
Artificial Intelligence and The Complexity
Artificial Intelligence and The ComplexityArtificial Intelligence and The Complexity
Artificial Intelligence and The Complexity
 
Artificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarArtificial Intelligence by B. Ravikumar
Artificial Intelligence by B. Ravikumar
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or history
 
Lec-1.pdf
Lec-1.pdfLec-1.pdf
Lec-1.pdf
 
computer science engineering spe ialized in artificial Intelligence
computer science engineering spe ialized in artificial Intelligencecomputer science engineering spe ialized in artificial Intelligence
computer science engineering spe ialized in artificial Intelligence
 
ai.ppt
ai.pptai.ppt
ai.ppt
 
ai.ppt
ai.pptai.ppt
ai.ppt
 
ai.ppt
ai.pptai.ppt
ai.ppt
 
Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial Intelligences
 
ai.ppt
ai.pptai.ppt
ai.ppt
 
1 artificial intelligence
1  artificial intelligence1  artificial intelligence
1 artificial intelligence
 
UNIT 1 SRMIST KTR_problem and agents.pdf
UNIT 1 SRMIST KTR_problem and agents.pdfUNIT 1 SRMIST KTR_problem and agents.pdf
UNIT 1 SRMIST KTR_problem and agents.pdf
 
n01.ppt
n01.pptn01.ppt
n01.ppt
 
Unit 1 AI.pptx
Unit 1 AI.pptxUnit 1 AI.pptx
Unit 1 AI.pptx
 

Recently uploaded

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 

Recently uploaded (20)

Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 

ArtificialIntelligence.ppt

  • 2. What is AI? • Can machines “think”? • Can machines be truly autonomous? • Can machines program themselves? • Can machines learn? • Will they ever be “conscious”, and is that necessary?
  • 3. • media depictions of AI (science fiction) – HAL in 2001: Space Odessey – Spielberg’s AI – Data on Star Trek Next Generation – ... • real AI has many practical applications – credit evaluation, medical diagnosis – guidance systems, surveillance – manufacturing (robotics, logistics) – information kiosks, computer-aided tutoring – AI in video games (also: Deep Blue, chess) – driverless vehicles, UAVs – Mars rover, Hubble telescope
  • 4. • AI has a long history, and draws on many fields – mathematics, computability, formal logic – control theory – optimization – cognitive science – linguistics
  • 5. Perspectives on AI • Philosophical – What is the nature of intelligence? • Psychological – How do humans think? • Engineering – advanced methods for building complex systems that solve hard real-world problems
  • 6. Philosophical Perspective • started with Greek philosophers (e.g. Aristotle) – syllogisms – natural categories • 1700-1800s: development of logic, calculus – Descartes, Liebnitz, Boole, Frege, Tarski, Russell – what are concepts? existence, intention, causality... – reductionist approaches to try to mechanize reasoning • 1900s: development of computers – input/output model – is intelligence a “computable function”? – Turing, von Neumann, Gödel
  • 7. • Does “intelligence” require a physical brain? – Programmed devices will probably never have “free will” • Or is it sufficient to produce intelligent behavior, regardless of how it works? • The Turing Test – first published in 1950 – a panel of human judges asks questions through a teletype interface (restricted to topic areas) – a program is intelligent if it can fool the judges and look indistinguishable from other humans – annual competition at MIT: the Loebner Prize • chatterbots
  • 8. Psychological Perspective • AI is about understanding and modeling human intelligence • Cognitive Science movement (ca. 1950s) – replace stimulus/response model – internal representations – mind viewed as “information processor” (sensory perceptionsconceptsactions)
  • 9. • Are humans a good model of intelligence? – strengths: • interpretation, dealing with ambiguity, nuance • judgement (even for ill-defined situations) • insight, creativity • adaptiveness – weaknesses: • slow • error-prone • limited memory • subject to biases • influenced by emotions
  • 10. Optimization • AI draws upon (and extends) optimization – remember NP-hard problems? • there is (probably) no efficient algorithm that solves them in polynomial time – but we can have approximation algorithms • run in polynomial time, but don’t guarantee optimal solution – classic techniques: linear programming, gradient descent • Many problems in AI are NP-hard (or worse) • AI gives us techniques for solving them – heuristic search – use of expertise encoded in knowledge bases – AI relies heavily on greedy algorithms, e.g. for scheduling – custom algorithms for search (e.g. constraint satisfaction), planning (e.g. POP, GraphPlan), learning (e.g. rule generation), decision making (MDPs)
  • 11. Planning • Autonomy – we want computers to figure out how to achieve goals on their own – Given a goal G – and a library of possible actions Ak – find a sequence of actions A1..An – that changes the state of the worlds to achieve G current state of world desired state of world pickup(A) puton(A,table) pickup(C) puton(C,A) pickup(B) pickup(B,C)
  • 12. • Examples: – Blocks World – stack blocks in a desired way – traveling from College Station to Statue of Liberty – rescuing a victim in a collapsed building – cooking a meal • The challenges of planning are: – for each task, must invoke sub-tasks to ensure pre- conditions are satisfied • in order to nail 2 pieces of wood together, I have to have a hammer – sub-tasks might interact with each other • if I am holding a hammer and nail, I can’t hold the boards – so planning is a combinatorial problem
  • 13. Intelligent Agents • agents are: 1) autonomous, 2) situated in an environment they can change, 3) goal-oriented • agents focus on decision making • incorporate sensing, reasoning, planning – sense-decide-act loop • rational agents try to maximize a utility function (rewards, costs) goals KB initial state goal state perception action agent environment
  • 14. • agents often interact in multi-agent systems – collaborative • teamwork, task distribution • information sharing/integration • contract networks • voting • remember Dr. Shell’s multi-robots – competitive • agents will maximize self utility in open systems • negotiation • auctions, bidding • game theory • design mechanisms where there is incentive to cooperate
  • 15. Core Concepts in AI • Symbolic Systems Hypothesis – intelligence can be modeled as manipulating symbols representing discrete concepts • like Boolean variables for CupEmpty, Raining, LightsOn, PowerLow, CheckmateInOneMove, PedestrianInPath... • inference and decision-making comes from comparing symbols and producing new symbols – Herbert Simon, Allan Newell (CMU, 1970s) • (A competing idea: Connectionism) – neural networks – maybe knowledge can’t be represented by discrete concepts, but is derived from associations and their strengths – good model for perception and learning
  • 16. Core Concepts in AI • Search – everything in AI boils down to discrete search – search space: different possible actions branch out from initial state – finding a goal • weak methods: depth-first search (DFS), breadth- first search (BFS), constraint satisfaction (CSP) • strong methods: use ‘heuristics’, A* search S0 goal nodes
  • 17. • Applications of search – game search (tic-tac-toe, chess) – planning – natural language parsing – learning (search for logical rules that describe all the positive examples and no negative examples by adding/subtracting antecedents)
  • 18. • Knowledge-representation – attempt to capture expertise of human experts – build knowledge-based systems, more powerful than just algorithms and code – “In the knowledge lies the power” (Ed Feigenbaum, Turing Award: 1994 ) – first-order logic • p vegetarian(p)↔(f eats(p,f)m meat(m)contains(f,m)) • x,y eat(joe,x)contains(x,y)fruit(y)vegetable(y) •  vegetarian(joe) – inference algorithms • satisfiability, entailment, modus ponens, backward- chaining, unification, resolution Core Concepts in AI
  • 19. • Expert Systems – Medical diagnosis: rules for linking symptoms with diseases, from interviews with doctors – Financial analysis: rules for evaluating credit score, solvency of company, equity-to-debt ratio, sales trends, barriers to entry – Tutoring – rules for interpreting what a student did wrong on a problem and why, taxonomy of possible mis-conceptions – Science – rules for interpreting chemical structures from mass-spectrometry data, rules for interpreting well logs and finding oil
  • 20. • Major problem with many expert systems: brittleness • Major issue in AI today: Uncertainty – using fuzzy logic for concepts like “good management team” – statistics: conditional probability that a patient has meningitis given they have a stiff neck – Markov Decision Problems: making decisions based on probabilities and payoffs of possible outcomes
  • 21. Sub-areas within AI • Natural language – parsing sentences, representing meaning, metaphor, answering questions, translation, dialog systems • Vision – cameraimagescorners/edges/surfaces objectsstate description – occlusion, shading, textures, face recognition, stereo(3D), motion(video) • Robotics – configuration/motion planning • Machine Learning (machines can adapt!) – decision trees, neural networks, linear classifiers – extract characteristic features from a set of examples