Syntax Semantics Parametrized Distributions. Includes many slides by Russell & Norvig. Bayesian Networks 1

Ähnliche Dokumente
Bayesian Networks. Syntax Semantics Parametrized Distributions Inference in Bayesian Networks. Exact Inference. Approximate Inference

Bayesian Networks. Syntax Semantics Parametrized Distributions Inference in Bayesian Networks. Exact Inference. Approximate Inference

Wie man heute die Liebe fürs Leben findet

Magic Figures. We note that in the example magic square the numbers 1 9 are used. All three rows (columns) have equal sum, called the magic number.

Number of Maximal Partial Clones

Algorithmische Bioinformatik II WS2004/05 Ralf Zimmer Part III Probabilistic Modeling IV Bayesian Modeling: Algorithms, EM and MC Methods HMMs

Handbuch der therapeutischen Seelsorge: Die Seelsorge-Praxis / Gesprächsführung in der Seelsorge (German Edition)

VGM. VGM information. HAMBURG SÜD VGM WEB PORTAL USER GUIDE June 2016

Materialien zu unseren Lehrwerken

Die einfachste Diät der Welt: Das Plus-Minus- Prinzip (GU Reihe Einzeltitel)

Unit 4. The Extension Principle. Fuzzy Logic I 123

Unit 1. Motivation and Basics of Classical Logic. Fuzzy Logic I 6

Weather forecast in Accra

Final Exam. Friday June 4, 2008, 12:30, Magnus-HS

Die Bedeutung neurowissenschaftlicher Erkenntnisse für die Werbung (German Edition)

Harry gefangen in der Zeit Begleitmaterialien

Zu + Infinitiv Constructions

Killy Literaturlexikon: Autoren Und Werke Des Deutschsprachigen Kulturraumes 2., Vollstandig Uberarbeitete Auflage (German Edition)

Statistics, Data Analysis, and Simulation SS 2015

A Classification of Partial Boolean Clones

Accelerating Information Technology Innovation

Introduction FEM, 1D-Example

KTdCW Artificial Intelligence 2016/17 Practical Exercises - PART A

Martin Luther. Click here if your download doesn"t start automatically

Englisch-Grundwortschatz

Finite Difference Method (FDM)

Ein Stern in dunkler Nacht Die schoensten Weihnachtsgeschichten. Click here if your download doesn"t start automatically

Introduction FEM, 1D-Example

Ressourcenmanagement in Netzwerken SS06 Vorl. 12,

Was heißt Denken?: Vorlesung Wintersemester 1951/52. [Was bedeutet das alles?] (Reclams Universal-Bibliothek) (German Edition)

GERMAN LANGUAGE Tania Hinderberger-Burton, Ph.D American University

Exercise (Part II) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Flow - der Weg zum Glück: Der Entdecker des Flow-Prinzips erklärt seine Lebensphilosophie (HERDER spektrum) (German Edition)

Diabetes zu heilen natürlich: German Edition( Best Seller)

DIBELS TM. German Translations of Administration Directions

Geometrie und Bedeutung: Kap 5

VGM. VGM information. HAMBURG SÜD VGM WEB PORTAL - USER GUIDE June 2016

Tube Analyzer LogViewer 2.3

Word-CRM-Upload-Button. User manual

Taxation in Austria - Keypoints. CONFIDA Klagenfurt Steuerberatungsgesellschaft m.b.h

