parameter learning in markov nets

15
Parameter Learning in Markov Nets Dhruv Batra, 10-708 Recitation 11/13/2008

Upload: albin

Post on 15-Jan-2016

27 views

Category:

Documents


0 download

DESCRIPTION

Parameter Learning in Markov Nets. Dhruv Batra , 10-708 Recitation 11/13/ 2008. Contents. MRFs Parameter learning in MRFs IPF Gradient Descent HW5 implementation. Semantics. Priors on edges Ising Prior / Potts Model Metric MRFs. Metric MRFs. Energies in pairwise MRFs. HW4. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Parameter Learning in Markov Nets

Parameter Learning in Markov Nets

Dhruv Batra,10-708 Recitation

11/13/2008

Page 2: Parameter Learning in Markov Nets

Contents• MRFs

– Parameter learning in MRFs• IPF• Gradient Descent

– HW5 implementation

Page 3: Parameter Learning in Markov Nets

Semantics• Priors on edges

– Ising Prior / Potts Model– Metric MRFs

Page 4: Parameter Learning in Markov Nets
Page 5: Parameter Learning in Markov Nets

Metric MRFs• Energies in pairwise MRFs

Page 6: Parameter Learning in Markov Nets

HW4• Semi-supervised image segmentation

Page 7: Parameter Learning in Markov Nets

HW4• Effect of varying beta

beta = 0 beta = 2 beta = 4

beta = 10beta = 8beta = 6

Segmentations by Congcong Li

Page 8: Parameter Learning in Markov Nets

HW 5• Potts Model

• More general parameters

Page 9: Parameter Learning in Markov Nets

910-708 – Carlos Guestrin 2006

Learning Parameters of a BN

Log likelihood decomposes:

Learn each CPT independently Use counts

D

SG

HJ

C

L

I

Page 10: Parameter Learning in Markov Nets

10

Learning Parameters of a MN

10-708 – Carlos Guestrin 2006

Difficulty

SATGrade

HappyJob

Coherence

Letter

Intelligence

Page 11: Parameter Learning in Markov Nets

10-708 – Carlos Guestrin 2006

Log-linear Markov network(most common representation)

Feature is some function [D] for some subset of variables D e.g., indicator function

Log-linear model over a Markov network H: a set of features 1[D1],…, k[Dk]

each Di is a subset of a clique in H two ’s can be over the same variables

a set of weights w1,…,wk

usually learned from data

Page 12: Parameter Learning in Markov Nets

12

HW 5

10-708 – Carlos Guestrin 2006

Page 13: Parameter Learning in Markov Nets

Questions?

Page 14: Parameter Learning in Markov Nets

Semantics• Factorization

• Energy functions

• Equivalent representation

Page 15: Parameter Learning in Markov Nets

Semantics• Log Linear Models