arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18494cs.LG
收藏

物理信息神经网络(PINNs)中的学习:相变、扩散平衡与泛化

Learning in PINNs: Phase transition, diffusion equilibrium, and generalization

EPFL(洛桑联邦理工学院);Brown University(布朗大学)

Sokratis J. Anagnostopoulos, Juan Diego Toscano, Nikolaos Stergiopulos, George Em Karniadakis

AI总结:

该研究通过神经梯度信噪比识别出全连接神经网络的扩散平衡阶段,提出逐样本重加权方案提升残差同质性与泛化,基于PINNs实验表明梯度与残差有序可加快收敛、改善泛化。

摘要:

我们通过神经梯度信噪比(SNR)的视角研究全连接神经网络的学习动态,考察非凸目标下一阶优化器的行为。将信息瓶颈理论提出的漂移/扩散阶段解读后,我们识别出第三个被称为“扩散平衡(DE)”的阶段,这是一个稳定的训练阶段,其特征是样本空间中高度有序的神经梯度。该阶段以突变式转变为标志:逐样本梯度对齐(SNR升高),且优化器收敛稳定。此外,我们发现,在DE阶段若样本间还满足同质残差条件,会带来更好的泛化性能,因为优化步骤对每个样本的敏感度均等。基于这一观察,我们提出一种逐样本重加权方案,该方案针对残差大、梯度消失的问题样本,可显著提升二次损失函数中的残差同质性与泛化性能。最后,我们探究信息压缩现象,明确在DE相变时,由逐样本梯度方向对齐驱动的激活函数会出现显著的饱和诱导压缩。有趣的是,正是在激活函数饱和阶段模型收敛,且深层几乎无信息损失。通过物理信息神经网络(PINNs)上的实验示例验证,这些示例凸显了梯度一致的关键作用,因为PINNs具有样本间基于偏微分方程(PDE)的固有相互依赖性,我们的发现表明,当逐样本梯度与残差均有序时,可实现更快的收敛速度与更好的泛化性能。识别相变可改进深度学习优化策略,提升物理信息方法与机器学习的性能。

英文摘要:

We investigate the learning dynamics of fully-connected neural networks through the lens of the neural gradient signal-to-noise ratio (SNR), examining the behavior of first-order optimizers in non-convex objectives. Interpreting the drift/diffusion phases as proposed in the information bottleneck theory, we identify a third phase termed "diffusion equilibrium" (DE), a stable training phase characterized by highly-ordered neural gradients across the sample space. This phase is marked by an abrupt transition, where sample-wise gradients align (SNR increases), and stable optimizer convergence. Moreover, we find that when homogeneous residuals are also met across the sample space during the DE phase, this leads to better generalization, as the optimization steps are equally sensitive to each sample. Based on this observation, we propose a sample-wise re-weighting scheme, which considerably improves the residual homogeneity and generalization in quadratic loss functions, by targeting the problematic samples with large residuals and vanishing gradients. Finally, we explore the information compression phenomenon, pinpointing a significant saturation-induced compression of activations at the DE phase transition, driven by the sample-wise gradient directional alignment. Interestingly, it is during the saturation of activations that the model converges, with deeper layers experiencing negligible information loss. Supported by experimental examples on physics-informed neural networks (PINNs), which highlight the critical role of gradient agreement due to their inherent PDE-based interdependence of samples, our findings suggest that when both sample-wise gradients and residuals are ordered, this leads to faster convergence and better generalization. Identifying phase transitions could improve deep learning optimization strategies, enhancing physics-informed methods and machine learning performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