Nature's Cost Function: Simulating Physics by Minimizing the ActionDownload PDF

Published: 03 Mar 2023, Last Modified: 29 Apr 2024Physics4ML PosterReaders: Everyone
Keywords: physics, machine learning, optimization, lagrangian, principle of least action, action
TL;DR: We find paths of least action by minimizing the action with gradient descent.
Abstract: 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. Code: github.com/greydanus/ncf
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 1 code implementation](https://www.catalyzex.com/paper/arxiv:2303.02115/code)
0 Replies

Loading