mlsanityData to 14 Oct 2026

Nature's Cost Function: Simulating Physics by Minimizing the Action

arXiv 2303.02115 ↗First posted 3 Mar 2023cs.LG cond-mat.dis-nn physics.comp-phcited by 3

Not on the map. Why?

Abstract (arXiv)

In physics, there is a scalar function called the action which behaves like a cost function. When minimized, it yields the "path of least action" which represents the path a physical system will take through space and time. This function is crucial in theoretical physics and is usually minimized analytically to obtain equations of motion for various problems. In this paper, we propose a different approach: instead of minimizing the action analytically, we discretize it and then minimize it directly with gradient descent. We use this approach to obtain dynamics for six different physical systems and show that they are nearly identical to ground-truth dynamics. We discuss failure modes such as the unconstrained energy effect and show how to address them. Finally, we use the discretized action to construct a simple but novel quantum simulation.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 6 of its 29 references that are in the map. First posted on arXiv 3 Mar 2023.

Builds on

6 of 29 references.

References · 6

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2018Neural Ordinary Differential Equationscited by 3,779
  4. 2021Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulationcited by 407
  5. 2020Lagrangian Neural Networkscited by 398
  6. 2019Deep Lagrangian Networks: Using Physics as Model Prior for Deep Learningcited by 212

Built on by

Cited by year

Citing papers per year: 2024: 1; 2025: 2.

3 papers.