Relational Dynamic Bayesian Networks: a report. Cristina Manfredotti



Similar documents
An Introduction to the Use of Bayesian Network to Analyze Gene Expression Data

Bayesian Networks. Mausam (Slides by UW-AI faculty)

Bayesian Networks. Read R&N Ch Next lecture: Read R&N

Life of A Knowledge Base (KB)

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber

Master s thesis tutorial: part III

Introduction to Mobile Robotics Bayes Filter Particle Filter and Monte Carlo Localization

CURRICULUM VITAE. Phd in computer science

Chapter 28. Bayesian Networks

EE 570: Location and Navigation

How To Solve A Sequential Mca Problem

Informatics 2D Reasoning and Agents Semester 2,

STA 4273H: Statistical Machine Learning

Big Data, Machine Learning, Causal Models

An Introduction to Using WinBUGS for Cost-Effectiveness Analyses in Health Economics

A Tutorial on Particle Filters for Online Nonlinear/Non-Gaussian Bayesian Tracking

Spatial Statistics Chapter 3 Basics of areal data and areal data modeling

Compression algorithm for Bayesian network modeling of binary systems

Monte Carlo-based statistical methods (MASM11/FMS091)

Bayesian Networks of Customer Satisfaction Survey Data

Model-based Synthesis. Tony O Hagan

Real-time Visual Tracker by Stream Processing

Tracking in flussi video 3D. Ing. Samuele Salti

Lezione 10 Introduzione a OPNET

The Basics of Graphical Models

Vulnerabilità dei protocolli SSL/TLS

The Certainty-Factor Model

TUTORIAL MOVE : 3D MODEL CONSTRUCTION FROM SURFACE GEOLOGICAL DATA

DDS-Enabled Cloud Management Support for Fast Task Offloading

References. Importance Sampling. Jessi Cisewski (CMU) Carnegie Mellon University. June 2014

Cell Phone based Activity Detection using Markov Logic Network

PTE505: Inverse Modeling for Subsurface Flow Data Integration (3 Units)

The Visualization Pipeline

Feedforward Neural Networks and Backpropagation

Question 2 Naïve Bayes (16 points)

SYSM 6304: Risk and Decision Analysis Lecture 5: Methods of Risk Analysis

MAP ESTIMATION WITH LASER SCANS BASED ON INCREMENTAL TREE NETWORK OPTIMIZER

Agenda. Interface Agents. Interface Agents

International Journal of Software Engineering and Knowledge Engineering c World Scientific Publishing Company

5 Directed acyclic graphs

Probabilistic Networks An Introduction to Bayesian Networks and Influence Diagrams

Chapter 14 Managing Operational Risks with Bayesian Networks

Bayesian networks - Time-series models - Apache Spark & Scala

itesla Project Innovative Tools for Electrical System Security within Large Areas

Decision Trees and Networks

A Statistical Framework for Operational Infrasound Monitoring

Software and Hardware Solutions for Accurate Data and Profitable Operations. Miguel J. Donald J. Chmielewski Contributor. DuyQuang Nguyen Tanth

Stock Investing Using HUGIN Software

Assistant Professor, Dipartimento di Matematica, Università di Genova.

Part III: Machine Learning. CS 188: Artificial Intelligence. Machine Learning This Set of Slides. Parameter Estimation. Estimation: Smoothing

Gaussian Tail or Long Tail: On Error Characterization of MLC NAND Flash

Recursive Estimation

Learning Instance-Specific Predictive Models

Knowledge Discovery and Data Mining. Bootstrap review. Bagging Important Concepts. Notes. Lecture 19 - Bagging. Tom Kelsey. Notes

Visualization methods for patent data

Big Data, Statistics, and the Internet

Monte Carlo and Empirical Methods for Stochastic Inference (MASM11/FMS091)

11. Time series and dynamic linear models

Information Management course

Forecasting "High" and "Low" of financial time series by Particle systems and Kalman filters

