Perspectives and Final Review CPSC 322 – last class April 6, 2011.

Slides:



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

Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Decision Theory: Sequential Decisions Computer Science cpsc322, Lecture 34 (Textbook Chpt 9.3) Nov, 28, 2012.
CPSC 322, Lecture 4Slide 1 Search: Intro Computer Science cpsc322, Lecture 4 (Textbook Chpt ) Sept, 11, 2013.
Department of Computer Science Undergraduate Events More
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.
CPSC 502, Lecture 11Slide 1 Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 11 Oct, 18, 2011.
Planning under Uncertainty
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 35Slide 1 Finish VE for Sequential Decisions & Value of Information and Control Computer Science cpsc322, Lecture 35 (Textbook Chpt 9.4)
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.
Search: Representation and General Search Procedure CPSC 322 – Search 1 January 12, 2011 Textbook § 3.0 –
CPSC 322, Lecture 30Slide 1 Reasoning Under Uncertainty: Variable elimination Computer Science cpsc322, Lecture 30 (Textbook Chpt 6.4) March, 23, 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 12Slide 1 CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12 (Textbook Chpt ) January, 29, 2010.
Uninformed Search Reading: Chapter 3 by today, Chapter by Wednesday, 9/12 Homework #2 will be given out on Wednesday DID YOU TURN IN YOUR SURVEY?
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 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,
Decision Theory: Optimal Policies for Sequential Decisions CPSC 322 – Decision Theory 3 Textbook §9.3 April 4, 2011.
Planning: Wrap up CSP Planning. Logic: Intro CPSC 322 – Planning 3 Textbook §8.4, §5.1 March 2, 2011.
Computer Science CPSC 322 Lecture 3 AI Applications 1.
1 Solving problems by searching This Lecture Chapters 3.1 to 3.4 Next Lecture Chapter 3.5 to 3.7 (Please read lecture topic material before and after each.
Department of Computer Science Undergraduate Events More
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Logic: Intro & Propositional Definite Clause Logic CPSC 322 – Logic 1 Textbook §5.1 March 4, 2011.
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 23Slide 1 Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
MDPs (cont) & Reinforcement Learning
CPSC 322, Lecture 19Slide 1 (finish Planning) Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt – 5.2) Oct,
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
Slide 1 Propositional Logic Intro, Syntax Jim Little UBC CS 322 – CSP October 17, 2014 Textbook § – 5.2.
CPSC 322, Lecture 2Slide 1 Representational Dimensions Computer Science cpsc322, Lecture 2 (Textbook Chpt1) Sept, 7, 2012.
Domain Splitting, Local Search CPSC 322 – CSP 4 Textbook §4.6, §4.8 February 4, 2011.
CS382 Introduction to Artificial Intelligence Lecture 1: The Foundations of AI and Intelligent Agents 24 January 2012 Instructor: Kostas Bekris Computer.
Decision Theory: Single & Sequential Decisions. VE for Decision Networks. CPSC 322 – Decision Theory 2 Textbook §9.2 April 1, 2011.
CPSC 322, Lecture 26Slide 1 Reasoning Under Uncertainty: Belief Networks Computer Science cpsc322, Lecture 27 (Textbook Chpt 6.3) Nov, 13, 2013.
Please Also Complete Teaching Evaluations
Reasoning Under Uncertainty: Belief Networks
Announcements Homework 1 Full assignment posted..
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Planning Under Uncertainty Computer Science cpsc322, Lecture 11
Decision Theory: Single Stage Decisions
Probability and Time: Markov Models
Announcements Homework 3 due today (grace period through Friday)
Probability and Time: Markov Models
Decision Theory: Single & Sequential Decisions.
Decision Theory: Sequential Decisions
Decision Theory: Single Stage Decisions
Probability and Time: Markov Models
Please Also Complete Teaching Evaluations
Probability and Time: Markov Models
Solving problems by searching
Domain Splitting CPSC 322 – CSP 4 Textbook §4.6 February 4, 2011.
Reasoning Under Uncertainty: Variable elimination
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Solving problems by searching
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Presentation transcript:

