Energy Loss Functions for Physical Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kaba, Sékou-Oumar, Sareen, Kusha, Levy, Daniel, Ravanbakhsh, Siamak
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914133628157952
author Kaba, Sékou-Oumar
Sareen, Kusha
Levy, Daniel
Ravanbakhsh, Siamak
author_facet Kaba, Sékou-Oumar
Sareen, Kusha
Levy, Daniel
Ravanbakhsh, Siamak
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02087
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Energy Loss Functions for Physical Systems
Kaba, Sékou-Oumar
Sareen, Kusha
Levy, Daniel
Ravanbakhsh, Siamak
Machine Learning
Artificial Intelligence
Computational Physics
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.
title Energy Loss Functions for Physical Systems
topic Machine Learning
Artificial Intelligence
Computational Physics
url https://arxiv.org/abs/2511.02087