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

Computationally sufficient statistics for Ising models

Abhijith Jayakumar, Shreya Shukla, Marc Denis Vuffray, Andrey Lokhov, Sidhant MisraNeurIPS 2026

TL;DR

Learning the underlying parameters of complex discrete systems—like magnetic spins in an Ising model—usually faces an annoying catch-22: using only minimal summary statistics is computationally intractable, while fast algorithms demand observing complete snapshots of the entire system at once. This paper finds a practical middle ground, showing how to efficiently reconstruct an Ising model using only low-order correlations (e.g., averages of small groups of variables). It maps out a neat trade-off between how much you can observe and how much you have to compute.

What Problem Does This Paper Address?

Imagine trying to map the hidden web of interactions between $p$ binary variables, $\sigma \in \{-1, 1\}^p$ (think interacting atoms, firing neurons, or coupled qubits). In physics and machine learning, this is the classic inverse Ising problem, a foundational type of discrete Gibbs distribution.

Information-theoretically, the pairwise couplings and local magnetic fields of an Ising model are completely determined by its 1st- and 2nd-order statistics—the individual averages $\mathbb{E}[\sigma_i]$ and pairwise correlations $\mathbb{E}[\sigma_i \sigma_j]$. These are the model's sufficient statistics. Unfortunately, actually inverting those correlations back into model parameters is known to be computationally intractable (NP-hard in general).

On the flip side, we have fast, polynomial-time algorithms that can learn these models, but they demand full sample configurations—simultaneous snapshots of every single spin in the system, which implicitly grant access to statistics all the way up to order $p$. In real physical experiments, observing the whole system at once is often impossible; you might only be able to measure small subsets of particles at a time.

The authors ask: Is there a sweet spot? Can we learn the model in polynomial time using statistics of some bounded degree $d$—more than 2, but way less than $p$?

Methods

To bridge this gap, the authors modify a known technique called the Interaction Screening Estimator (ISE). Standard ISE learns the connections around each node one by one by minimizing an exponential loss function subject to a constraint on the $\ell_1$-width ($\gamma$), which is simply a cap on the total interaction strength connected to any single node.

Evaluating that exponential loss normally requires full system configurations. An intuitive fix would be to approximate the exponential loss with a degree-$d$ Taylor polynomial, which only needs statistics up to order $d$. However, truncating the loss function directly can destroy its convexity—and with it, any guarantee that your optimizer won't get stuck.

Here is the authors' clever twist: approximate the gradient, not the loss. * Corrupted Gradient Oracle: They take the exact gradient of the convex ISE loss, expand the exponential inside it into a degree-$d$ polynomial, and swap out the resulting expectation terms with empirical moments from a pre-collected "approximate moment table." * Robustness of Gradient Descent: Because the underlying ideal loss is convex, projected gradient descent is naturally forgiving. Bounded errors from truncating the polynomial and noisy empirical data translate into neatly bounded errors in the final parameters. * Three-Stage Pipeline: First, they run projected gradient descent to learn pairwise couplings. Second, they threshold small values to uncover the graph structure. Third, because linear terms ("magnetic fields") get drowned out by higher-order terms in the first pass, they freeze the learned couplings and run a quick 1D re-optimization per spin to recover the fields.

Datasets

This is primarily a theoretical paper establishing mathematical guarantees for any data-collection process that produces an approximate table of low-order moments (whether from one shared dataset or separate localized measurements). The authors briefly note running numerical experiments on a synthetic example in Appendix H (not included in the main text) to verify their scaling laws; no standard external benchmarks are used.

Key Insights and Ideas

  • Computationally Sufficient Statistics: Just as order-2 moments are information-theoretically sufficient, moments of order $O(\gamma)$ (for a fixed accuracy) are computationally sufficient—unlocking polynomial-time learning without needing full-state snapshots.
  • Bypassing Non-Convexity via Gradients: Approximating an objective function can ruin its geometry. Approximating its gradient lets you lean on convex optimization theory, treating truncation math and sampling noise as just a slightly fuzzy compass.
  • Discrete vs. Continuous Worlds: In continuous alphabets, techniques like score matching naturally learn degree-$d$ energy models using only $2d$-order moments. Discrete binary spins lack smooth derivatives, forcing the moment order to scale with interaction strength ($\gamma$) rather than just the degree of the energy function.
  • Structural Priors Slash Measurement Costs: If you already know the interaction graph is sparse and $D$-regular (like a 3D crystal lattice), you can use a local Fourier expansion instead of Taylor series—needing only moments of order $D+1$ among neighboring spins, completely independent of $\gamma$!

Key Results

  • Moment Order Scaling: Learning pairwise couplings to accuracy $\epsilon$ requires statistics up to order $O(\gamma + \log(1/\epsilon))$. Notice how forgiving the accuracy dependence is: wanting 10x better precision only adds a small constant number of higher-order moments.
  • Structure Recovery: If the weakest true connection has magnitude $\alpha$, thresholding recovers the exact interaction graph using moments of order $O(\gamma + \log(1/\alpha))$.
  • Sample & Time Complexity: Using $n = O(e^{8\gamma}\text{poly}(\gamma, \log(1/\epsilon))\log(p/\delta)/\epsilon^4)$ samples per moment suffices—matching the asymptotic scaling of full-sample Interaction Screening. Runtime scales as $p^{O(\gamma + \log(1/\epsilon))}$, which is polynomial in system size $p$ whenever width $\gamma$ and target accuracy $\epsilon$ are fixed constants.
  • Practical Headroom: Preliminary numerical tests mentioned by the authors confirm the linear scaling with $\gamma$ and reveal that the polynomial degree needed in practice is several times smaller than the worst-case theoretical bound.

Limitations and Future Work

  • The Uncharted Gap: We know order-2 moments are too hard to invert in general, and order-$O(\gamma)$ moments are enough. What happens in between? Proving tight lower bounds on the minimum moment order needed for tractable learning remains an open puzzle.
  • Dependence on Width: When interaction width $\gamma$ grows with system size $p$ rather than staying constant, both sample complexity ($e^{8\gamma}$) and runtime ($p^{O(\gamma)}$) blow up exponentially.
  • Restricted Model Classes: Since knowing the graph structure drastically lowers the required statistics (when degree $D \ll \gamma$), the authors suggest exploring whether other physical priors—such as ferromagnetic (all-positive) couplings or Sherrington-Kirkpatrick spin-glass models—also permit learning from much lower-order observations.

Summary updated

BibTeX
@inproceedings{jayakumar2026computationally,
  author = {Abhijith Jayakumar and Shreya Shukla and Marc Denis Vuffray and Andrey Lokhov and Sidhant Misra},
  title = {{Computationally sufficient statistics for Ising models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=41qmmeIDx9},
}
Figure