40
Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilme s Page 1 University of Washington Department of Electrical Engineering EE512 Spring, 2006 Graphical Models Jeff A. Bilmes <[email protected]> Jeff A. Bilmes <[email protected]> Lecture 14 Slides May 18 th , 2006

Lec 14: May 18th, 2006EE512 - Graphical Models - J. BilmesPage 1 Jeff A. Bilmes University of Washington Department of Electrical Engineering EE512 Spring,

  • View
    216

  • Download
    2

Embed Size (px)

Citation preview

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 1

University of WashingtonDepartment of Electrical Engineering

EE512 Spring, 2006 Graphical Models

Jeff A. Bilmes <[email protected]>Jeff A. Bilmes <[email protected]>

Lecture 14 Slides

May 18th, 2006

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 2

• READING: – M. Jordan: Chapters 13,14,15 (on Gaussians and Kalman)

• Reminder: TA discussions and office hours:– Office hours: Thursdays 3:30-4:30, Sieg Ground Floor

Tutorial Center– Discussion Sections: Fridays 9:30-10:30, Sieg Ground Floor

Tutorial Center Lecture Room

• No more homework this quarter, concentrate on final projects!!

• Makeup class, next Monday 5/22, 6:00-8:00pm. Room TBA

Announcements

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 3

• L1: Tues, 3/28: Overview, GMs, Intro BNs.• L2: Thur, 3/30: semantics of BNs + UGMs• L3: Tues, 4/4: elimination, probs, chordal I• L4: Thur, 4/6: chrdal, sep, decomp, elim• L5: Tue, 4/11: chdl/elim, mcs, triang, ci props.• L6: Thur, 4/13: MST,CI axioms, Markov prps.• L7: Tues, 4/18: Mobius, HC-thm, (F)=(G)• L8: Thur, 4/20: phylogenetic trees, HMMs• L9: Tue, 4/25: HMMs, inference on trees• L10: Thur, 4/27: Inference on trees, start poly

• L11: Tues, 5/2: polytrees, start JT inference• L12: Thur, 5/4: Inference in JTs• Tues, 5/9: away• Thur, 5/11: away• L13: Tue, 5/16: JT, GDL, Shenoy-Schafer• L14: Thur, 5/18: GDL, Search, Gaussians I• L15: Mon, 5/22:• L16: Tues, 5/23• L17: Thur, 5/25• Mon, 5/29: Holiday• L18: Tue, 5/30• L19: Thur, 6/1: final presentations

Class Road Map

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 4

• L1: Tues, 3/28: • L2: Thur, 3/30:• L3: Tues, 4/4: • L4: Thur, 4/6:• L5: Tue, 4/11:• L6: Thur, 4/13:• L7: Tues, 4/18:• L8: Thur, 4/20: Team Lists, short abstracts I• L9: Tue, 4/25:• L10: Thur, 4/27: short abstracts II• L11: Tues, 5/2:

• L12: Thur, 5/4: abstract II + progress• L--: Tues, 5/9• L--: Thur, 5/11: 1 page progress report• L13: Tue, 5/16:

• L14: Thur, 5/18: 1 page progress report• L15: Mon, 5/22: 6-8pm• L16: Tues, 5/23• L17: Thur, 5/25: 1 page progress report• L18: Tue, 5/30• L19: Thur, 6/1: final presentations

• L20: Tue, 6/6 4-page papers due (like a conference paper), Only .pdf versions accepted.

Final Project Milestone Due Dates

• Team lists, abstracts, and progress reports must be turned in, in class and using paper (dead tree versions only).

• Final reports must be turned in electronically in PDF (no other formats accepted).

• No need to repeat what was on previous progress reports/abstracts, I have those available to refer to.

• Progress reports must report who did what so far!!

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 5

• exact inference on junction trees• generalized distributive law and Shenoy-Shafer

formulation

Summary of Last Time

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 6

• generalized distributive law and Shenoy-Shafer formulation

• other forms of exact probabilistic inference inference (cut-set conditioning, recursive conditioning, search and cache-based schemes, comparisons with SAT/CSP).

Outline of Today’s Lecture

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 7

Books and Sources for Today

• M. Jordan: Chapters 4,10,12,17,18• Aji&McEliece, “The generalized distributive Law”, IEEE Trans.

IT, 2000.• Pearl’s 1988 book• Adnan Darwiche’s papers on recursive conditioning• various CSP/SAT sources• Jordan chapters 13-15

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 8

Generalized Distributive Law

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 9

Commutative Semiring definition

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 10

Commutative Semiring definition

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 11

Commutative Semi-rings: Examples

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 12

Commutative Semi-rings: Examples

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 13

Example: Viterbi-Algorithm

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 14

Example: Bayesian networks

Earthquake

Radio

Burglary

Alarm

Call

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 15

Other examples

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 16

Towards message passing MP

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 17

Towards message passing MP

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 18

Towards message passing MP

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 19

Message trellis

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 20

Message trellis

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 21

Message trellis

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 22

Complexities

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 23

3-SAT

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 24

3-SAT as factorization and BNs

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 25

3-SAT as factorization and BNs

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 26

3-SAT as a BN

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 27

Other ways of doing inference

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 28

cutset conditioning

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 29

cutset conditioning

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 30

time-space tradeoffs

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 31

time-space tradeoffs

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 32

recursive conditioning

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 33

naïve approach to recursive conditioning

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 34

recursive conditioning with good order

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 35

recursive conditioning

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 36

recursive conditioning with good order

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 37

recursive conditioning with good order

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 38

recursive conditioning with caching

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 39

value specific caching

Lec 14: May 18th, 2006 EE512 - Graphical Models - J. Bilmes Page 40

Idea of the value elimination algorithm