Manuscript Offprint
arXiv:2611.08837Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Vineet Jagadeesan Nair*, Stephen Peng*, Arun Ravindran
AI Science Institute, Boston Consulting Group
Abstract—Equivalent encodings of an optimization problem can produce different learned predictions. Interpreting these differences requires accounting for numerical error and multiple optima. We construct metamorphic tests for optimization solver surrogates with explicit eligibility conditions, output alignment, and numerical thresholds. Reference-solver agreement and independent constraint checks determine which sampled pairs enter the audit. We study alternating-current optimal power flow (AC-OPF), the traveling salesman problem (TSP), the capacitated vehicle routing problem (CVRP), and maximum independent set (MIS). Across five grids, GridSFM-Open violates each of 13 relations on at least one grid, and 12 by more than twice the threshold. Randomly initialized copies of the grid models fail nearly the same relations, so the failures do not require training. Source patches and input canonicalization remove selected discrepancies, but no intervention establishes preserved accuracy and feasibility within the declared margin on every grid. In routing, Policy Optimization with Multiple Optima (POMO) has a single-pass rotation/reflection violation rate that rises from 12.7% to 89.5% between 20 and 100 cities. Graph-Based Diffusion Solvers for Combinatorial Optimization (DIFUSCO) violates the MIS disjoint-union relation on 35.6% of draws. Post hoc normalization within connected components removes these violations on the tested graphs. These findings support reporting metamorphic consistency alongside optimality, feasibility, and accuracy, and validating repair quality separately from consistency.
Index Terms—metamorphic testing, test oracle, learned surrogates, optimal power flow, nonconvex optimization, combinatorial optimization, graph neural networks, fault localization
I. INTRODUCTION
Learned optimization surrogates predict approximate solutions or initialize conventional solvers. Grid foundation models predict generator dispatch for alternating-current optimal power flow (AC-OPF), which meets demand at minimum cost under electrical and thermal constraints [1]–[3]. Neural solvers also construct traveling salesman problem (TSP) tours, capacitated vehicle routing problem (CVRP) routes [4], and maximum independent sets (MIS) of nonadjacent vertices [5]. Checking every prediction against a reference solve is expensive, creating a test-oracle problem [6]–[10].
A complementary check asks whether predictions depend on how the same problem is encoded. Renumbering buses, i.e., the grid's connection points, should only renumber predicted settings, while reordering line-table rows should leave them unchanged. Ordinary accuracy and feasibility checks do not directly test this internal consistency. Yet renumbering the standard 14-bus grid (IEEE case14) changes GridSFM-Open's reactive-power prediction by 0.30 per unit (p.u.), or 30 megavolt-amperes reactive (MVar), about 30,000 times our threshold. Per-unit values express quantities relative to their declared bases. Reordering line-table rows changes the prediction by 0.60 p.u. Source patches and a canonical row order remove these discrepancies with frozen weights (Section VII). Both relations also fail within the model's stated range, on grids with at least 500 buses (Fig. 3).
Metamorphic testing specifies how outputs should correspond after an input transformation [11]–[13]. We derive this correspondence from the optimization problem. A pull-back maps transformed predictions to the original coordinates: after renumbering buses, we undo the numbering before comparing generator outputs. Two safeguards make this comparison interpretable. Admission checks transformation eligibility and reference-solver agreement. Calibration checks whether a numerical threshold, or floor, separates noise or round-off from larger discrepancies across the complete process of transforming inputs, predicting, and aligning outputs. Even above that floor, different predictions may be equally correct optima. Propositions 3–4 state when a discrepancy implies solution error. Reference solves thus validate the test pairs, while metamorphic comparisons test consistency and help locate faults. Our contributions are:
We derive problem-preserving relations, including component additions and splits, and state when violations imply solution error.
-
We audit grid, routing, and MIS models using random weights, controls that isolate specific operations, and vendor-code checks.
-
We localize failures and test how interventions affect consistency, accuracy, and feasibility.
Research questions (RQs):
RQ1: Which sampled transformations pass admission, and can calibration of the complete pipeline distinguish round-off from structural discrepancies? (Section V)
RQ2: Which relations do trained grid models violate, compared with random weights and mechanism controls? (Section VI)
RQ3: Which mechanisms explain violations, which interventions remove them, and how do those interventions affect accuracy and feasibility? (Section VII)
RQ4: Which relations detect the identified mechanisms, and what smallest sets cover them? (Section VII-D)
Equal contribution.
RQ5: How do construction, admission, and diagnosis transfer to TSP, CVRP, and MIS? (Section VIII)
Validity-aware scientific testing: Li et al. combine validity gates, numerical floors, relation specifications, and inserted faults for scientific surrogates, with an analytical floor for a specified operator and mesh [22]. We add mappings between optimal solutions, analysis of non-unique optima, and interventions in released model code. NOETHER derives relations from operator algebras [23], while MetaTrimmer infers applicability constraints from data and inspection [24]. Our relations and eligibility conditions follow optimization-preserving reductions. MAgg aggregates predictions for Decision TSP, Boolean satisfiability (SAT), and graph edit distance [25]. We test the tours produced by solvers, using reference-solver agreement to check each sampled transformation.
Equivariance: An equivariant model transforms its output consistently with its input. The Lie derivative measures departures from this behavior under continuous transformations [26]. Permutation-equivariant layers [27]–[29] motivate relabeling consistency, but directed edges and positional features can break it. For example, graph eigenvectors can change sign or basis under relabeling, a known problem with proposed remedies [30], [31]. A deterministic equivariant map also cannot select an optimum unless some optimum is fixed by the input's symmetries [32]. Learned canonicalization [33] and frame averaging [34] provide broader approaches to choosing a common encoding or averaging over encodings. We test simpler versions for LUMINA-2M (Section VII-B), as well as discrete transformations that change the number of variables.
Learned network optimization: Grid-model evaluations use OPFData [35] over the Power Grid Library for Optimal Power Flow (PGLib-OPF) grids [36] and measure accuracy, feasibility, and outage robustness [37]–[39]. Unlike outages, our relations preserve optimal solutions under a reduction. Related grid-foundation work studies topology transfer for power flow and state estimation, rather than AC-OPF [40]. Worst-case verification bounds errors or constraint violations over input regions for direct-current (DC-) and AC-OPF models [41], [42]. Our tests yield sampled counterexamples. Routing and MIS evaluations measure gaps from reference solutions [4], [5], [43], and a prior non-archival workshop study documents AC-OPF representation dependence [44].

