Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato

Mingxiao Li, Xuantuo Huang, Encheng Su, Aoran Wang, Han Zhang, Jinouwen Zhang, Shixiang Tang

It’s late, you’re tired, and you just want your generative models to train faster without losing that "magic" touch of diversity. We’ve all been there. Standard diffusion models are gorgeous but agonizingly slow, requiring hundreds of steps to produce a single image. "One-step" generators are the dream—hit a button, get a pixel-perfect image instantly.

But training these one-step wonders from scratch is a computational nightmare. This paper, "Align the Pair, Not the Sample," offers a deceptively simple fix that slashes training time while actually making the images look better.

TL;DR

To speed up training, researchers often "align" a new model’s internal thoughts with a pre-trained "teacher" (like DINOv2). This paper discovers that for one-step generators, you should only do this when the model is looking at a specific, real image pair—not when it's dreaming up something new from random noise. By following this "Align the Pair" rule, they achieved state-of-the-art results on ImageNet with up to 4x less training compute.

What Problem Does This Paper Address?

One-step generators usually learn in two stages:

  1. Priming: Learning to reconstruct a "corrupted" real image (e.g., an image buried in 80% noise).
  2. Post-training: Learning to turn pure noise into a realistic image by matching the broad distribution of real world data.

In the world of standard diffusion, a technique called REPA (Representation Alignment) speeds things up by forcing the model's internal features to match a smart teacher model. But one-step generators face a dilemma: Where do you put the alignment loss?

If you align during the "dreaming" phase (generative path), the model has no specific target image to aim for. If you just tell it to "look like a dog," it gets lazy. It starts producing the most "average" dog possible, destroying the diversity (recall) of the model. The authors call this "prototype attraction"—the model collapses into a few boring, safe versions of a category.

Methods

The authors introduce RePrime. The core idea is a "placement principle": only apply representation alignment on the paired path.

Figure 2. Where to align a one-step generator. (a) On the paired path, the generator reconstructs a corrupted real image xs, and an intermediate feature hℓis aligned, through a light projector Pψ, with frozen DINOv2 features of the same clean image x0. (b) On the generative path, the same weights map noise to samples that are matched to real images by OT in frozen ConvNeXt/MAE feature spaces. A sample has no corresponding real image, so every alignment target we construct lacks instance correspondence and collapses coverage (Sec. 4.2). (c) RePrime aligns only during priming; RePrime-J trains both paths jointly.
  • The Teacher: They use DINOv2, a powerful vision model, as the "semantic teacher."
  • The Projector: A tiny, two-layer MLP (which is discarded after training) maps the generator's internal features to the teacher's features.
  • The Logic: During the "Priming" stage, when the model sees a noisy version of "Image X," it is forced to make its internal representations match the teacher's view of the clean "Image X."
  • RePrime-J: They also developed a "joint" version that trains both reconstruction and generation at the same time, creating a "native" one-step generator that doesn't need a second stage.

Datasets

The researchers used the gold standard for image generation: ImageNet 256×256. They tested their method across different model sizes, specifically "Base" (115M parameters) and "Large" (405M parameters).

Key Insights and Ideas

  • "Align the Pair, Not the Sample": This is the "aha" moment. Alignment only works when there is an "instance-paired" target. If the model is generating from noise, forcing it to align with a random image of the same class actually hurts it.
  • The Interface Block: Alignment creates a specific "interface" inside the generator. Even though the alignment loss is only used on real images, the model learns to route its "noise-to-image" logic through this same semantic interface.
  • Asymmetry is Key: The paper provides a mathematical proof (Proposition 1) showing that if a target carries no specific information about the input, the model will inevitably drift toward a "class prototype," killing variety.
  • Teacher Choice Matters: The teacher needs to be "outside" the spaces the model is already using for its main loss. DINOv2 worked best because it provided semantic information that the model's other losses (like Optimal Transport) were missing.

Key Results

The results are a rare "win-win-win": higher quality, better diversity, and much faster training.

  • Speed: RePrime matches the 160-epoch baseline with 2x fewer priming epochs and 4x fewer post-training updates.
  • Efficiency: RePrime-B beats the previous heavy-hitter (WF-XL/2) while using 24x less compute.
  • Quality: They achieved an FID of 1.155 on ImageNet (lower is better), which is the best reported for this class of one-step generators.
Figure 1. Left: one-step ImageNet 256×256 samples from RePrime-L (a single network evaluation, no guidance; FID 1.155). Right: training compute (teacher included) vs. FID (log axis stretched 3× below 200). RePrime improves Priming [26] at every budget and scale; RePrime-B beats WF-XL/2 with 24× less compute. Others from [26].

Limitations and Future Work

  • Scope: The study focuses on class-conditional ImageNet. The authors acknowledge that text-to-image generation (like Stable Diffusion) is the next big test for this principle.
  • Compute Overhead: While the teacher speeds up the number of iterations needed, running the teacher model during training does add some FLOPs per step (though the authors suggest this could be mitigated by caching features).
  • Single-Stage Trade-offs: Their joint training model (RePrime-J) is incredibly efficient but currently shows a slight trade-off between low-level pixel statistics and high-level semantics compared to the two-stage version.

In short, if you're building a one-step generator, don't just throw alignment at it. Be surgical. Align the pairs, let the samples be free, and watch your training curves drop.

Summary updated

Abstract

Representation alignment markedly accelerates diffusion training, but one-step generators raise a question that diffusion does not: \emph{which training path should receive the loss?} A one-step generator sees two kinds of inputs. Corrupted real images come with their clean counterpart, which provides an instance-paired target. Samples generated from pure noise have no corresponding real image, yet this is where the final model operates. We study this question on Priming, which trains one-step generators from scratch by reconstructing corrupted images and then matching feature distributions with optimal transport. Aligning the generative path, the natural choice, collapses recall ($0.45\!\to\!0.15$--$0.25$) in all 17 configurations we test, including five target constructions and loss weights down to $0.05$. Aligning the paired reconstruction path with a frozen DINOv2 encoder instead helps in every setting we test. A short analysis explains this asymmetry: when the target carries no instance information about the input, the optimal aligned feature is constant within each class, so the loss pulls samples toward class prototypes. A control confirms this: aligning the paired path to a random same-class image instead of the input's own image removes most of the gain. Inside the generator, paired-path alignment creates an interface block through which post-training routes noise, and the image semantics carried through it predict sample quality across 16 models. The resulting recipe, \method, accelerates \emph{both} training stages on ImageNet $256\!\times\!256$: it matches the 160-epoch baseline with $2\times$ fewer priming epochs, surpasses its final quality with $4\times$ fewer post-training updates, and lowers FID to 1.30 (B) and 1.155 (L) at the standard budget. A joint single-stage variant trains native one-step generators and reaches FID 1.22 with 115M parameters.
BibTeX
@misc{li2026align,
  author = {Mingxiao Li and Xuantuo Huang and Encheng Su and Aoran Wang and Han Zhang and Jinouwen Zhang and Shixiang Tang},
  title = {{Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato}},
  year = {2026},
  eprint = {2611.29547},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29547},
}
Figure