Step 1 · From graph to matrix
Start with the couplings
Each edge carries a signed coupling. Zoom in to read its weight, then place it in the symmetric matrix A. Positive couplings favour equal spins; negative ones favour opposite spins.
Normalization-Path Exploration for Large-Scale Ising Optimization
Department of Computer Science, Virginia Commonwealth University * Equal contribution · † Corresponding author
Abstract
Large-scale Ising minimization underlies critical optimization and learning applications, including correlation clustering, MAP inference, and energy-based models. Spectral relaxation methods run in polynomial time but often return lower-quality solutions than metaheuristics, which scale poorly to large instances. In particular, spectral methods are naturally single-shot as they solve exactly one eigenvalue problem. We introduce Spectral Annealing (SpecAnn), a new spectral optimization approach that transforms traditional spectral methods from single-shot approximations into exploration-based optimization, by sweeping a parameterized normalization path from the raw adjacency to its symmetric absolute-degree normalization, equivalently the signed normalized Laplacian, with successive eigensolves warm-started by an $O(n)$ diagonal predictor and GPU-batched local search refining candidates in parallel. Experiments on general Ising problems demonstrate that SpecAnn achieves competitive solution quality across diverse instance structures, with runtimes less than 35 minutes for instances of 33.6M variables, a scale only spectral methods reach. SpecAnn runs up to 67× faster than a recent GPU-accelerated method at million-variable scale, with competitive solution quality, and scales successfully beyond 262K variables where traditional metaheuristics fail.
In plain words
How it works
SpecAnn solves a sequence of eigenproblems along a path of normalizations, rounds every eigenvector to a candidate, and refines all distinct candidates at once on the GPU.
Try each step on illustrative graph B (44 spins) and a paper instance (1024 spins plus an auxiliary spin). The demos run in your browser; their numbers describe these examples only. Open i for details.
Step 1 · From graph to matrix
Each edge carries a signed coupling. Zoom in to read its weight, then place it in the symmetric matrix A. Positive couplings favour equal spins; negative ones favour opposite spins.
Step 2 · Normalization
α moves from the raw coupling matrix to its degree-normalized form, reducing the influence of hubs. SpecAnn explores the path instead of choosing one normalization.
Step 3 · Eigenvectors
Each α gives a new eigenvector. A diagonal predictor uses the previous one to start the next solve. Warm starts reduce the total Lanczos work in these examples.
Step 4 · Candidates
Take the signs of each eigenvector to get a spin configuration. Keep one copy of each distinct candidate.
Step 5 · Local search
Local search improves the spin assignments. Parallel flips can sometimes raise the energy, so a final check keeps each candidate no worse than its start.
A four-spin illustration (not one of the examples). Couplings: i–j = +1, k–i = +0.4, j–l = +0.4; the spins k = +1 and l = −1 stay fixed.
Step 6 · Selection
Compare the refined candidates and return the best. The star marks the solution SpecAnn keeps.
Lower bound · Eq. (1)
Every α gives a lower bound on the energy. Take the highest bound and compare it with the energy found. The remaining interval can be loose.
Method
Spectral methods relax $E(\mathbf s)=-\tfrac12\mathbf s^\top\mathbf A\mathbf s$ over $\|\mathbf s\|_2^2=n$, take the principal eigenvector of one spectral matrix and round it. The choice of matrix is a dilemma for signed graphs: the raw adjacency $\mathbf A$ preserves signal strength but high-degree vertices dominate its eigenvector; the normalized $\mathbf D^{-1/2}\mathbf A\mathbf D^{-1/2}$ balances vertex influence but may over-normalize when degree heterogeneity carries optimization signal. The best normalization depends on instance structure, and no setting is best a priori.
For each value $\alpha_k$ of a schedule $\mathcal S=\{\alpha_k\in[0,1]\}_{k=1}^{K_\alpha}$, SpecAnn computes the principal eigenpair $(\lambda_k,\mathbf y_k)$ of $\mathbf N_{\alpha_k}$ and rounds it to spins $\hat{\mathbf s}_k=\operatorname{sign}_+(\mathbf D_{\alpha_k}^{-1/2}\mathbf y_k)$. Each eigensolve is warm-started by a diagonal predictor. After the sweep it deduplicates the candidates, refines the $U\le K_\alpha$ distinct ones with GPU-batched local search, keeps a candidate's spectral initialization whenever refinement made it worse, and returns the lowest energy.
Defaults: $K_\alpha=128$ values $\alpha_k=\sqrt{(k-1)/(K_\alpha-1)}$, denser near 1; CuPy thick-restart Lanczos, tolerance $10^{-6}$; FP32 (App. C.1).
Results
Lower gaps mean better solutions within the evaluated pool; lower times mean faster runs. A zero gap does not certify an optimum.
Barabási–Albert (BA) and Erdős–Rényi (ER) graphs, $n=2^6$ to $2^{25}$, 10 instances per size. Toggle methods, hover for values.
MaxCut (Gset, 66 instances), MIS and CVRP (QOBLIB, 50 and 55 instances) and correlation clustering on three signed networks (Epinions 131K, Slashdot 82K, WikiElec 7K nodes). Bold: best value in the column.
Ratios are computed from the Table 1 values shown.
Ablations on BA graphs. Gaps here are relative to the best energy within each study, not the full pool.
For each method, the time to match or beat the energy of a SpecAnn run on the same instance and seed (median over five seeds; 7,200 s budget). BA, instance 0 of each size (Table 5).
BA graphs with $n=1024$ (mean over 10 instances and 10 seeds): relative gaps to SpecAnn's lowest mean energy over α, for SpecAnn, SpecAnn without local search, and the universal bound of Eq. (1).
Future work
Directions suggested by the limitations above. They are open questions, not results of the paper.
Paper
Temporary entry, not the official citation: it will be replaced by the NeurIPS 2026 proceedings entry when available.