Fig. 1. From a relation to a test: admission re-solves both inputs to check the sampled transformation, and the verdict compares aligned predictions with the floor. Admission evidence depends on the solver's guarantees.
III. DERIVING PROBLEM-PRESERVING RELATIONS
A. Encodings, Problems and Relations
An encoding stores an instance's node and edge tables, identifiers, row positions, orientations, and other attributes. The data-to-problem map specifies how a solver interprets these data : the feasible set , objective function , and output coordinates out. Let be the set of global optima, their objective value, and the surrogate prediction. For stochastic models, we include the realized random numbers in to make each paired computation deterministic. A sufficient statistic retains everything needed to reconstruct . Fields ignored by are inert. For example, electrical data can be represented independently of line-row order. Some outputs also depend on an arbitrary reference, or gauge: for e.g., shifting all voltage angles in a connected grid component preserves physical flows. The statistic omits this reference choice.
A relation specifies eligibility, an input transformation, and output correspondence. Code checks the eligibility predicate before applying transformation . The pull-back maps outputs to the original coordinates, for example by undoing a permutation or discarding an added subproblem. A canonicalizer then aligns arbitrary references. Pairing a source instance with a sampled transform gives one draw (Fig. 1). A relation is valid if every eligible transformed optimum pulls back to an original optimum after reference correction, with
The known objective offset accounts for changes such as adding an independent subproblem or editing constant costs. In our catalogs, it is the added subproblem's optimum for disjoint union, +1 for MIS isolated-vertex padding, the summed change for constant-cost edits, and zero otherwise. A refinement changes structure, possibly adding variables, while preserving optima under this reduction.
B. Generation Rule and Evidentiary Tiers
We construct relations by tracing how stored fields enter . Ignored fields suggest inert edits, while labels, row order, and orientation suggest alternative encodings. Aggregates allow component splitting that preserves their total effect. Padding and insertion require exact reductions, and independent instances allow disjoint union. Each candidate needs eligibility conditions, an output pull-back, an objective offset, and a tier describing the kind of preservation claimed.
Tier A preserves the physical problem through numbering, row order, orientation, reference choice, or Euclidean rotation/reflection. Tier B changes structure through splitting, padding, union, or insertion. Its pull-back may be many-to-one, but every transformed optimum must reduce to an original optimum. Tier C rescales inputs, potentially moving them outside the training distribution or losing equivalence under rounding. We exclude it from the main findings. Tier D edits inert fields or objective constants without changing optimal solutions. We verify inertness on the problem actually constructed by the solver interface (Section VI-D). Tiers describe the relation and its justification, not the severity of a violation.
IV. INSTANTIATING THE RECIPE
A. AC Optimal Power Flow
In AC-OPF, buses are nodes, branches are lines or transformers, and islands are connected components. Transformers adjust voltage magnitude through a tap ratio and angle through a phase shift. A voltage-controlled generator bus is called PV, for active power and voltage magnitude . One slack bus per island fixes the zero angle reference. An OPFData scenario contains component tables, bus links, and context. Loads consume power, and shunts encode local current response to voltage. The variables are the complex voltage at each bus and each generator 's active and reactive outputs . Active power supplies net energy, while reactive power supports voltage. Constraints enforce bus power balance, voltage and dispatch bounds, branch angle bounds, and thermal limits at both branch ends. The generation cost is . Output channels are voltage magnitude , voltage angle , and powers .
The sufficient statistic retains bus voltage bounds, aggregate demand and shunt, generator locations, bounds, costs, and island references. For each branch, it retains endpoints, terminal admittance (which maps voltages to currents), rating, and oriented angle bounds. Branches remain separate because their individual limits can bind. For example, parallel branches with ratings 1 and 3 cannot generally be replaced by one branch rated 4. The data converter overwrites stored base voltage, making that field inert here. The canonicalizer re-anchors angles at the source reference bus.
Table I gives the resulting relations. reverses branches with tap = 1 and shift = 0 exactly, while tap-side-flip handles all other branches. A tolerance band could admit a near-unity transformer to without the required reparameterization, so it cannot uniformly bound electrical error. Reference moves, including island-ref-mix, require one reference per island, generators at both old and new references, a PV target, and an eligible inverse. Generator splitting requires for convexity, satisfied by all scenarios on the five grids studied here.
B. Routing and Independent Sets
The Euclidean TSP finds the shortest closed tour through every city. We place cities on the integer grid and give models coordinates scaled to the unit square. The Concorde solver rounds each Euclidean edge length to the nearest integer (EUC_2D), so the objective is integer tour length. The sufficient statistic is the integer distance matrix up to relabeling. The square's eight rotations and reflections preserve this matrix. CVRP finds depot-to-depot routes serving every customer within vehicle capacity. Its twin relation adds a zero-demand copy of a customer. For MIS, the statistic is the graph up to isomorphism, meaning vertex labels are irrelevant. Its structural relations follow two properties: every maximum independent set contains an added isolated vertex, and maximum sets of disjoint components combine into a maximum set of their union (Table II).
A routing insertion's pull-back deletes the added node and reconnects its neighbors. (coincident city), (midpoint insertion), and twin require a per-draw contraction certificate: deleting that node from any transformed optimum must recover an original optimum. Integer rounding can invalidate this reduction even when the geometric construction appears sound. Section V-A explains the checks and the guarantees supplied by Concorde, Hybrid Genetic Search for CVRP (HGS-CVRP), and the constraint-programming SAT solver (CP-SAT). An -city POMO checkpoint receives nodes, while coincident points, zero demands, and isolated MIS vertices are absent from training. These tests therefore probe consistency on equivalent but out-of-distribution instances.
C. What the Catalogs Guarantee
The software package contains proofs under the stated eligibility conditions and example-based implementation checks.
Proposition 1 (Validity): Each relation in Table I is valid on its eligible domain. Tier A preserves the problem up to relabeling and reference choice. Tier B either preserves per-bus totals, as in load component-split and load or shunt null-pad, or follows an exact reduction. These reductions use convexity for generator component-split, proportional branch parameters for parallel-split, independent components for island-union, and fixed dispatch for generator null-pad and load-as-gen.
Every relation in Table I also preserves all original optima: . In Table II, tier-A moves preserve integer distances or graph edges, routing refinements (tier B) require contraction certificates, and MIS pad and union follow from the independent-set properties above.
Composition and implementation checks: Eligible AC-OPF tier-A moves form a finite group over reachable encodings in exact arithmetic: they can be composed and undone. Tier-B pull-backs use binary matrices to identify which transformed
TABLE I
AC-OPF RELATIONS, PLUS THE IDENTITY-NULL PROBE AND THE INERT-FIELD FAMILY. TIER A⊗B COMPOSES TIER-A MOVES WITH A TIER-B UNION.
| Relation | Tier | Transform | Pull-back | Eligibility |
|---|---|---|---|---|
| R0 component labels | A | permute generator, load and shunt identifiers | inverse relabeling | always |
| R1 bus labels | A | permute bus identifiers and remap every incidence | inverse relabeling | always |
| R2 row order | A | reorder the rows of an edge table | identity | always |
| R3 branch direction | A | swap a branch's ends and charging, negate and swap angle bounds | identity on nodes | tap = 1, shift = 0 exactly |
| tap-side-flip | A | refer a transformer to its other side (, impedance and charging rescaled) | identity on nodes | complement of R3's domain |
| ref-bus-move | A | move the angle reference within an island | re-anchor at the original | see reference rules |
| component-split | B | split a load or generator 0.5/0.5, bounds halved; | sum power outputs | for generators |
| parallel-split | B | two parallel halves of a branch (impedance doubled, charging and rating halved) | identity on nodes | at least one branch |
| island-union | B | add a disjoint distractor island with its own reference | drop it; offset val() | valid distractor scenario |
| load-as-gen | B | replace a load by a zero-cost generator pinned at | drop the added generator | nonzero demand |
| null-pad | B | add a zero load, a zero shunt or a generator pinned at zero | drop the padded elements | always |
| island-ref-mix | A⊗B | island-union with permuted islands and moved references | the composed map | union and ref. rules |
| basekv-scale | D | scale the base voltage by 0.5, 2 or 10 | identity | always |
| identity-null | - | JavaScript Object Notation (JSON) round trip, key order, | identity | always |
| inert/offset fields | D | perturb , , set-points, machine base, spare ratings, | identity (offset ) | ignored or constant-only |
TABLE II
ROUTING AND MIS RELATIONS. M3, M4, AND TWIN REQUIRE CONTRACTION CERTIFICATES (SECTION V-A). MIS PAD AND UNION INCREASE THE OPTIMAL SET SIZE BY 1 AND BY THE MAXIMUM INDEPENDENT-SET SIZE OF , RESPECTIVELY.
| Relation | Tier | Transform | Pull-back |
|---|---|---|---|
| TSP: Concorde, certified optimum | |||
| M1 | A | permute the cities | relabel the tour |
| M2 | A | rotate or reflect the square | identity |
| M3 | B | add a coincident copy of a city | drop the copy |
| M4 | B | add the rounded midpoint of an optimal-tour edge | drop the midpoint |
| M5 | C | scale coordinates by 0.5 or 0.25 | identity |
| CVRP: HGS-CVRP, heuristic agreement | |||
| relabel | A | permute customers, depot fixed | relabel the routes |
| rotate/reflect | A | as M2, depot included | identity |
| twin | B | add a zero-demand customer copy | drop copy and empty routes |
| scale | C | scale demand and capacity by 2 or 3 | identity |
| MIS: CP-SAT, certified optimum | |||
| relabel | A | permute the vertices | relabel the set |
| pad | B | add an isolated vertex | drop it |
| union | B | add a disjoint test graph | split by part |
components contribute to each original component. Composition requires matching dimensions and domains, and inversion requires bijectivity. Powers are summed, while nonadditive quantities such as voltage require one contributor. Implementation checks confirm exact R3 inversion and identity-null preservation. The tap-side-flip calculation incurs rounding.
Proposition 2 (Generation): The rule in Section III-B generates the relations in Table I from the sufficient statistic . Tier-A moves connect encodings of one physical instance that agree on inert fields, branch families (line/transformer tables), per-bus load/shunt rows, and generator-bus PV/reference labels, provided every transformer has resistance and . We make no completeness claim for tier B.
Proposition 3 (What a violation proves): For a valid admitted draw, a discrepancy beyond round-off shows dependence on the encoding of one physical instance (tier A), inconsistent aligned predictions for problems linked by a reduction (B), or sensitivity to inert fields or objective constants (D). The numerical floor tests whether the discrepancy exceeds round-off. A violation alone does not prove that either solution is wrong, because different optima can both be correct.
Proposition 4 (Error bound): Let be linear and let measure by the largest channel mean or largest componentwise absolute discrepancy (Section V-B). If the distance between any two aligned optima in is at most in that statistic, one aligned prediction is at least away from every aligned optimum. For one component, replace by that component's range over the optima. For objective discrepancies between feasible answers, the worse answer is at least away from the optimum in the same normalization. This applies to TSP and CVRP, and separately to each MIS component.
Proof: Both discrepancy statistics are seminorms and obey the triangle inequality. Let be the aligned predictions' distances to their nearest points in . The distance between and is at most , so and . Feasible objective values lie on the same side of the optimum, so the worse value is at least the pair's difference away from the optimum.
The discrepancy must exceed variation among correct answers to yield a positive bound. A unique aligned optimum gives and error at least . Recovered local solutions supply only a conditional estimate of , since their spread need not enclose every global optimum. A convex relaxation enlarges the feasible set. For minimization, exact coordinate ranges over a relaxation of therefore enclose all global optima: even a local feasible reference costs at least as much as a global optimum. Section V-D distinguishes this guarantee from our numerical ranges.
V. ORACLE CONSTRUCTION (RQ1)
These oracle checks apply to all four domains. Sections VI-A and VIII-A give model and sampling protocols.
A. Admission by Re-Solving
A mathematically valid relation can be implemented incorrectly or lose validity under integer rounding. We therefore admit a draw only when both reference solves succeed, objectives agree after accounting for the offset, and independent constraint checks pass. Non-finite results are rejected, while missing or ambiguous records remain unverified. These admission rules were iterated upon during experimentation stages and then fixed for final runs.
Counts use three units: a source instance, a draw pairing it with a transform, and a model draw evaluating that pair with one model. For AC-OPF, a cell groups draws for one model, grid, and relation within a test screen. We run separate screens for the main results (the headline screen), numerical calibration, and additional coverage. Pooled counts retain these screen identifiers (Section VI-A).
AC-OPF: PowerModels.jl and the Interior Point OPTi-mizer (IPOPT) solve both encodings in AC polar form, with tolerance and a flat start for all variables. Admission requires convergence, relative objective gap , and independently recomputed equality and inequality residuals at most . Certificates keyed by input content link each draw to its admission record. We retain 6,370 of 6,385 distinct draws, corresponding to 105,185 of 105,364 model draws, with none unverified. All rejections are case14 generator splits at binding bounds, where IPOPT solver variability exceeds the objective tolerance. Excluding them changes no AC-OPF cell verdict.
TSP: Concorde [8] certifies both optima, but admission also requires the pulled-back optimum to retain the original length and every transformed optimum to contract correctly. M1/M2 preserve integer distances. For an inserted node , require for every pair of other nodes, where is their integer distance. Deleting then cannot lengthen a tour. M4 also requires on the subdivided optimal-tour edge , allowing insertion without changing that tour's length. These checks use the solver's integer distance matrix because rounding can break the reduction. All 21,000 Concorde calls certify an optimum, yet M3 admits only 998, 975, and 916 of 1,000 draws at , and M4 admits 687, 640, and 578. Exact solutions to both encoded problems do not by themselves validate the transformations between them.
CVRP and MIS: HGS-CVRP [45] supplies heuristic agreement: source and pulled-back costs must match exactly, and twin must pass the contraction certificate. Relabel, rotate/reflect, and twin admit 958, 961, and 685 of 1,000 draws. The certificate causes 286 of twin's 315 rejections. HGS-CVRP returns different best costs on 3.9–4.2% of isomorphic instances, causing those draws to be rejected. For MIS, CP-SAT [46] proves all 1,250 optima, and every draw is admitted.

