You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an unofficial implementation and corresponding experiments on Flow Generator Matching (FGM) - an innovative approach designed to accelerate the sampling of flow-matching models into a one-step generation.
Flow Generator Matching
The goal is to train a one-step generator model $$g_\theta$$ that directly maps random noise $$z \sim p_z$$ to a sample $$x = g_\theta(z)$$.
Let $$p_{\theta,0}$$ denote the student model’s distribution over the generated samples $$x$$, and let $$p_{\theta,t}$$ denote the marginal probability path transitioned by $$q_t(x_t \mid x_0)$$. Formally:
A one-step flow generator matching aims to let the student distribution $$p_{\theta,0}$$ match the data distribution $$q_0$$. To achieve this, we match the marginal vector field $$v_{\theta,t}$$ with the pre-trained one $$u_t$$, such that $$p_{\theta,0}$$ and $$q_0$$ coincide: