Certified Lower Bounds for Large Power Grids from Equivariant Dual Networks with Local PSD Repair

Grid operators need to know how good a dispatch is, not only how fast it was found. The cheapest way to prove quality is a lower bound: a number guaranteed to be at or below the true minimum generation cost. A dispatch whose cost sits close to that bound is provably near-optimal. The tightest practical source of such bounds is the semidefinite relaxation of optimal power flow. Optimal power flow (OPF) is the problem of choosing generator outputs at minimum cost while respecting the grid's nonlinear physics. The semidefinite relaxation turns it into a convex problem over a positive semidefinite (PSD) matrix, one whose eigenvalues are all nonnegative. By weak duality, any point that satisfies the dual constraints of that convex problem gives a valid lower bound.

Dual Conic Proxy for Semidefinite Relaxation of AC Optimal Power Flow showed that a neural network can produce such dual points in milliseconds. Its network predicts dual variables, completes the rest analytically, and makes the dual matrix PSD by shifting it by its smallest eigenvalue. It does this on dense matrices, and its authors name chordal sparsity as the missing piece for large grids. We propose a model that makes the certificate both large-scale and transferable across grids. A permutation-equivariant graph network predicts per-bus and per-line dual multipliers. A differentiable sparse factorization along a chordal elimination order then repairs PSD violations locally, adding correction only at the buses where the factorization fails. The output is a valid lower bound by construction on any grid, at a cost that grows with the size of the largest clique rather than with the number of buses squared.

Core Claim

The claim is narrower than "learning helps on large grids." When dense PSD enforcement is replaced by a global shift computed with a sparse eigensolver, it fails at scale because of how the bound is charged. The dual problem can be written as maximizing $b^\top y$ subject to $S(y) = C - \sum_i y_i A_i \succeq 0$. Here $y$ holds the multipliers for power balance, line limits, and voltage limits, $C$ and $A_i$ come from generator costs and network admittances, and $b^\top y$ is the certified bound. Adding a correction $d_i \ge 0$ to the diagonal entry of $S$ at bus $i$ corresponds to raising the upper-voltage-bound multiplier there. That lowers the bound by

$$ \Delta = \sum_{i} d_i \, v_{\max,i}^2 , $$

where $v_{\max,i}$ is the voltage magnitude limit at bus $i$.

A global shift sets every $d_i = |\lambda_{\min}(S)|$, so it pays roughly $N\,|\lambda_{\min}|$ on an $N$-bus grid even when the negative curvature comes from a single bad region. A modified sparse Cholesky factorization, run along the elimination order of the grid's chordal extension, adds $d_i > 0$ only where a pivot goes negative. Its cost is $O(\sum_k |C_k|^3)$, where $|C_k|$ is the size of each maximal clique in the chordal extension. We expect the gap between the two to grow with grid size. Training the network end to end through the local repair should also teach it to place multipliers so that little repair is needed. That outcome is the central empirical bet.

A final rigorous step makes the certificate survive floating-point arithmetic. It adds a small extra diagonal margin, computed from Gershgorin bounds on each factor's residual, so the reported number is a valid bound and not only approximately one.

How the Four Directions Enter

Semidefinite relaxation and power flow are the core: the object being learned is the dual of the AC-OPF semidefinite program. The symmetry direction supplies the architecture, and the reason it fits is structural. The lifted matrix $W = vv^{H}$, where $v$ is the vector of complex bus voltages, is unchanged by a global phase rotation $v \to e^{i\phi}v$. All dual multipliers are therefore gauge-invariant scalars on buses and lines. A graph network that is permutation-equivariant and reads only gauge-invariant inputs (admittances, limits, demands) is the natural parameterization. Unlike primal surrogates such as GraphOPF, it does not need an arbitrary slack-bus reference. This partly answers the gauge gap raised for complex graph networks like GESC: in the dual, the phase symmetry is quotiented out exactly rather than learned. We therefore do not need GESC's complex-valued message passing, and we say so.

The elemental-scope direction enters as a design constraint borrowed from chemistry. Interatomic potentials such as the ANI family hit a combinatorial wall when each element pair needs its own parameters. Their fix was continuous embeddings plus transfer from cheap to expensive labels, as in ANI-1ccx and AIMNet2. Power grids have the same "component scope" problem: generator classes, shunts, transformers with taps, and lines of very different ratings. Dense dual proxies sidestep it by training one model per system. We instead encode each bus and branch by its continuous physical parameters (cost coefficients, limits, admittance, tap ratio), never by type identifiers. We then train a single model across many PGLib grids and test on grids it has never seen. That is the grid analogue of extrapolating a potential to new elements. We also adopt the query-by-committee idea from Less is more. An ensemble's disagreement over predicted multipliers selects which new grids and load scenarios to add during training, which needs no solver labels because training is self-supervised.

Research Program

The model has three parts. The first is an edge-aware message-passing network that outputs bus and line multipliers, with sign constraints enforced by softplus. The second is the analytical completion of the remaining multipliers, following the dual completion idea of the Dual Conic Proxy. The third is the chordal repair layer: compute a fill-reducing elimination order once per topology, assemble the sparse $S(y)$, run modified Cholesky with diagonal boosting, and backpropagate through the factorization. Training maximizes $b^\top y - \Delta$ directly, with no labels.