Fig. 2. Precision calibration separates 36 round-off and 17 structural model-relation pairs. Axes show worst-channel means for the same draws in float32 and float64. Dashed and dotted lines mark the respective floors (). The shaded quadrants, where the precision-specific verdicts would disagree, are empty. Five pairs from the float32-only released checkpoints are not plotted.
Certificate strength: Admission evidence depends on the solver, Concorde and CP-SAT certify global optima, HGS-CVRP supplies heuristic agreement, and IPOPT supplies converged local solutions [7], [47]. Variability among local solutions can cause valid tests to be rejected. Conversely, matching objectives cannot exclude every transformation error. The eligibility proofs establish relation validity, while solver agreement checks the sampled implementation.
B. The Numerical Floor
Equivalent inputs can change the sequence of floating-point operations. For AC-OPF, we therefore declared two floors before the audit: for the worst-channel mean and for the worst component. The first averages absolute discrepancies within each output channel, then takes the largest mean. The second takes the largest individual discrepancy. Together they detect broad and localized changes in 32-bit arithmetic (float32), measured in p.u. for and radians for . Identity-null is exact on 3,456 draws, checking repeatability but not arithmetic changes caused by transformations. Changing PyTorch threads from one to six gives a worst-channel mean spread of at most over 12,096 draws.
For 64-bit (float64) calibration, the corresponding mean and component floors are and . We pool case14 and case500 by model and relation, selecting float32 worst-channel means in . Rerunning the same draws gives 53 matched model-relation pairs: 36 pass both precision-specific rules and 17 fail both (Fig. 2). We classify the first group as round-off and the second as structural discrepancies. In float32, the largest round-off value is and the smallest structural value is . Structural values change by at most 0.022% between precisions. On larger grids, relabeling round-off can cross the fixed floor. Precision reruns of the Geometric Neural Corrective Optimizer (GENCO) classify 41 of its 131 failing cells as round-off, excluding them from structural counts.
Routing compares lengths rather than node sequences, allowing distinct routes with equal cost. Let and be the source and transformed predictions. We evaluate both on the original integer-distance instance after pull-back:
. Here is total length, and is Concorde's optimum for TSP or HGS-CVRP's cost for CVRP. A floor requires exact equality at these integer scales. MIS likewise compares set sizes rather than vertex identities. For graphs and union prediction , let and define analogously, where is the vertex set. We use so that a gain in one component cannot cancel a loss in the other. Applying Proposition 4 to each component shows that one of and has objective error at least .
C. Verdict Rule
For admitted AC-OPF draws, let elementwise on channel . A cell fails if any draw has or . One draw supplies a counterexample. A pass means only that the admitted draws revealed no violation. Five failing cells have a deciding draw within twice the floor, so we flag their evidence as borderline. Routing fails above its floor, and MIS fails on nonzero integer discrepancy. Draws sharing a source are dependent. Grid comparisons therefore use paired cells, while routing/MIS rates describe admitted draws.
The safeguards address different failure modes. Requiring exact equality would flag all 36 round-off pairs, while using only the mean would miss 12 component-level failures. Testing more sources and draws overturns two of GENCO's eight unanimous passes. Admission excludes up to 42.2% of attempted TSP M3/M4 draws because they lack the required certificates.
D. Non-Unique Optima
For AC-OPF, we first check whether different predictions could both be correct optima. This analysis uses an admitted subset of 4,680 paired draws in 520 cells from two released checkpoints and six random-weight runs over five grids. The associated feasibility records contain 7,140 unique predictions, accounting for reused sources and extra transform seeds. None is strictly AC-feasible: every prediction's largest bus-level active or reactive power mismatch exceeds 0.51 p.u. Summing generator powers per bus preserves all 520 verdicts, ruling out cost-free trades between co-located generators as an explanation. We then compare discrepancy sizes with the range of solutions recovered by the reference solver.
We run multi-start IPOPT from 27 initial points on 15 scenarios and recover one objective cluster per scenario. We form clusters by joining adjacent sorted feasible costs within relative tolerance . To estimate solution spread, we retain solutions within a relative of the best recovered cost. Their largest componentwise difference is at most ( on case4661). Counterexamples exceed 100 times that spread in 100 of 106 failing released-model cells. The closest cases occur on case4661, including GridSFM R0 within the spread. Using this spread as D in Proposition 4 gives positive estimated error bounds in 105 of 106 cells, conditional on undiscovered optima not widening the set.
We also estimate ranges intended to enclose the optima using a quadratic convex (QC) relaxation [6]. Auxiliary minimiza-
tion and maximization tighten variable bounds [48]. We then estimate each queried component's range with IPOPT and add to its computed width. Substituting these widths for D gives positive estimated error bounds in 21/21 failing released-model cells on case14 and 18/21 on case118. The gap between the reference cost and relaxed objective, , is at most . We omitted this bound tightening on larger grids because of its prohibitive cost. Without tightening, 8/21 cells each on case500/case2000 and none on case4661 have positive estimates, at gaps of about 0.2–2%. These 55 estimates remain conditional on numerical optimization accuracy: neither the computed extrema nor the added margin certifies enclosure. The other 51 cells rely on the multistart estimates alone.
Answer to RQ1. Admission excludes draws without the required evidence. Calibration separates round-off from structural discrepancies in the 53 matched model-relation pairs. Local-solver agreement and calibrated floors do not certify correctness. Larger GENCO grids need precision reruns, which are unavailable for float32-only releases.
VI. CASE STUDY: POWER-GRID FOUNDATION MODELS
A. Subjects, Controls and Protocol
We test GridSFM-Open v1.1 [1], [49]–[51], LUMINA-2M v0.1.3 [2], [52], and GENCO Base [3]. GENCO seeds 42, 3, and 17 use GridFM graphkit's pinned reproduction [53]. Seed 42 matches published case14 metrics within 0.3%. Fourteen random-weight mechanism controls isolate design choices involving aggregation, stored direction, positional features, index filters, and variable partitions. We check their verdicts in float64. Two controls differ only in their use of raw graph-Laplacian eigenvectors, whose signs or bases can change under relabeling. Controls inspired by Deep Constraint Completion and Correction (DC3) [54] select variables by index or physical bus role and complete the rest by averaging. They test partition choice, rather than DC3's solver or training.
We use case14, case118, Grid Optimization Competition case500 and case2000, and OPFData case4661 with N-1 perturbations, which remove one branch or generator [35]. Case labels give bus counts. GENCO excludes case4661, and its random-weight runs and mechanism controls use case14 and case500. Each headline cell has three sources and three draws per source. The coverage screen retests passing case14 and case500 cells on ten additional stratified sources with ten draws each. The headline, calibration, and coverage screens contain 831 cells, one unevaluable. GENCO adds 156 cells.
Our adapter pipeline reproduces vendor inference bitwise on all 200 GridSFM and 400 LUMINA rows. We also replay the draws that motivated repairs through vendor code. Published metrics are less reproducible: GridSFM's case500 cost errors differ between its model card and pinned vendor script, while LUMINA provides no reproducible metric. Our findings concern the tested integration, meaning the pinned vendor code run through our adapter.
| tier A | A•B | tier B | tier D | relations failed | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1/52 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | all | float64 | |
| GridSFM-Open v1.1 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 13/13 | - | |
| GridSFM random weights | 0/5 | 0/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 12/13 | - | |
| LUMINA-2M v0.1.3 | 0/5 | 0/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 9/13 | - | |
| LUMINA random weights | 0/5 | 0/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 0/5 | 5/5 | 5/5 | 5/5 | 5/5 | 5/5 | 9/13 | - | |
| GENCO seed 42 | 3/4 | 2/4 | 3/4 | 3/4 | 4/4 | 4/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 13/13 | 8/13 | |
| GENCO seed 3 | 2/4 | 2/4 | 3/4 | 3/4 | 4/4 | 4/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 13/13 | 8/13 | |
| GENCO seed 17 | 3/4 | 2/4 | 3/4 | 3/4 | 4/4 | 4/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 3/4 | 4/4 | 13/13 | 8/13 | |
| GENCO random weights | 1/2 | 1/2 | 2/22 | 2/22 | 2/2 | 2/2 | 2/2 | 2/2 | 2/2 | 2/2 | 2/22 | 2/2 | 2/2 | 2/2 | 2/2 | 13/13 | - | |
| 14 mechanism controls (case14, case500) | 1/14 | 6/14 | 0/14 | 1/14 | 14/14 | 11/14 | 14/14 | 14/14 | 14/14 | 11/14 | 9/14 | 14/14 | 14/14 | 14/14 | 14/14 | |||
| R0 component labels | R1 bus labels | R2 row order | R3 branch direction | ref-bus-move | tap-side-flip | island-ref-mix | component-split | parallel-split | island-union | load-as-gen | null-pad | basekw-scale | ||||||
largest discrepancy / floor (log scale)
Fig. 3. Numbers give failing grids over evaluated grids. Color shows the largest on a logarithmic scale capped at , with white indicating all pass. Outlined GENCO cells fail only through float32 round-off. The float64 column counts relations that still fail after precision reruns. marks a deciding draw within twice the floor. The bottom row counts mechanism controls failing on case14 or case500.
B. Detection (RQ2)
Fig. 3 reports 504 failing cells among 831. GridSFM fails all 13 relations on at least one grid, with twelve exceeding twice the floor. The exception is R0: one case4661 draw exceeds the component floor by 19.2% but lies within the spread of recovered solutions. LUMINA fails nine relations, passing R0, R1, R2, and island-union on all five grids. Each GENCO seed fails all 13 under the float32 rule, but only eight remain structural after precision reruns. Seeds agree on 51 of 52 grid-relation cells. Every trained architecture fails a relation in each tested tier: A, B, and D.
Across 148 failing released-model cells in the headline and calibration screens, we divide the worst discrepancy by the same channel's mean absolute error (MAE). This ratio has median 0.46 and maximum 98. GENCO's structural discrepancies reach a median of 2.7 and maximum of 3,147 times its median MAE.
C. Trained Versus Random Weights
We repeat the tests with random weights to assess whether failures require training. Random-weight GridSFM matches the released failure pattern except R0, and random-weight LUMINA matches it exactly. Trained GENCO and its random-weight counterpart have the same structural failures, differing only through round-off. A failure confined to trained weights would establish weight dependence, but would not identify its cause. The mechanism controls help distinguish design choices: index-sensitive features fail R1, stored direction fails R3, and the index-based partition also fails R0. Six relations fail all 14 controls, while R2 fails none. Those seven relations therefore do not distinguish the tested designs.
D. Inert Fields
PowerModels constructs identical problems for all 540 inert-field and constant-cost edits, apart from the expected objec-
tive offset for the latter. Positive controls deliberately change ratings and costs, altering the constructed problems on all five grids. Despite this equivalence, GridSFM predictions change when spare ratings or machine base change, and LUMINA predictions change when changes. The LUMINA edits exceed the observed range, so they are stress tests of sensitivity to an objective constant.
Answer to RQ2. All three architectures violate problem-preserving relations, and random-weight failures show that training is not required. The controls connect failure patterns to design choices that depend on the input representation.
VII. FAULT LOCALIZATION AND REPAIR VALIDATION
Changing an operation with fixed model weights helps establish its causal role on tested inputs. If an intervention changes several operations together, the result supports their combined effect without showing that every change is necessary.
A. Protocol
We compare aligned features and hidden activations after each of GridSFM's eight blocks. At successive depths, we replace transformed features with aligned features from the source computation. Complete substitution nearly eliminates R1 discrepancies on case14 and case500, locating their origin in the feature encoder. We then patch the responsible operation or canonicalize its inputs and repeat the admitted tests.
Tests with frozen weights use 20 sources per grid and three draws per source on case14, case118, case500, and case2000. Quality checks use 100 paired held-out scenarios per grid (80 on case2000). We measure accuracy by per-channel MAE against the reference solution and feasibility by the maximum power-balance residual and maximum operating-limit violation. For each measure, we divide the variant's mean across scenarios by the released checkpoint's mean. A ratio above one indicates deterioration. We declare non-inferiority, meaning that the increase stays within a 10% margin, only when the one-sided 95% paired-bootstrap upper limit is at most 1.10.
B. Localized Mechanisms
Two mechanisms affect sign features. The cycle sign mechanism assigns signs to edges along a closed grid path using bus indices rather than stored edge direction. The R1 draw from the introduction flips 13 of 25 signs. The cycle sign patch uses stored direction, reducing that draw's worst-component discrepancy from to . The flow sign mechanism turns tiny linearized DC-power flow errors near zero into changes in a sign feature. The flow sign patch sets this feature to zero when the computed flow satisfies p.u.
The landmark index mechanism selects structural reference nodes (landmarks) by bus index. A case500 R1 draw changes 62 of 64 landmarks. The landmark patch ranks candidates within reference-bus, generator-bus, and all-bus pools by weighted degree rounded to eight decimals, then by bus attributes. Exact ties retain index dependence. Comparing subsets of the patches attributes the R1 discrepancies remaining after the cycle sign patch to flow sign and landmark index.
The row position mechanism has three sources in GridSFM: a spanning tree weighted by row order, transformer features read by position from line rows, and an assumption that link row belongs to component . Sorting every edge table into a canonical order independent of labels removes all three sources of variation, making the introductory R2 inputs bit-identical. LUMINA's stored direction mechanism arises because it sends messages only in each branch's stored direction and ignores edge features. Reversing the stored endpoints therefore changes its computation.
GridSFM variants are cumulative: patched applies the three source patches, canonical adds the canonical row order, and fine-tuned fine-tunes canonical GridSFM with three seeds. For LUMINA, averaged averages predictions for the input and its all-branch reversal. Its canonical variant gives every branch a fixed orientation. Canonicalization selects a common encoding while leaving the encoding-sensitive operation in place. The patches, averaged LUMINA, and a lexicographic row sort were predeclared. Patch subsets and the other variants () were developed post hoc.
C. Patch-and-Retest (RQ3)
Patched GridSFM reduces R1's worst-channel mean to at most . Canonical GridSFM keeps it below and makes R2 zero on all four grids (Fig. 4). Only one of the four predeclared targets for individual changes is met: the lexicographic row sort removes R2 failures on all grids. Applied alone, the cycle-sign patch leaves R3 above the mean floor on some grids, the flow-sign patch leaves R1 above it on case14, and the landmark patch leaves R1 above it on the three larger grids. Every GridSFM variant retains R3 and tap-side-flip discrepancies. Canonical LUMINA removes both on

