論文解説
Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence
学習型AC-OPF代理モデルのメタモルフィックテストが示す表現依存性
- 課題 学習型AC-OPF代理モデルを1つの直列化表現だけで評価すると、精度が物理問題を反映しているのか、入力表現の慣習に依存しているのかを見分けにくくなります。
- 手法 13個のメタモルフィック関係を表現関係と電気的等価関係に分け、出力写像で予測を元の機器と角度基準に戻したうえで、チャネルごとの許容誤差で正規化した不一致を測定します。
- 結果 17個の構成はすべて、少なくとも6個の関係で違反を示しました。拡張実験では、4つのモデルのうち3つで変換ビューの誤差が、4つのモデルすべてで中央値の不一致が減りましたが、すべての予測はAC実現不能のままでした。
単一直列化評価の限界
学習型AC-OPF代理モデルは、通常、1つの直列化された電力網表現で精度と実現可能性を評価します。しかし、この方法では測定された誤差が物理問題そのものを反映しているのか、データを符号化した慣習を反映しているのかを区別できません。この論文は、この隔たりを評価プロトコルのconstruct validityの問題として捉えています。バスの行順序、バス番号の付け替え、基準角の選択のように物理問題を変えない変換で予測が変わるかを検査することが、研究の出発点です。
そのため著者らはメタモルフィックテストを用いています。この方法は、正解ラベルがなくても、入力変換と出力の間に成り立つべき条件を確認できます。ただし、違反が見つかれば、該当するパイプラインと関係について不変性は否定されます。一方、合格は探索した事例で違反が見つからなかったことを意味するにとどまります。
13個のメタモルフィック関係と出力写像
この論文は、13個のメタモルフィック関係を2つの層に分けています。表現関係(REP)は、同じ電力網のラベル、方向、角度基準、特定のパイプラインが使うフィールドを変えます。電気的等価関係(ELC)は、構成要素やグラフ構造を変えますが、集計された電気問題は保存します。各関係は適用条件と出力写像P_rを合わせて定義し、P_rは変換後の入力に対する予測を元の物理機器と角度基準に戻します。

Table 4 : Catalog of the 13 metamorphic relations. For each relation, Tr constructs an equivalent input and Pr aligns or aggregates the transformed prediction with the original physical quantities; the validity condition states when that equivalence holds.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの15ページ目から図の部分を抽出しています。
Figure 2 : Examples of REP relations. They change labels, row order, branch orientation, or angle reference without changing the underlying AC-OPF problem, and we compare predictions after undoing the declared map. The pipeline-specific basekv-scale relation changes an exported model input that is absent from the standard per-unit AC-OPF target.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの16ページ目から図の部分を抽出しています。
Figure 3 : Examples of ELC relations. They change graph size or component-family bookkeeping while preserving the AC-OPF feasible set and objective under the stated validity conditions. Their output maps sum split quantities, separate joined islands, reassign a fixed injection, or remove inert padding, depending on the relation.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの17ページ目から図の部分を抽出しています。不一致は次の式で測定されます。Δ_r(d)は、元の事例dに対して変換T_r(d)の予測をP_rで戻した値と、元の予測f(d)との差を、チャネルごとのMAEで平均したものです。その後、そのチャネルのうち最大値を取り、チャネルごとの許容誤差τ_cで割った値です。したがって、Δ_r = 1は報告しきい値に達したことを意味し、パーセント誤差やAC実現可能性の限界ではありません。
17個の構成の監査結果
監査の対象は17個のモデル・パイプライン構成です。このうち2つは公開重みを持つ学習チェックポイントで、残りの15個はランダム重みのアーキテクチャまたはメカニズムの対照群です。適用した事例はcase14とcase500が中心で、各構成は3つの元シナリオ、適用可能な元シナリオと関係の組ごとに3回のサンプリング変換、該当する場合は3回のランダム初期化を使っています。13個の関係のうち、どの構成も全てを通過しませんでした。すべての構成が少なくとも6個の関係で違反を示しました。

Figure 1 : Metamorphic consistency for 17 model and pipeline configurations (two trained checkpoints and 15 random-weight architecture or mechanism controls) across 13 relations on case14/500. Each case uses 3 source scenarios, 3 sampled transformations per admitted case–relation pair, and 3 random initializations where applicable. Green denotes a pass at the prespecified10 −6 tolerance.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。6つの関係であるbasekv-scale、ref-bus-move、island-ref-mix、component-split、load-as-gen、null-padは、すべての構成で共通して失敗しました。これは保存された結果を再集計して、しきい値の感度だけを確認したもので、数値ノイズを補正した結果ではありません。

