[论文解读] Neural Networks with Physics-Informed Architectures and Constraints for Dynamical Systems Modeling
本文提出了一种物理信息神经网络框架,将已知的动力系统结构和约束直接嵌入神经ODE的架构与训练过程中。通过将基于物理的已知函数与可学习的神经网络组合,并利用增广拉格朗日法施加约束,该模型在数据有限的机器人动力系统上,相比仅依赖数据的基线模型,实现了高达两个数量级的精度提升。
Effective inclusion of physics-based knowledge into deep neural network models of dynamical systems can greatly improve data efficiency and generalization. Such a-priori knowledge might arise from physical principles (e.g., conservation laws) or from the system's design (e.g., the Jacobian matrix of a robot), even if large portions of the system dynamics remain unknown. We develop a framework to learn dynamics models from trajectory data while incorporating a-priori system knowledge as inductive bias. More specifically, the proposed framework uses physics-based side information to inform the structure of the neural network itself, and to place constraints on the values of the outputs and the internal states of the model. It represents the system's vector field as a composition of known and unknown functions, the latter of which are parametrized by neural networks. The physics-informed constraints are enforced via the augmented Lagrangian method during the model's training. We experimentally demonstrate the benefits of the proposed approach on a variety of dynamical systems -- including a benchmark suite of robotics environments featuring large state spaces, non-linear dynamics, external forces, contact forces, and control inputs. By exploiting a-priori system knowledge during training, the proposed approach learns to predict the system dynamics two orders of magnitude more accurately than a baseline approach that does not include prior knowledge, given the same training dataset.
研究动机与目标
- 提升从有限轨迹数据中学习动力系统时的数据效率与泛化能力。
- 将先验物理知识(如守恒定律、几何约束和力的边界)作为归纳偏置,整合到神经网络模型中。
- 不仅在训练数据点上,而且在整个状态空间中确保基于物理的约束成立,以保证模型保真度。
- 开发一种端到端可训练的框架,将神经ODE与物理约束优化相结合,实现精确的动力学建模。
- 在复杂、高维的机器人环境中,证明该方法优于纯数据驱动的基线模型。
提出的方法
- 系统的向量场被建模为已知函数F与未知函数g₁,…,g_d的组合,其中未知部分由参数化的神经网络G_Θ表示。
- 模型使用可微分的ODE求解器在时间范围内滚动预测,并通过在状态轨迹上最小化损失函数J(Θ)来减少预测误差。
- 通过增广拉格朗日法施加物理信息约束,确保不等式和等式约束在整个状态空间中成立,而不仅限于训练点。
- 优化问题同时整合了预测损失与约束违反项,梯度通过伴随敏感性或自动微分计算。
- 该框架支持未知组件的任意函数形式,并允许已知项与学习项之间进行复杂、分层的组合。
- 该方法支持端到端训练,使神经网络在遵守物理定律的同时学习向量场中未知部分的补全。
实验结果
研究问题
- RQ1将已知的物理结构嵌入神经网络架构,是否能提升学习动力系统时的数据效率?
- RQ2如何在训练数据点之外的整个状态空间中,施加基于物理的约束(如力的边界或守恒定律)?
- RQ3将物理信息结构与约束优化相结合,在高维机器人系统中能在多大程度上提升泛化能力与精度?
- RQ4当训练数据稀缺时,该框架是否能超越纯数据驱动的神经ODE?
- RQ5与直接的下一状态预测相比,通过神经ODE参数化向量场在误差累积与精度方面有何差异?
主要发现
- 在相同训练数据集下,所提方法在预测系统动力学方面的精度相比未引入先验知识的基线神经ODE高出两个数量级。
- 通过增广拉格朗日法在整个状态空间中施加基于物理的约束,使模型在未见状态区域的泛化能力显著增强。
- 将已知系统结构(如机器人的质量矩阵、科里奥利项和接触力模型)整合到向量场中,显著提升了学习效率与模型保真度。
- 在损失函数中采用时间范围内的滚动预测,相比单步预测方法,能更有效地减少误差累积。
- 该框架在包含复杂非线性动力学、接触力和控制输入的机器人环境基准测试集中表现出稳健性能。
- 代码已公开,支持可复现性,并可扩展至其他具有已知物理结构的动力系统。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。