WeightFlow: Learning Stochastic Dynamics via Evolving Weight of Neural Network
Ruikun Li, Jiazhen Liu, Huandong Wang, Qingmin Liao, Yong Li
TL;DR
This paper addresses modeling stochastic dynamics from discrete observations by reframing the problem in the weight space of a neural network. It introduces WeightFlow, which evolves a weight graph through a graph neural differential equation, linking weight dynamics to the evolution of probability densities via dynamic optimal transport. The approach uses anchor weights from snapshots, a latent control path, and a two-stage training process to optimize data fit and path energy, achieving substantial improvements on both simulated and real-world high-dimensional systems. By decoupling distribution modeling from temporal evolution and leveraging a low-dimensional latent path, WeightFlow offers a scalable method that mitigates the curse of dimensionality while accurately capturing higher-order distributional structure.
Abstract
Modeling stochastic dynamics from discrete observations is a key interdisciplinary challenge. Existing methods often fail to estimate the continuous evolution of probability densities from trajectories or face the curse of dimensionality. To address these limitations, we presents a novel paradigm: modeling dynamics directly in the weight space of a neural network by projecting the evolving probability distribution. We first theoretically establish the connection between dynamic optimal transport in measure space and an equivalent energy functional in weight space. Subsequently, we design WeightFlow, which constructs the neural network weights into a graph and learns its evolution via a graph controlled differential equation. Experiments on interdisciplinary datasets demonstrate that WeightFlow improves performance by an average of 43.02\% over state-of-the-art methods, providing an effective and scalable solution for modeling high-dimensional stochastic dynamics.