Table 7 : Sensitivity of the saved architecture-screen verdicts to the channel-mean reporting threshold. Each row uses the same 221 cells and partial-coverage mask.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの20ページ目から図の部分を抽出しています。GridSFM-Openパイプラインの局在化
GridSFM-Open v1.1では、最初の不一致が予測ネットワークより前の派生特徴量で現れました。著者らは4つの候補メカニズムを提示しています。
この診断は、整列された中間テンソルを置き換える方法で行われ、修復後に再学習したチェックポイントを作ったものではありません。このスコアは最大チャネルΔ_rとは別の尺度であり、その値だけで修復の効果が検証されたわけではありません。したがって、これは予測器より前の感度の位置を示したものであり、ネットワーク全体の不変性を証明したものではありません。
関係を学習拡張として使った実験
2つ目の実験は、メタモルフィック関係を学習拡張として使うと表現依存性が減るかを問うものです。基準モデルは、MPNN、生のラプラシアン位置エンコーディングを加えたLapPE+MPNN、ランダムウォーク構造エンコーディングを加えたRWSE+MPNN、LUMINAの4つです。学習目的は、ソルバー解に対する同等チャネルのMSEと、AC制約違反ペナルティを合わせたものです。拡張版では、各学習インスタンスに、アーキテクチャごとの関係集合から確率0.5で1つの関係を適用します。この関係集合は、ランダム初期化の対照スクリーンとは独立に、以前の学習済み基準測定で固定されました。
主な評価は、シードごとに50個の保留case500シナリオを、通常入力と13個の関係で変換した形式で行われます。その結果、LapPE+MPNNは変換シナリオの平均MAEが87.0%改善し、LUMINAは41.9%、RWSE+MPNNは1.1%改善しました。一方MPNNは3.2%悪化しました。中央値の正規化不一致Δ_rは4つのモデルすべてで減少しました。ただし、個別の関係の一部は悪化しており、すべてのarmでAC実現可能な元シナリオの割合は0%です。

Table 10 : Full augmentation results under the AC constraint-penalty objective. Positive improvement (Imp.) denotes the mean seed-paired reduction under augmentation. Metamorphic values report the dimensionless normalized discrepancy ∆r(d) defined in (1); 0 denotes exact invariance and dashes mark excluded relations. Constraint rows use the scenario-clustered seed-level P95 defined in the text and report mean ± sample standard deviation across three seeds. Equality is in per unit. The pooled inequality metric is dimensionless and displayed in millions of family-specific 10−6 tolerances. Absolute family-level results appear in Table 12.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの25ページ目から図の部分を抽出しています。拡張効果の解釈と限界
LapPE+MPNNの大きな改善は、主に学習中に使ったGPU固有ソルバーと、監査に使ったCPU固有ソルバーの不一致と関係しています。したがって、この差は、拡張がCPU/LAPACKのスペクトル座標に対する頑健性を高めたことを測定したものであり、学習バックエンドでの精度向上やスペクトルエンコーディング全般の修復を示すものではありません。
関係ごとにも結果は分かれています。RWSE+MPNNは、tap-side-flip、ref-bus-move、island-ref-mixで悪化しました。この結果は、変換をデータ拡張として使うことが、一般的なグリッド間の利益を支持しないという解釈と結び付きます。

Table 11 : Expanded augmentation results under the AC constraint-penalty objective. Panel A compares three-seed mean accuracy, median ∆r over each model’s trained relations, and scenario- clustered constraint P95; violation entries are mean ± sample standard deviation across seeds. Equality is in per unit, while pooled inequality is dimensionless and displayed in millions of family- specific 10−6 tolerances. Feasible is the percentage of 50 source scenarios per seed whose 53 views all satisfy both 10−6 tolerances. Panel B gives the percentage reduction in ∆r by relation; positive values denote improvement under augmentation, and dashes mark excluded relations.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの26ページ目から図の部分を抽出しています。学習チェックポイントとランダム重みの比較
公開重みのチェックポイントと、ランダム重みのバージョンを、同じ元シナリオと同じ変換drawで比較しました。GridSFM-OpenとLUMINA-2Mは、いずれも学習版とランダム版が、元シナリオの中央値・最悪グリッド集計に対する13個の閾値分類ですべて一致しました。GridSFMはcomponent-relabelでのみ閾値を下回り、LUMINAはbus-relabel、row-order、island-unionでも閾値を下回りました。この閾値以下の集計は、有限の置換検査とは一致しますが、すべての入力に対する保証ではありません。

