Junction Trees and Chordal Graphs

Similar documents
Junction Trees and Chordal Graphs

Decomposition of log-linear models

Lecture 13: May 10, 2002

D-Separation. b) the arrows meet head-to-head at the node, and neither the node, nor any of its descendants, are in the set C.

These notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models.

Lecture 11: May 1, 2000

6 : Factor Graphs, Message Passing and Junction Trees

Computing a Clique Tree with the Algorithm Maximal Label Search

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models

Chordal graphs MPRI

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

Lecture 19 Thursday, March 29. Examples of isomorphic, and non-isomorphic graphs will be given in class.

Lecture 4: Undirected Graphical Models

Computer Vision Group Prof. Daniel Cremers. 4a. Inference in Graphical Models

STA 4273H: Statistical Machine Learning

Computer Vision Group Prof. Daniel Cremers. 4. Probabilistic Graphical Models Directed Models

3 : Representation of Undirected GMs

CS242: Probabilistic Graphical Models Lecture 3: Factor Graphs & Variable Elimination

Multiagent Graph Coloring: Pareto Efficiency, Fairness and Individual Rationality By Yaad Blum, Jeffrey S. Rosenchein

Chapter 8 of Bishop's Book: Graphical Models

2. Graphical Models. Undirected graphical models. Factor graphs. Bayesian networks. Conversion between graphical models. Graphical Models 2-1

9 Connectivity. Contents. 9.1 Vertex Connectivity

The 3-Steiner Root Problem

Part II. C. M. Bishop PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 8: GRAPHICAL MODELS

Probabilistic Graphical Models

Draft: More complex graph computations for undirected graphical models by the CoCo bundle for R

Enumerating the decomposable neighbours of a decomposable graph under a simple perturbation scheme

Treewidth and graph minors

A Decomposition for Chordal graphs and Applications

EE512 Graphical Models Fall 2009

Machine Learning. Sourangshu Bhattacharya

Acyclic Network. Tree Based Clustering. Tree Decomposition Methods

Learning decomposable models with a bounded clique size

Some results on Interval probe graphs

Probabilistic Graphical Models

Lecture 9: Undirected Graphical Models Machine Learning

Last course. Last course. Michel Habib 28 octobre 2016

MapReduce Algorithms. Barna Saha. March 28, 2016

FMA901F: Machine Learning Lecture 6: Graphical Models. Cristian Sminchisescu

Probabilistic Graphical Models

Graphical models and message-passing algorithms: Some introductory lectures

1 Matchings in Graphs

A NEW TEST FOR INTERVAL GRAPHS. Wen-Lian Hsu 1

Probabilistic Graphical Models

An O(m + nlog n) On-Line Algorithm for Recognizing Interval Graphs

Summary. Acyclic Networks Join Tree Clustering. Tree Decomposition Methods. Acyclic Network. Tree Based Clustering. Tree Decomposition.

Faster parameterized algorithms for Minimum Fill-In

GRAPH THEORY and APPLICATIONS. Factorization Domination Indepence Clique

Sublinear Time and Space Algorithms 2016B Lecture 7 Sublinear-Time Algorithms for Sparse Graphs

AN ANALYSIS ON MARKOV RANDOM FIELDS (MRFs) USING CYCLE GRAPHS

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 8: GRAPHICAL MODELS

Acyclic Network. Tree Based Clustering. Tree Decomposition Methods

Computer vision: models, learning and inference. Chapter 10 Graphical Models

Faster parameterized algorithms for Minimum Fill-In

Min-Cut and Randomization

Domination, Independence and Other Numbers Associated With the Intersection Graph of a Set of Half-planes

Loopy Belief Propagation

Lecture 9. Semidefinite programming is linear programming where variables are entries in a positive semidefinite matrix.

Graph Theory and Network Measurment

CS242: Probabilistic Graphical Models Lecture 2B: Loopy Belief Propagation & Junction Trees

CMSC Honors Discrete Mathematics

STAT 598L Probabilistic Graphical Models. Instructor: Sergey Kirshner. Exact Inference

Minimal Dominating Sets in Graphs: Enumeration, Combinatorial Bounds and Graph Classes

Complexity and approximation of satisfactory partition problems

Lecture 5: Exact inference. Queries. Complexity of inference. Queries (continued) Bayesian networks can answer questions about the underlying