p^db=`oj===pìééçêíáåñçêã~íáçå=

Retake Exam Künstliche Intelligenz 2

v+s Output Quelle: Schotter, Microeconomics, , S. 412f

Logik für Informatiker Logic for computer scientists

Exercise (Part XI) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

CALCULATING KPI QUANTITY-INDEPENDENT ROUTE TIME

Soziale Arbeit mit rechten Jugendcliquen: Grundlagen zur Konzeptentwicklung (German Edition)

Wer bin ich - und wenn ja wie viele?: Eine philosophische Reise. Click here if your download doesn"t start automatically

Causal Analysis in Population Studies

Funktion der Mindestreserve im Bezug auf die Schlüsselzinssätze der EZB (German Edition)

Star Trek: die Serien, die Filme, die Darsteller: Interessante Infod, zusammengestellt aus Wikipedia-Seiten (German Edition)

EVANGELISCHES GESANGBUCH: AUSGABE FUR DIE EVANGELISCH-LUTHERISCHE LANDESKIRCHE SACHSEN. BLAU (GERMAN EDITION) FROM EVANGELISCHE VERLAGSAN

Mein Haus energetisch sanieren: Komfort verbessern, Kosten senken, Klima schützen (German Edition)

Power Laws And Rich Get Richer Phenomena Seminar Machinelles Lernen , Tomek Grubba

Sagen und Geschichten aus dem oberen Flöhatal im Erzgebirge: Pfaffroda - Neuhausen - Olbernhau - Seiffen (German Edition)

Stochastic Processes SS 2010 Prof. Anton Wakolbinger. Klausur am 16. Juli 2010

Der Topos Mütterlichkeit am Beispiel Bertolt Brechts "Der kaukasische Kreidekreis" und "Mutter Courage und ihre Kinder" (German Edition)

D-BAUG Informatik I. Exercise session: week 1 HS 2018

Harry gefangen in der Zeit Begleitmaterialien

Where are we now? The administration building M 3. Voransicht

Konkret - der Ratgeber: Die besten Tipps zu Internet, Handy und Co. (German Edition)

NEWSLETTER. FileDirector Version 2.5 Novelties. Filing system designer. Filing system in WinClient

PONS DIE DREI??? FRAGEZEICHEN, ARCTIC ADVENTURE: ENGLISCH LERNEN MIT JUSTUS, PETER UND BOB

When you use any of these prepositions, you need to put the noun or pronoun following them into the accusative case. For example:

Fachübersetzen - Ein Lehrbuch für Theorie und Praxis

Hardwarekonfiguration an einer Siemens S7-300er Steuerung vornehmen (Unterweisung Elektriker / - in) (German Edition)

Willy Pastor. Click here if your download doesn"t start automatically

Reparaturen kompakt - Küche + Bad: Waschbecken, Fliesen, Spüle, Armaturen, Dunstabzugshaube... (German Edition)

Methoden der empirischen Kommunikationsforschung: Eine Einführung (Studienbücher zur Kommunikations- und Medienwissenschaft) (German Edition)

Wissenschaftliches Denken und Arbeiten

Die besten Chuck Norris Witze: Alle Fakten über den härtesten Mann der Welt (German Edition)

Data Structures and Algorithm Design

FEM Isoparametric Concept

Robert Kopf. Click here if your download doesn"t start automatically

Tote Hose: Worüber Männer schweigen. Ein Tagebuch (German Edition)

aus Doktorarbeiten Anna Lena Birkmeyer Oktober 2016

Data Structures and Algorithm Design

Seeking for n! Derivatives

Registration of residence at Citizens Office (Bürgerbüro)

Analyse und Interpretation der Kurzgeschichte "Die Tochter" von Peter Bichsel mit Unterrichtsentwurf für eine 10. Klassenstufe (German Edition)

Analyse und Interpretation der Kurzgeschichte "Die Tochter" von Peter Bichsel mit Unterrichtsentwurf für eine 10. Klassenstufe (German Edition)

Teil 2.2: Lernen formaler Sprachen: Hypothesenräume

"Die Brücke" von Franz Kafka. Eine Interpretation (German Edition)

Produktdifferenzierung und Markteintritte?

DYNAMISCHE GEOMETRIE

Mock Exam Behavioral Finance

Fußballtraining für jeden Tag: Die 365 besten Übungen (German Edition)

p^db=`oj===pìééçêíáåñçêã~íáçå=

Providers of climate services in Germany

VORANSICHT. M 3: Do you like my decorations? Mit einem Kurzilm das Hörverstehen schulen (Klassen 5 bis 10) Die Materialien

