arXiv:2511.02087cs.LGcs.AI2025-11NeurIPS

将物理能量概念融入损失函数,提升分子与自旋系统建模的准确性。

Energy Loss Functions for Physical Systems

论文配图:Energy Loss Functions for Physical Systems
图 1 · 摘自论文原文
  • 在损失函数中引入物理能量差,直接利用系统热平衡特性。
  • 在分子生成和自旋基态预测任务中显著优于传统方法。
  • 无需特定网络结构,天然保持物理对称性,计算高效。

在科学领域应用机器学习时,有效利用系统的物理先验知识至关重要。以往方法多在模型架构层面融入物理洞察。本文提出一种新框架,将物理信息直接嵌入预测与生成任务的损失函数中,适用于分子、自旋等系统。假设每个数据样本相对于近似能量景观处于热平衡状态,通过反向KL散度与玻尔兹曼分布结合,推导出以能量差为形式的损失函数。该视角将传统MSE等目标重新解释为能量基形式,但其能量无物理解释;而本方法所得损失函数具有物理意义,梯度更符合合法构型,且不依赖具体架构,计算高效。此外,能量损失天然满足物理对称性。实验表明,在分子生成与自旋基态预测任务上均取得显著性能提升。

原文摘要 · Abstract (English)

Effectively leveraging prior knowledge of a system's physics is crucial for applications of machine learning to scientific domains. Previous approaches mostly focused on incorporating physical insights at the architectural level. In this paper, we propose a framework to leverage physical information directly into the loss function for prediction and generative modeling tasks on systems like molecules and spins. We derive energy loss functions assuming that each data sample is in thermal equilibrium with respect to an approximate energy landscape. By using the reverse KL divergence with a Boltzmann distribution around the data, we obtain the loss as an energy difference between the data and the model predictions. This perspective also recasts traditional objectives like MSE as energy-based, but with a physically meaningless energy. In contrast, our formulation yields physically grounded loss functions with gradients that better align with valid configurations, while being architecture-agnostic and computationally efficient. The energy loss functions also inherently respect physical symmetries. We demonstrate our approach on molecular generation and spin ground-state prediction and report significant improvements over baselines.

物理信息损失函数生成模型能量基

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