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

Efficiently learning Ising models on high degree graphs

Guy Bresler

Abstract

We present a greedy algorithm, LearnNbhd, capable of reconstructing the structure of any bounded-degree Ising model in $O(p^2 \log p)$ time. By utilizing a novel potential argument based on conditional entropy, this approach bypasses the traditional reliance on the Correlation Decay Property (CDP). This allows for efficient structure learning even in low-temperature regimes characterized by strong, long-range correlations.

Introduction

The inverse Ising problem—recovering the underlying graph structure from independent binary samples—is a fundamental challenge in statistical learning. While computationally tractable for tree-structured graphs, general graphs with loops typically require $O(p^d)$ time for a graph with $p$ nodes and maximum degree $d$. Existing efficient algorithms often depend on the Correlation Decay Property (CDP), which restricts their applicability to "high-temperature" regimes where correlations diminish rapidly with distance.

This work introduces a greedy algorithm that breaks this dependency, providing a general solution for any bounded-degree Ising model. The core contribution is a proof that structure learning is possible in $O(p^2 \log p)$ time regardless of internal parameters, matching the scaling of simpler tree models.

The LearnNbhd Algorithm

The proposed method, LearnNbhd, identifies the neighborhood of a target node $u$ through a two-stage process: greedy superset construction followed by pruning.

The LearnNbhd algorithm for structure learning in Ising models.

Greedy Superset Construction

The algorithm begins with an empty set $\mathcal{S}$ and iteratively adds nodes. In each step, it selects the node $i$ that maximizes the average conditional influence on $u$, given the current set $\mathcal{S}$. This "explaining away" mechanism is crucial; by conditioning on highly correlated non-neighbors, the algorithm eventually isolates the influence of true neighbors.

Pruning

The greedy phase may include "spurious" nodes that exhibit high correlation but are not direct neighbors. A final pruning step evaluates each node in the candidate set $\mathcal{S}$, removing those whose conditional influence falls below a threshold $\tau$ when other candidates are accounted for.

Theoretical Foundations

The success of LearnNbhd rests on a new structural property of Ising models. The authors demonstrate that for any node, there always exists at least one neighbor that maintains high mutual information, even when conditioning on an arbitrary subset of other nodes.

This is formalized through a potential argument. Each node added to the pseudo-neighborhood reduces the conditional entropy of the target node $u$ by at least a constant amount. Because entropy is non-negative, the algorithm is guaranteed to terminate after a constant number of steps relative to the total number of nodes $p$.

Key Results

The algorithm achieves several significant benchmarks:

  • Computational Complexity: A runtime of $O(p^2 \log p)$, representing a massive improvement over the $O(p^d)$ brute-force approach.
  • Sample Complexity: The required number of samples $n$ scales as $f(d) \log p$, which is information-theoretically optimal with respect to $p$.
  • Generality: By removing the CDP requirement, the algorithm is the first to efficiently handle models with strong long-range correlations (low-temperature regimes).

Discussion and Limitations

While the algorithm scales efficiently with the number of nodes $p$, the constant factor $f(d)$ currently depends doubly-exponentially on the maximum degree $d$. This suggests that for graphs with high degrees, the sample requirements may still be prohibitive. Future research may focus on reducing this to a singly-exponential dependence or extending the framework to non-binary variables and models with latent variables.

Summary updated

BibTeX
@inproceedings{bresler2015efficiently,
  author = {Guy Bresler},
  title = {{Efficiently learning Ising models on high degree graphs}},
  booktitle = {STOC},
  year = {2015},
  doi = {10.1145/2746539.2746631},
}
Figure