Warum nehme ich nicht ab?: Die 100 größten Irrtümer über Essen, Schlanksein und Diäten - Der Bestseller jetzt neu!

Der zerbrochene Krug: Vollständige Ausgabe (German Edition)

Electrical tests on Bosch unit injectors

Information Flow. Basics. Overview. Bell-LaPadula Model embodies information flow policy. Variables x, y assigned compartments x, y as well as values

Willkommen zur Vorlesung Komplexitätstheorie

Schöpfung als Thema des Religionsunterrichts in der Sekundarstufe II (German Edition)

The Indicative MOOD. We re starting with the indicative. The vast majority of sentences you use are in this MOOD.

Unit 6. Fuzzy Inference. Fuzzy Logic I 159

Nürnberg und der Christkindlesmarkt: Ein erlebnisreicher Tag in Nürnberg (German Edition)

Transkript:

Bayesian Networks Syntax Semantics Parametrized Distributions Includes many slides by Russell & Norvig Bayesian Networks 1

Bayesian Networks - Structure Are a simple, graphical notation for conditional independence assertions hence for compact specifications of full joint distributions A BN is a directed graph with the following components: Nodes: one node for each variable Edges: a directed edge from node N i to node N j indicates that variable X i has a direct influence upon variable X j Bayesian Networks 2

Bayesian Networks - Probabilities In addition to the structure, we need a conditional probability distribution for the random variable of each node given the random variables of its parents. i.e. we need P(X i Parents(X i )) nodes/variables that are not connected are (conditionally) independent: Weather is independent of Cavity Toothache is independent of Catch given Cavity P(Weather) P(Cavity) P(Toothache Cavity) P(Catch Cavity) Bayesian Networks 3

Running Example: Alarm Situation: I'm at work John calls to say that the in my house alarm went off but Mary (my neighbor) did not call The alarm will usually be set off by burglars but sometimes it may also go off because of minor earthquakes Variables: Burglary, Earthquake, Alarm, JohnCalls, MaryCalls Network topology reflects causal knowledge: A burglar can set the alarm off An earthquake can set the alarm off The alarm can cause Mary to call The alarm can cause John to call Bayesian Networks 4

Alarm Example Bayesian Networks 5

Local Semantics of a BN Each node is is conditionally independent of its nondescendants given its parents P X U 1,...,U m, Z 1j,..., Z nj = =P X U 1,...,U m Bayesian Networks 6

Markov Blanket Markov Blanket: parents + children + children's parents Each node is conditionally independent of all other nodes given its markov blanket P X U 1,...,U m, Y 1,...,Y n, Z 1j,..., Z nj = =P X all variables Bayesian Networks 7

Global Semantics of a BN The conditional probability distributions define the joint probability distribution of the variables of the network P x 1,..., x n = i=1 n P x i Parents X i Example: What is the probability that the alarm goes off and both John and Mary call, but there is neither a burglary nor an earthquake? P j m a b e= =P j a P m a P a b, e P b P e =0.9 0.7 0.001 0.999 0.998 0.00063 Bayesian Networks 8

Theorem Local Semantics Global Semantics Proof: order the variables so that parents always appear before children apply chain rule use conditional independence Bayesian Networks 9

Constructing Bayesian Networks Bayesian Networks 10

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P J M =P J? If Mary calls, it is more likely that John calls as well. Bayesian Networks 11

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P A J, M =P A? If Mary and John call, the probability that the alarm has gone off is larger than if they don't call. Node A needs parents J or M Bayesian Networks 12

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P A J, M =P A J? If John and Mary call, the probability that the alarm has gone off is higher than if only John calls. Bayesian Networks 13

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P A J, M =P A M? If John and Mary call, the probability that the alarm has gone off is higher than if only Mary calls. Bayesian Networks 14

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P B A, J, M =P B? Knowing whether Mary or John called and whether the alarm went off influences my knowledge about whether there has been a burglary Node B needs parents A, J or M Bayesian Networks 15

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P B A, J, M =P B A? If I know that the alarm has gone off, knowing that John or Mary have called does not add to my knowledge of whether there has been a burglary or not. Thus, no edges from M and J, only from B Bayesian Networks 16

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P E B, A, J, M =P E A? Knowing whether there has been an Earthquake does not suffice to determine the probability of an earthquake, we have to know whether there has been a burglary as well. Bayesian Networks 17

