Skip to content
OpenTrain AIFor AI Companies

Recursive Flow Matching

Jiahe Huang, Sihan Xu, Sharvaree Vadgama, Rose YuPublished May 26, 2026
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few hours
Fast first run
Risk flags
1
Review before use

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

Generative models have emerged as a powerful paradigm for solving physics systems and modeling complex spatiotemporal dynamics. However, achieving high physical accuracy without incurring high computational cost remains a fundamental challenge, as existing approaches face a critical speed-fidelity trade-off. In this work, we introduce Recursive Flow Matching (RecFM), a generative framework for forecasting complex spatiotemporal dynamics. RecFM enforces self-consistency to align trajectories across discretization scales, reducing discretization errors and improving performance across metrics for physics-based tasks. To our knowledge, this is the first method to achieve high-fidelity one- and few-step (2-4 step) dynamic generation for scientific systems with performance comparable to state-of-the-art multi-step solvers. Across challenging scientific benchmarks, RecFM achieves up to a 20$\times$ speedup over leading diffusion-based emulators while improving predictive accuracy. Furthermore, RecFM reduces mean squared error by over 15% compared to vanilla flow matching, offering a scalable and efficient solution for real-time scientific emulation.

Results and benchmarks

Freshness tier: hot
Generative models have emerged as a powerful paradigm for solving physics systems and modeling complex spatiotemporal dynamics.
Task Dataset Metric Value Source
Diffusion Helmholtz Staircase MSE 7 paper-derived

Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.

Implementation

Best maintained implementation now

Recommended
Confidence: Medium
Reproducibility: Moderate

Implementation of rectified flow and some of its followup research / improvements in Pytorch

480 stars · 34 forks · Last push Aug 2, 2026 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Matched via arXiv identifier search · Strong overlap with paper title keywords · Community adoption signal (480 stars)

Why this implementation
Confidence: medium

lucidrains/rectified-flow-pytorch is the best available implementation candidate based on ranking signals, but recommendation confidence is not yet high. License is declared (MIT). Dependency/environment manifests are present.

Open lucidrains/rectified-flow-pytorch
Reproduction risks
  • No CI workflows detected
  • Selected lucidrains/rectified-flow-pytorch as the strongest maintained implementation for new work.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

Maintenance
Active
Confidence
Medium
Reproducibility
Moderate
Stars
480
Last push
Aug 2, 2026 (22d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No CI pipeline detected
  • No Docker setup
Maintenance
Recently updated
Confidence
Low
Reproducibility
Moderate
Stars
0
Last push
Jun 24, 2026 (61d)

Matched via arXiv identifier search · Strong overlap with paper title keywords

  • No CI pipeline detected
  • No tagged releases
  • No Docker setup

Reproduction readiness

Time to first repro: hours
Last checked: Aug 24, 2026

Setup required

Dependencies pinned, manual setup needed

  • lucidrains/rectified-flow-pytorch has pyproject.toml but requires manual environment setup.
  • No Dockerfile, so you will set up the environment manually.
  • No CI pipeline, so test coverage is unknown.
Open lucidrains/rectified-flow-pytorch

Quick start

git clone https://github.com/lucidrains/rectified-flow-pytorch.git
pip install -e .

Repositories and ecosystem

No additional verified repositories beyond the primary recommendation.

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Datasets

No trustworthy datasets matches right now.

Search datasets on Hugging Face

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

Tasks

Diffusion

Methods

Diffusion

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.