Spectral Annealing

NeurIPS 2026

Normalization-Path Exploration for Large-Scale Ising Optimization

Juan Valentin Guerrero Cano*†, Phuong Cao Cong*, Kostadin Damevski, Thang Dinh

Department of Computer Science, Virginia Commonwealth University * Equal contribution · † Corresponding author

Illustrative graph α = 0.00
One graph, changing normalization.
Drag α to follow the weight moving away from the hubs.

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.

How it works

Explore the normalization path

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

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.

Step 2 · Normalization

Let α rebalance the graph

α 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

Reuse one eigenvector to find the next

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

Round, then remove duplicates

Take the signs of each eigenvector to get a spin configuration. Keep one copy of each distinct candidate.

Step 5 · Local search

Refine the candidates together

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.

Why can flipping two spins at once raise the energy?

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.

Start from
Spins at once
Policy

Step 6 · Selection

Keep the lowest energy

Compare the refined candidates and return the best. The star marks the solution SpecAnn keeps.

Lower bound · Eq. (1)

Put a floor beneath the solution

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.

The paper's Figure 1 (static)
Figure 1 of the paper: the six steps of SpecAnn. (1) signed Ising couplings A; (2) path of matrices N alpha for alpha from 0 to 1; (3) warm-started eigenvectors y(alpha_k); (4) rounded candidates, U at most K_alpha distinct; (5) GPU local search on all U at once; (6) keep the best, lowest energy E. Bottom: the alpha-sweep on a toy signed graph with 36 nodes at four of the 128 schedule values, nodes coloured by rounded spin, node area proportional to the eigenvector entry, edge width proportional to the normalized coupling.
Figure 1. Overview of SpecAnn (Algorithm 1; step 6 is schematic). Bottom: the α-sweep (steps 2–4) on a toy signed graph (n = 36) at four of the Kα = 128 values of the schedule.

Method

One exponent, a family of relaxations

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.

Figure 2 of the paper: best-found energy gaps across sampled alpha values on 65K-node instances; the best sampled alpha varies across instances, and the inset without local search shows gap differences above 60 percent.
Figure 2. Best-found energy gaps across sampled α values on 65K-node instances. The best sampled α varies across instances, and the inset (no local search) shows gap differences above 60%. This motivates systematic exploration over fixed normalization choices.

SpecAnn in one paragraph

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

Quality and runtime, side by side

Lower gaps mean better solutions within the evaluated pool; lower times mean faster runs. A zero gap does not certify an optimum.

Scalability: up to 33.6M variables

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.

(a) Gap to best-found (%)

(b) Runtime (s), log scale

  • SpecAnn scales to 33.6M variables in under 35 minutes. Abstract · Fig. 4
  • At 2M nodes it is 67× faster than QQA, with a higher gap. Sec. 4.2
  • From 8.4M nodes on, it finds the best mean energies among the compared methods. Sec. 4.2

Across problem families

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.

  • SpecAnn improves the gaps of the fixed spectral baselines across these problem families. Table 1
  • Other solvers often reach lower gaps, at longer runtimes. Low Ising gaps do not guarantee feasible decoded solutions. Sec. 4.2 · App. C.12

What each component buys

Ablations on BA graphs. Gaps here are relative to the best energy within each study, not the full pool.

Time to reach SpecAnn's energy

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).

  • In these BA runs, SpecAnn is fastest to its target from $n=2^{13}$ onward. Table 5
  • QQA reaches the target up to $2^{22}$ nodes, with longer runtimes at large sizes. App. C.2

The lower bound along the path

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).

Limitations

  • The reference is best-found, not optimal. Gaps use the best energy found by the evaluated methods and runs, including SpecAnn. They do not certify distance to the true optimum.
  • Resources limit the comparison. Runs share a two-hour budget and memory limits. Some solvers could find better solutions with more resources. The reported quality–time trade-offs describe this protocol, not every possible budget.
  • The benefit depends on the instance. Near-regular graphs may benefit less. The α schedule and eigensolver tolerance also affect quality and runtime.
  • The guarantees are limited. The lower bound can be loose. There is no worst-case approximation guarantee or guarantee of a one-flip local optimum.
  • Low Ising energy does not ensure feasibility. Penalty-encoded problems such as MIS and CVRP still require checking the decoded solution.

Future work

Possible next steps

Directions suggested by the limitations above. They are open questions, not results of the paper.

  • Guarantees for the returned solution. The current theory bounds the energy from below but gives no approximation guarantee for the solution SpecAnn returns.
  • Instance-adaptive schedules. Quality and runtime depend on the α schedule and on the number of sampled values; choosing them per instance could replace the fixed square-root schedule over [0, 1].
  • Tighter certified bounds. The bound of Eq. (1) can be loose; other spectral families could narrow the interval around the optimum.
  • Feasibility on penalty-encoded problems. Rounding or refinement that respects the constraints of MIS, CVRP and similar encodings, where a low Ising energy alone does not give a feasible solution.

Paper

Read it, run it, cite it

BibTeX temporary


    

Temporary entry, not the official citation: it will be replaced by the NeurIPS 2026 proceedings entry when available.