Part 2 of 3: Bayesian Network and Dynamic Bayesian Network.

Slides:



Advertisements
Similar presentations
State Estimation and Kalman Filtering CS B659 Spring 2013 Kris Hauser.
Advertisements

Dynamic Bayesian Networks (DBNs)
Hidden Markov Models Reading: Russell and Norvig, Chapter 15, Sections
Robot Localization Using Bayesian Methods
The GraphSLAM Algorithm Daniel Holman CS 5391: AI Robotics March 12, 2014.
Markov Localization & Bayes Filtering 1 with Kalman Filters Discrete Filters Particle Filters Slides adapted from Thrun et al., Probabilistic Robotics.
Introduction of Probabilistic Reasoning and Bayesian Networks
1 Slides for the book: Probabilistic Robotics Authors: Sebastian Thrun Wolfram Burgard Dieter Fox Publisher: MIT Press, Web site for the book & more.
Bayesian Robot Programming & Probabilistic Robotics Pavel Petrovič Department of Applied Informatics, Faculty of Mathematics, Physics and Informatics
Bayes Filters Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read the.
1 Reasoning Under Uncertainty Over Time CS 486/686: Introduction to Artificial Intelligence Fall 2013.
M.I. Jaime Alfonso Reyes ´Cortés.  The basic task for any probabilistic inference system is to compute the posterior probability distribution for a set.
Probabilistic Robotics: Kalman Filters
Autonomous Robot Navigation Panos Trahanias ΗΥ475 Fall 2007.
Particle Filters Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read.
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Part 3 of 3: Beliefs in Probabilistic Robotics. References and Sources of Figures Part 1: Stuart Russell and Peter Norvig, Artificial Intelligence, 2.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
Bayesian Belief Networks
SLAM: Simultaneous Localization and Mapping: Part I Chang Young Kim These slides are based on: Probabilistic Robotics, S. Thrun, W. Burgard, D. Fox, MIT.
Probabilistic Robotics Introduction Probabilities Bayes rule Bayes filters.
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
11/14  Continuation of Time & Change in Probabilistic Reasoning Project 4 progress? Grade Anxiety? Make-up Class  On Monday?  On Wednesday?
CPSC 422, Lecture 14Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14 Feb, 4, 2015 Slide credit: some slides adapted from Stuart.
CS 188: Artificial Intelligence Fall 2009 Lecture 19: Hidden Markov Models 11/3/2009 Dan Klein – UC Berkeley.
CSSE463: Image Recognition Day 31 This week This week Today: Intro to Kalman filtering for tracking Today: Intro to Kalman filtering for tracking Tomorrow:
HCI / CprE / ComS 575: Computational Perception
ROBOT MAPPING AND EKF SLAM
Bayesian Filtering for Robot Localization
Bayesian Networks Material used 1 Random variables
Mobile Robot controlled by Kalman Filter
Markov Localization & Bayes Filtering
From Bayesian Filtering to Particle Filters Dieter Fox University of Washington Joint work with W. Burgard, F. Dellaert, C. Kwok, S. Thrun.
Mapping and Localization with RFID Technology Matthai Philipose, Kenneth P Fishkin, Dieter Fox, Dirk Hahnel, Wolfram Burgard Presenter: Aniket Shah.
1 Robot Environment Interaction Environment perception provides information about the environment’s state, and it tends to increase the robot’s knowledge.
1 Monte Carlo Artificial Intelligence: Bayesian Networks.
Introduction to Bayesian Networks
Kansas State University Department of Computing and Information Sciences CIS 730: Introduction to Artificial Intelligence Lecture 28 of 41 Friday, 22 October.
UIUC CS 498: Section EA Lecture #21 Reasoning in Artificial Intelligence Professor: Eyal Amir Fall Semester 2011 (Some slides from Kevin Murphy (UBC))
Ch 8. Graphical Models Pattern Recognition and Machine Learning, C. M. Bishop, Revised by M.-O. Heo Summarized by J.W. Nam Biointelligence Laboratory,
City College of New York 1 Dr. Jizhong Xiao Department of Electrical Engineering City College of New York Advanced Mobile Robotics.
Probabilistic reasoning over time Ch. 15, 17. Probabilistic reasoning over time So far, we’ve mostly dealt with episodic environments –Exceptions: games.
Simultaneous Localization and Mapping (SLAM). Localization Perfect Map + Observations with errors = Pretty good Localization (Average out errors in observations,
Probabilistic Robotics Introduction.  Robotics is the science of perceiving and manipulating the physical world through computer-controlled devices.
Probabilistic Robotics
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
1 Chapter 17 2 nd Part Making Complex Decisions --- Decision-theoretic Agent Design Xin Lu 11/04/2002.
Probabilistic Robotics Introduction Probabilities Bayes rule Bayes filters.
Probabilistic Robotics Introduction. SA-1 2 Introduction  Robotics is the science of perceiving and manipulating the physical world through computer-controlled.
Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability Primer Bayesian Brain Probabilistic Approaches to Neural Coding 1.1 A Probability.
Probabilistic Robotics Probability Theory Basics Error Propagation Slides from Autonomous Robots (Siegwart and Nourbaksh), Chapter 5 Probabilistic Robotics.
Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri CS 440 / ECE 448 Introduction to Artificial Intelligence.
Matching ® ® ® Global Map Local Map … … … obstacle Where am I on the global map?                                   
Chapter 12. Probability Reasoning Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
Today.
Probabilistic Robotics
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Markov ó Kalman Filter Localization
Probabilistic Reasoning and Bayesian Networks
Introduction to particle filter
State Estimation Probability, Bayes Filtering
Probabilistic Reasoning over Time
Probabilistic Reasoning over Time
Introduction to particle filter
Instructors: Fei Fang (This Lecture) and Dave Touretzky
A Short Introduction to the Bayes Filter and Related Models
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Chapter14-cont..
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 14
Presentation transcript:

Part 2 of 3: Bayesian Network and Dynamic Bayesian Network

References and Sources of Figures Part 1: Stuart Russell and Peter Norvig, Artificial Intelligence A Modern Approach, 2 nd ed., Prentice Hall, Chapter 13 Part 2: Stuart Russell and Peter Norvig, Artificial Intelligence A Modern Approach, 2 nd ed., Prentice Hall, Chapters 14, 15 & 25 Sebastian Thrun, Wolfram Burgard, and Dieter Fox, Probabilistic Robotics, Chapters 2 & 7 Part 3: Sebastian Thrun, Wolfram Burgard, and Dieter Fox, Probabilistic Robotics, Chapter 2

Bayesian Network A data structure to represent dependencies among variables A directed graph in which each node is annotated with quantitative probability information

An Example of a Simple Bayesian Network Cavity ToothacheCatch Weather Weather is independent of the other three variables. Toothache and Catch are conditionally independent, given Cavity.

Bayesian Network Full specifications: 1.A set of random variables makes up the nodes of the network 2.A set of directed links or arrows connects pairs of nodes. parent  child 3.Each node X i has a conditional probability distribution P(X i |Parents(X i )) that quantifies the effect of the parents on the node 4.Directed acyclic graph (DAG), i.e. no directed cycles

Implementation of BN Open source BN software: Java Bayes Commercial BN software: MS Bayes, Netica

Teaching and Research Tools in Academic Environments GeNIe Developed at the Decision Systems Laboratory, University of Pittsburgh Runs only on Windows computers

Demo

An Example of Bayesian Network BurglaryLightning Alarm JohnCalls MaryCalls Demo using GeNIe

An Application of Bayesian Network Horvitz, et. al. (Microsoft Research) The Lumiere Project: Bayesian User Modeling for Inferring the Goals and Needs of Software Users ftp://ftp.research.microsoft.com/pub/ejh/lum.pdf

An Application of Bayesian Network Horvitz, et. al. (Microsoft Research) The Lumiere Project: Bayesian User Modeling for Inferring the Goals and Needs of Software Users ftp://ftp.research.microsoft.com/pub/ejh/lum.pdf

Dynamic Bayesian Network: Probabilistic Reasoning Over Time

Basic Ideas The process of change can be viewed as a series of snapshots Each snapshot (called a time slice) describes the state of the world at a particular time Each time slice contains a set of random variables, some of which are observable and some of which are not

DBN with Evolution of States, Controls, and Measurements

Terminology

State Environments are characterized by state Think of the state as the collection of all aspects of the robot and its environment that can impact the future

State Examples: the robot's pose (location and orientation) variables for the configuration of the robot's actuators (e.g. joint angles) robot velocity and velocities of its joints location and features of surrounding objects in the environment location and velocities of moving objects and people whether or not a sensor is broken, the level its battery charge

State denoted as: x x t : the state at time t

Environment measurement data evidence information about a momentary state of the environment Examples: –camera images –range scans

Environment measurement data Denoted as: z z t : the measurement data at time t denotes the set of all measurements acquired from time t 1 to time t 2

Control data convey information regarding change of state in the environment related to actuation Examples: –velocity of a robot (suggests the robot's pose after executing a motion command) –odometry (measure of the effect of a control action)

Control data Denoted as: u u t : the change of state in the time interval ( t -1; t ] denotes a sequence of control data from time t 1 to time t 2

Scenario a mobile robot uses its camera to detect the state of the door (open or closed) camera is noisy: –if the door is in fact open: the probability of detecting it open is 0.6 –if the door is in fact closed: the probability of detecting it closed is 0.8

Scenario the robot can use its manipulator to push open the door if the door is in fact closed: the probability of robot opening it is 0.8

Scenario At time t 0, the probability of the door being open is 0.5 Suppose at t 1 the robot takes no control action but it senses an open door, what is the probability of the door is open?

Scenario Using Bayes Filter, we will see that: –at time t 1 the probability of the door is open is: 0.75 after taking a measurement –at time t 2 the probability of the door is open is ~ after the robot pushes open the door and takes another measurement

DBN with Evolution of States, Controls, and Measurements for the Mobile Robot Example x t : state of the door (open or closed) at time t u t : control data (robot's manipulator pushes open or does nothing) at time t z t : evidence or measurement by sensors at time t

Demo using GeNIe

Basic Idea of the Algorithm of Bayes Filter Bayes_filter( bel(x t-1 ), u t, z t ): for all x t do endfor return bel(x t ) Predict x t after exerting u t Update belief of x t after making a measurement z t

The subsequent slides explain how the Bayes' rule is applied in this filter.

Inference in Temporal Models

Basic Inference Tasks in Probabilistic Reasoning Filtering or monitoring Prediction Smoothing or hindsight Most likely explanation

Filtering, or monitoring The task of computing the belief state— the posterior distribution over the current state, given all evidence to date i.e. compute P(X t |z 1:t )

Prediction The task of computing the posterior distribution over the future state, given all evidence to date i.e. compute P(X t+k |z 1:t ), for some k > 0 or P(X t+1 |z 1:t ) for one-step prediction

Smoothing, or hindsight The task of computing the posterior distribution over the past state, given all evidence to date i.e. compute P(X k |z 1:t ), for some 0  k < t

Most likely explanation Given a sequence of observations, we want to find the sequence of states that is most likely to have generated those observations i.e. compute

Review Bayes' rule

Review Conditioning For any sets of variables Y and Z, Read as: Y is conditioned on the variable Z. Often referred to as Theorem of total probability.

DBN with Evolution of States and Measurements—To be used in the explanation of filtering and prediction tasks in the subsequent slides x t : state of the door (open or closed) at time t z t : evidence or measurement by sensors at time t

The Task of Filtering To update the belief state By computing: from the current state

The Task of Filtering

abcbc bca

The probability distribution of the state at t+1, given the measurements (evidence) to date i.e. it is a one-step prediction for the next state

The Task of Filtering By conditioning on the current state x t, this term becomes:

The Task of Filtering To update the belief state By computing: from the current state

The Task of Filtering

The robot's belief state: The posterior over the state variables X at time t+1 is calculated recursively from the corresponding estimate one time step earlier

The Task of Filtering Most modern localization algorithms use one of two representations of the robot's belief: Kalman filter and particle filter called Monte Carol localization (MCL).

The Task of Filtering Kalman filter: represent this belief state as a single multivariate Gaussian

The Task of Filtering particle filter: represent this belief state as a collection of particles that correspond to states

The Task of Filtering in Localization To update the belief state By computing: from the current state m shaded nodes: information that is given white nodes: information you want to find

The Task of Filtering in Mapping To update the belief state By computing: from the current state m shaded nodes: information that is given white nodes: information you want to find

The Task of Filtering

An Example Graphical Solution of Extended Kalman Filter

An Example Graphical Solution of Particle Filter Example

An Example Implementation of EKF