Example Suppose we first select the ordering MaryCalls, JohnCalls, Alarm, Burglary, Earthquake, P E B, A, J, M =P E A? P E B, A, J, M =P E A, B? If we know whether there has been an alarm and whether there has been burglary, no other factors will determine our knowledge about whether there has been an earthquake Bayesian Networks 18

Example - Discussion Deciding conditional independence is hard in non-causal direction for assessing whether X is conditionally independent of Z ask the question: If I add variable Z in the condition, does it change the probabilities for X? causal models and conditional independence seem hardwired for humans! Assessing conditional probabilities is also hard in non-causal direction Bayesian Networks 19 Network is less compact more edges and more parameters to estimate Worst possible ordering MaryCalls, JohnCalls Earthquake, Burglary, Alarm fully connected network

Reasoning with Bayesian Networks Belief Functions (margin probabilities) given the probability distribution, we can compute a margin probability at each node, which represents the belief into the truth of the proposition the margin probability is also called the belief function New evidence can be incorporated into the network by changing the appropriate belief functions this may not only happen in unconditional nodes! changes in the margin probabilities are then propagated through the network propagation happens in forward (along the causal links) and backward direction (against them) e.g., determining a symptom of a disease does not cause the disease, but changes the probability with which we believe that the patient has the disease Bayesian Networks 20

Example: Medical Diagnosis Structure of the network Visit to Asia Smoking Patient Information Tuberculosis Lung Cancer Bronchitis Medical Difficulties Tuberculosis or Cancer XRay Result Dyspnea Diagnostic Tests Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 21

Example: Medical Diagnosis Adding Probability Distributions deterministic relationship (no probs Visit to Asia needed) Tuber Absent Lung Can Absent Tub or Can True True True Smoking Patient Information Absent Absent False Tuberculosis Lung Cancer Bronchitis Medical Difficulties probabilistic relationship Tuberculosis or Cancer Dyspnea Tub or Can True True False False Bronchitis XRay Result Absent Medical Difficulties Absent 0.90 Absent 0.70 0.80 0.10 0.l0 0.30 0.20 0.90 Dyspnea Diagnostic Tests Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 22

Example: Medical Diagnosis Belief functions V isit N o V isit V isit T o A sia 1.0 0 9 9.0 Sm ok er N onsm ok er S m o k in g 5 0.0 5 0.0 Patient Information A b sent T u b e rcu lo sis 1.0 4 9 9.0 A b sent L u n g C a n ce r 5.5 0 9 4.5 A b sent B ro n ch itis 4 5.0 5 5.0 T u b e rcu lo sis o r C a n ce r T rue F a lse 6.4 8 9 3.5 Medical Difficulties Diagnostic Tests A b norm a l N orm a l X R a y R e su lt 1 1.0 8 9.0 A b sent D y sp n e a 4 3.6 5 6.4 Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 23

Example: Medical Diagnosis Interviewing the patient results in change of probability for variable for visit to Asia V isit N o V isit V isit T o A sia 1 0 0 0 Sm ok er N onsm ok er S m o k in g 5 0.0 5 0.0 Presen t A b sent T u b e rcu lo sis 5.0 0 9 5.0 A b sen t L u n g C a n ce r 5.5 0 9 4.5 A b sent B ro n ch itis 4 5.0 5 5.0 T u b e rcu lo sis o r C a n ce r T rue F a lse 1 0.2 8 9.8 A b norm a l N orm a l X R a y R e su lt 1 4.5 8 5.5 A b sent D y sp n e a 4 5.0 5 5.0 Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 24

