Beyond Trajectory Matching: Reflow with Marginal Distribution Alignment
Chen Wang, Peiran Yun, Pan Xie, Ke Deng
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Diffusion & Image Generation › Diffusion Model Guidance and Control · Type: new method · Keywords: diffusion models, continuous-flow models, reflow distillation, marginal distribution alignment, few-step generation
Areas: Generative Models (Diffusion & Flows) › Pixel-Space Diffusion › Diffusion Model Distillation
Summary
The paper introduces a marginal-alignment regularizer that aligns student and teacher marginal distributions in reflow-based distillation, improving few-step generation quality.
Explained to a 5-year-old
A big robot knows how to draw a picture by following a long list of steps. A smaller robot wants to copy those steps but only has time to do a few of them. Because it does fewer steps, the picture it draws can be a bit different from the big robot's picture. To fix this, they added a simple rule that checks if the smaller robot's picture matches the big robot's picture at the end of each step. This rule helps the smaller robot learn to draw better pictures in fewer steps.
Explained to a 5-year-old, longer
A big robot knows how to draw a picture by following a long list of steps. A smaller robot wants to copy those steps but only has time to do a few of them. Because it does fewer steps, the picture it draws can be a bit different from the big robot's picture. The researchers noticed that even if the smaller robot follows the same steps as another small robot, the pictures can still be different. They found that the problem happens because the steps don't always make sure the final picture looks the same. To help, they added a simple check that compares the smaller robot's picture with the big robot's picture at the end of each step. This check tells the smaller robot how close it is to the right picture and encourages it to get better. The new check works for many different kinds of robot drawing tasks. It also works for both simple and more complex ways of doing the steps. By using this check, the smaller robot can draw pictures that look much more like the big robot's pictures. The researchers also proved that if the check is good at each step, the final picture will be close to the big robot's picture. This makes it possible to get high-quality pictures quickly, which is useful when you don't have a lot of time or computer power.
For a technical reader
The paper addresses the inefficiency of diffusion and continuous-flow generative models, which normally require many sampling steps to produce high-quality outputs. It shows that the common reflow-based distillation technique, which only matches the trajectory of the teacher model, can leave the student model’s output distribution ambiguous. To fix this, the authors add a marginal-alignment regularizer that forces the student’s distribution at the end of each interval to match the teacher’s distribution, using only the teacher’s scores and the student’s ODE. They also provide a theoretical bound proving that aligning the marginals locally guarantees a small overall difference between the student and teacher distributions.
Problem
Trajectory matching in reflow-based distillation can under-determine the distribution induced by the student model, leading to potentially different generation quality despite identical matching loss.
Method
The approach adds a marginal-alignment regularizer that penalizes the discrepancy between the student-induced marginal and the teacher marginal at each distillation interval, computed via log-density tracking and teacher scores, and applies uniformly to reflow variants. It also provides a telescoping total-variation bound linking local alignment to final distribution discrepancy.
Results
Experiments on benchmark backbones show that the approach improves few-step generation quality compared to baseline methods.
Contributions
The paper identifies a theoretical limitation of trajectory matching, proposes a marginal-alignment regularizer to address it, and proves a telescoping total-variation bound linking local alignment to final distribution discrepancy.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction