Hugging Face Papers ↗ · 2026-11-22
Align the Pair, Not the Sample: Representation Alignment for Faster and Better One-Step Generato
媒体报道 Hugging Face Papers 原文语言:中文
该论文提出 RePrime 方法,通过在一阶段对配对路径进行特征对齐,加速并提升一阶段生成器的训练效果,在 ImageNet 上实现更低 FID 与更少计算。
全文
Align the Pair, Not the Sample:
Representation Alignment for Faster and Better One-Step Generators
Mingxiao Li Xuantuo Huang Encheng Su Aoran Wang Han Zhang Jinouwen Zhang Shixiang Tang Affiliation: Shanghai Artificial Intelligence Laboratory Peking University University of Science and Technology of China University of Oxfordhttps://mingxiao-li.github.io/RePrime/
Abstract
Representation alignment markedly accelerates diffusion training, but one-step generators raise a question that diffusion does not: 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.150.45\!\to\!0.15–0.250.25) in all 17 configurations we test, including five target constructions and loss weights down to 0.050.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, RePrime, accelerates both training stages on ImageNet ×256256\!\times\!256: it matches the 160-epoch baseline with 2×2\times fewer priming epochs, surpasses its final quality with 4×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.
Figure 1: Left: one-step ImageNet ×256256\!\times\!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×3\times below 200). RePrime improves Priming [26] at every budget and scale; RePrime-B beats WF-XL/2 with 24×24\times less compute. Others from [26].
1 Introduction
Diffusion models now drive high-fidelity image and video synthesis [27, 17, 14, 15], but every sample costs tens to hundreds of network evaluations, which makes generation slow and lets errors compound along the sampling trajectory [23, 16]. One-step generators remove this cost by mapping noise to an image in a single forward pass. They can be distilled from a diffusion teacher [37, 36, 30] or trained from scratch with flow-map [6, 8, 9, 21] and distributional objectives [4, 10, 31]. Priming [26] made the from-scratch route remarkably efficient: a pixel-space transformer is first primed by reconstructing heavily corrupted images, xs=(1−s)x0+sϵx_{s}=(1-s)x_{0}+s\epsilon with s=0.8s=0.8, and then post-trained on pure noise by matching its samples to real images with entropic optimal transport (OT) in frozen feature spaces, reaching FID 1.19 on ImageNet with a tenth of the compute of prior one-step generators. Training nevertheless remains costly, with 160 priming epochs and OT updates that each cost about five priming updates. Diffusion training faced the same problem and found a powerful remedy: denoising objectives learn semantics slowly, and REPA [38] accelerates them by an order of magnitude by aligning intermediate features with a frozen self-supervised encoder [38, 29, 33, 13]. This raises a natural question: can representation alignment make one-step generators faster to train and better?
Answering it is harder than transplanting REPA. In diffusion training, every input is a corrupted real image, so the alignment target, the encoder’s view of the clean image, is always defined. A one-step generator instead learns from two kinds of inputs (Fig. 2). On the paired path, it reconstructs a corrupted real image whose clean counterpart is known; on the generative path, it maps pure noise to samples that have no corresponding real image. Neither path is an obvious home for the loss. The generative path is where the final model operates, and one-step objectives already compare samples with real images there in frozen feature spaces [26, 4, 31, 34, 1]. Yet a sample has no partner, so its target must be constructed, e.g., from a random same-class image, from the image that the OT plan matches to it, or from the sample itself, and such a target may say nothing about this sample, pulling a class together and eroding the diversity that distribution matching works to preserve. The paired path has a well-defined target but exists only in training; as with the training–inference gap behind exposure bias [23, 16], semantics learned on corrupted images need not reach the noise inputs from which the model generates. Moreover, since the OT stage already matches samples in frozen feature spaces, a teacher may merely duplicate what post-training sees, and since a frozen teacher makes every update more expensive, any gain must survive a comparison at matched total compute.
To address the challenges above, we first ask which path can support alignment at all through an alignability analysis (Sec. 3.3). When the target carries no instance information about the input, the optimal aligned feature is constant within each class, so the loss can only pull all samples of a class toward one prototype; when the input reveals its target, as xsx_{s} still reveals x0x_{0}, the optimum must encode instance-specific semantics. Guided by this analysis, RePrime (Representation-aligned Priming) applies paired-path alignment during priming only: a light projector maps the patch tokens of an intermediate block to the frozen encoder’s features of the same clean image and is discarded afterwards, so inference is unchanged. As encoder we use a cross-space semantic teacher, DINOv2, which lies outside the ConvNeXt and MAE spaces of the OT stage and thus supplies semantics that post-training cannot obtain on its own. An interface analysis then tests whether these semantics reach the generative path by locating the block where features of noise and of corrupted inputs meet and measuring how much image semantics noise routes through it (Sec. 4.3). Finally, RePrime-J interleaves OT updates on noise with aligned reconstruction, yielding a native one-step generator without a separate post-training stage while still aligning the paired path only.
The experiments reveal a sharp asymmetry. On the generative path, alignment fails in all 17 configurations we test, spanning five target constructions, two feature spaces, two loss forms, and loss weights down to 0.05: recall falls from 0.45 to 0.15–0.25 at maintained or higher precision, the prototype attraction that the analysis predicts. On the paired path, the same kind of loss helps in all 20 comparisons; a random same-class target removes most of the gain, and the semantics routed through the interface predict sample quality across 16 models. On ImageNet ×256256\!\times\!256, RePrime accelerates both stages, matching the 160-epoch baseline with 2×2\times fewer priming epochs and surpassing its final quality with 4×4\times fewer OT updates. It is better at all seven priming budgets and at matched compute (Fig. 1, right), and lowers FID from 1.37 to 1.30 (B) and from 1.17 to 1.155 (L), with 9–13% lower FDr5\mathrm{FD}_{r}^{5}; RePrime-J reaches FID 1.22 with 115M parameters.
The loss itself is REPA’s; our contribution is where it must act, why, and evidence from controls and from inside the generator. We establish a placement principle, align the pair, not the sample, that holds in two-stage and single-stage training; we turn it into RePrime, a drop-in change to priming that reaches the best one-step FID (1.155) among the methods compared in [26]; and we show that a semantic teacher outside the OT feature spaces is essential, that ease of alignment is anti-correlated with benefit, that mid-depth targets work best, and that, unlike in diffusion, stopping alignment early does not help.
2 Related Work
One-step generation.
Distillation methods compress a pretrained diffusion model into one or few steps [30, 37, 36]. Training from scratch has been revisited through flow maps and average velocities [6, 41, 8, 9, 21], and through distributional objectives that match generated and real samples directly [19, 7, 4, 10, 31, 34]. Priming [26] shows that a cheap reconstruction stage at a fixed noise level makes the subsequent distributional stage, entropic OT [2, 5] in frozen ConvNeXt and MAE feature spaces, far more efficient. Like recent pixel- and frequency-space diffusion models [18, 22], it needs no learned tokenizer. We ask where in this recipe an auxiliary feature loss should act.
Representation alignment for generation.
REPA [38] aligns intermediate diffusion-transformer features of a noisy input with a frozen encoder’s features of the clean image. Follow-ups study which properties of the target matter, finding spatial structure important [29], when to stop aligning [33], end-to-end training with the tokenizer [13], how to shape the latent space itself for diffusability [35, 40, 24], and encoder-free regularizers [32]. In all of these, the aligned input is a corrupted real image with an observed clean counterpart. A one-step generator also trains on noise-only inputs without such a counterpart. This raises a question that does not arise in diffusion: which training path should be aligned?
Representation objectives in distribution matching.
SF2 [1] adds a predictive representation loss to DMD for few-step video distillation, using views from a shared generation trajectory and an EMA teacher. EASD [28] assigns score and adversarial objectives to different noise regimes. We answer it for from-scratch one-step training with feature-space OT: instance-anchored alignment on the reconstruction path consistently helps, whereas unanchored targets on the generative path consistently trade coverage for typicality. Semantic Transport [31] shows that the matching space matters for OT-based one-step generation; we find a complementary effect for the alignment space, which should differ from the matching spaces.

