arXiv:2512.23295cs.LGphysics.comp-ph2025-12

揭示硬约束物理神经网络中边界函数的频谱调控机制,指导高效训练。

Spectral Analysis of Hard-Constraint PINNs: The Spatial Modulation Mechanism of Boundary Functions

  • 提出基于神经正切核的理论框架,发现边界函数具乘性调制作用
  • 证明边界函数导致频谱坍缩,是优化停滞的关键原因
  • 将边界函数设计从经验尝试转为可预测的频谱优化问题

硬约束物理信息神经网络(HC-PINNs)因其通过试函数形式 $\tilde{u} = A + B \cdot N$ 严格满足边界条件而日益受到青睐,但其训练动态的理论机制长期未被解析。与软约束中边界项作为加性惩罚不同,本文揭示边界函数 $B$ 引入了乘性空间调制,从根本上改变学习景观。构建了针对 HC-PINNs 的严格神经正切核(NTK)框架,推导出显式的核组合定律。该关系表明,边界函数 $B(\vec{x})$ 充当频谱滤波器,重塑神经网络原生核的特征谱。通过频谱分析,有效秩被确定为训练收敛的确定性预测因子,优于经典条件数。研究发现,广泛使用的边界函数可能无意中引发频谱坍缩,导致优化停滞,尽管边界条件精确满足。在多维基准测试中验证,该框架将边界函数设计从启发式选择转变为可解释的频谱优化问题,为科学机器学习中的几何硬约束提供了坚实的理论基础。

原文摘要 · Abstract (English)

Physics-Informed Neural Networks with hard constraints (HC-PINNs) are increasingly favored for their ability to strictly enforce boundary conditions via a trial function ansatz $\tilde{u} = A + B \cdot N$, yet the theoretical mechanisms governing their training dynamics have remained unexplored. Unlike soft-constrained formulations where boundary terms act as additive penalties, this work reveals that the boundary function $B$ introduces a multiplicative spatial modulation that fundamentally alters the learning landscape. A rigorous Neural Tangent Kernel (NTK) framework for HC-PINNs is established, deriving the explicit kernel composition law. This relationship demonstrates that the boundary function $B(\vec{x})$ functions as a spectral filter, reshaping the eigenspectrum of the neural network's native kernel. Through spectral analysis, the effective rank of the residual kernel is identified as a deterministic predictor of training convergence, superior to classical condition numbers. It is shown that widely used boundary functions can inadvertently induce spectral collapse, leading to optimization stagnation despite exact boundary satisfaction. Validated across multi-dimensional benchmarks, this framework transforms the design of boundary functions from a heuristic choice into a principled spectral optimization problem, providing a solid theoretical foundation for geometric hard constraints in scientific machine learning.

PINN频谱分析边界约束神经正切核

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