The analysis has two parts. The first relates the repair cost $\Delta$ to clique structure and measures how it scales with $N$ under global and local repair. The second characterizes when the learned multipliers make repair nearly free. This is the empirical question of whether the network learns locally PSD-consistent duals.

Baselines

The naive reference is the second-order cone (SOC) relaxation, solved exactly by an interior-point solver. It is the cheap convex bound operators would reach for. On the Tightness of the Lagrangian Dual Bound for Alternating Current Optimal Power Flow reports an SOC optimality gap of 14.55% on case5_pjm, against 5.31% for its decentralized SDP bound. Any learned semidefinite bound that does not clearly beat exact SOC on the same instances has no reason to exist.

The accuracy ceiling is the exact chordal SDP relaxation solved by Mosek on the same instances. Our bound is measured as the fraction of the SDP-over-SOC improvement it recovers, at a fraction of the wall-clock time.

The strongest learned competitor is the Dual Conic Proxy itself ( Dual Conic Proxy for Semidefinite Relaxation of AC Optimal Power Flow, Dual Conic Proxy for Semidefinite Relaxation of AC Optimal Power Flow; Dual Conic Proxy for Semidefinite Relaxation of AC Optimal Power Flow). It reports 100% dual feasibility and millisecond inference on IEEE 14, 30, 118, 300 and GOC-500, with 20,000 perturbed instances per system. The file reports only qualitative gap comparisons for it ("much tighter than SOC on ieee118 and goc500"); no reported result found on Lacuna for its numeric bound gaps. We will therefore rerun it on the same 20,000-instance protocol, with the same training budget in GPU-hours and the same hyperparameter search size. Beating it means matching its gap on systems up to 500 buses, where it is feasible to run, and remaining certified and tractable on GOC-2312, GOC-3970, GOC-4601 and EPIGRIDS-5658, where the dense version runs out of memory or time.

Two ablations isolate the key ingredient. The first keeps our graph network but replaces local repair with a global shift computed by a sparse Lanczos eigensolver. This is the most direct test of the central claim. The second keeps local repair but uses a per-grid multilayer perceptron, which isolates what equivariance and continuous component embeddings contribute to cross-grid transfer.

For primal quality we report GraphOPF's 0.03% optimality gap on Korea-4492 as context only. It is a primal heuristic with no certificate, and our bound is what would let such a gap be verified.

Why not just…?

Why not just use the SOC relaxation, which is already sparse and fast? Because it is loose exactly where certificates matter: 14.55% against 5.31% for SDP on case5_pjm in the Lagrangian dual study, and gaps the Dual Conic Proxy reports as unreachable by SOC proxies on ieee118 and goc500. Our experiments report SOC and the learned SDP bound side by side on every grid. If the recovered fraction of SDP improvement is small on large cases, the proposal fails on its own terms.

Why not just keep the Dual Conic Proxy and compute $\lambda_{\min}$ with a sparse eigensolver? This is the real threat, because it removes the dense-matrix bottleneck with almost no new machinery. Our argument is that a global shift charges the bound at every bus for curvature that is local. The global-shift ablation settles it directly by plotting the bound loss $\Delta$ against $N$ for both repairs, using the same trained network. If the two losses stay comparable up to 5,658 buses, the chordal repair is unnecessary, and we would report the simpler method as the answer.

Why not just solve the chordal SDP with Mosek for each instance? It gives the exact relaxation bound, and for one-off studies on mid-sized grids it may well be the right tool. The case for learning is repeated use: thousands of load scenarios, N-1 outage sweeps, or market-clearing loops where per-instance interior-point cost compounds. We measure the crossover point in instances per hour at which the learned certificate becomes cheaper for a given bound quality. We will state plainly if that point lies outside realistic workloads.

Why not just train one model per grid, as existing proxies do? Per-grid training is simpler and may be slightly tighter in-distribution. The test is held-out transfer: train on a pool of PGLib cases, then evaluate zero-shot and with a few minutes of fine-tuning on unseen grids and on N-1 topology changes. GraphOPF's sub-minute adaptation from 15 samples is the bar for adaptation speed.

Proposed Experiments

We use PGLib-OPF cases from 14 to 5,658 buses, including the GOC and EPIGRIDS cases, plus Korea-4492 if access matches the cited papers. Load perturbations follow the 20,000-instance protocol of the Dual Conic Proxy, and topology variants come from random single-line outages that preserve connectivity. The metrics are four. Certified bound gap is measured against the best primal cost found by IPOPT or MATPOWER. Fraction of SDP-over-SOC improvement recovered compares our bound with Mosek's chordal SDP. Certificate validity rate is checked with the rigorous margin step and independently verified in higher precision. We also report inference time and peak memory.

There are three decisive checks. The first is whether local repair loss grows sublinearly in $N$ while global-shift loss grows roughly linearly. The second is whether a single cross-grid model recovers most of the SDP improvement on held-out grids above 2,000 buses. The third is whether the certificate remains valid on 100% of instances, including outage topologies never seen in training. Failure on the first check means we report the sparse-eigensolver variant as sufficient. Failure on the second means the elemental-scope analogy does not carry over to grids, which is itself worth documenting.