Figure 4 : Trained and random-weight models agree on all 13 threshold classifications of the displayed aggregate statistic. For each relation, the horizontal coordinate is the worst-channel discrepancy, maximized over five grids, divided by the10−6 tolerance; random-weight markers also take the worst of three seeds. The vertical line at one marks the aggregate reporting threshold and does not serve as an all-draw pass criterion. Connecting segments show the change in magnitude after training.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの21ページ目から図の部分を抽出しています。サイズ比の分析は、学習が不一致のサイズを一貫して減らさなかったことを示しています。ほぼ0のランダム分母のため、component-relabelは比の比較から除外され、残りの有限セルで学習時の不一致がランダム対照群を上回った割合は、GridSFMでは60個中55個、LUMINAでは58個中50個でした。中央値の比は、それぞれ7.50倍と6.23倍です。ただし、ランダムネットワークは出力がほぼ定数になり得るため、この比はモデル品質の比較ではありません。

Figure 5 : Per-grid effect of training on metamorphic discrepancy. Each point is the trained discrepancy divided by its random-weight control for one grid and relation; values above one indicate a larger mis- match after training. Short black bars mark relation-level medians. Ratios for component-relabel compare values that are already below the10 −6 tolerance, so they carry little information.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの22ページ目から図の部分を抽出しています。
Figure 6 : Absolute case500 discrepancies underlying the ratio comparison. Circles show released checkpoints; diamonds and intervals show the central value and range across three random seeds. The plot distinguishes a large relative change near zero from a discrepancy far above 10−6. Each point uses its worst channel, so values should be read against the tolerance and not compared across channel units.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの22ページ目から図の部分を抽出しています。適用範囲と残された問い
この論文の結論は、探索したメタモルフィック関係、監査した2つの公開チェックポイント、特定のグリッドとサンプリングに限定されています。拡張実験は、1つの学習グリッド系列、3つのシード、1つの計算予算、モデルごとの関係集合を用いました。評価結果では、すべての予測がAC実現可能性の判定を通過しなかったため、不一致の減少を、デプロイ準備の完了や普遍的な不変性と読むことはできません。

Table 12 : AC constraint violations from the augmentation training experiment. Panel A reports absolute family-level violations as baseline → augmented; each side is the mean ± sample standard deviation across three seed-level statistics after clustering 53 views under each of 50 source scenarios. P95 uses linear interpolation. Panel B reports normalized context using scenario- or element-specific denominators. The AC-feasible source-scenario rate is 0% for every arm at the10 −6 tolerance.
出典 · CC BY 4.0 · Stephen Peng, Vineet Jagadeesan Nair · Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence · 論文の図を引用 · 元のPDFの28ページ目から図の部分を抽出しています。また、PowerModels.jlとIPOPTは数値実装を確認するために使われたもので、非凸問題の大域最適性の証明を与えるものではありません。したがって、メタモルフィック不一致は代理モデルの決定的な表現依存性を示しますが、どの出力が物理的に誤っているかは判定しません。今後は、制約ベースの等変構造、より多くのグリッド系列、再学習された修復チェックポイントを合わせて検証する必要があります。
論文情報
- 著者
- Stephen Peng, Vineet Jagadeesan Nair
- 学会・ジャーナル
- arXiv · プレプリント
- 公開日
- 2026年11月10日
- 登録日
- 2026年11月11日
- 更新日
- 2026年11月10日
- バージョン
- v1
- arXiv
- 2611.13566
- カテゴリ
- cs.LG · cs.AI · eess.SY · math.OC
- ライセンス
- CC BY 4.0
- 掲載内容
- 論文情報・解説・論文の図
この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。
アブストラクト
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.
この論文を引用
Stephen Peng, Vineet Jagadeesan Nair (2026). Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence. arXiv:2611.13566v1. https://arxiv.org/abs/2611.13566v1
BibTeX
@misc{peng2026metamorphic,
title = {{Metamorphic testing of learned AC optimal power flow surrogates reveals representation dependence}},
author = {Stephen Peng and Vineet Jagadeesan Nair},
year = {2026},
eprint = {2611.13566},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.13566v1}
}