arXiv:2412.11215cs.LGcs.AI2024-12被引 4

用神经网络建模电路系统,自动满足物理约束并提升长期预测精度。

Neural Port-Hamiltonian Differential Algebraic Equations for Compositional Learning of Electrical Networks

  • 基于端口-哈密顿微分代数方程,用神经网络参数化动力学与约束项。
  • 相比基线模型,长期预测误差降低一个数量级,且严格满足约束条件。
  • 支持模块化训练与组合,适合复杂电力系统建模与可扩展仿真。

我们为耦合动力系统开发了可组合学习算法,重点关注电气网络。尽管深度学习在数据驱动建模中表现优异,但系统组件间的耦合常引入状态变量的代数约束,对现有方法构成挑战。为此,我们提出神经端口-哈密顿微分代数方程(N-PHDAE),利用神经网络参数化端口-哈密顿微分代数方程中微分与代数部分的未知项。为训练该模型,我们设计一种算法,通过自动微分实现指标降阶,将神经微分代数方程自动转化为等价的神经常微分方程(N-ODE),从而可使用成熟的模型推断与反向传播方法。在非线性电路动态模拟实验中,所提N-PHDAE模型在长时预测下相比基线N-ODE模型预测精度与约束满足度均提升一个数量级。我们还通过模拟直流微电网验证了其可组合性:分别训练各组件的N-PHDAE模型,再组合后准确预测大规模网络行为。

原文摘要 · Abstract (English)

We develop compositional learning algorithms for coupled dynamical systems, with a particular focus on electrical networks. While deep learning has proven effective at modeling complex relationships from data, compositional couplings between system components typically introduce algebraic constraints on state variables, posing challenges to many existing data-driven approaches to modeling dynamical systems. Towards developing deep learning models for constrained dynamical systems, we introduce neural port-Hamiltonian differential algebraic equations (N-PHDAEs), which use neural networks to parameterize unknown terms in both the differential and algebraic components of a port-Hamiltonian DAE. To train these models, we propose an algorithm that uses automatic differentiation to perform index reduction, automatically transforming the neural DAE into an equivalent system of neural ordinary differential equations (N-ODEs), for which established model inference and backpropagation methods exist. Experiments simulating the dynamics of nonlinear circuits exemplify the benefits of our approach: the proposed N-PHDAE model achieves an order of magnitude improvement in prediction accuracy and constraint satisfaction when compared to a baseline N-ODE over long prediction time horizons. We also validate the compositional capabilities of our approach through experiments on a simulated DC microgrid: we train individual N-PHDAE models for separate grid components, before coupling them to accurately predict the behavior of larger-scale networks.

动力系统神经网络电力系统约束建模

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。