Gradient Flow Matching for Learning Update Dynamics in Neural Network Training

Xiao Shou, Yanna Ding, Jianxi Gao
5/26/2025
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Training deep neural networks remains computationally intensive due to the itera2 tive nature of gradient-based optimization. We propose Gradient Flow Matching (GFM), a continuous-time modeling framework that treats neural network training as a dynamical system governed by learned optimizer-aware vector fields. By leveraging conditional flow matching, GFM captures the underlying update rules of optimizers such as SGD, Adam, and RMSprop, enabling smooth extrapolation of weight trajectories toward convergence. Unlike black-box sequence models, GFM incorporates structural knowledge of gradient-based updates into the learning objective, facilitating accurate forecasting of final weights from partial training sequences. Empirically, GFM achieves forecasting accuracy that is competitive with Transformer-based models and significantly outperforms LSTM and other classical baselines. Furthermore, GFM generalizes across neural architectures and initializations, providing a unified framework for studying optimization dynamics and accelerating convergence prediction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shou2025gradient,
  title  = {Gradient Flow Matching for Learning Update Dynamics in Neural Network Training},
  author = {Xiao Shou and Yanna Ding and Jianxi Gao},
  year   = {2025},
  eprint = {2505.20221},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20221v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20221.svg)](https://codeofpaper.com/paper/2505.20221)

Discussion