Data augmentation using diffusion models to enhance inverse Ising inference

Yechan Lim, Sangwon Lee, Junghyo JoarXiv 2025

Abstract

Identifying model parameters from observed configurations poses a fundamental challenge in data science, especially with limited data. Recently, diffusion models have emerged as a novel paradigm in generative machine learning, capable of producing new samples that closely mimic observed data. These models learn the gradient of model probabilities, bypassing the need for cumbersome calculations of partition functions across all possible configurations. We explore whether diffusion models can enhance parameter inference by augmenting small datasets. Our findings demonstrate this potential through a synthetic task involving inverse Ising inference and a real-world application of reconstructing missing values in neural activity data. This study serves as a proof-of-concept for using diffusion models for data augmentation in physics-related problems, thereby opening new avenues in data science.

Introduction

In fields ranging from neuroscience to finance, understanding the interactions between components—such as neurons or stocks—often relies on analyzing binary patterns of activity. This is the essence of the Inverse Ising Problem: given a set of observed configurations, the goal is to infer the underlying biases (fields) and coupling strengths that govern the system. However, a primary obstacle is data scarcity. When observations are limited, inferred parameters become noisy and unreliable. Traditional generative approaches like Boltzmann Machines are computationally expensive, while Variational Autoencoders (VAEs) often produce "blurry" data that fails to capture the sharp statistical features of physical systems.

Methodology: Diffusion as a Physical Force

The researchers propose using Denoising Diffusion Probabilistic Models (DDPM) to augment small datasets. Unlike standard generative models, diffusion models learn a "score function"—the gradient of the log-probability of the data. In physics terms, this score function acts like a force field, guiding noisy configurations back toward the high-probability regions of the data manifold.

Visualization of the diffusion score function as a force field.

To apply these continuous models to binary Ising data, the authors utilized an "analogue bits" approach. Binary states (+1, -1) are treated as continuous values during the diffusion training process and then thresholded back to binary form during sample generation. For the inference step, they employed the "erasure machine," an efficient algorithm that avoids the computationally intensive partition function by using high-temperature expansions.

The "Goldilocks Zone" and Energy Variance

A critical challenge in data augmentation is determining when to stop training. If the diffusion model is under-trained, it generates noise; if over-trained, it simply memorizes the training set, offering no new information for inference. To find the optimal "Goldilocks zone," the authors introduced a novel stopping criterion based on energy variance.

Inference performance across training iterations. Panels (b-d) show inferred vs. true couplings. Panel (e) tracks MSE, while panel (f) illustrates the energy variance stopping criterion.

Since the true parameters are unknown in real-world scenarios, the researchers monitored the variance of the energy of generated samples. They discovered that the optimal inference accuracy (lowest Mean Square Error) occurs when the energy variance of the synthetic data matches that of a held-out test set.

Results and Discussion

The framework was validated on both synthetic and real-world datasets. In the Sherrington-Kirkpatrick (SK) model, a complex spin glass system, augmenting a small set of 4,000 observations with 100,000 diffusion-generated samples significantly reduced the MSE of inferred couplings. This improvement was robust across various system sizes and interaction strengths.

In a real-world application using neural spike trains from the tiger salamander retina, the diffusion-augmented pipeline outperformed baseline methods in reconstructing the activity of "hidden" neurons. This suggests that diffusion models can effectively capture the higher-order correlations necessary for accurate physical modeling.

Conclusion

This work demonstrates that diffusion models are not just tools for image generation but are powerful assets for statistical physics. By treating the score function as a physical force and using energy variance as a guide, researchers can overcome the limitations of small datasets. Future work may explore discrete diffusion models and applications to non-equilibrium time-series data, further bridging the gap between generative AI and physical inference.

Reference: Lim, Y., Lee, S., & Jo, J. (2025). Data augmentation using diffusion models to enhance inverse Ising inference. arXiv:2503.10154v1 [physics.data-an].

Summary updated

BibTeX
@misc{lim2025data,
  author = {Yechan Lim and Sangwon Lee and Junghyo Jo},
  title = {{Data augmentation using diffusion models to enhance inverse Ising inference}},
  year = {2025},
  eprint = {2503.10154},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10154},
}
Figure