Perspectives and Final Review CPSC 322 – last class April 6, 2011

Announcements TA evaluations and feedback forms –Please fill them out –Feedback is very important to improve the course We are gathering feedback for the practice exercises –You should get (/have gotten) an about a survey –You can earn 10 bonus marks for Assignment 4 by filling in survey Final exam is Monday, April 11. DMP 310, 3:30-6pm. Be on time! –The list of short questions is online … please use it! –Also use the practice exercises (online on course website) Remaining office hours this week –Thursday: Frank (11-12, X530), Vasanth (3-5pm, learning center) –Friday: Mike (10-12am, learning center), Frank (3-5, DMP 110) Optional Rainbow Robot tournament: this Friday, 3-4pm –Vasanth will run the tournament in DMP110, and I will answer questions on the side (office hours) 2

3 Course Overview Environment Problem Type Logic Planning Deterministic Stochastic Constraint Satisfaction Search Arc Consistency Search Logics STRIPS Variables + Constraints Variable Elimination Bayesian Networks Decision Networks Markov Processes Static Sequential Representation Reasoning Technique Uncertainty Decision Theory Course Module Variable Elimination Value Iteration Planning As CSP (using arc consistency)

Big Picture: Heuristic Search 4 Uninformed Search without costs: BFS/DFS/IDS Game AI (chess, Go) Route Planning (e.g. mobile devices) Uninformed Search with costs: Dijkstra/LCFS Heuristic Search: A*, Branch and Bound Planning CSP & SAT solving Hierarchical decompositions Inadmissible heuristics State-of-the-art shortest path algorithms Game Trees Monte Carlo Tree Search Game Theory

Game Tree Search Directed graph –Two types of nodes: 1) I choose. 2) opponent chooses –Minimax tree search Best strategy: make decision such that utility is maximized across all opponent moves Look forward to depth d, estimate utility of reached state –Human grandmasters in chess: up to 9 levels –Chess computers: up to 13 levels 5 I can make decision to maximize my utility Opponent picks to maximize their utility. I.e., minimize my utility

Big Picture: Constraint Satisfaction Problems Constraint Satisfaction Backtracking search (Branch and Bound) Constraint Optimization Local Search Enforcing Consistency Propositional Satisfiability SchedulingTSPResource Allocation Logistics Operations Research Hardware Verification Product Configuration Software Verification 6

Constraint optimization problems Optimization under side constraints (similar to CSP) E.g. mixed integer programming (software: IBM CPLEX) –Linear program: max c T x such that Ax ≤ b –Mixed integer program: additional constraints, x i  Z (integers) –NP-hard, widely used in operations research and in industry Transportation/Logistics: Supply chain Production planning SNCF, United Airlines management and optimization UPS, United States, software Airbus, Dell, Porsche, Postal Service, … Oracle, Thyssen Krupp, SAP,… Toyota, Nissan,...

Big picture: Deterministic Planning 8 –Chapter overview of book: Automated Planning: Theory and Practice –By Ghallab, Nau, and Traverso. Web site: Also has lecture notes

9 Big Picture: Logics in AI Propositional Logics First-Order Logics Propositional Definite Clause Logics Semantics and Proof Theory Description Logics Cognitive Architectures Video Games Hardware Verification Product Configuration Ontologies Semantic Web Information Extraction Summarization Production Systems Tutoring Systems Satisfiability Testing (SAT) Software Verification

CSP/logic: formal verification Hardware verification Software verification (e.g., IBM) (small to medium programs) Most progress in the last 10 years based on: Encodings into propositional satisfiability (SAT) Best methods: extensions of arc consistency + domain splitting 10

Bioinformatics Big picture: Reasoning Under Uncertainty Dynamic Bayesian Networks Hidden Markov Models & Filtering Probability Theory Bayesian Networks & Variable Elimination Natural Language Processing spam filters Motion Tracking, Missile Tracking, etc Monitoring (e.g. credit card fraud detection) Diagnostic systems (e.g. medicine) 11 Machine learning! Connections to every topic here

