无监督学习用于交流最优功率流的快速物理感知层
Unsupervised Learning for AC Optimal Power Flow with Fast Physics-Aware Layer
AI总结:
本文提出FPL-OPF框架,通过在神经网络中嵌入快速功率流求解器,实现高效无监督学习,解决传统方法中隐式微分计算复杂的问题,实验显示其在速度和约束满足方面优于现有方法。
摘要:
学习通过神经网络解决交流最优功率流(AC-OPF)问题是一种在实时应用中很有前景的方法。现有方法确保神经网络输出的物理可行性是在网络中嵌入功率流(PF)求解器。然而,通过PF求解器的梯度,即隐式微分,需要手动推导雅可比矩阵并求解线性系统,这在计算上是不可行的,阻碍了与现代自动微分(AD)框架的整合。为了解决这些挑战,我们提出FPL-OPF,一种新的无监督学习框架,该框架结合了用于AC-OPF问题的快速物理感知层。FPL-OPF将快速PF迭代求解器嵌入到NN中,并仅将最后几次或甚至最终次迭代纳入AD图。这种设计确保了前向和反向传递的高计算效率,绕过了复杂的自定义反向实现。理论上,我们严格证明了这种设计的梯度在温和条件下是真实隐式梯度的高保真替代品。广泛的实验表明,FPL-OPF在速度方面显著优于现有无监督学习方法,同时保持接近零的约束违反和竞争性最优性。我们的代码可在https://github.com/wowotou1998/fpl-opf获得。
英文摘要:
Learning to solve the Alternating Current Optimal Power Flow (AC-OPF) problem by neural networks (NNs) is a promising approach in real-time applications. Existing methods to ensure the physical feasibility of NN outputs embed a power flow (PF) solver within networks. However, the gradient through the PF solver, namely, implicit differentiation, needs manual Jacobian derivation and the solution of linear systems, which is computationally prohibitive and hinders integration with modern automatic differentiation (AD) frameworks. To address these challenges, we propose FPL-OPF, a novel unsupervised learning framework that incorporates a Fast Physics-aware Layer for AC-OPF problems. FPL-OPF embeds a fast PF iterative solver within the NN and takes solely the last few or even the final iterations into the AD graph. This design ensures high computational efficiency for both the forward and backward passes, circumventing complex custom backward implementations. Theoretically, we rigorously prove that the gradient from this design serves as a high-fidelity surrogate of the true implicit gradient under mild conditions. Extensive experiments demonstrate that FPL-OPF achieves significant speedups over state-of-the-art unsupervised learning approaches, while maintaining near-zero constraint violations and competitive optimality. Our code is available at https://github.com/wowotou1998/fpl-opf
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。