Mean field approximation for CRF inference

Slides:



Advertisements
Similar presentations
Mean-Field Theory and Its Applications In Computer Vision1 1.
Advertisements

Bayesian Belief Propagation
Mean-Field Theory and Its Applications In Computer Vision2
Linear Time Methods for Propagating Beliefs Min Convolution, Distance Transforms and Box Sums Daniel Huttenlocher Computer Science Department December,
Discrete Optimization Lecture 4 – Part 3 M. Pawan Kumar Slides available online
Exact Inference. Inference Basic task for inference: – Compute a posterior distribution for some query variables given some observed evidence – Sum out.
Variational Inference Amr Ahmed Nov. 6 th Outline Approximate Inference Variational inference formulation – Mean Field Examples – Structured VI.
Deep Learning Bing-Chen Tsai 1/21.
Constrained Approximate Maximum Entropy Learning (CAMEL) Varun Ganapathi, David Vickrey, John Duchi, Daphne Koller Stanford University TexPoint fonts used.
Loopy Belief Propagation a summary. What is inference? Given: –Observabled variables Y –Hidden variables X –Some model of P(X,Y) We want to make some.
Section 2 Appendix Tensor Notation for BP 1. In section 2, BP was introduced with a notation which defined messages and beliefs as functions. This Appendix.
Convergent Message-Passing Algorithms for Inference over General Graphs with Convex Free Energies Tamir Hazan, Amnon Shashua School of Computer Science.
Efficient Inference for Fully-Connected CRFs with Stationarity
Variational Inference in Bayesian Submodular Models
Introduction to Belief Propagation and its Generalizations. Max Welling Donald Bren School of Information and Computer and Science University of California.
EE462 MLCV Lecture Introduction of Graphical Models Markov Random Fields Segmentation Tae-Kyun Kim 1.
Belief Propagation by Jakob Metzler. Outline Motivation Pearl’s BP Algorithm Turbo Codes Generalized Belief Propagation Free Energies.
Variational Inference for Dirichlet Process Mixture Daniel Klein and Soravit Beer Changpinyo October 11, 2011 Applied Bayesian Nonparametrics Special Topics.
1 Fast Primal-Dual Strategies for MRF Optimization (Fast PD) Robot Perception Lab Taha Hamedani Aug 2014.
Markov Networks.
CS774. Markov Random Field : Theory and Application Lecture 04 Kyomin Jung KAIST Sep
Exact Inference (Last Class) variable elimination  polytrees (directed graph with at most one undirected path between any two vertices; subset of DAGs)
Bayesian Nonparametric Matrix Factorization for Recorded Music Reading Group Presenter: Shujie Hou Cognitive Radio Institute Friday, October 15, 2010 Authors:
A Graphical Model For Simultaneous Partitioning And Labeling Philip Cowans & Martin Szummer AISTATS, Jan 2005 Cambridge.
Global Approximate Inference Eran Segal Weizmann Institute.
Abstract We present a model of curvilinear grouping using piecewise linear representations of contours and a conditional random field to capture continuity.
December Marginal and Joint Beliefs in BN1 A Hybrid Algorithm to Compute Marginal and Joint Beliefs in Bayesian Networks and its complexity Mark.
Belief Propagation, Junction Trees, and Factor Graphs
Genome evolution: a sequence-centric approach Lecture 6: Belief propagation.
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Genome Evolution. Amos Tanay 2009 Genome evolution: Lecture 8: Belief propagation.
Extracting Places and Activities from GPS Traces Using Hierarchical Conditional Random Fields Yong-Joong Kim Dept. of Computer Science Yonsei.
Some Surprises in the Theory of Generalized Belief Propagation Jonathan Yedidia Mitsubishi Electric Research Labs (MERL) Collaborators: Bill Freeman (MIT)
CS774. Markov Random Field : Theory and Application Lecture 08 Kyomin Jung KAIST Sep
Physics Fluctuomatics (Tohoku University) 1 Physical Fluctuomatics 7th~10th Belief propagation Appendix Kazuyuki Tanaka Graduate School of Information.
Minimizing Sparse Higher Order Energy Functions of Discrete Variables (CVPR’09) Namju Kwak Applied Algorithm Lab. Computer Science Department KAIST 1Namju.
1 Structured Region Graphs: Morphing EP into GBP Max Welling Tom Minka Yee Whye Teh.
Multiplicative Bounds for Metric Labeling M. Pawan Kumar École Centrale Paris Joint work with Phil Torr, Daphne Koller.
Belief Propagation. What is Belief Propagation (BP)? BP is a specific instance of a general class of methods that exist for approximate inference in Bayes.
Probabilistic Graphical Models
Readings: K&F: 11.3, 11.5 Yedidia et al. paper from the class website
CS774. Markov Random Field : Theory and Application Lecture 02
Topic Models Presented by Iulian Pruteanu Friday, July 28 th, 2006.
1 Mean Field and Variational Methods finishing off Graphical Models – Carlos Guestrin Carnegie Mellon University November 5 th, 2008 Readings: K&F:
Lecture 2: Statistical learning primer for biologists
Belief Propagation and its Generalizations Shane Oldenburger.
CIAR Summer School Tutorial Lecture 1b Sigmoid Belief Nets Geoffrey Hinton.
Genome Evolution. Amos Tanay 2010 Genome evolution: Lecture 9: Variational inference and Belief propagation.
Maximum Entropy Model, Bayesian Networks, HMM, Markov Random Fields, (Hidden/Segmental) Conditional Random Fields.
Pattern Recognition and Machine Learning
Efficient Belief Propagation for Image Restoration Qi Zhao Mar.22,2006.
Discriminative Training and Machine Learning Approaches Machine Learning Lab, Dept. of CSIE, NCKU Chih-Pin Liao.
CS Statistical Machine learning Lecture 25 Yuan (Alan) Qi Purdue CS Nov
Bayesian Belief Propagation for Image Understanding David Rosenberg.
Variational filtering in generated coordinates of motion
Today.
Prof. Adriana Kovashka University of Pittsburgh April 4, 2017
Markov Networks.
Bayesian Models in Machine Learning
Generalized Belief Propagation
Stochastic Optimization Maximization for Latent Variable Models
Algorithms and Theory of
Expectation-Maximization & Belief Propagation
GANG: Detecting Fraudulent Users in OSNs
Clique Tree Algorithm: Computation
Unifying Variational and GBP Learning Parameters of MNs EM for BNs
Readings: K&F: 11.3, 11.5 Yedidia et al. paper from the class website
Markov Networks.
Mean Field and Variational Methods Loopy Belief Propagation
Generalized Belief Propagation
Presentation transcript:

