A method for quantifying the generalization capabilities of generative models for solving Ising models
Qunlong Ma, Zhi Ma, Ming Gao
TL;DR
This work tackles the problem of quantifying how well generative models solve Ising models with complex landscapes by introducing a Hamming distance regularizer within the variational autoregressive networks (VAN) framework. The loss is decomposed as $\mathcal{L}=F_q+R_h$, where $F_q$ is the VAN variational free energy and $R_h=\sum_{\mathbf{s}} | hm_{\mathbf{g}}(\mathbf{s})-z|$ governs the overlap with the ground state, enabling a controllable measure of generalization. A Gen metric, $Gen=\sum_{k=0}^{\lfloor N/2 \rfloor} 2^{k} SR_k$, combines overlap size with ground-state success rates to compare network architectures (FNN, RNN, GNN) across WPE and SK models, revealing that often 3-layer FVAN/GVAN offer the best generalization while RVAN tends to weaker generalization due to rapid mode collapse; importantly, small-scale performance predicts large-scale performance, aiding neural architecture search. The approach provides a principled, NAS-oriented framework for selecting VAN architectures capable of scaling to large Ising problems, with potential applicability to other discrete energy landscapes. The results highlight the roles of architecture, depth, and regularization in shaping generalization dynamics of generative solvers.
Abstract
For Ising models with complex energy landscapes, whether the ground state can be found by neural networks depends heavily on the Hamming distance between the training datasets and the ground state. Despite the fact that various recently proposed generative models have shown good performance in solving Ising models, there is no adequate discussion on how to quantify their generalization capabilities. Here we design a Hamming distance regularizer in the framework of a class of generative models, variational autoregressive networks (VAN), to quantify the generalization capabilities of various network architectures combined with VAN. The regularizer can control the size of the overlaps between the ground state and the training datasets generated by networks, which, together with the success rates of finding the ground state, form a quantitative metric to quantify their generalization capabilities. We conduct numerical experiments on several prototypical network architectures combined with VAN, including feed-forward neural networks, recurrent neural networks, and graph neural networks, to quantify their generalization capabilities when solving Ising models. Moreover, considering the fact that the quantification of the generalization capabilities of networks on small-scale problems can be used to predict their relative performance on large-scale problems, our method is of great significance for assisting in the Neural Architecture Search field of searching for the optimal network architectures when solving large-scale Ising models.
