Neural network wavefunctions approximate the ground state of a quantum system, its lowest-energy state. They do this by assigning a number to every basis configuration, such as every pattern of up and down spins. In many physically interesting systems that number must be negative for some configurations, and finding which configurations carry a minus sign is a hard part of the problem. It is also where the "sign problem" of quantum simulation resurfaces on the optimization side. A real-valued network can change the sign of a group of configurations only by driving their amplitude through zero. Along that path the energy can rise, so gradient descent faces a wall between a wrong sign pattern and a right one. Physicists who face the path-integral version of the sign problem respond in two ways. They either move into the complex plane, as in complex Langevin and Lefschetz thimbles, or they reweight across disconnected pieces. Optimization researchers facing walls in a landscape also respond in two ways: they make discrete jumps, or they tunnel through the space around the constraint.
This note proposes treating sign learning in variational wavefunctions as a discrete labeling problem, analyzed with the unconstrained feature model. That model is a simplification from deep-learning theory in which the network's second-to-last layer of features is treated as freely choosable vectors. Under this view the energy wall for a sign flip can be computed in closed form. The view also makes a testable prediction. If the network's sign-deciding features "collapse" into a few tight clusters, as classifier features do late in training, then flipping a whole cluster's sign in one discrete step is cheap and crosses the wall. This mirrors the label-flip jumps used in semi-supervised support vector machines. The comparison that matters most is against the continuous alternative, a complex phase that rotates the sign smoothly. The experiments are built to show which of the two wins, and where.
Core Claim
Split a wavefunction $\psi$ into a block $\psi_A$, supported on the configurations whose sign we want to flip, and its complement $\psi_B$. Write $E_{XY} = \langle \psi_X | H | \psi_Y \rangle$ for the energy terms and $N_X = \langle \psi_X|\psi_X\rangle$ for the norms. Here $H$ is the Hamiltonian and $C = E_{AB}$ is the cross term coupling the block to the rest. A real-valued ansatz flips the block by scaling it with $t$ running from $1$ to $-1$. A complex ansatz flips it by rotating its phase $\alpha$ from $0$ to $\pi$. The energies along the two paths are
$$E_{\text{real}}(t) = \frac{E_{BB} + 2tC + t^2 E_{AA}}{N_B + t^2 N_A}, \qquad E_{\text{phase}}(\alpha) = \frac{E_{AA} + E_{BB} + 2C\cos\alpha}{N_A + N_B}.$$
The phase path is monotone in $\cos\alpha$, so a single block flip never meets a barrier when it is complexified. The real path passes through $t=0$ with energy $E_{BB}/N_B$. This exceeds both endpoints whenever the block was helping to lower the energy, so it is a computable barrier. With many blocks the phase variables couple to one another through the pairwise cross terms $C_{ij}$, like spins in an XY model (a model of planar rotors). Those couplings can be frustrated, meaning no assignment satisfies all of them at once, and frustration produces its own local minima.
The claim has three parts. First, real-sign ansätze suffer node barriers that the formula predicts quantitatively. Second, complex phases remove these barriers on unfrustrated sign structures but not necessarily on frustrated ones. Third, discrete cluster-level sign flips can reach the correct sign pattern where both continuous routes stall. These flips are made cheap by collapse of the sign head's features, the part of the network that outputs the sign. Each part can fail independently, and the program is designed so that each part is tested on its own.
Where This Sits
The mechanism borrows from three literatures, and each plays a different role.
The unconstrained feature model supplies the analytical lens. Zhou et al. showed that when features are free variables, the landscape under squared loss has only global minima and strict saddles, with collapse of features onto class means. Súkeník et al. showed that deep regularized ResNets and Transformers reduce to a generalized version of this model as depth grows. Garrod et al. showed that depth without regularization biases features toward very low rank. We reuse the abstraction but change the loss. Variational energy is not a classification loss, and its labels, the signs, are unknown rather than given. Collapse becomes a hypothesis to test rather than a known outcome. If it holds, the low-rank bias of depth predicts few sign clusters, which helps a cluster-flip method.
Discontinuous optimization supplies the jump mechanism. Ogawa et al.'s path-following solver for semi-supervised support vector machines, Infinitesimal Annealing, detects when an unlabeled point reaches the decision boundary, flips its label, and jumps into an adjacent region of lower objective. It suffers from an explosion in the number of such events as data grows. Dai and Milenkovic's SET similarly jumps across barriers caused by conflicting gradients in matrix completion. Our jump is the same kind of discrete label flip. We flip whole feature clusters rather than individual points, which is how we propose to avoid the event explosion. Mohtashami et al. constrain the design from the other side: they show large finite steps can clear sharp barriers that small noisy steps cannot. Large steps are therefore a serious competitor, not a straw man.
The sign-problem literature motivates the question and supplies the continuous alternative. Mode Connectivity in Neural Quantum States found high energy barriers between neural wavefunctions trained in the ordered phase of the transverse-field Ising model. It studied only linear interpolation between finished solutions and proposed no algorithm to cross those barriers. The model is also stoquastic (its ground state has no negative entries), so sign structure plays no role there. Complex Langevin, analyzed by Guralnik and Pehlevan and stabilized by Cai et al., and thimble methods (Bluecher et al.; Pawlowski et al.) all cure oscillating signs by moving into the complex plane. The complex-phase wavefunction is the optimization analogue of that move. The second equation above is the precise sense in which complexifying removes barriers. Thimble work also teaches that complexification still leaves disconnected pieces that need reweighting across them. Our frustration hypothesis is the optimization analogue of that lesson.
The closest work is the mode-connectivity study. It diagnoses barriers with fixed continuous paths. We give an analytic barrier formula tied to sign blocks, test for collapse in the sign head, and build and evaluate an active jump algorithm against complexification.
Research Program
The analysis stage builds an "unconstrained wavefunction model." Each configuration $\sigma$ has a free feature vector $h_\sigma$. A linear head maps this vector to a log-amplitude and either a real sign or a phase. For systems small enough to sum over every configuration exactly, we can then enumerate the stationary points of the variational energy, as Zhou et al. did for classification. We will check whether wrong-sign stationary points exist for the real head and whether they disappear for the phase head. We will measure how the predicted barrier $E_{BB}/N_B$ compares with barriers observed along the paths taken during training.
The method stage trains real-valued network wavefunctions with variational Monte Carlo, the standard sampling-based way to estimate and minimize their energy. During training we track a collapse statistic on the sign head's penultimate features: within-cluster scatter relative to between-cluster scatter, the analogue of the first collapse measure. At intervals we cluster these features with k-means and attach a learnable discrete multiplier $s_k \in \{\pm 1\}$ to each cluster. Each configuration is assigned to its nearest cluster center, the analogue of the fourth collapse property. We estimate the energy change from flipping each cluster. This uses the block terms $E_{AA}$, $E_{BB}$, and $C$, estimated from the same Monte Carlo samples by splitting the local energy by block. We then accept the flips that lower the energy, greedily or by a short local search over pairs. Continuous training resumes afterwards. The number of jump candidates per step equals the number of clusters, not the number of configurations.
Baselines
The naive reference point is a real-valued network wavefunction trained by standard variational Monte Carlo with Adam at a tuned small learning rate. It has no jumps and no complex phase. It shows how often the sign structure is learned by default.
The large-step baselines come in two forms. One is deterministic large-learning-rate training in the sense of Mohtashami et al.. The other is abrupt learning-rate switching using SkipLR from Subramanian et al., which reports a "100% transition success rate" across 100 seeds when fine-tuning GPT-2 and Gemma 2B. The papers in the research file give no reported number for either method on variational wavefunctions. These are the strongest competitors on the "jump" axis because they are discontinuous yet need no sign-specific machinery. We also run SGD with repeated mini-batches, which holds gradient noise fixed while shrinking the step. This separates step size from noise in the same way Mohtashami et al. did.
The complex-phase baseline uses the same network and outputs a phase instead of a sign. It is the strongest competitor overall, because by the second equation it removes single-block barriers. It is the direct analogue of the complexification that the sign-problem literature relies on.
Our two ablations isolate the key ingredient. One keeps the cluster flips but builds the clusters randomly instead of from collapsed features. The other flips individual configurations instead of clusters, under the same budget of jump evaluations.
All methods share architecture, sample counts per step, total energy evaluations including those spent on jumps, and an equal hyperparameter search budget over the same seeds. Exact diagonalization gives the ground truth where it is feasible. For the Schwinger model, a simplified 1+1-dimensional version of quantum electrodynamics, we compute matrix product state references with ITensors, as in Schwägerl et al.. No paper in the file reports a variational wavefunction energy error for these settings. The reference values in the file are physical, such as the continuum pion mass of 0.2117(11) for twisted-mass fermions in that paper, and they validate our reference pipeline rather than serve as a competitor's score. Beating a baseline means a lower median relative energy error and a higher fraction of seeds reaching the correct sign structure, judged by overlap with the exact state. The improvement must hold at matched compute and be outside seed-to-seed spread.
Why not just…?
Why not just use larger learning rates or more gradient noise? Mohtashami et al. show that step size, not noise, clears sharp barriers, so large steps could plausibly cross node barriers too. But a node barrier is wide rather than sharp. Its width spans the whole flip from $t=1$ to $t=-1$, while their guarantee concerns skipping narrow regions. That leaves the outcome genuinely open. The large-step and repeated-batch baselines run on identical problems will settle it. If tuned large steps match cluster flips, we will say the discrete-jump mechanism is unnecessary.
Why not just make the wavefunction complex? This is the real threat. On unfrustrated sign structures the second equation predicts that complex phases should reach the right answer by continuous descent, and we expect them to match or beat our method there. The method's case rests on frustrated sign structures, where the phase couplings form a frustrated XY problem with its own minima. We test this directly. We measure frustration of the estimated $C_{ij}$ couplings on each benchmark, and we report results separately for frustrated and unfrustrated instances. If complex phases win in both regimes, the proposal's practical claim fails, and its contribution reduces to the barrier analysis.
Why not just use matrix product states? In one dimension they avoid the sign problem and are the reference we compare against, not a competitor. As the research file notes, their cost grows rapidly beyond one dimension. Neural wavefunctions are pursued for exactly that regime, and better optimization of them matters there. Our one-dimensional benchmarks exist because they offer exact or near-exact answers.
Decisive Experiments
The first experiment is a controlled sign-scrambling test. We take the transverse-field Ising chain with 10 spins, summed exactly as in the mode-connectivity study, and conjugate it by a diagonal ±1 matrix. This leaves the ground energy unchanged but plants a known sign pattern. We vary the field across the critical point $h=1$ and vary how many sign blocks the pattern contains. We extend to larger chains where exact diagonalization still allows it. The problem is gauge-equivalent to a stoquastic one, so complex phases should succeed here. It therefore tests whether real heads hit the predicted barriers and whether cluster flips fix them. The check is whether measured training barriers track $E_{BB}/N_B$, and whether sign-head collapse appears before flips succeed.
The second experiment is the Schwinger model in spin-chain form. We use the $\theta=\pi$ first-order transition studied by Angelides et al. and the negative-mass Dashen region near $m_1/g \approx -0.225$ from the tensor-network Dashen study. We first check whether the Hamiltonian is stoquastic in our basis and measure how frustrated its sign couplings are. We then compare all methods on energy error, electric field density, particle number, and entanglement entropy against matrix product state references.
The decisive result would be cluster flips beating the complex-phase head on frustrated instances while tying it on unfrustrated ones. In addition, the random-cluster ablation must lose. That loss would show that collapse of the sign features, not jumping alone, is what makes the method work.
References
- On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Features
- Neural Collapse is Globally Optimal in Deep Regularized ResNets and Transformers
- The Implicit Bias of Depth: From Neural Collapse to Softmax Codes
- Infinitesimal Annealing for Training Semi-Supervised Support Vector Machines
- SET: An algorithm for consistent matrix completion
- Special Properties of Gradient Descent with Large Learning Rates
- Mode Connectivity in Neural Quantum States
- Effective potential for complex Langevin equations
- Regularization of the complex Langevin method
- Reweighting Lefschetz Thimbles
- Simulating Yang-Mills theories with a complex coupling
- Hop, skip, jump to Convergence: Dynamics of Learning Rate Transitions for Improved Training of Large Language Models
- Fermion Discretization Effects in the Two-Flavor Lattice Schwinger Model: A Study with Matrix Product States
- First-order phase transition of the Schwinger model with a quantum computer
- Exploring the <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mi>C</mml:mi><mml:mi>P</mml:mi></mml:mrow></mml:math>-violating Dashen phase in the Schwinger model with tensor networks