Fig. 4. Consistency on each target relation by variant, measured by the largest worst-channel mean over 60 admitted draws per grid. Filled markers fail the verdict rule, and leftmost points are exact zeros. GridSFM variants are cumulative. Fine-tuned GridSFM shows the worst of 3 seeds. : post hoc.

Fig. 5. Consistency repair does not establish preserved quality everywhere. Markers give ratios of means across scenarios to the released model's means. Caps show one-sided 95% upper limits, and the dashed line marks the 1.10 non-inferiority margin. Accuracy shows the channel with the largest upper limit per variant and grid. Fine-tuned GridSFM also shows its worst seed. n/a denotes an undefined ratio because the baseline mean is zero. Operating-limit violations use absolute p.u.
all 240 draws per relation, whereas averaged LUMINA retains 39–55% of the original R3 discrepancy.
Canonical GridSFM (Fig. 5) establishes accuracy non-inferiority only on case118 and feasibility non-inferiority on case14 and case118. On case2000, upper limits exceed the margin for all three measures. Canonical LUMINA increases observed angle MAE on the three larger grids, and its case500 operating-limit ratio has an upper limit of 17.8. These limits reflect uncertainty, so failure to establish non-inferiority does not by itself demonstrate degradation.
Fine-tuned GridSFM keeps R1 below the floor and R2 exactly zero. Its accuracy is non-inferior to released GridSFM in 46 of 48 seed–grid–channel tests. When released GridSFM is also fine-tuned by the same procedure, the repaired variant
| GridSFM | LUMINA | |||||
|---|---|---|---|---|---|---|
| cycle sign | flow sign | landmark index | row position | stored direction | ||
| R0 | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | |
| * R1 | ● ● ● | ● ○ ● | ○ ○ ● | ○ ○ ○ | ○ ○ ○ | |
| * R2 | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ● ● ● | ○ ○ ○ | |
| * R3 | × × × | × × × | × × × | × × × | ● ● ● | |
| ref-bus-move | × × × | × × × | × × × | × × × | × × × | × × × |
| component-split | × × × | × × × | × × × | × × × | × × × | × × × |
| parallel-split | × × × | × × × | × × × | × × × | × × × | × × × |
| island-union | × × × | × × × | × × × | × × × | ○ ○ ○ | |
| basekv-scale | × × × | × × × | × × × | × × × | × × × | |
| * tap-side-flip | × × × | × × × | × × × | × × × | ● ● ● | |
| load-as-gen | × × × | × × × | × × × | × × × | × × × | × × × |
| null-pad | × × × | × × × | × × × | × × × | × × × | × × × |
| island-ref-mix | × × × | × × × | × × × | × × × | × × × | × × × |
| identity-null | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ | ○ ○ ○ |
● detects ○ no detection × unattributed (already fails)
Fig. 6. Three relations cover the five identified mechanisms. Each column re-enables one mechanism in canonical GridSFM or LUMINA. A filled mark means the relation passes with the repair and fails without it. A × means the canonical variant already fails. The three marks represent case14, case118, and case500. Stars identify the two minimum covering sets.
fails to establish non-inferiority in 5–11 of 16 grid-channel tests per seed. No tested GridSFM or LUMINA prediction meets both the 10-megawatt (MW) active-power and 10-MVAr reactive-power tolerances at every bus.
Answer to RQ3. Interventions support the identified mechanisms and remove selected discrepancies, including after fine-tuning. Quality remains a separate requirement: no variant establishes non-inferiority on every grid and measure.
D. Mechanism Detection (RQ4)
Starting from canonical GridSFM or canonical LUMINA, we undo one repair at a time while keeping the others in place. A relation detects the re-enabled mechanism only if it passes with the repair and fails without it. The screen uses 20 sources per grid, disjoint from the discovery examples, on case14, case118, and case500, with three draws each. Admission succeeds for 2,095 of 2,102 certificates. R1 detects cycle sign, flow sign, and landmark index. R2 detects row position, while R3 and tap-side-flip detect stored direction. Fig. 6 shows coverage by grid. Canonical GridSFM already fails ten of 13 relations and canonical LUMINA seven, so those failures cannot be attributed to a re-enabled mechanism. This analysis covers mechanisms discovered using the same relations, rather than an independent sample of faults.
Answer to RQ4. Pooling evidence across 3 grids, 2 minimum sets detect all 5 discovered mechanisms: and . Their coverage does not extend to arbitrary faults or the remaining unexplained failures.
VIII. CASE STUDY: NEURAL ROUTING AND MIS SOLVERS
A. Subjects and Protocol
For RQ5, we apply the same construction, admission, and comparison procedure to routing and MIS. We report base gaps to show solution quality before transformation: for routing and for MIS, where is the certified maximum set size. CVRP's reference remains heuristic.
POMO [4] supplies TSP checkpoints for 20, 50, and 100 cities. Its single-pass inference, aug×1, greedily decodes from every start and keeps the best tour. The aug×8 variant also evaluates all eight rotations/reflections of the square, making M2 hold in exact arithmetic. We measure how single-pass orientation dependence varies with size and whether M3/M4 failures persist with aug×8. Each size uses 1,000 instances, one draw per relation, three random-weight seeds, and a nearest-neighbor baseline that keeps the best tour across all starts. For CVRP with 100 customers (CVRP100), we use 1,000 training-distribution instances, trained and random-weight models, and a nearest-feasible-neighbor baseline.
DIFUSCO refines noisy vertex choices before decoding an independent set. Its Satisfiability Library (SATLIB) checkpoint [5] has a mean base gap of 0.31% on our 250 held-out graphs, versus 0.34% published on all 500. Controls are random weights and a greedy minimum-degree baseline with smallest-index tie-breaking. Stochastic tests must align random choices as well as graphs. DIFUSCO's random-number matrices for initialization and refinement have one column per vertex. Relabel permutes columns, pad adds an independent column, and union concatenates the matrices used for separate G and H predictions. This keeps each vertex's random choices aligned across encodings. Merely reusing a seed changes set size on 36.4% of relabelings.
B. TSP
POMO aug×1 has no M1 (relabel) violation in 3,000 certified draws, but M2 (rotate/reflect) violations rise from 12.7% to 50.1% to 89.5% at 20, 50, and 100 cities. Small mean optimality gaps, respectively 0.023%, 0.126%, and 0.348%, therefore coexist with frequent orientation dependence. At 100 cities, M3 (coincident copy) and M4 (midpoint insertion) violation rates reach 34.3% and 40.5%. Even aug×8 fails M3 on 23% and M4 on 29% (Fig. 7). Random-weight POMO fails M2 on every draw and M3/M4 on 93.8–99.7% at n = 100, but fails M1 only on two float32 near-ties. The M1 result is consistent with its permutation-equivariant encoder [4], [43], although decoding and tie-breaking limit end-to-end consistency. The nearest-neighbor baseline fails only M4, on 26.1–30.3% of draws, because the midpoint changes its greedy next-city choice. M5 (scale) remains outside the certified findings.
C. CVRP and MIS
On CVRP, POMO aug×1 passes relabel on all 958 admitted draws but violates rotate/reflect on 95.7% and twin on 82.8%. The corresponding median discrepancies are 0.35% and 0.16% of reference cost, compared with a mean base gap of 1.76%. Aug×8 removes only the rotate/reflect failures. Violation rates remain similar when we drop the HGS-CVRP agreement requirement. The scale relation leaves model inputs bit-identical and yields no violations. The nearest-feasible-neighbor baseline fails only twin, on 52.7% of draws. The added customer requires no capacity and can change the next greedy choice, producing costlier routes in 356 of 361 failures. Random weights fail

