Lune

NeurIPS2025Top-tier venue

Energy Loss Functions for Physical Systems

Oumar Kaba, Kusha Sareen, Daniel Levy, Siamak Ravanbakhsh

Abstract

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 energybased, 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. Code is available at https://github.com/kushasareen/energy_loss .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Denoising Diffusion Probabilistic Models cites Your classifier is secretly an energy based model and you should treat it like one
  • Understanding Diffusion Objectives as the ELBO with Simple Data Augmentation cites Denoising Diffusion Probabilistic Models
  • Understanding Diffusion Objectives as the ELBO with Simple Data Augmentation cites Score-Based Generative Modeling through Stochastic Differential Equations
  • Score-Based Generative Modeling through Stochastic Differential Equations cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on21

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar et al.ICLR 2021 · 1,270 citations
  3. Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud et al.ICLR 2020 · 643 citations
  4. Understanding Diffusion Objectives as the ELBO with Simple Data AugmentationDiederik P. Kingma, Ruiqi GaoNeurIPS 2023 · 358 citations
  5. Equivariant Flows: Exact Likelihood Generative Learning for Symmetric DensitiesJonas Köhler, Leon Klein, Frank NoéICML 2020 · 330 citations

Related papers

  1. Efficient Training of Energy-Based Models Using Jarzynski EqualityDavide Carbone, Mengjian Hua, Simon Coste, Eric Vanden-EijndenNeurIPS 2023 · 21 citations
  2. Physics-Informed Regularization for Domain-Agnostic Dynamical System ModelingZijie Huang, Wanjia Zhao, Jingdong Gao, Ziniu Hu et al.NeurIPS 2024 · 12 citations
  3. Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative ModelingMichal Balcerak, Tamaz Amiranashvili, Antonio Terpin, Suprosanna Shit et al.NeurIPS 2025 · 33 citations
  4. Learning Smooth and Expressive Interatomic Potentials for Physical Property PredictionXiang Fu, Brandon M. Wood, Luis Barroso-Luque, Daniel S. Levine et al.ICML 2025
  5. Time-Reversal Symmetric ODE NetworkIn Huh, Eunho Yang, Sung Ju Hwang, Jinwoo ShinNeurIPS 2020 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines