SlideShare a Scribd company logo
1 of 21
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

Introduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdfIntroduction to Artificial Intelligence.pdf
Introduction to Artificial Intelligence.pdfgqgy2nsf5x
 
Artificial intelligence in robotics
Artificial intelligence in roboticsArtificial intelligence in robotics
Artificial intelligence in roboticsW3Edify
 
Artificial Intelligence.pptx
Artificial Intelligence.pptxArtificial Intelligence.pptx
Artificial Intelligence.pptxMirzaJahanzeb5
 
Artificial Intelligence and The Complexity
Artificial Intelligence and The ComplexityArtificial Intelligence and The Complexity
Artificial Intelligence and The ComplexityHendri Karisma
 
Artificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarArtificial Intelligence by B. Ravikumar
Artificial Intelligence by B. RavikumarGarry D. Lasaga
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or historyArslan Sattar
 
Introduction to Artificial Intelligences
Introduction to Artificial IntelligencesIntroduction to Artificial Intelligences
Introduction to Artificial IntelligencesMeenakshi Paul
 
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 IntelligenceKhanKhaja1
 
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.pdfRishuRaj953240
 

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
 
Lec-1.pdf
Lec-1.pdfLec-1.pdf
Lec-1.pdf
 
Artificial Intelligent introduction or history
Artificial Intelligent introduction or historyArtificial Intelligent introduction or history
Artificial Intelligent introduction or history
 
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
 
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
 
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

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

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