Skip to main content
QUICK REVIEW

[Paper Review] Extending Factor Graphs so as to Unify Directed and Undirected Graphical Models

Brendan J. Frey|arXiv (Cornell University)|Oct 19, 2012
Bayesian Modeling and Causal InferenceComputer Science9 references53 citations
TL;DR

This paper proposes extending factor graphs to unify directed (Bayesian networks) and undirected (Markov random fields) graphical models by enabling a single, consistent representation that preserves conditional independencies, factorizations, and supports a unified message-passing inference algorithm. The key contribution is demonstrating that factor graphs form a strict superset of both models, including previously unrepresentable structures like mixture-of-experts fragments.

ABSTRACT

The two most popular types of graphical model are directed models (Bayesian networks) and undirected models (Markov random fields, or MRFs). Directed and undirected models offer complementary properties in model construction, expressing conditional independencies, expressing arbitrary factorizations of joint distributions, and formulating message-passing inference algorithms. We show that the strengths of these two representations can be combined in a single type of graphical model called a 'factor graph'. Every Bayesian network or MRF can be easily converted to a factor graph that expresses the same conditional independencies, expresses the same factorization of the joint distribution, and can be used for probabilistic inference through application of a single, simple message-passing algorithm. In contrast to chain graphs, where message-passing is implemented on a hypergraph, message-passing can be directly implemented on the factor graph. We describe a modified 'Bayes-ball' algorithm for establishing conditional independence in factor graphs, and we show that factor graphs form a strict superset of Bayesian networks and MRFs. In particular, we give an example of a commonly-used 'mixture of experts' model fragment, whose independencies cannot be represented in a Bayesian network or an MRF, but can be represented in a factor graph. We finish by giving examples of real-world problems that are not well suited to representation in Bayesian networks and MRFs, but are well-suited to representation in factor graphs.

Motivation & Objective

  • To unify directed and undirected graphical models into a single, coherent framework.
  • To overcome limitations in Bayesian networks and Markov random fields in representing certain conditional independencies and factorizations.
  • To enable a single message-passing algorithm for inference across both model types.
  • To demonstrate that factor graphs can represent structures—like mixture-of-experts—that are inexpressible in standard Bayesian networks or MRFs.
  • To provide a practical, unified representation for real-world problems poorly suited to traditional models.

Proposed method

  • Extends standard factor graphs to incorporate both directed and undirected dependencies using a generalized factorization framework.
  • Represents conditional independencies via a modified 'Bayes-ball' algorithm adapted to the extended factor graph structure.
  • Uses a single, unified message-passing algorithm for inference, avoiding the need for separate algorithms for directed and undirected models.
  • Introduces a formal mapping from Bayesian networks and MRFs to factor graphs that preserves both conditional independencies and joint distribution factorizations.
  • Employs a hypergraph-like message-passing mechanism on the factor graph, avoiding the complexity of chain graph hypergraphs.
  • Demonstrates that the extended factor graph is a strict superset of both Bayesian networks and MRFs by constructing a non-representable-in-either example (mixture of experts).

Experimental results

Research questions

  • RQ1Can a single graphical model representation unify the strengths of directed and undirected models?
  • RQ2Are there conditional independence structures that cannot be represented in either Bayesian networks or Markov random fields but can be captured in an extended factor graph?
  • RQ3Can a single, unified message-passing algorithm be applied to both directed and undirected models via factor graphs?
  • RQ4How can the semantics of conditional independence be consistently defined in an extended factor graph framework?
  • RQ5What real-world modeling problems are poorly suited to traditional graphical models but well-suited to extended factor graphs?

Key findings

  • Extended factor graphs can represent all conditional independencies and factorizations of both Bayesian networks and Markov random fields.
  • The proposed framework supports a single, unified message-passing inference algorithm across both directed and undirected models.
  • A mixture-of-experts model fragment, which cannot be represented in either Bayesian networks or MRFs, is successfully encoded in the extended factor graph framework.
  • The extended factor graph is a strict superset of both Bayesian networks and MRFs, as demonstrated by the existence of models expressible only in the extended form.
  • Real-world problems involving complex conditional dependencies and hybrid structures are more naturally and effectively modeled using the extended factor graph representation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.