Example: Medical Diagnosis Patient is also a smoker... V isit N o V isit V isit T o A sia 1 0 0 0 Sm ok er N onsm ok er S m o k in g 1 0 0 0 A b sent T u b e rcu lo sis 5.0 0 9 5.0 A b sent L u n g C a n ce r 1 0.0 9 0.0 A b sent B ro n ch itis 6 0.0 4 0.0 T u b e rcu lo sis o r C a n ce r T rue F a lse 1 4.5 8 5.5 A b norm a l N orm a l X R a y R e su lt 1 8.5 8 1.5 A b sent D y sp n e a 5 6.4 4 3.6 Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 25

Example: Medical Diagnosis but fortunately the X-ray is normal... V isit N o V isit V isit T o A sia 1 0 0 0 Sm ok er N onsm ok er S m o k in g 1 0 0 0 A b sent T u b e rcu lo sis 0.1 2 9 9.9 A b sent L u n g C a n ce r 0.2 5 9 9.8 A b sent B ro n ch itis 6 0.0 4 0.0 T u b e rcu lo sis o r C a n ce r T rue F a lse 0.3 6 9 9.6 A b norm a l N orm a l X R a y R e su lt 0 1 0 0 A b sent D y sp n e a 5 2.1 4 7.9 Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 26

Example: Medical Diagnosis but then again patient has difficulty in breathing. V isit N o V isit V isit T o A sia 1 0 0 0 Sm ok er N onsm ok er S m o k in g 1 0 0 0 A b sent T u b e rcu lo sis 0.1 9 9 9.8 A b sent L u n g C a n ce r 0.3 9 9 9.6 A b sent B ro n ch itis 9 2.2 7.8 4 T u b e rcu lo sis o r C a n ce r T rue F a lse 0.5 6 9 9.4 A b norm a l N orm a l X R a y R e su lt 0 1 0 0 A b sent D y sp n e a 1 0 0 0 Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 27

More Complex Example: Car Diagnosis Initial evidence: Car does not start Test variables Variables for possible failures Hidden variables: ensure spare structure, reduce parameters Bayesian Networks 28

More Complex: Car Insurance Bayesian Networks 29

Example: Alarm Network Monitoring system for patients in intensive care Slide by C. Boutilier and P. Poupart, 2003 Bayesian Networks 30

Example: Pigs Network Determines pedigree of breeding pigs used to diagnose PSE disease half of the network structure shown here Slide by C. Boutilier and P. Poupart, 2003 Bayesian Networks 31

Compactness of a BN Bayesian Networks 32

Compact Conditional Distributions Bayesian Networks 33

Compact Conditional Distributions Independent Causes Bayesian Networks 34

Hybrid Networks Bayesian Networks 35

Continuous Conditional Distributions Bayesian Networks 36

Continuous Conditional Distributions PCost Harvest, subsidy PCost Harvest, subsidy PCost Harvest =PCost Harvest, subsidy PCost Harvest, subsidy Bayesian Networks 37

Discrete Variables with Continuous Parents Bayesian Networks 38

Why Probit? Bayesian Networks 39

Discrete Variables with Continuous Parents Bayesian Networks 40

Real-World Applications of BN Industrial Processor Fault Diagnosis - by Intel Auxiliary Turbine Diagnosis - GEMS by GE Diagnosis of space shuttle propulsion systems - VISTA by NASA/Rockwell Situation assessment for nuclear power plant NRC Military Automatic Target Recognition - MITRE Autonomous control of unmanned underwater vehicle - Lockheed Martin Assessment of Intent Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 41

Real-World Applications of BN Medical Diagnosis Internal Medicine Pathology diagnosis - Intellipath by Chapman & Hall Breast Cancer Manager with Intellipath Commercial Financial Market Analysis Information Retrieval Software troubleshooting and advice - Windows 95 & Office 97 Pregnancy and Child Care Microsoft Software debugging - American Airlines SABRE online reservation system Slide by Buede, Tatman, Bresnik, 1998 Bayesian Networks 42