Mean field approximation for CRF inference

CRF Inference Problem CRF over variables: CRF distribution: MAP inference: MPM (maximum posterior marginals) inference:

Other notation Unnormalized distribution Variational distribution Expectation Entropy

Variational Inference Inference => minimize KL-divergence General Objective Function

Mean field approximation Variational distribution => product of independent marginals: Expectations: Entropy:

Mean field objective Objective

Local optimality conditions Lagrangian Setting derivatives to 0 gives conditions for local optimality

Coordinate ascent Sequential coordinate ascent Initialize Q_i’s to uniform distribution For i = 1...N, update vector Q_i by summing expectations over all cliques involving X_i (while fixing all Q_j, j!=i) Parallel updates algorithm As above, but perform updates in step 2 for all Q_i’s in parrallel (i.e. Generating Q^1, Q^2...)

Comparison with belief propagation Objective Factored energy functional Local polytope

Comparison with belief propagation Message updates: Extracting beliefs (after convergence):

Comparison with belief propagation - = => Bethe free energy for pairwise graphs Bethe cluster graphs: General: Pairwise:

Mean field updates Updates in dense CRF (Krahenbuhl NIPS ’11) Evaluate using filtering =

Higher-order potentials Pattern-based potentials P^n-Potts potentials

Higher-order potentials Co-occurrence potentials L(X) = set of labels present in X {Y_1,...Y_L} = set of binary latent variables