18.S34 (FALL 2007) PROBLEMS ON HIDDEN INDEPENDENCE AND UNIFORMITY

The Structure of Bull-Free Perfect Graphs

On the Partial Sum of the Laplacian Eigenvalues of Abstract Simplicial Complexes

THE LEAFAGE OF A CHORDAL GRAPH

A Vizing-like theorem for union vertex-distinguishing edge coloring

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Introduction to information theory and coding - Lecture 1 on Graphical models

Fully dynamic algorithm for recognition and modular decomposition of permutation graphs

Lecture 11: Maximum flow and minimum cut

1. Let n and m be positive integers with n m. a. Write the inclusion/exclusion formula for the number S(n, m) of surjections from {1, 2,...

Markov Equivalence in Bayesian Networks

Structural and Syntactic Pattern Recognition

Introduction to Combinatorial Algorithms

Lecture 4: Principles of Parallel Algorithm Design (part 3)

2. Graphical Models. Undirected pairwise graphical models. Factor graphs. Bayesian networks. Conversion between graphical models. Graphical Models 2-1

arxiv: v1 [cs.dm] 30 Apr 2014

Math 454 Final Exam, Fall 2005

Integrating Probabilistic Reasoning with Constraint Satisfaction

An Effective Upperbound on Treewidth Using Partial Fill-in of Separators

Structure Estimation in Graphical Models

Small Survey on Perfect Graphs

Information Processing Letters

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Algorithms For Inference Fall 2014

Lex-BFS and partition renement, with applications to transitive orientation, interval graph recognition and consecutive ones testing

Interaction Between Input and Output-Sensitive

9 About Intersection Graphs

Lecture 1: Examples, connectedness, paths and cycles

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Algorithms For Inference Fall 2014

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Probabilistic Graphical Models

arxiv: v1 [cs.dm] 21 Dec 2015

Junction tree propagation - BNDG 4-4.6

Bayesian Networks, Winter Yoav Haimovitch & Ariel Raviv

EE512A Advanced Inference in Graphical Models

Coloring. Radhika Gupta. Problem 1. What is the chromatic number of the arc graph of a polygonal disc of N sides?

Transcription:

Graphical Models, Lecture 6, Michaelmas Term 2009 October 30, 2009

Decomposability Factorization of Markov distributions Explicit formula for MLE Consider an undirected graph G = (V, E). A partitioning of V into a triple (A, B, S) of subsets of V forms a decomposition of G if A G B S and S is complete. The decomposition is proper if A and B. The components of G are the induced subgraphs G A S and G B S. A graph is prime if no proper decomposition exists.

Decomposability Factorization of Markov distributions Explicit formula for MLE 2 4 1 5 7 The graph to the left is prime 3 6 Decomposition with A = {1, 3}, B = {4, 6, 7} and S = {2, 5} 2 4 2 2 4 1 5 7 1 5 5 7 3 6 3 6

Decomposability Factorization of Markov distributions Explicit formula for MLE Any graph can be recursively decomposed into its maximal prime subgraphs: 2 4 2 4 2 1 5 7 1 5 5 7 5 7 3 6 3 6 A graph is decomposable (or rather fully decomposable) if it is complete or admits a proper decomposition into decomposable subgraphs. is recursive. Alternatively this means that all maximal prime subgraphs are cliques.

Decomposability Factorization of Markov distributions Explicit formula for MLE Recursive decomposition of a decomposable graph into cliques yields the formula: f (x) S S f S (x S ) ν(s) = C C f C (x C ). Here S is the set of minimal complete separators occurring in the decomposition process and ν(s) the number of times such a separator appears in this process.

Decomposability Factorization of Markov distributions Explicit formula for MLE As we have a particularly simple factorization of the density, we have a similar factorization of the maximum likelihood estimate for a decomposable log-linear model. The MLE for p under the log-linear model with generating class A = C(G) for a chordal graph G is C C ˆp(x) = n(x C ) n S S n(x S) ν(s) where ν(s) is the number of times S appears as a separator in the total decomposition of its dependence graph.

Maximum cardinality search The following are equivalent for any undirected graph G. (i) G is chordal; (ii) G is decomposable; (iii) All maximal prime subgraphs of G are cliques; (iv) G admits a perfect numbering; (v) Every minimal (α, β)-separator are complete. Trees are chordal graphs and thus decomposable.

Maximum cardinality search This simple algorithm has complexity O( V + E ): 1. Choose v 0 V arbitrary and let v 0 = 1; 2. When vertices {1, 2,..., j} have been identified, choose v = j + 1 among V \ {1, 2,..., j} with highest cardinality of its numbered neighbours; 3. If bd(j + 1) {1, 2,..., j} is not complete, G is not chordal; 4. Repeat from 2; 5. If the algorithm continues until only one vertex is left, the graph is chordal and the numbering is perfect.

Maximum cardinality search Finding the cliques of a chordal graph From an MCS numbering V = {1,..., V }, let B λ = bd(λ) {1,..., λ 1} and π λ = B λ. Call λ a ladder vertex if λ = V or if π λ+1 < π λ + 1. Let Λ be the set of ladder vertices. 2 1 6 3 4 7 5 π λ : 0,1,2,2,2,1,1. The cliques are C λ = {λ} B λ, λ Λ.

Graph decomposition Maximum cardinality search A chordal graph This graph is chordal, but it might not be that easy to see... Maximum Cardinality Search is handy!

Construction of junction tree of prime components Decompositon formula for MLE Let A be a collection of finite subsets of a set V. A junction tree T of sets in A is an undirected tree with A as a vertex set, satisfying the junction tree property: If A, B A and C is on the unique path in T between A and B it holds that A B C. If the sets in an arbitrary A are pairwise incomparable, they can be arranged in a junction tree if and only if A = C where C are the cliques of a chordal graph

Construction of junction tree of prime components Decompositon formula for MLE The following are equivalent for any undirected graph G. (i) G is chordal; (ii) G is decomposable; (iii) All prime components of G are cliques; (iv) G admits a perfect numbering; (v) Every minimal (α, β)-separator are complete. (vi) The cliques of G can be arranged in a junction tree.

Construction of junction tree of prime components Decompositon formula for MLE The junction tree can be constructed directly from the MCS ordering C λ, λ Λ, where C λ are the cliques: Since the MCS-numbering is perfect, C λ, λ > λ min all satisfy for some λ < λ. C λ ( λ <λc λ ) = C λ C λ = S λ A junction tree is now easily constructed by attaching C λ to any C λ satisfying the above. Although λ may not be uniquely determined, S λ is. Indeed, the sets S λ are the minimal complete separators and the numbers ν(s) are ν(s) = {λ Λ : S λ = S}.

A chordal graph Graph decomposition Construction of junction tree of prime components Decompositon formula for MLE

Junction tree Graph decomposition Construction of junction tree of prime components Decompositon formula for MLE Cliques of graph arranged into a tree with C 1 C 2 D for all cliques D on path between C 1 and C 2.

Construction of junction tree of prime components Decompositon formula for MLE In general, the prime components of any undirected graph can be arranged in a junction tree in a similar way. Then every pair of neighbours (C, D) in the junction tree represents a decomposition of G into G C and G D, where C is the set of vertices in cliques connected to C but separated from D in the junction tree, and similarly with D. The corresponding algorithm is based on a slightly more sophisticated algorithm known as Lexicographic Search (LEX) which runs in O( V 2 ) time.

Construction of junction tree of prime components Decompositon formula for MLE The MLE for p under a conformal log-linear model with generating class A = C(G) for a chordal graph G is Q Q ˆp(x) = ˆp Q(x Q ) S S {n(x S)/n} ν(s) where ˆp Q (x Q ) is the estimate of the marginal distrbution based on data from Q only and ν(s) is the number of times S appears as a separator in the decomposition of its dependence graph into prime components. When the prime components are cliques it further holds that ˆp C (x C ) = n(x C )/n.

algorithms have been developed with a variety of purposes. For example: Kalman filter and smoother Solving sparse linear equations; Decoding digital signals; Estimation in hidden Markov models; Peeling in pedigrees; Belief function evaluation; Probability propagation. Also dynamic programming, linear programming, optimizing decisions, calculating Nash equilibria in cooperative games, and many others. List is far from exhaustive! All algorithms are using, explicitly or implicitly, a graph decomposition and a junction tree or similar to make the computations.