CPSC 322, Lecture 3Slide 1 AI Applications Computer Science cpsc322, Lecture 3 January, 9, 2009.

Slides:



Advertisements
Similar presentations
Computer Science CPSC 322 Lecture 3 AI Applications.
Advertisements

Decision Theory: Sequential Decisions Computer Science cpsc322, Lecture 34 (Textbook Chpt 9.3) Nov, 28, 2012.
CPSC 322, Lecture 3Slide 1 AI Applications Computer Science cpsc322, Lecture 3 January, 8, 2010.
CPSC 322, Lecture 4Slide 1 Search: Intro Computer Science cpsc322, Lecture 4 (Textbook Chpt ) Sept, 11, 2013.
Department of Computer Science Undergraduate Events More
Slide 1 Planning: Representation and Forward Search Jim Little UBC CS 322 October 10, 2014 Textbook §8.1 (Skip )- 8.2)
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) Sept, 6, 2013.
CPSC 322, Lecture 10Slide 1 Finish Search Computer Science cpsc322, Lecture 10 (Textbook Chpt 3.6) January, 28, 2008.
Slide 1 Finish Search Jim Little UBC CS 322 – Search 7 September 24, 2014 Textbook §3.6.
Search: Representation and General Search Procedure Jim Little UBC CS 322 – Search 1 September 10, 2014 Textbook § 3.0 –
CPSC 502, Lecture 11Slide 1 Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 11 Oct, 18, 2011.
CPSC 322, Lecture 26Slide 1 Reasoning Under Uncertainty: Belief Networks Computer Science cpsc322, Lecture 27 (Textbook Chpt 6.3) March, 16, 2009.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Decision Theory: Single Stage Decisions Computer Science cpsc322, Lecture 33 (Textbook Chpt 9.2) March, 30, 2009.
CPSC 322, Lecture 37Slide 1 Finish Markov Decision Processes Last Class Computer Science cpsc322, Lecture 37 (Textbook Chpt 9.5) April, 8, 2009.
CPSC 322, Lecture 4Slide 1 Search: Intro Computer Science cpsc322, Lecture 4 (Textbook Chpt ) January, 12, 2009.
CPSC 322, Lecture 18Slide 1 Planning: Heuristics and CSP Planning Computer Science cpsc322, Lecture 18 (Textbook Chpt 8) February, 12, 2010.
CPSC 322, Lecture 10Slide 1 Finish Search Computer Science cpsc322, Lecture 10 (Textbook Chpt 3.6) January, 25, 2010.
CPSC 322, Lecture 11Slide 1 Constraint Satisfaction Problems (CSPs) Introduction Computer Science cpsc322, Lecture 11 (Textbook Chpt 4.0 – 4.2) January,
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) January, 6, 2010.
CPSC 322, Lecture 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
CSE 471/598 Intro to AI (Lecture 1). Course Overview What is AI –Intelligent Agents Search (Problem Solving Agents) –Single agent search [Project 1]
CPSC 322, Lecture 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) January, 7, 2009.
CPSC 322, Lecture 17Slide 1 Planning: Representation and Forward Search Computer Science cpsc322, Lecture 17 (Textbook Chpt 8.1 (Skip )- 8.2) February,
Applications of AI CPSC 322 – Intro 3 January 10, 2011 Textbook §
CPSC 322, Lecture 17Slide 1 Planning: Representation and Forward Search Computer Science cpsc322, Lecture 17 (Textbook Chpt 8.1 (Skip )- 8.2) February,
CPSC 322, Lecture 31Slide 1 Probability and Time: Markov Models Computer Science cpsc322, Lecture 31 (Textbook Chpt 6.5) March, 25, 2009.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) March, 8, 2010.
CPSC 322, Lecture 32Slide 1 Probability and Time: Hidden Markov Models (HMMs) Computer Science cpsc322, Lecture 32 (Textbook Chpt 6.5) March, 27, 2009.
CPSC 322, Lecture 35Slide 1 Value of Information and Control Computer Science cpsc322, Lecture 35 (Textbook Chpt 9.4) April, 14, 2010.
CPSC 322, Lecture 24Slide 1 Reasoning under Uncertainty: Intro to Probability Computer Science cpsc322, Lecture 24 (Textbook Chpt 6.1, 6.1.1) March, 15,
Applications of AI Jim Little UBC CS 322 – Intro 3 September 8, 2014 Textbook §
Department of Computer Science Undergraduate Events More
Computer Science CPSC 322 Lecture 3 AI Applications 1.
Slide 1 Constraint Satisfaction Problems (CSPs) Introduction Jim Little UBC CS 322 – CSP 1 September 27, 2014 Textbook §
Computer Science CPSC 322 Lecture 4 Search: Intro (textbook Ch: ) 1.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) Oct, 26, 2010.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
CPSC 322, Lecture 32Slide 1 Probability and Time: Hidden Markov Models (HMMs) Computer Science cpsc322, Lecture 32 (Textbook Chpt 6.5.2) Nov, 25, 2013.
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
Computer Science CPSC 322 Lecture 22 Logical Consequences, Proof Procedures (Ch 5.2.2)
CPSC 322, Lecture 4Slide 1 Search: Intro Computer Science cpsc322, Lecture 4 (Textbook Chpt ) Sept, 12, 2012.
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) Sept, 7, 2012.
CPSC 322, Lecture 26Slide 1 Reasoning Under Uncertainty: Belief Networks Computer Science cpsc322, Lecture 27 (Textbook Chpt 6.3) Nov, 13, 2013.
CPSC 322, Lecture 10Slide 1 Finish Search Computer Science cpsc322, Lecture 10 (Textbook Chpt 3.6) Sep, 26, 2010.
Computer Science CPSC 322 Lecture 2 Representational Dimensions, Search Intro 1.
CPSC 322, Lecture 22Slide 1 Logic: Domain Modeling /Proofs + Top-Down Proofs Computer Science cpsc322, Lecture 22 (Textbook Chpt 5.2) Oct, 30, 2013.
Constraint Satisfaction Problems (CSPs) Introduction
Probability and Time: Hidden Markov Models (HMMs)
Reasoning Under Uncertainty: Belief Networks
Computer Science cpsc322, Lecture 4
Representational Dimensions Computer Science cpsc322, Lecture 2
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Constraint Satisfaction Problems (CSPs) Introduction
Reasoning Under Uncertainty: Conditioning, Bayes Rule & Chain Rule
Planning: Representation and Forward Search
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Planning: Representation and Forward Search
Probability and Time: Markov Models
Probability and Time: Markov Models
Decision Theory: Sequential Decisions
Probability and Time: Markov Models
Computer Science cpsc322, Lecture 10
Logic: Domain Modeling /Proofs + Computer Science cpsc322, Lecture 22
Probability and Time: Markov Models
Domain Splitting CPSC 322 – CSP 4 Textbook §4.6 February 4, 2011.
Planning: Representation and Forward Search
Presentation transcript:

CPSC 322, Lecture 3Slide 1 AI Applications Computer Science cpsc322, Lecture 3 January, 9, 2009

CPSC 322, Lecture 3Slide 2 If your studentID is below we need to talk at the end of lecture

CPSC 322, Lecture 2Slide 3 Lecture Overview Office Hours Clarifications for last lecture AI applications…

CPSC 322, Lecture 1Slide 4 Office Hours Go to office hours (newsgroup is NOT a good substitute for this) – times below are still tentative, will be finalized next week Giuseppe: Tue 2-3 (CICSR #129) Jacek : Wed 2-3(learning Center) Gustavo: Thur 2-3(learning Center) Peter: Mon 2-3 (learning Center) (Peter will start on Jan 26) Can schedule by appointment if you can document a conflict with the official office hours

CPSC 322, Lecture 2Slide 5 Explicit State or propositions How do we model the environment? You can enumerate the states of the world. A state can be described in terms of features Often it is more natural to describe states in terms of assignments of values to variables (features). 30 binary features (also called propositions) can represent 2 30 = 1,073,741,824 states. Mars Explorer Example Weather Temperature LocX LocY

CPSC 322, Lecture 2Slide 6 Explicit State or propositions or relations Features can be described in terms of objects and relationships. There is a proposition for each relationship on each “possible” tuple of individuals. Textbook example: One binary relation and 10 individuals can represents 10 2 =100 propositions and states! University Example Registred(S,C) Students (S) = { } Courses (C) = { }

CPSC 322, Lecture 2Slide 7 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential Representation Reasoning Technique

CPSC 322, Lecture 2Slide 8 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 9 (Adversarial) Search: Checkers Game playing was one of the first tasks undertaken in AI Arthur Samuel at IBM wrote programs to play checkers (1950s) initially, they played at a strong amateur level however, they used some (simple) machine learning techniques, and soon outperformed Samuel Source: IBM Research Chinook’s program was declared the Man- Machine World Champion in checkers in 1994! …and completely solved by a program in 2007!

CPSC 322, Lecture 3Slide 10 (Adversarial) Search: Chess In 1996 and 1997, Gary Kasparov, the world chess grandmaster played two tournaments against Deep Blue, a program written by researchers at IBM Source: IBM Research

CPSC 322, Lecture 3Slide 11 (Adversarial) Search: Chess Deep Blue’s Results in the first tournament: won 1 game, lost 3 and tied 1 first time a reigning world champion lost to a computer Source: CNN

CPSC 322, Lecture 3Slide 12 (Adversarial) Search: Chess Deep Blue’s Results in the second tournament: second tournament: won 3 games, lost 2, tied 1 30 CPUs chess processors Searched nodes per sec Generated 30 billion positions per move reaching depth 14 routinely

CPSC 322, Lecture 2Slide 13 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 14 CSPs: Crossword Puzzles Source: Michael Littman

CPSC 322, Lecture 3Slide 15 CSPs: Radio link frequency assignment Source: INRIA Assigning frequencies to a set of radio links defined between pairs of sites in order to avoid interferences. Constraints on frequency depend on position of the links and on physical environment. Sample Constraint network

CPSC 322, Lecture 2Slide 16 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 17 Logic: Ontologies Source: Cycorp

CPSC 322, Lecture 3Slide 18 Logic: CycSecure “scans a computer network to build a formal representation of the network, based on Cyc’s pre-existing ontology of networking, security, and computing concepts: This formal representation also allows users to interact directly with the model of the network, allowing testing of proposed changes.” Excerpted from: Shepard et al., 2005 Knowledge Representation Semantic Web !

CPSC 322, Lecture 2Slide 19 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 20 Planning & Scheduling: Logistics Dynamic Analysis and Replanning Tool (Cross & Walker) logistics planning and scheduling for military transport used in the 1991 Gulf War by the US problems had 50,000 entities (e.g., vehicles); different starting points and destinations Source: DARPA Same techniques can be use for non-military applications: e.g., Emergency Evacuation

CPSC 322, Lecture 3Slide 21 Planning: Spacecraft Control NASA: Deep Space One spacecraft operated autonomously for two days in May, 1999: determined its precise position using stars and asteriods despite a malfunctioning ultraviolet detector planned the necessary course adjustment fired the ion propulsion system to make this adjustment Source: NASA For another space application see the Spike system for the Hubble telescope

CPSC 322, Lecture 2Slide 22 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 23 Reasoning under Uncertainty: Diagnosis Source: Onisko et al., 99 Bayes Net: to diagnose liver diseases

CPSC 322, Lecture 3Slide 24 Source: Mike Cora, UBC Reasoning Under Uncertainty Texture classification using Support Vector Machines foliage, building, sky, water

CPSC 322, Lecture 2Slide 25 Modules we'll cover in this course: R&Rsys Environment Problem Inference Planning Deterministic Stochastic Search Arc Consistency Search Value Iteration Var. Elimination Constraint Satisfaction Logics STRIPS Belief Nets Vars + Constraints Decision Nets Markov Processes Var. Elimination Static Sequential

CPSC 322, Lecture 3Slide 26 Decision Network in Finance for venture capital decision Source: R.E. Neapolitan, 2007

CPSC 322, Lecture 3Slide 27 Planning Under Uncertainty Source: Jesse Hoey UofT 2007 Learning and Using PO MDP models of Patient-Caregiver Interactions During Activities of Daily Living Goal: Help Older adults living with cognitive disabilities (such as Alzheimer's) when they: forget the proper sequence of tasks that need to be completed they lose track of the steps that they have already completed.

CPSC 322, Lecture 3Slide 28 Planning Under Uncertainty Helicopter control: MDP, reinforcement learning States: all possible positions, orientations, velocities and angular velocities Final solution involves Deterministic search! Source: Andrew Ng 2004

CPSC 322, Lecture 3Slide 29 Dimensions of Representational Complexity in CPSC322 We've already discussed: Deterministic versus stochastic domains Static versus sequential domains Some other important dimensions of complexity: Explicit state or propositions or relations Flat or hierarchical Knowledge given versus knowledge learned from experience Goals versus complex preferences Single-agent vs. multi-agent

CPSC 322, Lecture 3Slide 30 Multiagent Systems: Poker “In full 10-player games Poki is better than a typical low-limit casino player and wins consistently; however, not as good as most experts New programs being developed for the 2-player game are quite a bit better, and we believe they will very soon surpass all human players” Source: The University of Alberta GAMES Group Search Space: 1.2 quintillion nodes

CPSC 322, Lecture 3Slide 31 Multiagent Systems: Robot Soccer Source: RoboCup web site Extremely complex Stochastic Sequence of actions Multiagent robotic soccer competition was proposed by LCI (UBC) in 1992 (which became Robocup in 1997).

CPSC 322, Lecture 3Slide 32 Natural Language Processing Multimodal interface Portable Fujitsu tablet Input: Pen for deictic gestures and Speech input Output: Text, Speech and graphics Source: M. Walker (ex. AT&T) 2002 Multimodal Access to City Help (MATCH)

CPSC 322, Lecture 3Slide 33 TO DO for Next class Search: Start reading (Chpt 3 – sec 3.1 – 3.3)

CPSC 322, Lecture 3Slide 34 CSPs: Radio link frequency assignment Source: INRIA Assigning frequencies to a set of radio links defined between pairs of sites in order to avoid interferences. For each link two frequencies must be assigned