Figure 2: Where to align a one-step generator. (a) On the paired path, the generator reconstructs a corrupted real image xsx_{s}, and an intermediate feature hℓh^{\ell} is aligned, through a light projector PψP_{\psi}, with frozen DINOv2 features of the same clean image x0x_{0}. (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.
3 Method
3.1 Preliminaries: priming
Let Gθ(⋅,c)G_{\theta}(\cdot,c) be a class-conditional pixel-space transformer that maps a ×256256\!\times\!256 input to an image of the same size in one forward pass [26]. Priming trains GθG_{\theta} in two stages.
Stage 1 (priming) reconstructs corrupted real images at a fixed noise level,
xs=(1−s)x0+sϵ,ϵ∼𝒩(0,I),s=0.8,x_{s}=(1-s)\,x_{0}+s\,\epsilon,\quad\epsilon\sim\mathcal{N}(0,I),\quad s=0.8, (1)
by minimizing ℒrec(Gθ(xs,c),x0)\mathcal{L}_{\mathrm{rec}}(G_{\theta}(x_{s},c),x_{0}), an adaptively normalized pixel error plus LPIPS [39] and ConvNeXt [20] perceptual terms.
Stage 2 (post-training) feeds pure noise z∼𝒩(0,I)z\sim\mathcal{N}(0,I) and matches, class by class, the distribution of samples X=Gθ(z,c)X=G_{\theta}(z,c) to real images YY in frozen feature spaces ϕj\phi_{j} (ConvNeXt and ResNet-MAE):
ℒOT=∑jwj[Dj(ϕj(X),ϕj(Y))−Dj(ϕj(X),sg[ϕj(X′)])],\mathcal{L}_{\mathrm{OT}}=\sum_{j}w_{j}\Big[D_{j}\big(\phi_{j}(X),\phi_{j}(Y)\big)-D_{j}\big(\phi_{j}(X),\operatorname{sg}[\phi_{j}(X^{\prime})]\big)\Big], (2)
where DjD_{j} is an entropic OT cost computed with Sinkhorn iterations [2, 5], X′X^{\prime} is a second, stop-gradient batch of samples, and wjw_{j} are the calibration weights of [26]. At inference, one evaluation Gθ(z,c)G_{\theta}(z,c) generates an image.
3.2 Two paths, one alignment loss
Representation alignment [38] adds a loss on the patch features hℓ∈ℝN×Dh^{\ell}\in\mathbb{R}^{N\times D} after block ℓ\ell:
ℒalign=1N∑p=1N(1−cos(Pψ(hpℓ),Tp)),\mathcal{L}_{\mathrm{align}}=\frac{1}{N}\sum_{p=1}^{N}\Big(1-\cos\big(P_{\psi}(h^{\ell}_{p}),\,T_{p}\big)\Big), (3)
where PψP_{\psi} is a small trainable projector and T∈ℝN×D′T\in\mathbb{R}^{N\times D^{\prime}} is a target map from a frozen encoder EE. During priming the input is xsx_{s}, and the natural target is the encoder’s view of the same image, T=E(x0)T=E(x_{0}); we call this the paired path. During post-training the input is zz, and no real image corresponds to the sample, so TT must be constructed. We consider every construction we found plausible: the features of (i) a random real image of the same class, (ii) a token pool of several same-class images, (iii) the real image to which the OT plan of Eq. 2 assigns the most mass, (iv) the generated sample itself, and (v) an EMA teacher’s sample for the same noise. We call this the generative path.
3.3 Why the path matters: alignability
Consider one target token. Let XX denote the generator input and cc its class, let u(X)u(X) be the unit-normalized prediction, and let TT be the unit-normalized target. The alignment risk is ℛ(u)=𝔼[1−u(X)⊤T]\mathcal{R}(u)=\mathbb{E}[1-u(X)^{\top}T].
Proposition 1 (Alignability).
Let μ(X)=𝔼[T∣X]\mu(X)=\mathbb{E}[T\mid X] and mc=𝔼[T∣c]m_{c}=\mathbb{E}[T\mid c]. Then
(i)
ℛ(u)≥1−𝔼‖μ(X)‖\mathcal{R}(u)\geq 1-\mathbb{E}\|\mu(X)\|, with equality iff u(X)=μ(X)/‖μ(X)‖u(X)=\mu(X)/\|\mu(X)\| wherever μ(X)≠0\mu(X)\neq 0;
(ii)
if TT is independent of XX given cc, the optimal prediction is constant within each class, u⋆(X)=mc/‖mc‖u^{\star}(X)=m_{c}/\|m_{c}\|;
(iii)
in general, 𝔼‖μ(X)‖≥𝔼c‖mc‖\mathbb{E}\|\mu(X)\|\geq\mathbb{E}_{c}\|m_{c}\|. The gap 𝒜=𝔼‖μ(X)‖−𝔼c‖mc‖\mathcal{A}=\mathbb{E}\|\mu(X)\|-\mathbb{E}_{c}\|m_{c}\| is zero iff the optimal prediction is constant within each class.
Proof sketch.
ℛ(u)=1−𝔼[u(X)⊤μ(X)]≥1−𝔼‖μ(X)‖\mathcal{R}(u)=1-\mathbb{E}[u(X)^{\top}\mu(X)]\geq 1-\mathbb{E}\|\mu(X)\| by Cauchy–Schwarz, since ‖u‖=1\|u\|=1. Under conditional independence, μ(X)=mc\mu(X)=m_{c}. Part (iii) follows from Jensen’s inequality, 𝔼[‖μ(X)‖∣c]≥‖mc‖\mathbb{E}[\|\mu(X)\|\mid c]\geq\|m_{c}\|, with equality iff the μ(X)\mu(X) within a class are positively collinear. A full proof is in the supplement. ∎
Implications. The proposition is elementary; its value is a falsifiable prediction (tested in Sec. 4.2). The excess 𝒜\mathcal{A} measures how much instance information about the target the input carries. On the paired path, xs=0.2x0+0.8ϵx_{s}=0.2\,x_{0}+0.8\,\epsilon still reveals x0x_{0}: after 160 epochs of priming, the generator’s reconstruction of xsx_{s} is closer in DINOv2 space to its own clean image than to its class prototype (cosine 0.81 vs. 0.73; supplement). Hence 𝒜>0\mathcal{A}>0, and alignment rewards features that encode the semantics of this image. On the generative path with random or pooled targets, (ii) applies exactly: the optimum is a class-constant direction, and the gradient pulls the features of every noise input of class cc toward the same prototype. OT-matched targets depend on the sample only through a plan computed in ConvNeXt/MAE space; in DINOv2 space the matched image is barely closer to the sample than a random same-class one (cosine 0.221 vs. 0.213; supplement). Self- and EMA-targets move with the generator and fall outside the proposition, yet show the same symptom: higher precision, collapsed recall (Sec. 4.2).
3.4 RePrime: align the pair, not the sample
RePrime applies Eq. 3 on the paired path only:
ℒStage 1=ℒrec(Gθ(xs,c),x0)+λℒalign(hℓ(xs,c),E(x0)),\mathcal{L}_{\text{Stage 1}}=\mathcal{L}_{\mathrm{rec}}\big(G_{\theta}(x_{s},c),x_{0}\big)+\lambda\,\mathcal{L}_{\mathrm{align}}\big(h^{\ell}(x_{s},c),\,E(x_{0})\big), (4)
and leaves Stage 2 (Eq. 2) unchanged. EE is DINOv2-L/14 [25], applied to x0x_{0} resized to 2242224^{2}. Its ×1616\!\times\!16 patch tokens align one-to-one with the generator’s patch grid (class tokens excluded). PψP_{\psi} is a two-layer GELU MLP (width 1024) trained with AdamW (learning rate 10−410^{-4}) and discarded after priming, so inference is unchanged. We use λ=0.5\lambda=0.5, keep alignment on throughout priming, and align block ℓ=5\ell=5 of 16 for B (block 8 is better; Sec. 4.6) and block 10 of 32 for L.
RePrime-J: joint priming. The two-stage recipe learns semantics on one path and only later teaches the other path to use them. If, as we show in Sec. 4.3, post-training mainly routes noise through features formed during priming, the two paths can also be trained at once, so that noise learns to use these features while they form. RePrime-J interleaves both objectives; at outer update tt,
ℒt=ℒStage 1+αt 1[tmodk=0]ℒOT,\mathcal{L}_{t}=\mathcal{L}_{\text{Stage 1}}+\alpha_{t}\,\mathbb{1}[t\bmod k=0]\,\mathcal{L}_{\mathrm{OT}}, (5)
with k=2k=2 and αt\alpha_{t} ramped linearly from 0 to 1 over the first 25k updates. The two losses use separate forward passes and one optimizer step. Although the generative path is now trained throughout, alignment still acts only on the paired path: Proposition 1 applies regardless of the schedule, and the generative path receives the teacher’s semantics only through the shared weights. The resulting native model needs no post-training but can be refined with Stage 2.
Cost. The teacher adds one DINOv2-L forward pass per training image (162 GFLOPs), i.e., +43%+43\% FLOPs per B priming update and +19%+19\% for L; the projector is negligible. Because Stage 2 dominates the compute at low budgets, this amounts to +4+4–29%29\% of total training compute at B scale and +14%+14\% at L scale (Tab. 1). An OT update costs about 4.9×4.9\times a priming update, so RePrime-J with k=2k=2 costs about 3.9×3.9\times a Priming update. We report all costs in EFLOPs, following [26].
4 Experiments
4.1 Setup
We follow Priming [26] on class-conditional ImageNet ×256256\!\times\!256 [3] with its pixel-space B (115M parameters) and L (405M) generators and its recipe: 160 priming epochs (200,160 updates) followed by 25k post-training updates of Eq. 2 (hyper-parameters in the supplement). RePrime differs from the baselines only by the loss in Eq. 4. Baselines post-train the released Priming-B/L initializations, which reproduce the reported FIDs; budget sweeps retrain the official recipe.
Metrics. We generate 50k samples with one network evaluation and no guidance. We report FID [11] and FDr5\mathrm{FD}_{r}^{5} under the official protocol of [26]. FDr5\mathrm{FD}_{r}^{5} averages normalized Fréchet distances in Inception, DINOv2, ViT-MAE, SigLIP, and CLIP spaces [34]; FDr6\mathrm{FD}_{r}^{6} adds ConvNeXt and comes with precision and recall [12] from the training-time evaluator. Main results average three sampling seeds; FDr6\mathrm{FD}_{r}^{6}, precision, and recall use EMA weights.
4.2 Where to align: paired vs. generative path
Protocol. Starting from the released Priming-B initialization, we post-train for 2.5k updates with Eq. 2 plus an alignment loss on block 8, switched on after 250 updates. We test the five targets of Sec. 3.2 in DINOv2 and OT ConvNeXt space with a max-over-tokens cosine (10 configurations), and a tokenwise cosine with random and OT-matched targets, λ∈{1,0.25,0.1,0.05}\lambda\in\{1,0.25,0.1,0.05\}, and windows ending after 750 updates (7 configurations). If generative-path alignment were merely poorly tuned, some of these configurations should help; if Proposition 1 is right, all of them should pull samples toward class prototypes, raising precision and lowering recall. As a paired-path counterpart under the same protocol, we post-train a RePrime-B initialization with plain Eq. 2.
Figure 3: Placement decides the sign of alignment. (a) Change in FDr6\mathrm{FD}_{r}^{6} and recall vs. the matching no-alignment baseline: 20 paired-path comparisons and 17 generative-path configurations. (b) Precision–recall under the same 2.5k-update protocol.

Figure 4: Prototype attraction (class 207, the same 8 noise vectors in every row, 2.5k post-training updates). Rows 1–4: Priming-B initialization with no alignment and with generative-path alignment to OT-matched, random same-class, and EMA-teacher targets. Row 5: RePrime initialization. OT-matched and random rows are nearly identical, with close-up, centered dogs on simpler backgrounds (e.g., columns 2, 5, 8). More classes in the supplement.
Generative-path alignment trades coverage for typicality. All 17 configurations lower recall from 0.452 to 0.149–0.252 and worsen FDr6\mathrm{FD}_{r}^{6} (14.71→\to14.92–19.62), while precision stays at or above the baseline in 16 of them (Fig. 3b). Rising precision with falling recall means that samples concentrate on typical modes of the class rather than becoming individually worse: the prototype attraction predicted by Proposition 1. The failure is not a matter of dose: at λ=0.05\lambda{=}0.05 recall still falls to 0.252. It is not transient: switching alignment off after 750 updates and continuing pure OT for 1750 updates leaves recall at 0.242, and 2.5k further pure-OT updates after λ=0.05\lambda{=}0.05 alignment raise it only from 0.252 to 0.290, so OT undoes only a small part of the damage. And it is not a poorly chosen target space: in the OT ConvNeXt space the projector matches its targets almost perfectly (cosine 0.998), yet recall falls to 0.18–0.20, so a well-fit target does not help if it says nothing about the sample. Fig. 4 shows the effect; OT-matched targets act like random ones because, seen by DINOv2, the plan picks partners almost at random within the class (Sec. 3.3).
Paired-path alignment improves fidelity and coverage. Under the same protocol, a RePrime initialization lowers FDr6\mathrm{FD}_{r}^{6} from 14.71 to 12.89 and raises recall from 0.452 to 0.469 at unchanged precision. Across all 20 paired-path comparisons in this paper (budgets, scales, depths, teachers, post-training lengths, joint training), FDr6\mathrm{FD}_{r}^{6} improves by 1–18% and recall never drops by more than 0.005 (Fig. 3a). The same loss thus collapses coverage on one path and improves it on the other; placement, not the loss, decides the outcome.
Instance correspondence drives the gain. The comparison above changes both path and target, so we test Proposition 1 on the paired path alone, priming for 10 epochs with targets that break correspondence (a random same-class image, or the own image with permuted tokens) and post-training for 5k updates. If alignment helped as a generic regularizer or by injecting class-level semantics, random targets should recover most of the gain. They do not: FDr6\mathrm{FD}_{r}^{6} is 22.10 without alignment, 21.62 and 21.47 in two random-target runs, 19.94 with permuted tokens, and 18.10 with the own image, i.e., random targets recover only 12–16% of the gain and permuted tokens 54%. Recall follows the same order (0.486 to 0.514). The ranking tracks the instance information in the target: a random image carries none, permuted tokens keep the image’s content but lose its layout, and the own image keeps both. Alignment thus helps only when the target describes the specific input.
4.3 Why paired-path alignment helps
Figure 5: Mechanism (2.5k OT updates, online weights). (a) Noise-vs-data feature gap by depth for 40-epoch RePrime aligned at different blocks (dots: aligned block). (b) Semantic routing at the interface vs. FDr6\mathrm{FD}_{r}^{6} for 16 models.
Alignment acts only on corrupted real images, yet the gain appears when generating from noise. Since post-training moves the primed weights by only 2–4% (supplement), what it exploits must exist after priming. We thus ask where noise and real inputs meet inside the generator and what passes through that point, feeding 1,024 images of 16 classes as data inputs xsx_{s} or as noise zz with the same labels and comparing mean-pooled block features.
Alignment creates an interface. The noise-vs-data gap is the Fréchet distance between the two feature sets over the trace of the data covariance. After 2.5k OT updates, the gap is smallest exactly at the aligned block for all four alignment depths (Fig. 5a) and 2.6×\times smaller than the minimum without alignment (0.70 vs. 1.81). Because the minimum moves with the aligned block, the interface is created by alignment rather than being a fixed property of the architecture. It already exists before post-training (gap 4.5 vs. 28.4 at block 5 after 160 epochs), so post-training finds it rather than builds it.
What matters is the semantics routed through it. A small gap alone does not explain quality: generative-path alignment closes it too (0.47–0.61), largely by squeezing the noise features of a class together (within-class spread 0.13 vs. 0.41), and across 16 models the gap is uncorrelated with FDr6\mathrm{FD}_{r}^{6} (Spearman ρ=0.00\rho{=}0.00). We therefore measure semantic routing: a ridge probe fit on data-mode features at the interface to predict DINOv2 features of the clean image is applied to noise-mode features and scored against DINOv2 features of the generated image. A high R2R^{2} means that noise uses the interface like real inputs do. Routing tracks FDr6\mathrm{FD}_{r}^{6} across all 16 models (ρ=−0.90\rho{=}{-0.90}; Fig. 5b). The correspondence control separates the two quantities: random targets also form an interface at block 5 (gap 1.57), but its features predict held-out CLIP embeddings no better than without alignment (R2R^{2} 0.361 vs. 0.360; own image 0.413), and noise routes no semantics through it (−0.03-0.03 vs. 0.17). This completes the explanation of the placement principle: instance-paired targets write image-specific semantics into the interface and post-training routes noise through it, whereas unpaired targets create an interface with nothing useful to route.
4.4 Main results
Method Ep. EFLOPs FID↓\downarrow FDr5\mathrm{FD}_{r}^{5} ↓\downarrow Prec.↑\uparrow Rec.↑\uparrow
Reported in [26] (1 NFE)
pMF-H [21] – 1968.5 2.15 8.14 – –
iMF-XL/2 [9] – 3201.1 1.74 9.75 – –
Drifting-L [4] 1280 1476.4 1.61 12.59 .815 .602
WF-XL/2 [10] – 3744.4 1.33 11.07 .762 .674
Priming-B [26] 160 124.2 1.38 11.23 .783 .624
Priming-L [26] 160 239.0 1.19 7.10 .781 .649
B, 115M parameters (our runs, identical pipeline)
Priming-B 160 124.2 1.373 11.27 .784 .620
Priming-B 200 143.4 1.353 10.91 .784 .625
RePrime-B 120 129.8 1.349 10.76 .784 .627
RePrime-B 160 157.3 1.303 10.20 .781 .639
RePrime-B 200 184.8 1.283 9.66 .784 .631
RePrime-B, block 8 160 157.3 1.268 9.82 .781 .641
RePrime-B, block 8 200 184.8 1.266 9.66 .782 .635
RePrime-J-B∗ 160 346.8 1.224 10.60 .779 .640
L, 405M parameters (our runs, identical pipeline)
Priming-L 160 239.0 1.174 7.41 .779 .648
RePrime-L 160 272.1 1.155 6.43 .781 .644
Table 1: ImageNet ×256256\!\times\!256, one network evaluation, no guidance. EFLOPs count both stages and, for RePrime, the frozen teacher. “Ep.”: priming epochs; all models are post-trained for 25k updates. FID/FDr5\mathrm{FD}_{r}^{5} average three sampling seeds (one for the 120-epoch row; std. ≤0.022{\leq}0.022 FID, ≤0.035{\leq}0.035 FDr5\mathrm{FD}_{r}^{5}). RePrime-B aligns block 5 unless noted. ∗Joint training (Sec. 4.7), 200k joint updates followed by 25k refinement updates.
Tab. 1 compares RePrime with Priming under an identical pipeline. At B scale and 160 epochs, RePrime lowers FID from 1.373 to 1.303 and FDr5\mathrm{FD}_{r}^{5} by 9.4% (11.27→\to10.20) and raises recall from 0.620 to 0.639 at the same precision; as on the paired path in Sec. 4.2, alignment improves samples without concentrating them. RePrime-L reaches FID 1.155, the best one-step FID among the methods reported in [26], below Priming-L (1.19) and WF-XL/2 (1.33), which uses 14×14\times more compute; even RePrime-B surpasses WF-XL/2 with 24×24\times less compute (Fig. 1). The FID gain at L (0.019) is within seed variation, but the semantic metrics show that the benefit does not shrink with scale: FDr5\mathrm{FD}_{r}^{5} drops by 13.3% (7.41→\to6.43), and the relative FDr6\mathrm{FD}_{r}^{6} gain grows from −9.5%-9.5\% at B to −12.7%-12.7\% at L.
The gains exceed run-to-run variation. A second 160-epoch priming run per recipe agrees with the first to within 0.21 FDr6\mathrm{FD}_{r}^{6} and 0.006 FID, whereas the recipes differ by 0.9–1.2 FDr6\mathrm{FD}_{r}^{6} and 0.07 FID (supplement), four to six times the training noise.
The gains are not a teacher artifact. DINOv2, our teacher, is one of the five FDr5\mathrm{FD}_{r}^{5} spaces, so the gain might only reflect agreement with the teacher. Without the DINOv2 term, FDr5\mathrm{FD}_{r}^{5} still drops by 8.6% at B (12.46→\to11.38) and 12.7% at L (8.19→\to7.14); every non-teacher space improves at L, and all but CLIP at B. RePrime thus improves samples as judged by encoders it never saw, and from identical noise it yields more coherent shapes and layouts, especially at low budgets (Fig. 6).

Figure 6: Same noise, different initialization. Uncurated samples from Priming (top) and RePrime (bottom) after 40, 80, and 160 epochs of priming followed by 25k post-training updates (B), and at L scale (right). Each column uses the same class and noise.
4.5 Faster training
Figure 7: RePrime accelerates both stages. (a,b) FID and FDr5\mathrm{FD}_{r}^{5} after 25k post-training updates vs. priming epochs. (c) FDr5\mathrm{FD}_{r}^{5} vs. total training compute, teacher included. (d) Post-training curves from the 160-epoch initializations.
Fewer priming epochs. Fig. 7(a,b) varies the priming budget from 10 to 200 epochs, each followed by 25k post-training updates. RePrime is better at all seven budgets in FID, FDr5\mathrm{FD}_{r}^{5}, FDr6\mathrm{FD}_{r}^{6}, and recall. With 80 epochs it matches the 160-epoch baseline (FDr5\mathrm{FD}_{r}^{5} 11.24 vs. 11.27; FDr6\mathrm{FD}_{r}^{6} 9.43 vs. 9.51), halving priming, and with 120 epochs it surpasses the 200-epoch baseline in all metrics. The relative gain is largest at small budgets (−16%-16\% FDr5\mathrm{FD}_{r}^{5} at 10 epochs), where the baseline has learned the least semantics, but it persists at 200 epochs. Alignment thus does not merely reach the same model sooner; it also improves the model that longer priming reaches.
The speed-up survives a compute-matched comparison. The teacher makes each B priming update 43% more expensive, so faster progress per update need not mean faster training. It does here (Fig. 7c): RePrime-B with 80 epochs uses 2.5% less total compute than Priming-B with 120 epochs (102.3 vs. 105.0 EFLOPs) and is better in FID (1.404 vs. 1.415), FDr5\mathrm{FD}_{r}^{5} (11.24 vs. 11.82), and FDr6\mathrm{FD}_{r}^{6} (9.43 vs. 9.97).
Fewer post-training updates. If post-training builds on the interface formed during priming (Sec. 4.3), a better initialization should also shorten the expensive OT stage, and it does (Fig. 7d). From the 160-epoch initializations, RePrime reaches the baseline’s final FDr6\mathrm{FD}_{r}^{6} (9.51) after 3.75k updates and surpasses it after 6.25k, 4×4\times fewer. At 40 epochs, RePrime after 2.5k updates equals the baseline after 22.5k (online FDr6\mathrm{FD}_{r}^{6} 13.71), a 9×9\times reduction. As an OT update costs ∼4.9{\sim}4.9 priming updates, this is the largest practical saving. The advantage is not a head start that longer post-training erases: at 50k updates the gap widens from 0.90 to 1.11 FDr6\mathrm{FD}_{r}^{6} (8.04 vs. 9.14), so post-training keeps exploiting, rather than replacing, what priming has learned.
4.6 What to align with, where, and when
Setting Align cos. FDr6\mathrm{FD}_{r}^{6} ↓\downarrow Recall↑\uparrow
40-epoch priming, 2.5k post-training updates (EMA)
no alignment – 17.71 .416
teacher DINOv2-L (cross-space) 0.55 14.79 .427
ResNet-MAE (OT space) 0.80 16.65 .428
ConvNeXt (OT space) 0.97 17.49 .412
window first 25% of priming – 15.89 .422
first 50% of priming – 15.52 .426
full priming – 14.79 .427
depth block 2 / 16 – 15.78 .413
block 5 / 16 – 14.79 .427
block 8 / 16 – 14.54 .457
block 11 / 16 – 14.93 .449
160/200-epoch priming, 25k post-training updates (EMA)
teacher no alignment – 9.51 .620
DINOv2-L – 8.61 .639
ResNet-MAE – 9.65 .622
ConvNeXt – 9.95 .619
depth block 5, 160 / 200 ep. – 8.61 / 8.19 .639 / .631
block 8, 160 / 200 ep. – 8.28 / 8.15 .641 / .635
Table 2: Ablations of RePrime-B. “Align cos.”: training alignment cosine at the end of priming.
Teacher: it must add what the OT stage lacks. Tab. 2 compares DINOv2 with the two feature spaces that the OT loss already uses. At 40 epochs, DINOv2 improves FDr6\mathrm{FD}_{r}^{6} by 16.5%, ResNet-MAE by 6.0%, and ConvNeXt by only 1.3%; at full budget, MAE and ConvNeXt alignment even slightly hurt (9.65 and 9.95 vs. 9.51), whereas DINOv2 helps (8.61). The per-space breakdown (supplement) explains why. ConvNeXt alignment improves the ConvNeXt distance by 17% but worsens CLIP by 8%, i.e., it reinforces what post-training already optimizes. DINOv2 alignment instead improves CLIP and SigLIP, which neither training stage nor the teacher uses, by 18–20%. Ease of alignment is inversely related to benefit (final cosine 0.97, 0.80, and 0.55): a target that the projector matches almost perfectly exerts little pressure on the generator’s features. A useful teacher must be semantic and lie outside the OT spaces; then alignment complements post-training instead of duplicating it.
Window: do not stop early. In diffusion, stopping REPA early helps [33]. In priming, the benefit instead grows monotonically with the window (FDr6\mathrm{FD}_{r}^{6} 15.89, 15.52, and 14.79 for 25%, 50%, and full). Plausibly, priming trains at a single high noise level, where the semantic target stays informative throughout.
Depth: mid-network. Quality follows an inverted U over depth, with block 8 of 16 best at 40 epochs in both FDr6\mathrm{FD}_{r}^{6} and recall. Plausibly, early blocks are too shallow for semantics and late blocks serve pixel decoding. The ranking carries over to full budgets, where block 8 reaches 8.28 at 160 and 8.15 at 200 epochs, the best FDr6\mathrm{FD}_{r}^{6} with 25k post-training updates; our block-5 default thus understates the attainable gain.
4.7 Joint single-stage training
native +25k OT updates
Recipe EFLOPs FID FDr5\mathrm{FD}_{r}^{5} FID FDr5\mathrm{FD}_{r}^{5} FDr6\mathrm{FD}_{r}^{6}
Priming-B (two-stage) 124.2 – – 1.373 11.27 9.51
RePrime-B (two-stage) 157.3 – – 1.303 10.20 8.61
Joint-B 313.6 2.06 11.00 1.265 11.52 9.72
RePrime-J-B 346.8 2.47 9.75 1.224 10.60 8.90
Table 3: Single-stage training (B, 160 epochs, i.e., 200k joint updates). “Native”: no post-training (EMA, one seed). EFLOPs include refinement and teacher.
Why train both paths at once. In the two-stage recipe, priming writes semantics into an interface and post-training teaches noise to use it (Sec. 4.3). Since post-training moves the weights by only 2–4%, the generative path mostly needs to find the interface, and nothing requires it to wait until priming ends: noise could learn to use the interface while it forms, yielding a native one-step generator. Joint training (Eq. 5) tests this and whether the placement principle depends on the schedule. Since OT now shapes the generative path from the start, it might supply the semantics itself and make alignment redundant; Proposition 1 instead predicts that paired-path alignment still helps.
Alignment remains essential when both paths train together. In a ×22\!\times\!2 factorial at 40 epochs, each followed by a short 1.25k-update OT probe, alignment improves the sequential recipe from 18.11 to 14.61 FDr6\mathrm{FD}_{r}^{6} and the joint recipe from 15.11 to 12.44 (supplement). Joint training alone also helps (18.11→\to15.11), and combining both is best. The effects are not redundant: the alignment gain shrinks only from 3.50 to 2.67, so early OT does not supply the teacher’s semantics. The paired path, through alignment, determines what the interface encodes; the generative path determines how noise reaches it.
Native one-step generation. At full budget (Tab. 3), the native RePrime-J reaches FDr5\mathrm{FD}_{r}^{5} 9.75 after 200k joint updates and 9.33 after 240k, better than every two-stage B model (best 9.66) without any post-training. Native RePrime-J is ahead of native joint training in FDr5\mathrm{FD}_{r}^{5} at every checkpoint from 50k to 240k updates (13.96 vs. 16.71 at 50k), and it passes the two-stage Priming-B (11.27) after about 110k updates, whereas joint training without alignment needs about 190k. Native FID shows the opposite sign (2.47 vs. 2.06 at 200k), but the gap closes steadily, from 1.16 at 50k to 0.17 at 240k. We read this as slower convergence of low-level statistics, to which Inception is sensitive, while the semantics measured by FDr5\mathrm{FD}_{r}^{5} improve throughout.
Refinement and cost. Refining with 25k OT updates gives the best B-scale FID (1.224 vs. 1.265 without alignment) and lowers FDr6\mathrm{FD}_{r}^{6} by 8.5% (9.72→\to8.90), the same direction and similar size as in the two-stage recipe (9.51→\to8.61). Refinement raises FDr5\mathrm{FD}_{r}^{5} over the native model (9.75→\to10.60), so OT in ConvNeXt/MAE space trades some held-out semantics for fidelity. At 2.8×2.8\times the cost of Priming-B and 2.2×2.2\times that of RePrime-B, RePrime-J is not the cheaper recipe; under a fixed budget, two-stage RePrime is the better choice. Its role is to show that align the pair, not the sample holds even when the generative path is always active: the teacher’s semantics reach noise through the shared weights, not through a target on the samples.
5 Discussion and Conclusion
Limitations. Our study covers class-conditional ImageNet at 2562256^{2}, the Priming architecture, and OT post-training; text-to-image generation and other objectives remain to be tested. Most configurations are trained once, but re-runs (Sec. 4.4) and a consistent sign across seven budgets suggest robust conclusions. Our generative-path targets all lack instance correspondence; objectives that create their own, e.g., trajectory-consistency views as in SF2 [1], remain open. Finally, the teacher adds compute; cached features would reduce it.
Conclusion. Representation alignment helps a one-step generator on only one of its two paths. On the paired path, it writes image semantics into an interface through which post-training routes noise, halving the priming epochs and quartering the OT updates; on the generative path, every variant we tried trades coverage for typicality. We hope that align the pair, not the sample will guide how representation learning and distribution matching are combined.
LLM Usage Statement
LLM assistants were used to cross-check numbers, write plotting code, and edit the text. The authors designed and ran all experiments, verified all numbers, and take full responsibility for the content.
References
[1] J. Chen, H. Zhang, Z. Fu, T. Wang, and C. Guo (2026) Beyond Distribution Matching: Self-Supervised Representation Forcing for Few-Step Video Generation. arXiv preprint arXiv:2610.35594. External Links: 2610.35594v1, Link Cited by: §1, §2, §5.
[2] M. Cuturi (2013) Sinkhorn Distances: Lightspeed Co
原文配图





正文以来源语言显示。