NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning decomposable models by coarsening

George Orfanides, Aritz Pérez

TL;DR

This paper introduces an efficient "iterative coarsening" algorithm (IC) for learning decomposable models, a powerful class of probabilistic graphical models. IC addresses the computational bottleneck of exact methods, enabling the learning of models with hundreds of variables by iteratively building coarser graphs, offering a compelling trade-off between solution quality and computational cost.

What Problem Does This Paper Address?

Learning the structure of probabilistic graphical models (PGMs) is a fundamental task in machine learning. Decomposable models (DMs), a subclass of Bayesian networks represented by chordal undirected graphs, are particularly important due to their theoretical properties and their role in efficient probabilistic inference. The problem of learning DMs from data often boils down to finding the structure that maximizes a given score function, such as the log-likelihood, BIC, or BDeu. This is known as the Maximum Weighted Decomposable Graph (MWDG) problem.

While exact algorithms exist for MWDG, they are computationally expensive and practical only for models with up to about 20 variables. This severely limits their applicability to real-world problems involving hundreds or even thousands of variables. Existing approximate methods often sacrifice solution quality for speed. This paper aims to bridge this gap by proposing a novel approximate algorithm that can learn DMs over hundreds of variables while maintaining a good balance between solution quality and computational resources.

Methods

The core contribution of this paper is the Iterative Coarsening (IC) algorithm. IC is a greedy, local search approach that tackles the MWDG problem by iteratively constructing a sequence of coarser decomposable graphs. Instead of directly searching the vast space of all possible decomposable graphs, IC builds up the graph step-by-step.

Here's how it works:

  1. Initialization: The process starts with a maximum weighted forest (MWF) over the given number of variables. This is a decomposable graph and can be efficiently learned using Prim's algorithm.
  2. Coarsening Steps: The algorithm then iteratively refines this graph. In each step, it considers "candidate edges" that, if added, would maintain the chordality of the graph. These candidate edges are derived from the minimal separators of the current graph.
  3. Integer Linear Programming (ILP): To select the "best" subset of candidate edges to add in each coarsening step, IC employs an Integer Linear Programming (ILP) formulation. This ILP finds the optimal set of edges to add that maximizes the score function while ensuring the resulting graph remains decomposable.
  4. Controlling Trade-offs: IC offers two optional parameters to control the trade-off between solution quality and computational cost:
  5. Maximum Clique Size (K): This parameter limits the maximum clique size of the learned graph, directly influencing the complexity of the resulting DM.
  6. Maximum Edge Length (l): This parameter restricts the set of candidate edges considered in each ILP formulation. Edges with a lower "length" (related to the number of minimal separators they connect) are considered more likely to be part of the optimal solution. By limiting l, the ILP becomes smaller and faster to solve, but potentially at the cost of a slightly suboptimal solution.

The paper also introduces a variant called Forced Iterative Coarsening (FIC), which uses equality constraints in the ILP to force the addition of a specific number of edges. This is proposed as a method to reduce the search space for exact algorithms.

Datasets

The authors evaluate their IC algorithm on several standard datasets commonly used in PGM research:

  • Low-dimensional datasets: Ten datasets from the URLearning Bayesian network data repository were used. These datasets are relatively small, allowing for comparison with exact methods like GOBNILP.
  • High-dimensional datasets: Three challenging datasets were used:
  • Semeion Handwritten Digit Data Set (SHD, 256 variables)
    • QSAR Androgen Receptor (QAR, 1024 variables)
    • QSAR Oral Toxicity (QOT, 1024 variables)

These high-dimensional datasets are crucial for demonstrating the scalability of IC, as exact methods are infeasible for them.

Key Insights and Ideas

  • Coarsening as a Scalability Strategy: The central idea is that building a complex graph by iteratively adding edges to simpler, valid structures (coarsening) is more tractable than searching the entire space of complex graphs.
  • ILP for Optimal Local Decisions: While the overall algorithm is approximate, each coarsening step uses an ILP to make the locally optimal decision of which edges to add. This is a powerful way to leverage exact optimization for an approximate global solution.
  • Controlling the Trade-off: The parameters K and l provide explicit control over the balance between computational effort and solution quality, making the algorithm adaptable to different resource constraints and problem sizes.
  • Candidate Edges from Separators: The use of minimal separators to define candidate edges is a key insight that leverages the structural properties of decomposable graphs.
  • FIC for Search Space Reduction: The forced iterative coarsening (FIC) approach offers a novel way to prune the search space for exact algorithms, potentially making them more efficient for high-dimensional problems.

Key Results

  • Low-dimensional domains: IC consistently outperformed the greedy heuristic in terms of both BDeu score and running time. It achieved scores very close to the optimal (GOBNILP) in most datasets.
  • High-dimensional domains: IC demonstrated excellent scalability. It significantly outperformed the greedy heuristic and MST on large datasets (up to 1024 variables), achieving substantial improvements in BDeu scores. The paper highlights that IC is particularly advisable for learning DMs in these high-dimensional settings where exact methods are infeasible.
  • Search Space Reduction (FIC): The FIC algorithm showed promising results in reducing the search space for exact methods. By increasing the number of forced coarsening iterations (K+), the sensitivity (percentage of edges recovered from the optimal solution) increased significantly, while maintaining a low false discovery rate.

Limitations and Future Work

  • Approximation: IC is an approximate algorithm, and while it performs well, it does not guarantee finding the globally optimal decomposable graph. The quality of the solution depends on the chosen parameters K and l.
  • ILP Solver Dependency: The performance of IC relies on the efficiency of the ILP solver (Gurobi® was used). For extremely large problems, the ILP step itself could become a bottleneck, although the paper's parameter tuning aims to mitigate this.
  • Future Work: The authors suggest that further exploration of the parameter l+ in the FIC algorithm could lead to even better search space reduction for exact methods. They also imply that the IC framework could be extended to other types of graphical models or scoring functions.

Summary updated

BibTeX
@inproceedings{orfanides2020learning,
  author = {George Orfanides and Aritz Pérez},
  title = {{Learning decomposable models by coarsening}},
  booktitle = {Pgm},
  year = {2020},
}
Figure