Recursive Flow Matching
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
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.
Evidence graph: 4 refs, 4 links.
Utility signals: depth 90/100, grounding 95/100, status high.
Implementation
Best maintained implementation now
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)
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- 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
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.
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.
These repositories had low-confidence matching signals and are hidden by default.
- anhtuandev-04/rectified-flow-pytorch
Confidence: Low · 0 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Models
- jinaai/jina-embeddings-v5-text-small-text-matching
11,021 downloads · 11 likes
- jinaai/jina-embeddings-v5-text-nano-text-matching
3,019 downloads · 7 likes
- jinaai/jina-embeddings-v4-text-matching-GGUF
368 downloads · 9 likes
Broaden model search
Datasets
No trustworthy datasets matches right now.
Search datasets on Hugging FaceSpaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
Tasks
Diffusion
Methods
Diffusion
Domains
None detected
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.