Fig. 7. Violation rates over admitted draws. Trained models are POMO aug×1 (TSP, CVRP) and DIFUSCO (MIS). Heuristic baselines are nearest neighbor, nearest-feasible neighbor, and greedy minimum degree. Random-weight rates pool three seeds for TSP and CVRP, while MIS shows three seeds. POMO aug×8 removes rotate/reflect failures up to float32 ties but leaves M3, M4, and twin failures. Post hoc (†) component normalization removes DIFUSCO's pad and union violations. CVRP references are heuristic.
every admitted rotate/reflect draw, so orientation dependence does not require training.
DIFUSCO passes MIS relabel but violates pad on 6.0% and union on 35.6% of 250 draws per relation, with discrepancies of up to three and four vertices, respectively. Random weights likewise pass relabel but fail pad and union. The greedy minimum-degree baseline fails only relabel, on 84.8%, because of its index-based tie-break. DIFUSCO normalizes final scores across all vertices, allowing an added disconnected component to change scores in the original graph. Relabeling preserves this normalization. On three pilot graphs, union also changes first-step probabilities more than relabel does. We test a post hoc intervention, component normalization, that normalizes within each connected component. It leaves all 250 untransformed predictions unchanged and removes the tested pad and union violations.
Answer to RQ5. Problem-specific reductions and certificates transfer the recipe across domains. Targeted interventions remove some failures, but the mechanisms behind POMO's M3, M4, and twin failures remain unlocalized, and CVRP admission remains heuristic.
IX. THREATS TO VALIDITY
Construct validity: Calibration is empirical and supplies no universal round-off bound. Without precision controls, we interpret the float32-only releases' discrepancies by magnitude. Tier assignment also requires judgment about the applicable reduction. For AC-OPF, admission establishes agreement between local solvers. Neither multistart spread nor unvalidated QC extrema certify the range of global optima. Recovering one objective cluster cannot exclude undiscovered optima, and bounds on global optima do not apply to costlier local solutions.
Internal validity: The interventions support causal explanations on tested inputs, but canonical GridSFM and LUMINA, fine-tuned GridSFM, and DIFUSCO component normalization were developed post hoc. Mechanism detection uses disjoint sources to limit reuse of discovery examples, yet covers only discovered mechanisms, one seed stream, and no case2000 run. Without multiple-comparison control, quality tests give individual confidence statements rather than simultaneous guarantees.
Reliability: Screens use macOS arm64, fine-tuning uses a graphics processor, and initial QC computations use Linux x86-64. IPOPT's cross-platform controls agree, but Linux replay changes above-floor magnitudes by up to 53%. It preserves all tested OPF verdicts and all TSP verdicts except one float32 aug×8 tie at n = 50. CVRP and MIS were not replayed.
External validity: The selected subjects and grids establish counterexamples rather than failure prevalence among learned solvers. Training coverage differs: all five grids occur in LUMINA's training card, while case14 and case118 lie outside GridSFM's stated range. We have not compared the protocol's cost or effectiveness with ordinary accuracy or residual checks, so its relative efficiency remains unknown.
X. CONCLUSION
Solver-admitted metamorphic testing exposes dependence on input representations that ordinary prediction metrics do not directly measure. The grid and MIS investigations locate failures in index use, row positions, stored directions, and normalization across disconnected components. Random-weight controls show that failures can occur before training, while routing results show that frequent violations can coexist with small optimality gaps. Relabeling or symmetry tests alone leave other failures undetected, so testing should cover both alternative encodings and structural reductions.
Diagnosis and repair require distinct evidence. Admission checks the sampled transformation, calibration assesses numerical variation, and aligned comparisons expose inconsistency. None alone guarantees correctness. Canonicalization can remove a discrepancy while leaving the encoding-sensitive operation in place. No tested grid intervention establishes accuracy and feasibility non-inferiority everywhere, and the minimum relation sets cover only the discovered mechanisms. Applying the method to new solvers requires problem-specific reductions, an explicit account of certificate strength, and alignment of random choices for corresponding variables. Future work should validate bounds on the set of optima, test composed relations and unexplained structural failures, and assess whether training from scratch on repaired features preserves consistency and solution quality.
Data availability: The anonymized repository includes relation cards, certificates, a claim ledger, and minimal reproducing examples. The recorded clean build regenerated 165 derived files byte-identically on macOS, with last-digit differences in two tables on Linux. Third-party code, weights, data, and binaries are not redistributed. Maintainer reports and six minimal cases are drafted for filing after review.
ACKNOWLEDGMENT
Generative AI use: Claude Code (Anthropic) was used to draft the text of selected sections, tables, and captions, and wrote code for analysis, experiments, and visualizations. Codex (OpenAI) reviewed all sections and revised wording, figure code, and layout. ChatGPT (OpenAI) audited the study plan. The authors reviewed all text, tested the code, verified all results and references, and take responsibility for the work.
REFERENCES
[1] L. Bhan, W. Yang, M. Capetz, and B. Zhang, "GridSFM: A foundation model for solving AC optimal power flow," Sep. 2026, arXiv:2609.30173 [eess.SY].
[2] H. Jin, K. Song, Z. Memon, Y. Li, S. Fenu, H. Kim, L. Zhao, and K. Kim, "LUMINA: A grid foundation model for benchmarking AC optimal power flow surrogate learning," May 2026, arXiv:2605.02133 [cs.LG].
[3] A. Puech, M. Mazzonelli, T. R. Govindasamy, M. Mngomezulu, H. Maeso-García, T. Tolhurst, J. Bayazi, A. Moeini, N. Simumba, C. Cintas, D. Nelischer, R. Kienzler, J. Weiss, A. Varbella, F. Dörfler, G. Hug, M. Mevissen, J. Bernabé-Moreno, F. Mirallès, H. F. Hamann, E. Vos, and T. Brunschwiler, "GENCO—a unified neural solver embedded in a development framework for steady-state grid analysis," Aug. 2026, arXiv:2608.09921 [cs.AI].
[4] Y.-D. Kwon, J. Choo, B. Kim, I. Yoon, Y. Gwon, and S. Min, “POMO: Policy optimization with multiple optima for reinforcement learning,” in Advances in Neural Information Processing Systems 33, 2020, pp. 21 188–21 198.
[5] Z. Sun and Y. Yang, “DIFUSCO: Graph-based diffusion solvers for combinatorial optimization,” in Advances in Neural Information Processing Systems 36, 2023, pp. 3706–3731.
[6] C. Coffrin, R. Bent, K. Sundar, Y. Ng, and M. Lubin, “PowerModels.jl: An open-source framework for exploring power flow formulations,” in Proc. Power Systems Computation Conference (PSCC), 2018, pp. 1–8.
[7] A. Wächter and L. T. Biegler, “On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming,” Mathematical Programming, vol. 106, no. 1, pp. 25–57, 2006.
[8] D. L. Applegate, R. E. Bixvy, V. Chvátal, and W. J. Cook, The Traveling Salesman Problem: A Computational Study. Princeton University Press, 2006.
[9] E. J. Weyuker, “On testing non-testable programs,” The Computer Journal, vol. 25, no. 4, pp. 465–470, 1982.
[10] E. T. Barr, M. Harman, P. McMinn, M. Shahbaz, and S. Yoo, “The oracle problem in software testing: A survey,” IEEE Transactions on Software Engineering, vol. 41, no. 5, pp. 507–525, 2015.
[11] T. Y. Chen, S. C. Cheung, and S. M. Yiu, “Metamorphic testing: A new approach for generating next test cases,” Hong Kong University of Science and Technology, Tech. Rep. HKUST-CS98-01, 1998. [Online]. Available: https://www.cse.ust.hk/-scc/publ/CS98-01-metamorphictesting.pdf
[12] T. Y. Chen, F.-C. Kuo, H. Liu, P.-L. Poon, D. Towey, T. H. Tse, and Z. Q. Zhou, “Metamorphic testing: A review of challenges and opportunities,” ACM Computing Surveys, vol. 51, no. 1, pp. 4:1–4:27, 2018.
[13] S. Segura, G. Fraser, A. B. Sanchez, and A. Ruiz-Cortés, “A survey on metamorphic testing,” IEEE Transactions on Software Engineering, vol. 42, no. 9, pp. 805–824, 2016.
[14] X. Xie, J. W. K. Ho, C. Murphy, G. Kaiser, B. Xu, and T. Y. Chen, “Testing and validating machine learning classifiers by metamorphic testing,” Journal of Systems and Software, vol. 84, no. 4, pp. 544–558, 2011.
[15] Y. Tian, K. Pei, S. Jana, and B. Ray, “DeepTest: Automated testing of deep-neural-network-driven autonomous cars,” in Proc. 40th International Conference on Software Engineering (ICSE), 2018, pp. 303–314.
[16] M. Zhang, Y. Zhang, L. Zhang, C. Liu, and S. Khurshid, “DeepRoad: GAN-based metamorphic testing and input validation framework for autonomous driving systems,” in Proc. 33rd ACM/IEEE International Conference on Automated Software Engineering (ASE), 2018, pp. 132–142.
[17] H. Spieker, N. Belmecheri, A. Gotlieb, and N. Lazaar, “Evaluating human trajectory prediction with metamorphic testing,” in Proc. 9th ACM International Workshop on Metamorphic Testing (MET), 2024, pp. 34–40.
[18] J. M. Zhang, M. Harman, L. Ma, and Y. Liu, “Machine learning testing: Survey, landscapes and horizons,” IEEE Transactions on Software Engineering, vol. 48, no. 1, pp. 1–36, 2022.
[19] V. Riccio, G. Jahangirova, A. Stocco, N. Humbatova, M. Weiss, and P. Tonella, “Testing machine learning based systems: A systematic mapping,” Empirical Software Engineering, vol. 25, no. 6, pp. 5193–5254, 2020.
[20] A. Dwarakanath, M. Ahuja, S. Sikand, R. M. Rao, R. P. J. C. Bose, N. Dubash, and S. Podder, “Identifying implementation bugs in machine learning based image classifiers using metamorphic testing,” in Proc.
27th ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA), 2018, pp. 118–128.
[21] D. Humeniuak, M. Hamdaqa, H. B. Braiek, A. Bennaceur, and F. Khomh, "Dynasto: Validity-aware dynamic-static parameter optimization for autonomous driving testing," in 2026 IEEE International Conference on Software Testing, Verification and Validation (ICST). IEEE, 2026, pp. 28–39.
[22] M. Li, X. Yang, J. Liu, and S. Yan, “Domain-validity-gated metamorphic testing of scientific ML surrogates,” Jun. 2026, arXiv:2606.17529 [cs.CE].
[23] M. Li, X. Yang, J. Liu, and S. Yan, “NOETHER: A constructive framework for metamorphic pattern discovery from operator algebras,” May 2026, arXiv:2605.17390 [cs.SE].
[24] A. Duque-Torres, D. Pfahl, C. Klammer, and S. Fischer, “Exploring a test data-driven method for selecting and constraining metamorphic relations,” in 2023 49th Euromicro Conference on Software Engineering and Advanced Applications (SEAA), 2023, pp. 370–377.
[25] S. Wei, X. Zhang, Z. Zhou, and Y. Cai, “Extending test-time augmentation with metamorphic relations for combinatorial problems,” in Proc. 41st International Conference on Machine Learning (ICML), PMLR 235, 2024, pp. 52 658–52 679.
[26] N. Gruver, M. Finzi, M. Goldblum, and A. G. Wilson, “The lie derivative for measuring learned equivariance,” in Proc. International Conference on Learning Representations (ICLR), 2023. [Online]. Available: https://openreview.net/forum?id=JL7Va5Vy15J
[27] H. Maron, H. Ben-Hamu, N. Shamir, and Y. Lipman, “Invariant and equivariant graph networks,” in Proc. International Conference on Learning Representations (ICLR), 2019. [Online]. Available: https://openreview.net/forum?id=Syx72jC9tm
[28] M. Zaheer, S. Kottur, S. Ravanbakhsh, B. Póczos, R. Salakhutdinov, and A. J. Smola, “Deep sets,” in Advances in Neural Information Processing Systems 30, 2017. [Online]. Available: https://proceedings.neurips.cc/paper/2017/hash/f22e4747da1aa27e363d86d40ff442fe-Abstract.html
[29] P. W. Battaglia, J. B. Hamrick, V. Bapst, A. Sanchez-Gonzalez, V. Zambaldi, M. Malinowski, A. Tacchetti, D. Raposo, A. Santoro, R. Faulkner, C. Gulcehre, F. Song, A. Ballard, J. Gilmer, G. Dahl, A. Vaswani, K. Allen, C. Nash, V. Langston, C. Dyer, N. Heess, D. Wierstra, P. Kohli, M. Botvinick, O. Vinyals, Y. Li, and R. Pascanu, “Relational inductive biases, deep learning, and graph networks,” 2018, arXiv:1806.01261.
[30] D. Lim, J. Robinson, L. Zhao, T. Smidt, S. Sra, H. Maron, and S. Jegelka, “Sign and basis invariant networks for spectral graph representation learning,” in Proc. International Conference on Learning Representations (ICLR), 2023. [Online]. Available: https://openreview.net/forum?id=Q-UHqMorzil
[31] Y. Huang, W. Lu, J. Robinson, Y. Yang, M. Zhang, S. Jegelka, and P. Li, “On the stability of expressive positional encodings for graphs,” in Proc. International Conference on Learning Representations (ICLR), 2024. [Online]. Available: https://openreview.net/forum?id=xAqJ9XoTf
[32] S.-O. Kaba and S. Ravanbakhsh, “Symmetry breaking and equivariant neural networks,” in NeurIPS 2023 Workshop on Symmetry and Geometry in Neural Representations (NeurReps), 2023, extended Abstract Track. [Online]. Available: https://openreview.net/forum?id=d55JaRL9wh
[33] S.-O. Kaba, A. K. Mondal, Y. Zhang, Y. Bengio, and S. Ravanbakhsh, “Equivariance with learned canonicalization functions,” in Proc. 40th International Conference on Machine Learning (ICML), PMLR 202, 2023, pp. 15546–15566.
[34] O. Puny, M. Atzmon, H. Ben-Hamu, I. Misra, A. Grover, E. J. Smith, and Y. Lipman, “Frame averaging for invariant and equivariant network design,” in Proc. International Conference on Learning Representations (ICLR), 2022. [Online]. Available: https://openreview.net/forum?id=zIUyj55nXR
[35] S. Lovett, M. Zgubič, S. Liguori, S. Madjiheurem, H. Tomlinson, S. Elster, C. Apps, S. Witherspoon, and L. Piloto, “OPFData: Large-scale datasets for AC optimal power flow with topological perturbations,” jun 2024, arXiv:2406.07234.
[36] S. Babaeinejadsarookolaee, A. Birchfield, R. D. Christie, C. Coffrin, C. DeMarco, R. Rao, M. Ferris, S. Fliscounakis, S. Greene, R. Huang, C. Josz, R. Korab, B. Lesieutre, J. Maeght, T. W. K. Mak, D. K. Molzahn, T. J. Overbye, P. Panciatici, B. Park, J. Snodgrass, A. Thailieh, P. Van Hentenryck, and R. Zimmerman, “The power grid library for benchmarking AC optimal power flow algorithms,” 2021, arXiv:1908.02788 [math.OC].
[37] L. Piloto, S. Liguori, S. Madjiheurem, M. Zgubič, S. Lovett, H. Tomlinson, S. Elster, C. Apps, and S. Witherspoon, “CANOS: A fast and scalable neural AC-OPF solver robust to N-1 perturbations,” 2024, arXiv:2403.17660.
[38] S. Liu, C. Wu, and H. Zhu, “Topology-aware graph neural networks for learning feasible and adaptive AC-OPF solutions,” IEEE Transactions on Power Systems, vol. 38, no. 6, pp. 5660–5670, 2023.
[39] O. Arowolo and J. L. Cremer, “Towards generalization of graph neural networks for AC optimal power flow,” Energy and AI, vol. 25, p. 100842, 2026.
[40] C. Papaioannou, I. Tsantilas, D. Giannakakos, V. Michalakopoulos, S. Pelekis, V. Marinakis, A. Aryandoust, A. Monti, R. J. Bessa, P. P. Vergara, J. Cremer, and E. Sarmas, “MxGPS: Multiplex graph transformers for a power grid foundation model,” jul 2026, arXiv:2607.13763.
[41] A. Venzke, G. Qu, S. Low, and S. Chatzivasileiadis, “Learning optimal power flow: Worst-case guarantees for neural networks,” in Proc. IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), 2020, pp. 1–7.
[42] R. Nellikkath and S. Chatzivasileiadis, “Physics-informed neural networks for AC optimal power flow,” Electric Power Systems Research, vol. 212, p. 108412, 2022.
[43] W. Kool, H. van Hoof, and M. Welling, “Attention, learn to solve routing problems!” in Proc. International Conference on Learning Representations (ICLR), 2019. [Online]. Available: https://openreview.net/forum?id=ByxBFsRqYm
[44] S. Peng and V. J. Nair, “Metamorphic auditing of learned AC-OPF evaluation reveals representation dependence,” Accepted paper, NeurIPS 2026 Workshop TAE (Trust-AI-Eval): Can We Trust AI Evaluation?, 2026, non-archival workshop paper. [Online]. Available: https://openreview.net/forum?id=aGbOoXIXs3
[45] T. Vidal, “Hybrid genetic search for the CVRP: Open-source implementation and SWAP* neighborhood,” Computers & Operations Research, vol. 140, p. 105643, 2022.
[46] L. Perron and F. Didier, “CP-SAT, OR-Tools v9.15,” Google, https://developers.google.com/optimization/cp/cp_solver, 2026.
[47] W. A. Bukhsh, A. Grothey, K. I. M. McKinnon, and P. A. Trodden, “Local solutions of the optimal power flow problem,” IEEE Transactions on Power Systems, vol. 28, no. 4, pp. 4780–4788, 2013.
[48] S. Gopinath, H. L. Hijazi, T. Weisser, H. Nagarajan, M. Yetkin, K. Sundar, and R. W. Bent, “Proving global optimality of ACOPF solutions,” Electric Power Systems Research, vol. 189, p. 106688, 2020.
[49] W. Yang, A. Britto, T. Spina, S. Fowers, B. Zhang, and C. M. White, “GridSFM: A foundation model for AC optimal power flow,” Microsoft Research technical white paper, May 2026, the file hosted at microsoft.com is named GridFM_white_paper.pdf. [Online]. Available: https://www.microsoft.com/en-us/research/wp-content/uploads/2026/05/GridFM_white_paper.pdf
[50] Microsoft Corporation, “GridSFM-Open model card,” Hugging Face, checkpoint gridsfm_open_v1.1.pt, revision 1b41299b, 2026. [Online]. Available: https://huggingface.co/microsoft/GridSFM_Open/blob/1b41299b/README.md
[51] Microsoft Corporation, “GridSFM software repository,” GitHub, audited at commit 1ca775f, 2026. [Online]. Available: https://github.com/microsoft/GridSFM/tree/1ca775fd436d7ce013a1c0ab946e61ac7ef59ad6
[52] Argonne National Laboratory, “LUMINA-2M model card,” Hugging Face, version v0.1.3, revision 45eacc92, 2026. [Online]. Available: https://huggingface.co/argonne/LUMINA/blob/45eacc922a2b0c38dbb8c4c191bb7ac89176e965/README.md
[53] GridFM Project, “gridfm-graphkit,” GitHub, GENCO reproduction branch, audited at commit 4e7fbcf, 2026. [Online]. Available: https://github.com/gridfm/gridfm-graphkit/tree/4e7fbcf6aa33c09b5ec9f15e5952dbbff004b74e
[54] P. L. Donti, D. Rolnick, and J. Z. Kolter, “DC3: A learning method for optimization with hard constraints,” in Proc. International Conference on Learning Representations (ICLR), 2021. [Online]. Available: https://openreview.net/forum?id=V1ZHVxJ6dSS