New particle method predicts dynamic reaction and diffusion processes accurately

Score-based neural ordinary differential equations for reaction-diffusions

Machine Learning

Summary

Simulating how chemicals or substances spread and react over time is important but challenging. This paper introduces a method where each particle carries information about its position and how much 'stuff' it carries, allowing simulations to track both movement and growth or decay. The authors use neural networks to learn and predict how these particles move and change, improving accuracy in complex reactions. They tested their method on several mathematical models to show it works well.

What this means in practice

  • For computational chemists: Simulate chemical reactions with changing concentrations more accurately using particles that represent both position and mass variations.
  • For environmental modelers: Model pollutant spread and reaction in air or water with improved handling of regions that gain or lose mass over time.

Tested on simulated data.

Authors

Jianguo Hou, Wuchen Li

Abstract

A diffusion equation can be rewritten as a transport equation driven by the score function of the evolving density. Conventional probability-flow formulations, which move particles deterministically with this score-driven velocity, typically conserve total mass. In this work, we develop a Lagrangian method for reaction-diffusion equations in which each particle carries a position and a physical weight. The characteristic ODEs incorporate source terms into the evolution of the log-density and its gradient, while particle weights track changes in mass. We combine this representation with a learned velocity field and weighted particle training to approximate these dynamics. For non-increasing reaction rates, a relative-entropy inequality supports the mass-normalized self-consistency residual as the training objective. This objective can control the error of the induced density when the growth rate is bounded. The algorithm divides the time interval into short windows. In each window, a frozen velocity generates the particle data for a regression of the network velocity. We draw the particles from period-adapted initial sampling distributions and weight them in the loss partly by their predicted future mass, because the reaction can make regions with little initial mass important later. We numerically investigate the method on the Ornstein--Uhlenbeck (OU) equation with a linear source term, Fisher--KPP equations, and Wasserstein--Fisher--Rao gradient flows.