Machine Learning H-theorem
Ruben Lier
TL;DR
This work tackles the problem of extracting the thermodynamic arrow of time from chaotic many-particle dynamics by learning the $H$-functional underlying the Boltzmann equation. It introduces a permutation-invariant DeepSets-based neural network to produce a time-increasing function $h(\mathbf{V}_t)$ that approximates the $H$-functional $H(t)=\int d\mathbf{v}\, f(\mathbf{v},t)\log f(\mathbf{v},t)$ up to an affine transform, trained with a siamese-like loss that enforces nonincrease of $H$ over time (via $h(\mathbf{V}_t)-h(\mathbf{V}_{t+1})$) and a regularization term. The authors demonstrate that, after affine alignment, the learned function can resemble the true $H$-functional, with best stability and consistency for an intermediate hidden size and a leaky-ReLU loss variant that reduces late-time oscillations. This approach highlights how structured neural architectures and loss design can reveal irreversibility signals in microscopic chaotic data and points toward extensions to more complex collisional systems and active matter.
Abstract
H-theorem provides a microscopic foundation of the Second Law of Thermodynamics and is therefore essential to establishing statistical physics, but at the same time, H-theorem has been subject to controversy that in part persists till this day. To better understand H-theorem and its relation to the arrow of time, we study the equilibration of randomly oriented and positioned hard disks with periodic boundary conditions. Using a model based on the DeepSets architecture, which imposes permutation invariance of the particle labels, we train a model to capture the irreversibility of the H-functional.
