Reproduce “Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xingchao Liu, Chengyue Gong, Qiang Liu
The authors introduce rectified flow for generation and image transfer, training an ODE to follow straight interpolations between samples and reflowing endpoint pairs to make paths straighter. This can reduce inference network calls, though reflow may hurt at larger step counts. On CIFAR-10, a distilled one-step 2-rectified flow reports FID 4.85 and recall 0.50, not a guarantee across tasks.
Key insights
- Explicitly optimizing for straight transformation paths significantly reduces the number of integration steps required for inference, making continuous-time models more efficient.
- The "rectification" objective allows for effective distillation of the continuous flow into a computationally efficient single-step generative model.
- Iteratively refining the flow using simulated data through the "reflow" procedure consistently improves path straightness and model performance without requiring additional real data.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.