Lec 9: April 25th, 2006EE512 - Graphical Models - J. BilmesPage 1 Jeff A. Bilmes University of...

Post on 20-Dec-2015

214 views 0 download

Tags:

Transcript of Lec 9: April 25th, 2006EE512 - Graphical Models - J. BilmesPage 1 Jeff A. Bilmes University of...

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 1

University of WashingtonDepartment of Electrical Engineering

EE512 Spring, 2006 Graphical Models

Jeff A. Bilmes <bilmes@ee.washington.edu>Jeff A. Bilmes <bilmes@ee.washington.edu>

Lecture 9 Slides

April 25th, 2006

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 2

• READING: – M. Jordan: Chapters 4,10,12,17,18

• 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

• Reminder: take-home Midterm: May 5th-8th, you must work alone on this.

Announcements

Lec 9: April 25th, 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

• L11: Tues, 5/2• L12: Thur, 5/4• L13: Tues, 5/9• L14: Thur, 5/11• L15: Tue, 5/16• L16: Thur, 5/18• L17: Tues, 5/23• L18: Thur, 5/25• L19: Tue, 5/30• L20: Thur, 6/1: final presentations

Class Road Map

Lec 9: April 25th, 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: today• L10: Thur, 4/27: short abstracts II

• L11: Tues, 5/2• L12: Thur, 5/4: abstract II + progress• L13: Tues, 5/9• L14: Thur, 5/11: 1 page progress report• L15: Tue, 5/16• L16: Thur, 5/18: 1 page progress report• L17: Tues, 5/23• L18: Thur, 5/25: 1 page progress report• L19: Tue, 5/30• L20: Thur, 6/1: final presentations

• L21: Tue, 6/6 4-page papers due (like a conference paper).

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).

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

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 5

• d-Separation, (DL), (DO), and equivalence of all Markov properties on BNs.

• Phylogenetic Trees and Chordal Models• Mixture Models• Hidden Markov Models (HMMs)• Forward () recursion and elimination

Summary of Last Time

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 6

• What queries to we want from an HMM?• Forward () recursion and elimination• Backwards () recursion and elimination• Why do we want these queries anyway?• More on inference in HMMs• Inference on chains• Start of inference on trees.

Outline of Today’s Lecture

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 7

Books and Sources for Today

• M. Jordan: Chapters 4,10,12,17,18• “What HMMs can do” handout on web.

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 8

HMMs and Bayesian Networks

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 9

Goals for HMMs

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 10

Learning HMMs with EM, what queries are used?

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 11

Learning HMMs with Gradient Descent, what probabilistic queries are needed?

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 12

Learning HMMs with Gradient Descent, what probabilistic queries are needed?

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 13

Learning HMMs with Gradient Descent, what probabilistic queries are needed?

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 14

HMMs, elimination orders, and forward recursion

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 15

HMMs, elimination orders, and forward recursion

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 16

What does the forward computation mean

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 17

HMMs, elimination orders, and backward recursion

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 18

HMMs, elimination orders, and backward recursion

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 19

What does the backward computation mean

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 20

Forward/Backward Elimination

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 21

Clique posteriors

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 22

Clique posteriors

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 23

HMM message passing

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 24

HMM message passing

1 2

3 4

1

2

3

4

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 25

HMM message passing

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 26

HMM message passing

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 27

Slightly different HMM junction tree

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 28

HMM message passing

1 2

3 4

1

2

3

4

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 29

HMM message passing

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 30

recursion

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 31

Towards More General Inference

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 32

Towards More General Inference

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 33

Towards More General Inference

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 34

Towards More General Inference

Lec 9: April 25th, 2006 EE512 - Graphical Models - J. Bilmes Page 35

Inference in undirected trees