Skip to main content
QUICK REVIEW

[Paper Review] Learning Factor Graphs in Polynomial Time & Sample Complexity

Pieter Abbeel, Daphne Koller|arXiv (Cornell University)|Jul 26, 2005
Bayesian Modeling and Causal InferenceComputer Science25 references10 citations
TL;DR

This paper presents the first polynomial-time and polynomial-sample complexity algorithm for learning factor graphs with bounded factor size and connectivity, using a novel canonical parameterization that avoids intractable inference. It enables efficient parameter and structure learning for both Bayesian and Markov networks—even in cases where inference is intractable—guaranteeing low KL-divergence to the true distribution when the data is generated from such a model.

ABSTRACT

We study computational and sample complexity of parameter and structure learning in graphical models. Our main result shows that the class of factor graphs with bounded factor size and bounded connectivity can be learned in polynomial time and polynomial number of samples, assuming that the data is generated by a network in this class. This result covers both parameter estimation for a known network structure and structure learning. It implies as a corollary that we can learn factor graphs for both Bayesian networks and Markov networks of bounded degree, in polynomial time and sample complexity. Unlike maximum likelihood estimation, our method does not require inference in the underlying network, and so applies to networks where inference is intractable. We also show that the error of our learned model degrades gracefully when the generating distribution is not a member of the target class of networks.

Motivation & Objective

  • To develop a computationally and statistically efficient learning algorithm for factor graphs under realistic structural constraints.
  • To address the challenge of learning in undirected graphical models where standard inference is intractable.
  • To provide theoretical guarantees on sample complexity and computational complexity for both parameter estimation and structure learning.
  • To ensure graceful degradation when the true distribution is not exactly within the target class of models.

Proposed method

  • Proposes a refined canonical parameterization of Gibbs distributions at the factor level, enabling closed-form parameter estimation.
  • Uses empirical entropy estimates to identify approximate Markov blankets for each variable.
  • Employs exhaustive enumeration over candidate factors and Markov blankets up to bounded size k and b, respectively.
  • Applies dynamic programming to select the most relevant factors based on empirical estimates.
  • Leverages the Hammersley-Clifford theorem in a factor-level formulation to ensure correctness of the parameterization.
  • Uses a fixed canonical assignment ¯x to compute canonical factor estimates, enabling statistical consistency.

Experimental results

Research questions

  • RQ1Can factor graphs with bounded factor size and connectivity be learned in polynomial time and sample complexity?
  • RQ2Does the proposed method avoid reliance on intractable inference procedures during learning?
  • RQ3How does the algorithm perform when the true distribution lies outside the target model class?
  • RQ4Can the method be extended to learn both structure and parameters simultaneously with theoretical guarantees?
  • RQ5What is the sample complexity dependence on the number of variables in the network?

Key findings

  • The proposed algorithm achieves polynomial-time and polynomial-sample complexity for learning factor graphs with bounded factor size and connectivity.
  • The method guarantees low KL-divergence to the true distribution when the data is generated from a model in the target class.
  • The algorithm degrades gracefully when the generating distribution is not exactly in the target class, returning reasonable approximations.
  • The sample complexity is independent of the number of variables in the network for bounded fan-in models, achieving O(1) dependence.
  • The approach applies to both Bayesian networks and Markov networks, including those with intractable inference such as grids.
  • The theoretical framework provides a foundation for developing practical algorithms that avoid exhaustive search and improve data efficiency.

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.