Abstract
We develop a machine learning algorithm to infer the emergent stochastic equation governing the evolution of an order parameter of a many-body system. We train our neural network to independently learn the directed force acting on the order parameter as well as an effective diffusive noise. We illustrate our approach using the classical Ising model endowed with Glauber dynamics, and the contact process as test cases. For both models, which represent paradigmatic equilibrium and nonequilibrium scenarios, the directed force and noise can be efficiently inferred. The directed force term of the Ising model allows us to reconstruct an effective potential for the order parameter which develops the characteristic double-well shape below the critical temperature. Despite its genuine nonequilibrium nature, such an effective potential can also be obtained for the contact process and its shape signals a phase transition into an absorbing state. Also, in contrast to the equilibrium Ising model, the presence of an absorbing state renders the noise term dependent on the value of the order parameter itself.
Introduction: Bridging the Scale Gap
In physics, a significant "scale gap" often exists between microscopic simulations and macroscopic observations. While we can simulate the behavior of millions of individual particles using methods like Monte Carlo, researchers are typically interested in macroscopic "order parameters"—bulk properties such as magnetization or population density.
These bulk properties are expected to follow relatively simple stochastic differential equations (SDEs), like the Langevin equation. However, deriving these equations analytically from microscopic rules is often mathematically intractable. This research addresses the challenge of automatically inferring coarse-grained equations directly from the "noise" of microscopic trajectories.
Methods: A Dual-Network Approach
The proposed data-driven framework utilizes two separate artificial neural networks to represent the fundamental components of an SDE: the drift term ($\mu$) and the diffusion term ($\sigma$).
Unlike previous methods that rely on computationally expensive integration of dynamics, this approach trains networks on local averages:
- Drift Learning: The network analyzes specific values of an order parameter and averages the subsequent small "jumps" across numerous trajectories to determine the deterministic force.
- Diffusion Learning: A "quadratic variation" technique is employed. By examining squared differences of jumps over coarse-grained time windows, the algorithm filters out microscopic jitter to identify the underlying noise strength.
Key Insights and Results
The algorithm was tested on two benchmark models: the 2D Kinetic Ising Model (equilibrium magnetism) and the 1D Contact Process (non-equilibrium epidemic spreading).
Reconstructing Potentials and Phase Transitions
A primary achievement of this method is the reconstruction of "effective potentials" from the learned drift terms. In the Ising model, the algorithm successfully captured the transformation of the potential from a single bowl into a "double-well" shape as the temperature decreased, visually confirming the onset of spontaneous magnetization.
Key quantitative results include:
- Ising Model: The network identified a critical temperature ($T_c \approx 2.271$) and a critical exponent ($\beta \approx 0.156$), closely matching exact analytical values ($T_c \approx 2.269, \beta = 0.125$).
- Contact Process: The network successfully estimated the critical infection rate ($\kappa_c \approx 3.062$) and the exponent ($\beta \approx 0.28$), aligning with Monte Carlo benchmarks.
Signatures of Non-Equilibrium
In the contact process, the network correctly identified "multiplicative noise"—noise that vanishes as population density reaches zero. This is a hallmark of systems with an "absorbing state," where a population that goes extinct cannot spontaneously reappear.
Limitations and Future Outlook
While powerful, the framework faces challenges in regions rarely visited by the system (the "sampling problem"). For instance, learning dynamics at very low densities in the contact process is difficult because the system either remains active or quickly enters the absorbing state.
Future work will focus on incorporating history-dependent dynamics for systems that do not follow the Markovian assumption and applying the algorithm to real-world experimental data where underlying governing equations remain unknown.
Summary updated