Skip to main content
QUICK REVIEW

[Paper Review] Large-Sample Learning of Bayesian Networks is NP-Hard

David Maxwell Chickering, Christopher Meek|arXiv (Cornell University)|Oct 19, 2012
Bayesian Modeling and Causal InferenceComputer Science15 references154 citations
TL;DR

This paper proves that learning Bayesian networks from large datasets is NP-hard under general conditions, even with access to oracles for independence, inference, or information. The result holds for discrete-variable Bayesian networks with bounded parent nodes (k > 3), showing that finding the optimal structure is computationally intractable when using consistent scoring criteria on large samples.

ABSTRACT

In this paper, we provide new complexity results for algorithms that learn discrete-variable Bayesian networks from data. Our results apply whenever the learning algorithm uses a scoring criterion that favors the simplest model able to represent the generative distribution exactly. Our results therefore hold whenever the learning algorithm uses a consistent scoring criterion and is applied to a sufficiently large dataset. We show that identifying high-scoring structures is hard, even when we are given an independence oracle, an inference oracle, and/or an information oracle. Our negative results also apply to the learning of discrete-variable Bayesian networks in which each node has at most k parents, for all k > 3.

Motivation & Objective

  • To establish the computational complexity of learning Bayesian network structures from large datasets.
  • To analyze whether consistent scoring criteria lead to tractable learning problems in the large-sample limit.
  • To investigate the impact of oracles (independence, inference, information) on the tractability of structure learning.
  • To extend hardness results to Bayesian networks with bounded in-degree (each node has at most k parents, k > 3).

Proposed method

  • Formalizing the learning problem as identifying the highest-scoring Bayesian network structure under a consistent scoring criterion.
  • Using reductions from known NP-hard problems to prove that structure learning remains hard even with access to oracles.
  • Analyzing the role of the large-sample limit in favoring the simplest model that exactly represents the true distribution.
  • Demonstrating that oracles do not reduce the complexity of the learning problem, preserving NP-hardness.
  • Extending the hardness result to networks with bounded in-degree (k > 3) by constructing reductions that respect parent constraints.

Experimental results

Research questions

  • RQ1Is learning Bayesian network structures from large datasets computationally tractable under consistent scoring criteria?
  • RQ2Does access to an independence oracle reduce the complexity of Bayesian network structure learning?
  • RQ3Can inference or information oracles make large-sample Bayesian network learning tractable?
  • RQ4Is the NP-hardness result preserved when restricting the maximum number of parents per node to k > 3?
  • RQ5Under what conditions does the simplicity bias of consistent scoring criteria fail to yield efficient learning algorithms?

Key findings

  • Learning Bayesian network structures from large datasets is NP-hard, even when using a consistent scoring criterion.
  • The NP-hardness persists even when provided with an independence oracle, an inference oracle, or an information oracle.
  • The result holds for discrete-variable Bayesian networks where each node has at most k parents, for all k > 3.
  • The hardness arises because the optimal structure corresponds to the simplest model that exactly represents the true distribution in the large-sample limit.
  • The computational intractability is inherent to the structure learning problem and not alleviated by access to powerful oracles.
  • The findings imply that exact structure learning is unlikely to be solved in polynomial time under standard complexity assumptions.

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.