Skip to main content
QUICK REVIEW

[论文解读] Generating adversarial inputs for a graph neural network model of AC power flow

Robert Parker|arXiv (Cornell University)|Feb 20, 2026
Model Reduction and Neural NetworksPhysics and Astronomy被引用 0
一句话总结

论文提出优化问题以生成输入,使 CANOS-PF 图神经网络代理与真实交流潮流解之间产生较大预测误差,在 14 节点网络上证明可行的对抗点。它分析最大误差与受限误差,并讨论对基于神经网络的交流潮流代理的鲁棒性与验证的影响。

ABSTRACT

This work formulates and solves optimization problems to generate input points that yield high errors between a neural network's predicted AC power flow solution and solutions to the AC power flow equations. We demonstrate this capability on an instance of the CANOS-PF graph neural network model, as implemented by the PF$Δ$ benchmark library, operating on a 14-bus test grid. Generated adversarial points yield errors as large as 3.4 per-unit in reactive power and 0.08 per-unit in voltage magnitude. When minimizing the perturbation from a training point necessary to satisfy adversarial constraints, we find that the constraints can be met with as little as an 0.04 per-unit perturbation in voltage magnitude on a single bus. This work motivates the development of rigorous verification and robust training methods for neural network surrogate models of AC power flow.

研究动机与目标

  • 为安全关键的电网运行中的交流潮流神经网络代理的鲁棒性担忧提供动机。
  • 将优化问题形式化,以识别最大化或受限 NN-ACPF 输出差异的输入。
  • 在 IEEE 14 节点系统上证明最先进的 GNN 模型存在可行的对抗点。
  • 量化满足对抗约束所需的扰动,并识别易受攻击的输出坐标(电压幅值、无功功率)。

提出的方法

  • 形成两个优化问题:一个最大化误差的问题,将 NN 与 ACPF 输出进行比较;以及一个受限误差的问题,寻找使输出约束成立所需的最小输入扰动。
  • 将输入 x 表示为 PV母线的有功功率注入和电压幅值,并设定上下界 L 和 U。
  • 使用 128 个隐藏单元、15 次信息传递步的 CANOS-PF 图神经网络,基于 PFΔ Task-1.1 数据训练,并通过 JuMP + IPOPT 求解。
  • 通过灰盒方法将神经网络约束与交流潮流约束耦合,接口 PyTorch 与 PowerModels.jl。
  • 在 IEEE 14 节点测试用例上评估误差的最大化/最小化及受限扰动,电压约束使用 0.04 的逐量纲单位裕度。
Figure 1: Maximum absolute error obtained for each bus. Left: PQ buses. Right: PV and reference buses. In each case, the opposite set of buses is shaded gray. Generated using PowerPlots [ 24 ] .
Figure 1: Maximum absolute error obtained for each bus. Left: PQ buses. Right: PV and reference buses. In each case, the opposite set of buses is shaded gray. Generated using PowerPlots [ 24 ] .

实验结果

研究问题

  • RQ1我们能否找到 NN 预测与真实交流潮流解显著不同的输入点?
  • RQ2为了强制 NN 输出与 ACPF 输出之间的对抗约束,所需的最小扰动是多少?
  • RQ3哪些输出(电压幅值、无功功率)最易受到 CANOS-PF 代理的对抗性扰动影响?
  • RQ4在标准优化框架下,针对大规模神经网络代理,求解这些对抗性优化问题的可行性有多高?

主要发现

  • 存在对 CANOS-PF 模型在 14 节点上具有较大 NN-ACPF 差异的对抗点,且无功功率和电压幅值误差达到可观水平。
  • 最大化 NN 与 ACPF 误差时的电压幅值误差大于最小化时,表明 NN 在低电压解附近较难处理。
  • 受限对抗结果显示 90 个可行扰动中有 65 个收敛,电压幅值约束通常在 0.90–0.96 逐/单位。
  • 对单个母线的对抗约束只需极小扰动(最低 0.04 逐/单位),有时仅扰动两个输入变量。
  • 许多对抗扰动涉及将 PV 母线电压推向其下限(0.94 p.u.),提示鲁棒性应在训练数据中包含接近边界的输出。
Figure 2: Errors achieved by Problem 1 with maximization and minimization objective senses. Maximized error is omitted for bus 3 because the optimization algorithm failed to converge for this case.
Figure 2: Errors achieved by Problem 1 with maximization and minimization objective senses. Maximized error is omitted for bus 3 because the optimization algorithm failed to converge for this case.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。