Generative Modeling via Drifting

summary

The gist

Generative modeling can be formulated as learning a mapping f such that its pushforward distribution matches the data distribution.<ref:2602.04770#pg1>.

In short

Drifting Models propose a new generative modeling approach where the pushforward distribution evolves during training instead of at inference time. This is achieved by introducing a 'drifting field' that governs sample movement, aiming for equilibrium when generated distributions match the data distribution. Experiments show this one-step generator achieves state-of-the-art performance on ImageNet.

Key concepts

Pushforward Distribution
This describes how a generative model learns to map a simple prior distribution (like noise) into the complex data distribution. The goal is for the model's output distribution to perfectly match the real data's distribution, which is crucial for high-quality generation.
Drifting Field
A mathematical function that dictates how samples move during training. It is designed to attract generated samples towards the true data distribution while repelling them from other sample distributions. When the field reaches equilibrium (zero), it signifies that the generated and target distributions have matched.
Training Objective (Loss Function)
The loss function is constructed to minimize the 'drift' of samples. It uses a specific formulation involving a stop-gradient operation to ensure the training process evolves the distribution without directly back-propagating through complex terms, allowing the network optimizer to effectively change its learned distribution.

Terminology used across episodes

This episode discusses

The paper

Generative Modeling via Drifting · Read on arXiv

MIT-IBM Watson AI Lab

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, e.g., in diffusion/flow-based models. In this paper, we propose Drifting Models, a new generative modeling paradigm that evolves the pushforward distribution during training and naturally admits 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 one-step results on ImageNet 256x256, with FID 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.

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "Generative Modeling via Drifting".

Paper summary: Tom: So we're looking at a paper called "Generative Modeling via Drifting" from Deng Li et al., and what they're claiming is that you can evolve the pushforward distribution during training instead of just matching it at the end.

Jane: That sounds complicated for us, Tom. What does this mean in plain terms about how generative models work?

Tom: Basically, they say generative modeling is about learning a mapping function f that takes some starting distribution and turns it into the data distribution you want to generate. But instead of just training f until the resulting distribution matches the data, they introduce something new during training.

Lu: They propose a drifting field that governs how samples move during every training step, and this field is designed to naturally bring things back to equilibrium when your generated distribution finally matches the real data distribution.

Meng: Moving samples around during training sounds computationally expensive. What's the actual mechanism for this drift?

Tom: The idea is that every time the network updates, a sample gets nudged by a drift term, which is calculated based on where you are in the process and what distributions you have so far.

Jane: So if we think about it like cooking—if we're trying to get a perfect sauce, instead of just stirring until it looks right at the end, this model keeps adjusting the stirring motion itself as you stir.

Lu: Exactly. They define a drifting field that computes how much a sample x should move next, which they write mathematically as x plus V p q of x.

Meng: And when does this drift stop? Because that's what I need to know for production. Does it stop when the distributions match, or is there some other condition?

Tom: They say ideally, when the data distribution p matches the current sample distribution q, then this drifting field V becomes zero, and everything stops drifting.

Jane: So it's like setting a target point and having a force that pushes you toward it, but that force changes as you get closer because the target itself is changing.

Paper summary: Lu: That’s right. The loss function they use is built to minimize this drift term, which forces the network to evolve its model f in a way that respects this equilibrium condition > Page three <ref:2602.04770#pg3> <ref:2602.04770#pg3>.

Tom: It’s interesting how they frame it as setting up a fixed-point relation where the network tries to satisfy that zero drift condition by optimizing its parameters.

Meng: But what about the practical side? If we are training on millions of images, does this drifting field calculation slow us down too much? What's the computational cost here?

Jane: They mention they introduce a specific form for this drifting field, which is defined as V plus p minus V minus q. It’s intuitive because it sounds like the data distribution p is attracting the samples and the current sample distribution q is pushing them away > Page three <ref:2602.04770#pg3> <ref:2602.04770#pg3>.

Tom: So it’s basically an attraction toward reality and a repulsion from what you've generated so far, all in one training loop. That’s a clean way to structure that loss function they put up.

Lu: It leads to this kernel form for the field, which involves integrating some kernel function over both the data distribution p and the current sample distribution q > Page three <ref:2602.04770#pg3> <ref:2602.04770#pg3>.

Jane: It sounds like they are using probability density functions, specifically involving an expectation over two different distributions at once to define that movement. That’s a lot of math for someone who doesn't read papers.

Meng: So, what does this actually change for the user when they want to generate an image? Does it speed up the inference part?

Tom: It does, and that’s a big point from their perspective. They claim that because the distribution is evolving during training, you don't need those extra iterative steps like in diffusion models at inference time.