DETERMINING THE CONDITIONAL PROBABILITIES IN BAYESIAN NETWORKS

Course: Model, Learning, and Inference: Lecture 5

Blind Deconvolution of Barcodes via Dictionary Analysis and Wiener Filter of Barcode Subsections

Machine Learning.

Producing Accessible Slide Presentations for Scientific Lectures: a Case Study for the Italian University in the Mac OS X Environment

Generating Random Samples from the Generalized Pareto Mixture Model

Introduction to Markov Chain Monte Carlo

Detecting Spam in VoIP Networks. Ram Dantu Prakash Kolan

I I I I I I I I I I I I I I I I I I I

VEHICLE TRACKING USING ACOUSTIC AND VIDEO SENSORS

An introduction to Global Illumination. Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology

Factor Graphs and the Sum-Product Algorithm

Parallelization Strategies for Multicore Data Analysis

Translating Stochastic CLS into Maude

Graph Mining and Social Network Analysis

Monte Carlo-based statistical methods (MASM11/FMS091)

Tracking and Recognition in Sports Videos

PHOTON mapping is a practical approach for computing global illumination within complex

Kristine L. Bell and Harry L. Van Trees. Center of Excellence in C 3 I George Mason University Fairfax, VA , USA kbell@gmu.edu, hlv@gmu.

Probability Hypothesis Density filter versus Multiple Hypothesis Tracking

Advanced Signal Processing and Digital Noise Reduction

Using Bayesian Networks to Analyze Expression Data ABSTRACT

An Autonomous Agent for Supply Chain Management

Knowledge-Based Probabilistic Reasoning from Expert Systems to Graphical Models

Bayesian Analysis for the Social Sciences

SIMULTANEOUS LOCALIZATION AND MAPPING FOR EVENT-BASED VISION SYSTEMS

The Bayesian Network Methodology for Industrial Control System with Digital Technology

Transcription:

Relational Dynamic Bayesian Networks: a report Cristina Manfredotti Dipartimento di Informatica, Sistemistica e Comunicazione (D.I.S.Co.) Università degli Studi Milano-Bicocca manfredotti@disco.unimib.it Bayesian Networks: C T T Encode the joint probability distribution of a set of variables, as a Direct Acyclic Graph A Direct Acyclic Graph which nodes are conditionally independent of its non-descendent given its parents B T T P(D C,B) D T.95.94.29.01 0.01 P(E D).90.05 C E D D T A P(C) T.90 P( D).70.01 P(B A).05 B A P(A) 0.01 P(A,B,C,D,E,) = = P(A)P(B A)P(C)P(D C,B)P(E D)P( D) = P(Z i Pa(Z i )) Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 2

The alarm example(1) I'm at work, neighbor John calls to say my alarm is ringing, but neighbor Mary doesn't call. Sometimes it's set off by minor earthquakes. Is there a burglary? Variables: BurglarEnter, EarthquakeAppens, AlarmRings, 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 from Russel&Norvig Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 3 The alarm example(2) Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 4

Bayesian Networks Each node is a variable: Two different nodes in the network This is why we have such structure: Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 5 Bayesian Networks If we should have 4 neighbors? We have to construct a graph with 2 more knods. Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 6

A large BN Thanks to Mark Chavira Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 7 Relational Domain Objects: groups of attributes which belong together (tables of a database), c.f. a structure in a programming language e.g.: Object Relational Domain contains a set of objects with relations and/or predicates between them e.g.: Relation neighbor alarm burglar (honer of an house) neighbor s attributes: his capacity of hearing, his attention,... alarm s attributes: its volume, its sensibility,... e.g.: Predicate tocall (the honer of the house) tohear (the alarm) toring Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 8