Reasoning Under Uncertainty E.g. motion tracking: track a hand and estimate activity: –drawing, erasing/shading, other –Machine Learning is all about reasoning under uncertainty: e.g., CPSC 340 Source: Kevin Murphy, UBC 12

Markov Decision Processes (MDPs) Big Picture: Planning under Uncertainty Fully Observable MDPs Partially Observable MDPs (POMDPs) One-Off Decisions/ Sequential Decisions Probability TheoryDecision Theory Decision Support Systems (medicine, business, …) Economics Control Systems Robotics 13

Decision Theory: Decision Support Systems E.g., Computational Sustainability New interdisciplinary field, AI is a key component –Models and methods for decision making concerning the management and allocation of resources –to solve most challenging problems related to sustainability Often constraint optimization problems. E.g. –Energy: when are where to produce green energy most economically? –Which parcels of land to purchase to protect endangered species? –Urban planning: how to use budget for best development in 30 years? Source: CPSC422 is all about uncertainty and decision theory 14

Dimensions of Representational Complexity We discussed: 1. Deterministic versus stochastic domains 2. Static vs. Sequential domains 3. Explicit state or features or relations Some other important dimensions of complexity: 4. Flat vs. hierarchical representation Solve subproblems of smaller size 5. Knowledge given vs. knowledge learned from experience Machine learning. Learn e.g. Bayesian network structure & probabilities 6. Goals vs. complex preferences Multi-objective optimization is an active research area 7. Single-agent vs. multi-agent Game theory 8. Perfect rationality vs. bounded rationality Typically only limited time available, so we need approximation algorithms 15

Decisions under uncertainty in a multi- agent setting: robot soccer Source: Darmstadt Dribbling Dackels

If you are considering grad school … Consider applying for NSERC funding this coming September! –You apply in September for the school year starting the September after (or even the January 1.5 years after) –Writing a good application takes a while (so do it early) –Funding helps Increases your chances of getting accepted Gives you more flexibility You typically earn more if you are an a scholarship 17

Review for Final Primarily worked examples on the whiteboard Review will focus on uncertainty and decision theory –This is by popular demand –But keep in mind: Focus of final exam will be on –Planning –Logic –Uncertainty and decision theory See practice exercises on the course website –These can be very useful for studying 18

Review: conditional independence Two variables X and Y are conditionally independent given a set of observed variables E, if and only if –There is no path along which information can flow from X to Y –Information can flow along a path if it can flow through all the nodes in the path. Note: observation status of A and C does not matter 19 A B C A B C A B CA B C A B CA B C

Review: Variable Elimination (VE) in BNs 20

Review: Variable Elimination for single decisions Denote –the random variables as X 1, …, X n –the decision variables as D –the parents of node N as pa(N) The variable elimination algorithm computes optimal decision: 1.Create a factor for each conditional probability and for the utility 2.Sum out all random variables, one at a time This creates a factor on D that gives the expected utility for each d i 3.Choose the d i with the maximum value in the factor 21

Review: Variable Elimination for sequential decisions 1.Create a factor for each CPT and a factor for the utility 2.While there are still decision variables –2a: Sum out random variables that are not parents of a decision node. E.g Tampering, Fire, Alarm, Smoke, Leaving –2b: Max out last decision variable D in the total ordering Keep track of decision function 3.Sum out any remaining variables: result is the expected utility of the optimal policy. 22 This term is zero if D j ’s value does not agree with what the policy dictates given D j ’s parents.

Announcements TA evaluations and feedback forms –Please fill them out –Feedback is very important to improve the course We are gathering feedback for the practice exercises –You should get (/have gotten) an about a survey –You can earn 10 bonus marks for Assignment 4 by filling in survey Final exam is Monday, April 11. DMP 310, 3:30-6pm. Be on time! –The list of short questions is online … please use it! –Also use the practice exercises (online on course website) Remaining office hours this week –Thursday: Frank (11-12, X530), Vasanth (3-5pm, learning center) –Friday: Mike (10-12am, learning center), Frank (3-5, DMP 110) Optional Rainbow Robot tournament: this Friday, 3-4pm –Vasanth will run the tournament in DMP110, and I will answer questions on the side (office hours) 23