Biointelligence Lab School of Computer Sci. & Eng.

Slides:



Advertisements
Similar presentations
A Tutorial on Learning with Bayesian Networks
Advertisements

BAYESIAN NETWORKS Ivan Bratko Faculty of Computer and Information Sc. University of Ljubljana.
Probabilistic models Jouni Tuomisto THL. Outline Deterministic models with probabilistic parameters Hierarchical Bayesian models Bayesian belief nets.
Representations for KBS: Uncertainty & Decision Support
Bayesian Networks CSE 473. © Daniel S. Weld 2 Last Time Basic notions Atomic events Probabilities Joint distribution Inference by enumeration Independence.
Lauritzen-Spiegelhalter Algorithm
Artificial Intelligence Universitatea Politehnica Bucuresti Adina Magda Florea
Exact Inference in Bayes Nets
Identifying Conditional Independencies in Bayes Nets Lecture 4.
For Monday Read chapter 18, sections 1-2 Homework: –Chapter 14, exercise 8 a-d.
For Monday Finish chapter 14 Homework: –Chapter 13, exercises 8, 15.
Introduction of Probabilistic Reasoning and Bayesian Networks
Artificial Intelligence Chapter 19 Reasoning with Uncertain Information Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Causal and Bayesian Network (Chapter 2) Book: Bayesian Networks and Decision Graphs Author: Finn V. Jensen, Thomas D. Nielsen CSE 655 Probabilistic Reasoning.
ETHEM ALPAYDIN © The MIT Press, Lecture Slides for.
December Marginal and Joint Beliefs in BN1 A Hybrid Algorithm to Compute Marginal and Joint Beliefs in Bayesian Networks and its complexity Mark.
5/25/2005EE562 EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 16, 6/1/2005 University of Washington, Department of Electrical Engineering Spring 2005.
Bayesian Networks Alan Ritter.
Artificial Intelligence Chapter 17 Knowledge-Based Systems Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus Artificial Intelligence Chapter 14 Resolution in the Propositional Calculus.
A Differential Approach to Inference in Bayesian Networks - Adnan Darwiche Jiangbo Dang and Yimin Huang CSCE582 Bayesian Networks and Decision Graphs.
1 Bayesian Networks Chapter ; 14.4 CS 63 Adapted from slides by Tim Finin and Marie desJardins. Some material borrowed from Lise Getoor.
Made by: Maor Levy, Temple University  Probability expresses uncertainty.  Pervasive in all of Artificial Intelligence  Machine learning 
Soft Computing Lecture 17 Introduction to probabilistic reasoning. Bayesian nets. Markov models.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes March 13, 2012.
For Wednesday Read Chapter 11, sections 1-2 Program 2 due.
Bayesian Networks for Data Mining David Heckerman Microsoft Research (Data Mining and Knowledge Discovery 1, (1997))
Probabilistic Reasoning ECE457 Applied Artificial Intelligence Spring 2007 Lecture #9.
Bayesian Statistics and Belief Networks. Overview Book: Ch 13,14 Refresher on Probability Bayesian classifiers Belief Networks / Bayesian Networks.
1 Monte Carlo Artificial Intelligence: Bayesian Networks.
Ch 8. Graphical Models Pattern Recognition and Machine Learning, C. M. Bishop, Revised by M.-O. Heo Summarized by J.W. Nam Biointelligence Laboratory,
Announcements Project 4: Ghostbusters Homework 7
PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 8: GRAPHICAL MODELS.
1 CMSC 671 Fall 2001 Class #21 – Tuesday, November 13.
Cognitive Computer Vision Kingsley Sage and Hilary Buxton Prepared under ECVision Specific Action 8-3
METU Informatics Institute Min720 Pattern Classification with Bio-Medical Applications Lecture notes 9 Bayesian Belief Networks.
Bayesian Networks Aldi Kraja Division of Statistical Genomics.
INTRODUCTION TO MACHINE LEARNING 3RD EDITION ETHEM ALPAYDIN © The MIT Press, Lecture.
1 CMSC 671 Fall 2001 Class #20 – Thursday, November 8.
Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability Primer Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability.
Artificial Intelligence Chapter 7 Agents That Plan Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Artificial Intelligence Chapter 19 Reasoning with Uncertain Information Biointelligence Lab School of Computer Sci. & Eng. Seoul National University.
Bayesian Decision Theory Introduction to Machine Learning (Chap 3), E. Alpaydin.
INTRODUCTION TO Machine Learning 2nd Edition
CS 2750: Machine Learning Directed Graphical Models
Read R&N Ch Next lecture: Read R&N
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Artificial Intelligence Chapter 17 Knowledge-Based Systems
Bayesian Networks: A Tutorial
Artificial Intelligence Chapter 19
Representing Uncertainty
CSE-490DF Robotics Capstone
CSCI 5822 Probabilistic Models of Human and Machine Learning
Pattern Recognition and Image Analysis
CAP 5636 – Advanced Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Bayesian Statistics and Belief Networks
CSE 473: Artificial Intelligence Autumn 2011
Artificial Intelligence Chapter 20 Learning and Acting with Bayes Nets
Class #19 – Tuesday, November 3
CS 188: Artificial Intelligence
Biointelligence Lab School of Computer Sci. & Eng.
Directed Graphical Probabilistic Models: the sequel
Class #16 – Tuesday, October 26
CS 188: Artificial Intelligence Spring 2007
Chapter 20. Learning and Acting with Bayes Nets
Read R&N Ch Next lecture: Read R&N
Artificial Intelligence Chapter 17 Knowledge-Based Systems
CS 188: Artificial Intelligence Spring 2006
CS 188: Artificial Intelligence Fall 2008
Presentation transcript:

Artificial Intelligence Chapter 19 Reasoning with Uncertain Information Biointelligence Lab School of Computer Sci. & Eng. Seoul National University

(C) 2008 SNU CSE Biointelligence Lab Outline Review of Probability Theory Probabilistic Inference Bayes Networks Patterns of Inference in Bayes Networks Uncertain Evidence D-Separation Probabilistic Inference in Polytrees (C) 2008 SNU CSE Biointelligence Lab

19.1 Review of Probability Theory (1/4) Random variables Joint probability Ex. (B (BAT_OK), M (MOVES) , L (LIFTABLE), G (GUAGE)) Joint Probability (True, True, True, True) 0.5686 (True, True, True, False) 0.0299 (True, True, False, True) 0.0135 (True, True, False, False) 0.0007 … (C) 2008 SNU CSE Biointelligence Lab

19.1 Review of Probability Theory (2/4) Marginal probability Conditional probability Ex. The probability that the battery is charged given that the arm does not move Ex. (C) 2008 SNU CSE Biointelligence Lab

19.1 Review of Probability Theory (3/4) Figure 19.1 A Venn Diagram (C) 2008 SNU CSE Biointelligence Lab

19.1 Review of Probability Theory (4/4) Chain rule Bayes’ rule set notation Abbreviation for where (C) 2008 SNU CSE Biointelligence Lab

19.2 Probabilistic Inference We desire to calculate the probability of some variable Vi has value vi given the evidence E =e. Example p(P,Q,R) 0.3 p(P,Q,¬R) 0.2 p(P, ¬Q,R) p(P, ¬Q,¬R) 0.1 p(¬P,Q,R) 0.05 p(¬P, Q, ¬R) p(¬P, ¬Q,R) p(¬P, ¬Q,¬R) 0.0 (C) 2008 SNU CSE Biointelligence Lab

Statistical Independence Conditional independence Intuition: Vi tells us nothing more about V than we already knew by knowing Vj Mutually conditional independence Unconditional independence : a set of variables Conditional independencies can be conveniently represented in structures called Bayes networks (also called belief networks). These structures are very useful for probabilistic inference. (When is empty) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.3 Bayes Networks (1/2) Directed, acyclic graph (DAG) whose nodes are labeled by random variables Characteristics of Bayesian networks Node Vi is conditionally independent of any subset of nodes that are not descendents of Vi given its parents Prior probability Conditional probability table (CPT) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.3 Bayes Networks (2/2) Bayes network about the block-lifting example (C) 2008 SNU CSE Biointelligence Lab

19.4 Patterns of Inference in Bayes Networks (1/3) Causal or top-down inference Ex. The probability that the arm moves given that the block is liftable B G M L (chain rule) (from the structure) (C) 2008 SNU CSE Biointelligence Lab

19.4 Patterns of Inference in Bayes Networks (2/3) G M L Diagnostic or bottom-up inference Using an effect (or symptom) to infer a cause Ex. The probability that the block is not liftable given that the arm does not move. (using causal reasoning) (using Bayes’ rule) (using Bayes’ rule) (C) 2008 SNU CSE Biointelligence Lab

