From Fourier to Neural ODEs: Flow Matching for Modeling Complex Systems
Xin Li, Jingdong Zhang, Qunxi Zhu, Chengli Zhao, Xue Zhang, Xiaojun Duan, Wei Lin
TL;DR
This work tackles learning dynamical systems from noisy, limited time-series data where governing equations are unknown, addressing the high computational cost and local-optima susceptibility of standard Neural ODEs. It introduces Fourier NODEs (FNODEs), a simulation-free framework that uses a $K$-term Fourier expansion to estimate temporal gradients and, for PDEs, spatial gradients, training a neural network to match the gradient flow via a loss function, without requiring ODE solves. A data-augmentation loop further boosts gradient estimates and robustness, and the approach extends to PDEs with a resolution-invariant property. Empirically, FNODEs outperform baselines across parametric ODEs, parametric PDEs, and a real-world polar-motion dataset, achieving orders-of-magnitude faster training and improved predictive accuracy, including long-horizon forecasts. The method offers a scalable, robust pathway for data-driven dynamical modeling and suggests future integration with Koopman theory and uncertainty quantification to handle more complex, high-dimensional systems.
Abstract
Modeling complex systems using standard neural ordinary differential equations (NODEs) often faces some essential challenges, including high computational costs and susceptibility to local optima. To address these challenges, we propose a simulation-free framework, called Fourier NODEs (FNODEs), that effectively trains NODEs by directly matching the target vector field based on Fourier analysis. Specifically, we employ the Fourier analysis to estimate temporal and potential high-order spatial gradients from noisy observational data. We then incorporate the estimated spatial gradients as additional inputs to a neural network. Furthermore, we utilize the estimated temporal gradient as the optimization objective for the output of the neural network. Later, the trained neural network generates more data points through an ODE solver without participating in the computational graph, facilitating more accurate estimations of gradients based on Fourier analysis. These two steps form a positive feedback loop, enabling accurate dynamics modeling in our framework. Consequently, our approach outperforms state-of-the-art methods in terms of training time, dynamics prediction, and robustness. Finally, we demonstrate the superior performance of our framework using a number of representative complex systems.
