CSE 473 Artificial Intelligence Review. © Daniel S. Weld 2 Logistics Problem Set due at midnight Exam next Wed 8:30—10:30 Regular classroom Closed book.

Slides:



Advertisements
Similar presentations
Big Ideas in Cmput366. Search Blind Search State space representation Iterative deepening Heuristic Search A*, f(n)=g(n)+h(n), admissible heuristics Local.
Advertisements

Naïve Bayes. Bayesian Reasoning Bayesian reasoning provides a probabilistic approach to inference. It is based on the assumption that the quantities of.
Bayesian Networks CSE 473. © Daniel S. Weld 2 Last Time Basic notions Atomic events Probabilities Joint distribution Inference by enumeration Independence.
Methods of Proof Chapter 7, Part II. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound) generation.
1 Reinforcement Learning Introduction & Passive Learning Alan Fern * Based in part on slides by Daniel Weld.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
CPSC 322, Lecture 18Slide 1 Planning: Heuristics and CSP Planning Computer Science cpsc322, Lecture 18 (Textbook Chpt 8) February, 12, 2010.
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Carla P. Gomes Exam-Info.
Markov Decision Processes CSE 473 May 28, 2004 AI textbook : Sections Russel and Norvig Decision-Theoretic Planning: Structural Assumptions.
Artificial Intelligence Course review AIMA. Four main themes Problem solving by search Uninformed search Informed search Constraint satisfaction Adversarial.
Reinforcement Learning
CSE 473 Artificial Intelligence Dan Weld Krzysztof Gajos Tessa MacDuff
Cooperating Intelligent Systems Course review AIMA.
Constraint Satisfaction CSE 473 University of Washington.
Knowledge Representation I (Propositional Logic) CSE 473.
Big Ideas in Cmput366. Search Blind Search Iterative deepening Heuristic Search A* Local and Stochastic Search Randomized algorithm Constraint satisfaction.
Knowledge Representation III First-Order Logic
Planning II CSE 473. © Daniel S. Weld 2 Logistics Tournament! PS3 – later today Non programming exercises Programming component: (mini project) SPAM detection.
Representing Uncertainty CSE 473. © Daniel S. Weld 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one.
© Daniel S. Weld 1 Reinforcement Learning CSE 473 Ever Feel Like Pavlov’s Poor Dog?
© Daniel S. Weld 1 Naïve Bayes & Expectation Maximization CSE 573.
Learning Bayesian Networks
. Approximate Inference Slides by Nir Friedman. When can we hope to approximate? Two situations: u Highly stochastic distributions “Far” evidence is discarded.
Knowledge Representation IV Inference in First-Order Logic CSE 473.
© Daniel S. Weld 1 Statistical Learning CSE 573 Lecture 16 slides which overlap fix several errors.
Dynamic Bayesian Networks CSE 473. © Daniel S. Weld Topics Agency Problem Spaces Search Knowledge Representation Reinforcement Learning InferencePlanningLearning.
Making Decisions CSE 592 Winter 2003 Henry Kautz.
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Artificial Intelligence Recap & Expectation Maximization CSE 473 Dan Weld.
Logic in AI CSE 573. © Daniel S. Weld 2 Logistics Monday? Reading Ch 8 Ch 9 thru p 278 Section 10.3 Projects Due 11/10 Teams and project plan due by this.
Computing & Information Sciences Kansas State University Wednesday, 20 Sep 2006CIS 490 / 730: Artificial Intelligence Lecture 12 of 42 Wednesday, 20 September.
© D. Weld and D. Fox 1 Reinforcement Learning CSE 473.
1 2010/2011 Semester 2 Introduction: Chapter 1 ARTIFICIAL INTELLIGENCE.
CSE 473 Artificial Intelligence Review. Logistics Project reports and homework 5 due Monday 5pm Monday 5pm project demo in 002 Exam next Wed 8:30—10:30.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Bayesian Networks CSE 473. © D. Weld and D. Fox 2 Bayes Nets In general, joint distribution P over set of variables (X 1 x... x X n ) requires exponential.
MDPs (cont) & Reinforcement Learning
KNOWLEDGE BASED SYSTEMS
© Daniel S. Weld 1 Logistics No Reading First Tournament Wed Details TBA.
Learning and Acting with Bayes Nets Chapter 20.. Page 2 === A Network and a Training Data.
© Daniel S. Weld 1 Midterm Search Space Bayes Net Learning / Cross Validation Lessons for the Final I’ll hit these areas again I’ll include one midterm.
First-Order Logic Daniel Weld CSE 473 Spring 2012.
© Daniel S. Weld Topics Agency Problem Spaces SearchKnowledge Representation Planning PerceptionNLPMulti-agentRobotics Uncertainty MDPs Supervised.
Computing & Information Sciences Kansas State University Lecture 12 of 42 CIS 530 / 730 Artificial Intelligence Lecture 12 of 42 William H. Hsu Department.
Constraint Satisfaction CSE 473 University of Washington.
CSE 473 Uncertainty. © UW CSE AI Faculty 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one has stood.
1 Passive Reinforcement Learning Ruti Glick Bar-Ilan university.
A Brief Introduction to Bayesian networks
Topics Covered since 1st midterm…
Knowledge Representation III First-Order Logic
Review of AI Professor: Liqing Zhang
Constraint Satisfaction
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Constraint Satisfaction
Knowledge Representation II
Markov Decision Processes
Markov Decision Processes
First-Order Logic CSE 573 A handful of GENERAL SEARCH TECHNIQUES lie at the heart of practically all work in AI We will encounter the SAME PRINCIPLES again.
Announcements Homework 3 due today (grace period through Friday)
Representing Uncertainty
Planning CSE 573 A handful of GENERAL SEARCH TECHNIQUES lie at the heart of practically all work in AI We will encounter the SAME PRINCIPLES again and.
Artificial Intelligence Chapter 20 Learning and Acting with Bayes Nets
SEG 4560 Midterm Review.
Subject : Artificial Intelligence
Bayesian Networks CSE 573.
Probabilistic Reasoning
Chapter 14 February 26, 2004.
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 7
Presentation transcript:

CSE 473 Artificial Intelligence Review

© Daniel S. Weld 2 Logistics Problem Set due at midnight Exam next Wed 8:30—10:30 Regular classroom Closed book Cover all quarter’s material Emphasis on material not covered on midterm Even more emphasis on material not on any PS

© Daniel S. Weld 3 Abalone

© Daniel S. Weld 4 Defining AI thought vs. behavior human-like vs. rational Systems that think like humans Systems that think rationally Systems that act like humans Systems that act rationally

© Daniel S. Weld 5 Goals of this Course To introduce you to a set of key: Paradigms & Techniques Teach you to identify when & how to use Heuristic search Constraint satisfaction Machine learning Logical inference Bayesian inference Policy construction

© Daniel S. Weld 6 Theme I Problem Spaces & Search How to specify PS? Two kinds of search?

© Daniel S. Weld 7 Learning as Search

© Daniel S. Weld 8 SUPPLE – Adapting UIs

© Daniel S. Weld 9 Adapting to Device Characteristics Func Interface Spec Device Model Custom Interface Rendering + Hierarchy of State vars + Methods Screen size Available widgets Interaction modes

© Daniel S. Weld 10 Interface Adaptation as Search Func Interface Spec Device Model Custom Interface Rendering +

© Daniel S. Weld 11 Theme II In the knowledge lies the power Adding knowledge to search?

© Daniel S. Weld 12 Heuristics How to generate? Admissibility?

© Daniel S. Weld 13 Constraint Satisfaction? How to Specify? Why Effective? SEND + MORE MONEY

© Daniel S. Weld 14 Backjumping (BJ) Similar to BT, but more efficient when no consistent instantiation can be found for the current var Instead of backtracking to most recent var… BJ reverts to deepest var which was c-checked against the current var BJ Discovers (2, 5, 3, 6) inconsistent with x 6 No sense trying other values of x 5 Q Q Q Q Q

© Daniel S. Weld 15 Shuttle Repair Scheduling

© Daniel S. Weld 16 Probabilistic Representations How encode knowledge here? In the knowledge lies the power

© Daniel S. Weld 17 Theme III Importance of Representation Features in ML Reformulation

© Daniel S. Weld 18 Propositional. Logic vs. First Order Ontology Syntax Semantics Inference Algorithm Complexity Objects, Properties, Relations Atomic sentences Connectives Variables & quantification Sentences have structure: terms father-of(mother-of(X))) Unification Forward, Backward chaining Prolog, theorem proving DPLL, GSAT Fast in practice Semi-decidableNP-Complete Facts (P, Q) Interpretations (Much more complicated) Truth Tables

© Daniel S. Weld 19 Nested Quantifiers: Order matters! Every dog has a tail  x  y P(x,y)   y  x P(x,y)  d  t has(d,t)  t  d has(d,t) ?

© Daniel S. Weld 20 Logical Inference as Search

© Daniel S. Weld 21 Skolemization Existential quantifiers aren’t necessary! Existential variables can be replaced by Skolem functions (or constants) Args to function are all surrounding  vars  d  t has(d, t)  x  y loves(y, x)  d has(d, f(d) )  y loves(y, f() )  y loves(y, f 97 )

© Daniel S. Weld 22 Why is Learning Possible? Experience alone never justifies any conclusion about any unseen instance. Learning occurs when PREJUDICE meets DATA! Learning a “FOO”

© Daniel S. Weld 23 Planning Extend to Durative Actions Simultaneous actions Minimize make-span How??? ObOb OaOa OcOc

© Daniel S. Weld 24 Uncertainity Joint Distribution Prior & Conditional Probability Bayes Rule [Conditional] Independence Bayes Net Earthquake Burglary Alarm Nbr2CallsNbr1Calls Pr(B=t) Pr(B=f) Pr(A|E,B) e,b 0.9 (0.1) e,b 0.2 (0.8) e,b 0.85 (0.15) e,b 0.01 (0.99) Radio

© Daniel S. Weld 25 Dynamic Bayesian Network State Estimation

© Daniel S. Weld 26 Specifying a MDP S = set of states set (|S| = n) A = set of actions (|A| = m) Pr = transition function Pr(s,a,s’) represented by set of m n x n stochastic matrices (factored into DBNs) each defines a distribution over SxS R(s) = bounded, real-valued reward fun represented by an n-vector

© Daniel S. Weld 27 Finding a Policy Value Iteration Policy Iteration Modified Policy Iteration

© Daniel S. Weld 28 Max Bellman Backup a1a1 a2a2 a3a3 s VnVn VnVn VnVn VnVn VnVn VnVn VnVn Q n+1 (s,a) V n+1 (s)

© Daniel S. Weld 29 Q-Learning Maintain Q(a, s) for visited states, tried actions As execute actions, do backup on per-action basis Or compute weighted average over all future states (not just immediate successor) Do updates at end of epoch Approximating Q function

© Daniel S. Weld 30 And More Specific search & CSP algorithms Adversary Search Inference in Propositional & FO Logic Specific Learning Algorithms DT Induction, Ensembles, Naïve Bayes EM, DBNs Lots of details