DOC PREVIEW
CMU CS 10708 - 1switching-kf-dbn-annotated

This preview shows page 1-2-3-18-19-37-38-39 out of 39 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 39 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Switching Kalman Filter Dynamic Bayesian NetworksWhat you need to know about Kalman FiltersWhat if the person chooses different motion models?The moonwalkSlide 5Switching Kalman filterInference in switching KF – one stepMulti-step inferenceVisualizing growth in number of GaussiansComputational complexity of inference in switching Kalman filtersBounding number of GaussiansCollapsing mixture of Gaussians into smaller mixture of GaussiansOperations in non-linear switching Kalman filterAnnouncementsAssumed density filteringWhen non-linear KF is not good enoughReparameterized KF for SLATWhen a single Gaussian ain’t good enoughWhat you need to knowMore than just a switching KFDynamic Bayesian network (DBN)Transition Model: Two Time-slice Bayes Net (2-TBN)Unrolled DBN“Sparse” DBN and fast inferenceEven after one time step!!“Sparse” DBN and fast inference 2BK Algorithm for approximate DBN inference [Boyen, Koller ’98]A simple example of BK: Fully-Factorized DistributionComputing Fully-Factorized Distribution at time t+1General case for BK: Junction Tree Represents DistributionComputing factored belief state in the next time stepError accumulationContraction in Markov processBK TheoremExample – BAT network [Forbes et al.]BK results [Boyen, Koller ’98]Thin Junction Tree Filters [Paskin ’03]Hybrid DBN (many continuous and discrete variables)DBN summary1Switching Kalman FilterDynamic Bayesian NetworksGraphical Models – 10708Carlos GuestrinCarnegie Mellon UniversityNovember 27th, 2006Readings:K&F: 4.5, 12.2, 12.3, 12.4, 18.1, 18.2, 18.3, 18.42 What you need to know about Kalman Filters Kalman filterProbably most used BNAssumes Gaussian distributionsEquivalent to linear systemSimple matrix operations for computationsNon-linear Kalman filterUsually, observation or motion model not CLGUse numerical integration to find Gaussian approximation3 What if the person chooses different motion models?With probability , move more or less straightWith probability 1-, do the “moonwalk”4 The moonwalk5 What if the person chooses different motion models?With probability , move more or less straightWith probability 1-, do the “moonwalk”6 Switching Kalman filterAt each time step, choose one of k motion models:You never know which one!p(Xi+1|Xi,Zi+1) CLG indexed by Zip(Xi+1|Xi,Zi+1=j) ~ N(j0 + j Xi; jXi+1|Xi)7 Inference in switching KF – one stepSuppose p(X0) is GaussianZ1 takes one of two valuesp(X1|Xo,Z1) is CLGMarginalize X0Marginalize Z1Obtain mixture of two Gaussians!8 Multi-step inferenceSuppose p(Xi) is a mixture of m GaussiansZi+1 takes one of two valuesp(Xi+1|Xi,Zi+1) is CLGMarginalize XiMarginalize ZiObtain mixture of 2m Gaussians!Number of Gaussians grows exponentially!!!9 Visualizing growth in number of Gaussians10 Computational complexity of inference in switching Kalman filtersSwitching Kalman Filter with (only) 2 motion modelsQuery:Problem is NP-hard!!! [Lerner & Parr `01]Why “!!!”?Graphical model is a tree:Inference efficient if all are discreteInference efficient if all are GaussianBut not with hybrid model (combination of discrete and continuous)11 Bounding number of GaussiansP(Xi) has 2m Gaussians, but…usually, most are bumps have low probability and overlap:Intuitive approximate inference:Generate k.m GaussiansApproximate with m Gaussians13 Collapsing mixture of Gaussians into smaller mixture of GaussiansHard problem!Akin to clustering problem…Several heuristics existc.f., K&F book14 Operations in non-linear switching Kalman filterCompute mixture of Gaussians forStart with At each time step t:For each of the m Gaussians in p(Xi|o1:i):Condition on observation (use numerical integration)Prediction (Multiply transition model, use numerical integration)Obtain k GaussiansRoll-up (marginalize previous time step)Project k.m Gaussians into m’ Gaussians p(Xi|o1:i+1)X1O1 = X5X3X4X2O2 = O3 = O4 = O5 =10-708 – Carlos Guestrin 200615 AnnouncementsLectures the rest of the semester:Wed. 11/30, regular class time: Causality (Richard Scheines)Last Class: Friday 12/1, regular class time: Finish Dynamic BNs & Overview of Advanced TopicsDeadlines & Presentations:Project Poster Presentations: Dec. 1st 3-6pm (NSH Atrium)popular vote for best posterProject write up: Dec. 8th by 2pm by email 8 pages – limit will be strictly enforcedFinal: Out Dec. 1st, Due Dec. 15th by 2pm (strict deadline)no late days on final!16 Assumed density filteringExamples of very important assumed density filtering:Non-linear KFApproximate inference in switching KFGeneral picture:Select an assumed densitye.g., single Gaussian, mixture of m Gaussians, …After conditioning, prediction, or roll-up, distribution no-longer representable with assumed densitye.g., non-linear, mixture of k.m Gaussians,…Project back into assumed densitye.g., numerical integration, collapsing,…17 When non-linear KF is not good enoughSometimes, distribution in non-linear KF is not approximated well as a single Gaussiane.g., a banana-like distributionAssumed density filtering:Solution 1: reparameterize problem and solve as a single GaussianSolution 2: more typically, approximate as a mixture of Gaussians18 Reparameterized KF for SLAT[Funiak, Guestrin, Paskin, Sukthankar ’05]19 When a single Gaussian ain’t good enoughSometimes, smart parameterization is not enoughDistribution has multiple hypothesisPossible solutionsSampling – particle filteringMixture of Gaussians…See book for details…[Fox et al.]21 What you need to knowSwitching Kalman filterHybrid model – discrete and continuous vars.Represent belief as mixture of GaussiansNumber of mixture components grows exponentially in timeApproximate each time step with fewer componentsAssumed density filteringFundamental abstraction of most algorithms for dynamical systemsAssume representation for densityEvery time density not representable, project into representation22 More than just a switching KFSwitching KF selects among k motion modelsDiscrete variable can depend on pastMarkov model over hidden variableWhat if k is really large?Generalize HMMs to large number of variables23 Dynamic


View Full Document

CMU CS 10708 - 1switching-kf-dbn-annotated

Documents in this Course
Lecture

Lecture

15 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

causality

causality

53 pages

lecture11

lecture11

16 pages

Exam

Exam

15 pages

Notes

Notes

12 pages

lecture

lecture

18 pages

lecture

lecture

16 pages

Lecture

Lecture

17 pages

Lecture

Lecture

15 pages

Lecture

Lecture

17 pages

Lecture

Lecture

19 pages

Lecture

Lecture

42 pages

Lecture

Lecture

16 pages

r6

r6

22 pages

lecture

lecture

20 pages

lecture

lecture

35 pages

Lecture

Lecture

19 pages

Lecture

Lecture

21 pages

lecture

lecture

21 pages

lecture

lecture

13 pages

review

review

50 pages

Semantics

Semantics

30 pages

lecture21

lecture21

26 pages

MN-crf

MN-crf

20 pages

hw4

hw4

5 pages

lecture

lecture

12 pages

Lecture

Lecture

25 pages

Lecture

Lecture

25 pages

Lecture

Lecture

14 pages

Lecture

Lecture

15 pages

Load more
Download 1switching-kf-dbn-annotated
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view 1switching-kf-dbn-annotated and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view 1switching-kf-dbn-annotated 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?