Efficient Stepwise Selection in Decomposable Models

Amol Deshpande, Minos N. Garofalakis, Michael I. JordanUAI 2001

Abstract

This paper introduces a highly efficient $O(n^2)$ algorithm for performing stepwise selection in decomposable models, a popular class of undirected graphical models. By providing a new characterization of which edges can be added without breaking a model's "chordality," the authors transform a historically slow search process into a fast, incremental update procedure.

Introduction

Undirected graphical models, such as Markov Random Fields, are essential tools in fields ranging from computer vision to natural language processing. However, general undirected models have a major drawback: estimating their parameters usually requires slow, iterative algorithms like Iterative Proportional Fitting (IPF).

Decomposable models are a special subset of these graphs (mathematically equivalent to chordal or triangulated graphs) that offer a significant advantage: they possess closed-form expressions for maximum likelihood estimates. This allows researchers to calculate parameters analytically without iterative bottlenecks. The challenge lies in model selection; finding the optimal decomposable model for a given dataset is NP-hard. Researchers typically rely on "stepwise selection"—greedily adding or removing edges—but ensuring every step maintains decomposability has historically been a significant computational bottleneck. This paper presents a method to make that search nearly instantaneous.

Theoretical Framework: Minimal Separators

The authors' approach relies on a new mathematical characterization of chordality. They prove that an edge $(v_a, v_b)$ can be added to a chordal graph while maintaining chordality if and only if there exists a "minimal separator" $S_{ab}$ that connects to both nodes.

Figure 1: Illustration of the minimal separator $S_{ab}$ connecting nodes $V_a$ and $V_b$, a necessary condition for maintaining chordality when adding an edge.

Essentially, if the nodes are already connected through a specific type of bottleneck (a clique), adding the edge won't create any forbidden "un-chorded" cycles. This realization allows the algorithm to focus only on local consequences rather than re-examining the entire graph structure at every step.

The Clique Graph and Update Algorithm

To track these separators efficiently, the authors utilize a Clique Graph, where nodes represent maximal cliques of the original graph. They maintain this graph alongside a boolean matrix of "eligible" edges. When an edge is added, the authors provide a clever algorithm to update the Clique Graph in $O(n^2)$ time.

Figure 2: The transformation of the clique structure following the addition of an edge, enabling $O(n^2)$ incremental updates.

This update procedure ensures that the list of eligible edges for the next step is always ready, preventing the search from slowing down as the model grows. Furthermore, the authors show that the change in a model's score (specifically KL divergence or entropy) after adding an edge depends only on the minimal separator. This means that once eligible edges are identified, calculating which one is "best" to add is computationally cheap.

Key Results and Complexity

The primary contribution of this work is the dramatic improvement in computational complexity for model selection:

  • Efficiency Gains: The algorithm can enumerate all eligible edges for forward selection in $O(n^2)$ time, where $n$ is the number of variables.
  • Incremental Updates: After choosing an edge to add, the data structures can be updated in $O(n^2)$ time.
  • Bounded Entropy Calculations: The authors prove that after adding an edge, the number of new entropy terms that need to be calculated to evaluate future edges is at most $O(n)$. This prevents the "score calculation" phase from becoming a bottleneck.

Conclusion

While the paper is primarily theoretical and lacks empirical benchmarks on real-world datasets, it provides a rigorous foundation for faster graphical model selection. By linking the search for new edges directly to the Clique Graph—a compact representation of all possible junction trees—the authors have turned a complex global search problem into a series of efficient local updates. Future work may extend these techniques to mixed graphs containing both directed and undirected edges.

Summary updated

BibTeX
@misc{deshpande2001efficient,
  author = {Amol Deshpande and Minos N. Garofalakis and Michael I. Jordan},
  title = {{Efficient Stepwise Selection in Decomposable Models}},
  year = {2001},
  eprint = {1301.2267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1301.2267},
}
Figure