Diff2Flow: Training Flow Matching Models via Diffusion Model Alignment

Johannes Schusterbauer, Ming Gui, Frank Fundel, Björn Ommer
6/2/2025
cs.CVcs.LG

Official code: CompVis/diff2flow (113 stars, MIT, last commit 2025-06-04). 1 more implementation below.

Abstract

Diffusion models have revolutionized generative tasks through high-fidelity outputs, yet flow matching (FM) offers faster inference and empirical performance gains. However, current foundation FM models are computationally prohibitive for finetuning, while diffusion models like Stable Diffusion benefit from efficient architectures and ecosystem support. This work addresses the critical challenge of efficiently transferring knowledge from pre-trained diffusion models to flow matching. We propose Diff2Flow, a novel framework that systematically bridges diffusion and FM paradigms by rescaling timesteps, aligning interpolants, and deriving FM-compatible velocity fields from diffusion predictions. This alignment enables direct and efficient FM finetuning of diffusion priors with no extra computation overhead. Our experiments demonstrate that Diff2Flow outperforms naïve FM and diffusion finetuning particularly under parameter-efficient constraints, while achieving superior or competitive performance across diverse downstream tasks compared to state-of-the-art methods. We will release our code at https://github.com/CompVis/diff2flow.

View on arXivView PDF

Code Implementations(2)

CompVis/diff2flowOfficial100%
MIT

[CVPR 2025] Diff2Flow: Training Flow Matching Models via Diffusion Model Alignment

1136PythonJun 3, 20251 years agoMIT

Custom Implemntation of Diff2Flow: Training Flow Matching Models via Diffusion Model Alignment (Johannes et. al 2025)

00PythonMar 11, 20267 months ago

Similar Papers

Cite this paper

@article{schusterbauer2025diffflow,
  title  = {Diff2Flow: Training Flow Matching Models via Diffusion Model Alignment},
  author = {Johannes Schusterbauer and Ming Gui and Frank Fundel and Björn Ommer},
  year   = {2025},
  eprint = {2506.02221},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.02221v1},
  journal = {CVPR 2025 2025}
}

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

Discussion