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

Learning Clique Forests

Guido Previde Massara, Tomaso AstearXiv 2019

Introduction

In the fields of network science and machine learning, uncovering the underlying dependency structure of complex systems is a fundamental challenge. Whether analyzing genetic pathways, neural connections, or financial markets, researchers seek to identify how variables interact and influence one another. Graphical models provide a robust framework for representing these relationships, but learning the optimal graph structure from raw data is notoriously difficult. The search space of possible graphs is astronomical, and the optimization problem is generally NP-complete.

This paper introduces the Maximally Filtered Clique Forest (MFCF), a powerful tool for learning complex structures that are both sparse and mathematically "well-behaved" for statistical inference. By rethinking how networks are grown from data, the authors provide a method that guarantees a chordal graph structure, enabling efficient computation and outperforming standard benchmarks like the Graphical Lasso (Glasso).

The Challenge of Structure Learning

To understand a system, we often ask: Is the relationship between variable A and variable B direct, or is it mediated through variable C? Standard techniques like the Graphical Lasso (Glasso) address this by using $L_1$ regularization to encourage sparsity, effectively "zeroing out" weak connections. However, Glasso does not guarantee that the resulting graph will be chordal.

Chordal graphs—where every cycle of four or more nodes contains a "chord" or shortcut—are considered the "gold standard" in graphical modeling. Their structural properties allow for exact, efficient probability calculations using the junction-tree algorithm. Without chordality, statistical inference in large-scale systems often requires approximate methods that can be slow or inaccurate.

The MFCF Framework

The core innovation of this research is the clique expansion operator. Rather than adding edges one by one, the MFCF algorithm grows the network by adding nodes to "cliques" (subsets of nodes where every node is connected to every other node in the subset).

1. The Topological Operator

When a new node is introduced to the graph, the operator connects it to a specific subset of an existing clique, known as a "separator." This move is designed to be topologically invariant: if the process starts with a clique forest, it is mathematically guaranteed to end with a clique forest. This ensures the global property of chordality is maintained through local additions.

2. Greedy Growth Strategy

The algorithm employs a greedy growth strategy similar to Prim’s algorithm for Minimum Spanning Trees. It begins with a small seed clique and iteratively adds the "best" next node based on a specific gain function.

3. Gain Functions and Likelihood

The authors primarily utilize log-likelihood for Gaussian models as the gain function. In essence, the algorithm asks: "Which new connection explains the most variance in our data?" Because the resulting structure is a clique forest, the joint probability of the entire system can be neatly factored into a ratio of the probabilities of its cliques and separators—a property known as decomposability.

Performance and Insights

The authors validated the MFCF algorithm against Glasso and standard shrinkage estimators using synthetic sparse data, dense data, and real-world financial data (stock returns for 100 companies).

Topology as a Prior

One of the most significant insights is the use of topology as a prior. Instead of merely penalizing the number of edges (as in Lasso), MFCF uses the required shape of the graph as a constraint. This "topological regularization" prevents the model from chasing noise, making it particularly effective in high-dimensional settings.

The Small Sample Advantage

MFCF excels in the $n < p$ regime, where the number of variables exceeds the number of observations. In these scenarios, standard statistical methods often fail or require extreme tuning. MFCF’s structural constraints act as a guide, allowing it to identify meaningful patterns even with limited data. In financial data tests, MFCF performed significantly better than Glasso for short time series, maintaining efficiency in its parameter usage even as more data became available.

Sparsity and Efficiency

In synthetic tests with 100 variables, MFCF proved to be remarkably parsimonious. It achieved higher log-likelihoods than Glasso while using significantly fewer parameters (approximately 200-300 compared to Glasso’s 1,000+). This suggests that MFCF identifies a more accurate and compact representation of the underlying data structure.

Limitations and Future Directions

While powerful, the MFCF algorithm has limitations. As a greedy algorithm, it makes the best local choice at each step, which may not always lead to the global optimum. Furthermore, the current implementation focuses on Gaussian models, which assume linear dependencies.

Future work may involve exploring non-linear gain functions to model more complex system dependencies or developing "Kruskal-like" approaches where multiple small clique trees are merged over time, potentially avoiding some of the pitfalls of the current seed-based growth. By providing a method to learn chordal structures directly from data, MFCF opens new possibilities for efficient and accurate statistical inference in complex, high-dimensional systems.

Summary updated

BibTeX
@misc{massara2019learning,
  author = {Guido Previde Massara and Tomaso Aste},
  title = {{Learning Clique Forests}},
  year = {2019},
  eprint = {1905.02266},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.02266},
}
Figure