Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence
Abstract
Evaluating a learned AC optimal power flow (AC-OPF) surrogate on one grid serialization cannot show whether its accuracy depends on that encoding. We test this dependence with thirteen metamorphic relations, each specifying when a transformation is valid and how to compare its outputs. Our audit covers 17 model and pipeline configurations: two released trained checkpoints and 15 random-weight architecture or mechanism controls. Every configuration violates at least six relations, even at reporting tolerances ten times tighter or looser. For GridSFM-Open v1.1, source inspection and intermediate-tensor interventions point to an indexing bug and three noncanonical or numerically unstable preprocessing choices; a repaired checkpoint remains untested. In a separate case500 training experiment, augmentation lowers transformed-view error in three of four models and median discrepancy and constraint-violation P95 in all four. These benefits depend on the training protocol: some relations worsen, and every evaluated prediction remains AC infeasible. A GPU/CPU eigensolver mismatch accounts for most of the large raw-Laplacian-baseline gain. We recommend reporting representation consistency alongside accuracy, feasibility, and cost. These results establish neither deployment readiness nor universal invariance.
Related
- Polyconvex neural-network surrogates with learned paired directional features for anisotropic hyperelastic homogenization
- Certifying a Sufficient Gaussian Dependence Regime for Learned Weighted FDR Control
- Testing Cross-Sectional Dependence in Clustered Data
- Revisiting dependence in multiple testing: empirical distribution approaches for FDP control
- Admissibility of Adaptive Monotone Step-Down Multiple Testing Procedures Under Arbitrary Covariance Dependence
BibTeX
@misc{peng2026metamorphic,
title = {{Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence}},
author = {Stephen Peng and Vineet Jagadeesan Nair},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.13566},
eprint = {2611.13566},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.13566},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence
AU - Stephen Peng
AU - Vineet Jagadeesan Nair
PY - 2026
DA - 2026/11/10
PB - arXiv
DO - 10.48550/arxiv.2611.13566
UR - https://arxiv.org/abs/2611.13566
AB - Evaluating a learned AC optimal power flow (AC-OPF) surrogate on one grid serialization cannot show whether its accuracy depends on that encoding. We test this dependence with thirteen metamorphic relations, each specifying when a transformation is valid and how to compare its outputs. Our audit covers 17 model and pipeline configurations: two released trained checkpoints and 15 random-weight architecture or mechanism controls. Every configuration violates at least six relations, even at reporting tolerances ten times tighter or looser. For GridSFM-Open v1.1, source inspection and intermediate-tensor interventions point to an indexing bug and three noncanonical or numerically unstable preprocessing choices; a repaired checkpoint remains untested. In a separate case500 training experiment, augmentation lowers transformed-view error in three of four models and median discrepancy and constraint-violation P95 in all four. These benefits depend on the training protocol: some relations worsen, and every evaluated prediction remains AC infeasible. A GPU/CPU eigensolver mismatch accounts for most of the large raw-Laplacian-baseline gain. We recommend reporting representation consistency alongside accuracy, feasibility, and cost. These results establish neither deployment readiness nor universal invariance.
ER -