The alarm Relational Domain: Burglary Alarm Volume Sensibility ToRing... Listening Neighbor DegOfDef NoiseAround Teleph... Calling Honer DegOfBelieve Teleph... Red words: predicates, that concern only the object itself Dashed arrows: relation between an object and an attribute of the object (or a predicate) Green arrows: dependence between two attributes Continouse arrows: relations between two objects Bold black words: objects names Black words: objects attributes (caracteristic of the variables, they make an instanciation of each object different by each other). Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 9 Relational Bayesian Networks difficult definition Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 10

Relational Bayesian Network Syntax RBN: a set of nodes, one per variable predicate/relation/attribute a directed, acyclic graph a conditional distribution for each node given its parents, this distribution must take into account the actual complexity of the nodes! Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 11 Alarm RBN: Earthquacke Neigh.DegOfDef Alarm.Volume Neigh.NoiseAround I relationated only that part of the graph, I could make the same for each knodes of the BN NeighborCalls Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 12

Conditional Probability Distribution/Table The CPTs will take into account the values of each attributes or each variable in the system (i.e. for each actor playing a role in the represented world) an object will be instantiated, the conditional probability of each variable will be the same but they will depend by the particular instantiation of their attributes. NOT ONLY BY THE ACT THAT THE ALARM HAS RANG E.g.: P(NeighCall Neigh.DegOfDef, Neigh.NoiseAround,Alarm.Vol) = =.90 if the Neighbor isn t def but he listen music (John case). =.70 if the Neighbor is def but his house is very quite (Mary case). Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 13 Relational Bayesian Networks Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 14

Dynamic Bayesian Networks: Extension of BN for modeling dynamic systems. State at time t represented by a set of random variables z t = (z 1,t,,z d,t ). The state at time t depends on the states at previous time steps. A 2TBN is a BN that contains variables from z t-1 whose parents are variables from z t and/or z t-1, and variables from z t without their parents. A 2TBN defines P(z t z t-1 ) by means of a directed acyclic graph (DAG) as follows: P(z t z t-1 ) = N i=1p(z i t Pa(z i t)) Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 15 Dynamic Bayesian Networks A Dynamic Bayesian Network (DBN) is defined to be a pair of Bayesian Networks (B 0, B ), where B 0 represents the initial distribution P(z 0 ), and B is a 2TBN, which defines the transition distribution P(z t+1 z t ). Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 16

Relational Dynamic Bayesian Nets: Once you defined a RBN and a DBN it is easy to define a RDBN... GUESS IT! Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 17 Particle ilters: Tecnique that implements a ricursive Bayesian Ilter through a Monte Carlo simulation. The key idea is to represent the posterior pdf with a set of random samples with associated weights and compute the estimation based on these samples and weights. As the number of samples becomes very large, this MC caratterization becomes an equivalent representation to the usual functional description of the posterior pdf, and the SIS algorithm filter approaches the optimal Bayesian estimate. Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 18

Particle iltering: steps ix the number of particles: M 1. Particle generation x ( m) k ~ p( xk xk 1) At time k arrives the observation/measure z k 2a. Weight computation w = p( z x *( m) ( m) k k k ) 2b. Weight normalization 3. Resampling w ( m) k = M w m= 1 *( m) k w *( m) k Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 19 Particle filtering operations Represents the required pdf by a set of samples with associated weights. Computs the estimate based in these samples and weights. Posterior pdf Sample space x ( m) k ~ p( xk xk 1 ) Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 20

Pros: Arbitrary pdf Most probable state-space Non-Gaussian noise More than one model Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 21 Cons: Computational complexity How to determine the number of particles Probable problems: density extraction, sampling variance Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 22

Rao-Blackwellized P: Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 23 Rao-Blackwellized P Rao-Blackwellization: Some components of the model can have a liner dynamic and can be estimate by a traditional Kalman ilter. Kalman ilter is combine with P to reduce the number of particles to be used for a satisfying performance. Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 24

Domingos P Complex & Simple Predicates Abstractions: (set of pairs of objects which are related in some way) P smoothing on an Abstraction lattice Cristina Manfredotti D.I.S.Co. Università di Milano - Bicocca 25