Generative Modeling via Drifting

Mingyang Deng, He Li, Tianhong Li, Yilun Du, Kaiming He

TL;DR

Drifting Models introduce a new paradigm for generative AI that achieves state-of-the-art one-step image generation by moving the iterative refinement process from inference time to training time. By defining a "drifting field" that attracts generated samples toward real data and repels them from each other, the model learns to map noise to high-quality images in a single forward pass.

What Problem Does This Paper Address?

Current SOTA generative models, like Diffusion and Flow Matching, are "iterative at inference." To create an image, they must start with noise and slowly refine it over dozens or hundreds of steps. While this produces incredible results, it is computationally expensive and slow.

Researchers have tried to solve this using "distillation" (compressing a multi-step model into one step) or training one-step GANs, but these often suffer from training instability or lower image quality. The authors of this paper ask: Can we keep the benefits of iterative refinement but perform those iterations during the training process instead of the generation process?

Methods

The authors propose Drifting Models. The core idea is to treat the iterative nature of deep learning optimization (SGD) as the mechanism for evolving the distribution.

  1. The Pushforward Map: The model $f$ is a single-pass neural network (a Transformer) that maps noise $\epsilon$ to a sample $x$.
  2. The Drifting Field ($V$): During training, the authors introduce a "drifting field" that tells each generated sample which way to move to better match the real data distribution. This field is inspired by the "mean-shift" algorithm and consists of two forces:
  3. Attraction: Pulls samples toward clusters of real data.
  4. Repulsion: Pushes samples away from other generated samples to prevent "mode collapse" (where the model only generates one type of image).
  5. Equilibrium via Anti-Symmetry: The math is designed so that when the generated distribution perfectly matches the real data distribution, the forces cancel out ($V=0$). This creates a stable equilibrium.
  6. Feature Space Drifting: Instead of calculating these forces on raw pixels, the model calculates them in a high-dimensional "feature space" using a pre-trained encoder (like a Masked Autoencoder). This allows the model to understand semantic similarities rather than just matching pixel values.
  7. Fixed-Point Loss: The training objective uses a "stop-gradient" formulation. Essentially, the model tries to predict where the drifting field would have moved the sample in the next iteration, forcing the network to learn the "final destination" in one step.

Datasets

The primary benchmark used is ImageNet 256×256, evaluated in both latent space (using a VAE) and raw pixel space. To demonstrate versatility, the authors also tested the model on Robotics Control tasks (from the Diffusion Policy benchmark), including simulated tasks like "Lift," "Can," and "PushT."

Key Insights and Ideas

  • Training as Evolution: The most profound insight is that since we already update models iteratively during training, we can use those updates to "drift" the entire distribution toward the target. We don't need the model to be iterative at inference if the optimizer was iterative enough during training.
  • Anti-Symmetry is Non-Negotiable: The authors show that if the drifting field isn't perfectly anti-symmetric (equal and opposite attraction/repulsion), the model fails to reach equilibrium, leading to poor image quality.
  • CFG at Training Time: Unlike diffusion models where Classifier-Free Guidance (CFG) is a trick used during generation, Drifting Models bake the guidance directly into the training distribution. This means you get the "boost" of CFG without any extra computation at inference.
  • The "Flat" Kernel Problem: Without a strong feature encoder, the similarity kernels used to calculate the drift become "flat" (meaning every sample looks equally different from every other sample). Using a semantic feature space is the "secret sauce" that makes this work for complex images.

Key Results

Drifting Models set a new bar for "native" one-step generation:

  • ImageNet 256×256 (Latent): Achieved an FID of 1.54. For context, this outperforms previous one-step methods like SDXL-distilled models and is competitive with much slower multi-step diffusion models.
  • ImageNet 256×256 (Pixel): Achieved an FID of 1.61, significantly better than StyleGAN-XL (2.30) while using a fraction of the compute (87G FLOPs vs 1574G FLOPs).
  • Robotics: In robotics tasks, the one-step Drifting Policy matched or exceeded the performance of a 100-step Diffusion Policy. This is a massive win for real-time applications where low latency is critical.

Limitations and Future Work

  • Dependency on Encoders: The method currently relies heavily on a high-quality pre-trained feature encoder (like MAE). If a good encoder isn't available for a specific domain, the model struggles.
  • Theoretical Gap: While the authors prove that $p=q$ implies zero drift, the mathematical converse (that zero drift guarantees $p=q$) is only supported by heuristics and empirical evidence, not a formal proof for all possible kernels.
  • Kernel Design: The current choice of kernels and temperatures works well, but the authors suggest that more sophisticated "drifting field" designs could further improve stability and detail.

By reframing generative modeling as a training-time evolution problem, Drifting Models offer a promising path toward high-fidelity, real-time AI generation.

Summary updated

Abstract

Generative modeling can be formulated as learning a mapping f such that its pushforward distribution matches the data distribution. The pushforward behavior can be carried out iteratively at inference time, for example in diffusion and flow-based models. In this paper, we propose a new paradigm called Drifting Models, which evolve the pushforward distribution during training and naturally admit one-step inference. We introduce a drifting field that governs the sample movement and achieves equilibrium when the distributions match. This leads to a training objective that allows the neural network optimizer to evolve the distribution. In experiments, our one-step generator achieves state-of-the-art results on ImageNet at 256 x 256 resolution, with an FID of 1.54 in latent space and 1.61 in pixel space. We hope that our work opens up new opportunities for high-quality one-step generation.
BibTeX
@misc{deng2026generative,
  author = {Mingyang Deng and He Li and Tianhong Li and Yilun Du and Kaiming He},
  title = {{Generative Modeling via Drifting}},
  year = {2026},
  eprint = {2602.04770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.04770},
}
Figure