TL;DR
Drifting Models (DMs) enable ultra-fast, single-step image generation without expensive ODE solvers, but they suffer from training instabilities where samples repel each other too strongly. This paper introduces DMF (Drifting Model with Friction), which applies a simple scalar "friction" schedule to damp this repulsion during training. DMF achieves generation quality on par with state-of-the-art Optimal Flow Matching while training 29× faster and requiring zero extra parameters or inference cost.
What Problem Does This Paper Address?
Modern generative models like diffusion and flow matching produce incredible images but are computationally expensive because they require solving Ordinary Differential Equations (ODEs) over multiple steps during inference. For resource-constrained or real-time applications, single-step generation is the holy grail.
Drifting Models (DMs) were recently introduced to train single-step generators by evolving samples under a kernel-based drift field (attracting samples to target data while repelling them from each other within a batch), completely bypassing ODE integration. However, DMs have a hidden flaw: when generated samples get too close to each other, their mutual repulsion can overpower their attraction to the target data. This creates a "locally repulsive regime" where training gets trapped in a spurious force-balance state instead of cleanly converging to the target distribution.
Methods
To counteract this instability, the authors introduce DMF (Drifting Model with Friction). They treat the training instability like an underdamped physical oscillator that needs a dissipation term to settle down.
Instead of using the raw drift field $V$, DMF scales it by a time-dependent friction coefficient: $$V_\gamma = (1 - \gamma(i))V$$ where $\gamma(i)$ is a monotone schedule that goes from 0 at the start of training to 1 at the end.
By analyzing a simplified two-particle mathematical surrogate, the authors prove that this friction schedule effectively halts the pathological divergence before the samples relax into the bad force-balance fixed point.
The beauty of this method lies in its simplicity: it is a dead-simple, drop-in modification (literally one line of code multiplying the drift vector by a scalar) requiring no architectural changes, no extra parameters, and no additional forward passes.
Datasets
The authors evaluated their method on two primary setups:
- 2D Toy Task: A synthetic problem mapping a single 2D Gaussian distribution to a bimodal Gaussian mixture to analyze moment-matching and mode balance.
- FFHQ (Flickr-Faces-HQ): Used for latent-space domain translation (specifically, modifying facial attributes like Adult $\rightarrow$ Child and Male $\rightarrow$ Female). The models operate within the $W$ latent space of a pre-trained Adversarial Latent Autoencoder (ALAE) at $1024 \times 1024$ resolution.
Key Insights and Ideas
- The Spurious Fixed Point: Mathematical analysis reveals that without friction, the system has a non-trivial stable fixed point at a specific radius ($a^* = \tau \ln 2$) where attraction and repulsion perfectly cancel out. Samples get trapped here instead of reaching the true target.
- Friction as a Halting Mechanism: The friction schedule $\gamma(i) \rightarrow 1$ dynamically shrinks the step size to zero, freezing the trajectory before it can settle into this pathological attractor.
- Simplicity Wins: The authors ablated eight different friction schedules (quadratic, sine, constant, etc.). They found that a simple linear schedule ($\gamma(i) = i/(T-1)$) performs remarkably well and sits within the top tier, proving the method's robustness.
Key Results
- Massive Speedup vs. OFM: DMF achieves image quality comparable to Optimal Flow Matching (OFM) but trains ~29× faster (6.8 minutes vs 197.5 minutes on an NVIDIA RTX A6000).
- Better Quality than Baseline DM: On the FFHQ Adult $\rightarrow$ Child task, DMF significantly outperforms the baseline frictionless DM, lowering the Fréchet Inception Distance (FID) from 11.195 to 10.413 and CLIP-MMD (CMMD) from 0.01547 to 0.00746.
- Single-Step Inference: Unlike Flow Matching methods (RF, OT-CFM, OFM) which require numerical ODE integration at inference time, DMF generates images in a single forward pass, maintaining the exact same inference speed as vanilla DM.
Limitations and Future Work
While DMF provides an elegant fix, the authors note a few limitations:
- The theoretical analysis relies on a simplified two-particle surrogate, which ignores complex multi-particle interactions and neural network approximation errors in the full dynamics.
- The current implementation uses a purely time-dependent schedule; the authors suggest that future work could explore state-dependent or error-adaptive schedules ($\gamma(i, x)$).
- Testing was primarily focused on the Laplace kernel; while the toy task showed robustness to a Gaussian kernel, scaling Gaussian-kernel DMF to full FFHQ remains an open area for study.
Summary updated