19.4 Patterns of Inference in Bayes Networks (3/3) G M L Explaining away One evidence: (the arm does not move) Additional evidence: (the battery is not charged) ¬B explains ¬M, making ¬L less certain (0.30<0.7379) (Bayes’ rule) (def. of conditional prob.) (structure of the Bayes network) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.5 Uncertain Evidence We must be certain about the truth or falsity of the propositions they represent. Each uncertain evidence node should have a child node, about which we can be certain. Ex. Suppose the robot is not certain that its arm did not move. Introducing M’ : “The arm sensor says that the arm moved” We can be certain that that proposition is either true or false. p(¬L| ¬B, ¬M’) instead of p(¬L| ¬B, ¬M) Ex. Suppose we are uncertain about whether or not the battery is charged. Introducing G : “Battery guage” p(¬L| ¬G, ¬M’) instead of p(¬L| ¬B, ¬M’) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.6 D-Separation (1/3) D-saparation: direction-dependent separation Two nodes Vi and Vj are conditionally independent given a set of nodes E if for every undirected path in the Bayes network between Vi and Vj, there is some node, Vb, on the path having one of the following three properties. Vb is in E, and both arcs on the path lead out of Vb Vb is in E, and one arc on the path leads in to Vb and one arc leads out. Neither Vb nor any descendant of Vb is in E, and both arcs on the path lead in to Vb. Vb blocks the path given E when any one of these conditions holds for a path. If all paths between Vi and Vj are blocked, we say that E d-separates Vi and Vj By just checking the structure of a Bayesian network and given evidences, you can easily check whether two nodes are conditionally indepedent or not. (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.6 D-Separation (2/3) Figure 19.3 Conditional Independence via Blocking Nodes (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab 19.6 D-Separation (3/3) B G M L Ex. I(G, L|B) by rules 1 and 3 By rule 1, B blocks the (only) path between G and L, given B. By rule 3, M also blocks this path given B. I(G, L) By rule 3, M blocks the path between G and L. I(B, L) By rule 3, M blocks the path between B and L. Even using d-separation, probabilistic inference in Bayes networks is, in general, NP-hard. (C) 2008 SNU CSE Biointelligence Lab

19.7 Probabilistic Inference in Polytrees (1/2) A DAG for which there is just one path, along arcs in either direction, between any two nodes in the DAG. (C) 2008 SNU CSE Biointelligence Lab

19.7 Probabilistic Inference in Polytrees (2/2) A node is above Q The node is connected to Q only through Q’s parents A node is below Q The node is connected to Q only through Q’s immediate successors. Three types of evidences All evidence nodes are above Q. All evidence nodes are below Q. There are evidence nodes both above and below Q. (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab Evidence Above (1/2) Bottom-up recursive algorithm Ex. p(Q|P5, P4) (Structure of The Bayes network) (d-separation) (d-separation) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab Evidence Above (2/2) Calculating p(P7|P4) and p(P6|P5) Calculating p(P1|P5) Evidence is “below” Here, we use Bayes’ rule (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab Evidence Below (1/2) Using a top-down recursive algorithm (d-separation) (C) 2008 SNU CSE Biointelligence Lab

(C) 2008 SNU CSE Biointelligence Lab Evidence Below (2/2) (C) 2008 SNU CSE Biointelligence Lab

Evidence Above and Below (d-separation) (We have calculated two probabilities already) (C) 2008 SNU CSE Biointelligence Lab

A Numerical Example (1/2) We want to calculate p(Q|U) (Bayes’ rule) To determine k, we need to calculate p(¬Q|U) (C) 2008 SNU CSE Biointelligence Lab

A Numerical Example (2/2) (Bayes’ rule) Finally (C) 2008 SNU CSE Biointelligence Lab

Other methods for Probabilistic inference in Bayes Networks Bucket elimination Monte Carlo methods (when the network is not a polytree) Clustering (C) 2008 SNU CSE Biointelligence Lab

Additional Readings (1/5) [Feller 1968] Probability Theory [Goldszmidt, Morris & Pearl 1990] Non-monotonic inference through probabilistic method [Pearl 1982a, Kim & Pearl 1983] Message-passing algorithm [Russell & Norvig 1995, pp.447ff] Polytree methods (C) 2008 SNU CSE Biointelligence Lab

Additional Readings (2/5) [Shachter & Kenley 1989] Bayesian network for continuous random variables [Wellman 1990] Qualitative networks [Neapolitan 1990] Probabilistic methods in expert systems [Henrion 1990] Probability inference in Bayesian networks (C) 2008 SNU CSE Biointelligence Lab

Additional Readings (3/5) [Jensen 1996] Bayesian networks: HUGIN system [Neal 1991] Relationships between Bayesian networks and neural networks [Hecherman 1991, Heckerman & Nathwani 1992] PATHFINDER [Pradhan, et al. 1994] CPCSBN (C) 2008 SNU CSE Biointelligence Lab

Additional Readings (4/5) [Shortliffe 1976, Buchanan & Shortliffe 1984] MYCIN: uses certainty factor [Duda, Hart & Nilsson 1987] PROSPECTOR: uses sufficiency index and necessity index [Zadeh 1975, Zadeh 1978, Elkan 1993] Fuzzy logic and possibility theory [Dempster 1968, Shafer 1979] Dempster-Shafer’s combination rules (C) 2008 SNU CSE Biointelligence Lab

Additional Readings (5/5) [Nilsson 1986] Probabilistic logic [Tversky & Kahneman 1982] Human generally loses consistency facing uncertainty [Shafer & Pearl 1990] Papers for uncertain inference Proceedings & Journals Uncertainty in Artificial Intelligence (UAI) International Journal of Approximate Reasoning (C) 2008 SNU CSE Biointelligence Lab