Smooth Flow Matching

Jianbin Tan, Anru R. ZhangarXiv 2025 · DOI

Abstract

Smooth Flow Matching (SFM) is a generative framework for functional data—curves observed at irregular intervals, such as patient health trajectories. By integrating copula theory with a simplified flow-matching approach, SFM generates high-fidelity, non-Gaussian data with guaranteed smoothness. Compared to existing deep learning methods, SFM offers significantly faster training times and superior performance in capturing complex data distributions.

Introduction

In fields like medicine and epidemiology, researchers often work with functional data: random functions or curves observed over time (e.g., a patient’s heart rate over a week). Analyzing this data is notoriously difficult due to sparsity, irregularity, and non-Gaussianity. Real-world data rarely follows a perfect bell curve, often exhibiting "heavy tails" or skewness that traditional models like Gaussian Processes fail to capture. Furthermore, privacy concerns necessitate high-fidelity synthetic "surrogate" data.

Existing deep generative models, such as score-based diffusion, often struggle with sparse data and require massive computational power. Crucially, they do not guarantee that generated curves will be smooth, often resulting in "jittery" or unrealistic outputs.

Methods

The authors introduce Smooth Flow Matching (SFM), a semiparametric framework that decomposes the generative process. Instead of modeling the entire complex joint distribution at once, SFM utilizes a copula-based framework to separate marginal distributions from the temporal dependence structure.

The SFM framework utilizes a 3D vector field (mapping time, value, and flow-time) to transform simple noise into realistic functional trajectories.

Key technical innovations include:

  • 3D Vector Fields: Unlike high-dimensional neural operators, SFM uses a simple three-dimensional vector field. This makes the model lighter and easier to train.
  • Built-in Smoothness: The model employs B-splines and roughness penalties (tuned via Restricted Maximum Likelihood) to estimate the flow, ensuring generated functions are mathematically smooth by design.
  • Invertibility: As a continuous normalizing flow, the model can transform raw data into noise for learning and noise back into realistic curves for generation.

Results and Comparison

The researchers evaluated SFM using synthetic benchmarks and real-world ICU patient trajectories from the MIMIC-IV database. SFM consistently outperformed deep learning baselines in terms of Wasserstein distance, particularly in non-Gaussian settings.

A comparison of SFM against existing methodologies highlights its advantages in computational cost, interpretability, and guaranteed smoothness.

Key performance metrics include:

  • Efficiency: Training SFM on MIMIC-IV data took 25 to 200 seconds, whereas deep learning alternatives required 45 to 70 minutes.
  • Utility: Models trained on SFM-generated synthetic data performed nearly as well as those trained on real data in "one-step-ahead" prediction tasks.
  • Robustness: By allowing for a Student-t copula base, SFM models extreme events (outliers) more effectively than Gaussian-based methods.

Conclusion

Smooth Flow Matching demonstrates that effective functional data generation does not require massive "black box" neural networks. By framing the problem as a 3D vector field estimation with spline-based constraints, SFM achieves superior results with significantly lower complexity. Future research will focus on extending the framework to multivariate functional data and establishing formal mathematical convergence rates.

Summary updated

BibTeX
@misc{tan2025smooth,
  author = {Jianbin Tan and Anru R. Zhang},
  title = {{Smooth Flow Matching}},
  year = {2025},
  eprint = {2508.13831},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13831},
}
Figure