Jane: So instead of running a long sequence of steps to get an image, you just do it in one go? That’s the one-step inference they are aiming for > Page two <ref:2602.04770#pg2> <ref:2602.04770#pg1>.

Paper summary: Lu: They call this "one-NFE" generation, which means one neural network forward pass is enough to get the final sample distribution that matches the data distribution > Page two <ref:2602.04770#pg2> <ref:2602.04770#pg1>.

Tom: And on ImageNet two hundred fifty-six by two hundred fifty-six their results show they hit a FID of one point five four in latent space, and then pixel space it reaches a FID of one point six one > Page eight <ref:2602.04770#pg8>. That's state-of-the-art for single-step methods compared to other single steps methods > Page two <ref:2602.04770#pg2> <ref:2602.04770#pg1>.

Jane: So the numbers suggest that this method is significantly better than previous multi-step diffusion models, even in pixel space where things are harder to generate > Page eight <ref:2602.04770#pg8>.

Meng: I have to ask about the caveats here. They claim this works under mild anti-degeneracy assumptions, and they note that for a general drifting field, it implies the data distribution p must equal the sample distribution q > Page nineteen <ref:2602.04770#pg19>.

Lu: That's their main theoretical hurdle. If you don't have those specific conditions met, then the drift might not settle correctly to zero, which could lead to bad results > Page nineteen <ref:2602.04770#pg19>.

Tom: So they are saying this approach is very robust when those mathematical assumptions hold true for their specific field definition.

Jane: It sounds like a powerful new way to think about how these generative models learn, by making the learning process itself dynamic rather than static > Page one <ref:2602.04770#pg1> <ref:2602.04770#pg1>.

Meng: So, to wrap up what we've heard about "Generative Modeling via Drifting," it’s a method that uses an evolving drifting field during training to achieve one-step generation with solid performance metrics on ImageNet > Page two <ref:2602.04770#pg2> <ref:2602.04770#pg1>.

Lu: It really pushes the idea that you can use iterative optimization to drive the distribution evolution itself, which is a different angle than just optimizing the final output > Page three <ref:2602.04770#pg3> <ref:2602.04770#pg3>.

Tom: And it shows that controlling sample movement through this field is a way to guide the neural network toward a better solution during training, which is exciting for model design.

Jane: So we’ve got a glimpse into this paper and what it means for the future of high-quality, efficient generative modeling > Page one <ref:2602.04770#pg1> <ref:2602.04770#pg1>.

Conclusion: Tom: So we’re wrapping up on "Generative Modeling via Drifting," which is basically about this new way to train generative models where the distribution itself actually changes during training, not just at the end.

Jane: That sounds like they're changing the learning process rather than just optimizing the final result, which is a big shift. So what’s actually going on with these authors and what this means for how we build models?

Lu: The core idea is introducing a drifting field that guides how samples move during training, aiming to keep the generated distribution in line with the real data distribution throughout the entire training process.

Meng: But it has to be efficient; if this drift calculation slows down our model training, we won't deploy it at scale. What’s the real cost of this shifting thing?

Tom: The loss function is set up to minimize that drift, which means the network has to evolve its parameters in a way that keeps things stable and close to the target distribution. It’s about forcing an equilibrium during training.

Jane: So it's like giving the model a dynamic steering wheel instead of just setting a final destination and letting it drive straight there. That sounds really different from what we usually do with diffusion models, right?

Lu: Exactly. It removes the need for those long, slow iterative steps during inference because the distribution is already evolved by the time you’re done training. They call it one-step generation.

Meng: One step is great for speed, but I worry about quality when we're shipping stuff to production. Does this method maintain that high fidelity on complex images?

Tom: The experimental results on ImageNet show they hit state-of-the-art performance with a fifty four percent fidi in latent space and sixteen one percent fidi in pixel space for their single step generator. That’s solid data, not just a theoretical idea.

Jane: So the numbers suggest that this approach is highly effective at producing high quality outputs directly from the model without needing those extra refinement steps during generation.

Lu: The main caveat is that this relies on some mild mathematical assumptions, and if those assumptions aren't met, like when you have a general drifting field, then it implies the data distribution has to be exactly what the sample distribution is already at.

Meng: So it’s powerful but conditional. It works great under specific conditions we have to meet first before we can rely on it for production deployment.

Tom: True. It’s a promising new way to structure generative learning, moving away from static mapping toward a dynamic evolution of the distribution itself.

Jane: We've seen how they use this drifting field to drive the training, and now we have some concrete numbers showing it works well for image generation. Next time, we look at what happens when you try to apply this idea to something even more complex than just images.

More episodes

← Home