Trajectory Flow Matching with Applications to Clinical Time Series Modeling

Xi Zhang, Yuan Pu, Yuki Kawamura, Andrew Loza, Yoshua Bengio +2 more
10/28/2024
cs.LGcs.AIstat.ML

No official code found. Best implementation: nZhangx/TrajectoryFlowMatching (114 stars, MIT, last commit 2024-10-31).

Abstract

Modeling stochastic and irregularly sampled time series is a challenging problem found in a wide range of applications, especially in medicine. Neural stochastic differential equations (Neural SDEs) are an attractive modeling technique for this problem, which parameterize the drift and diffusion terms of an SDE with neural networks. However, current algorithms for training Neural SDEs require backpropagation through the SDE dynamics, greatly limiting their scalability and stability. To address this, we propose Trajectory Flow Matching (TFM), which trains a Neural SDE in a simulation-free manner, bypassing backpropagation through the dynamics. TFM leverages the flow matching technique from generative modeling to model time series. In this work we first establish necessary conditions for TFM to learn time series data. Next, we present a reparameterization trick which improves training stability. Finally, we adapt TFM to the clinical time series setting, demonstrating improved performance on three clinical time series datasets both in terms of absolute performance and uncertainty prediction.

View on arXivView PDF

Code Implementations(1)

MIT

Code repository for Trajectory Flow Matching

11410Python, Jupyter NotebookOct 21, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024trajectory,
  title  = {Trajectory Flow Matching with Applications to Clinical Time Series Modeling},
  author = {Xi Zhang and Yuan Pu and Yuki Kawamura and Andrew Loza and Yoshua Bengio and Dennis L. Shung and Alexander Tong},
  year   = {2024},
  eprint = {2410.21154},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.21154},
  url    = {http://arxiv.org/abs/2410.21154v2},
  journal = {NEURIPS 2024 2024}
}

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/2410.21154.svg)](https://codeofpaper.com/paper/2410.21154)

Discussion