Generation Aware Reconstruction

A Latent Distribution Perspective on Evaluating and Improving Latent Generative Models

Xianghong Fang1,* · Wenjie Shu1,* · Tongda Xu2 · Wenlong Mou1 · Dehan Kong1 · Tim G. J. Rudner1,3

1University of Toronto   2Independent   3Vijil   *Equal contribution

Reconstruction quality need not track generative performance: the same decoder receives encoder latents during reconstruction and generator-produced latents during generation. Generation-aware reconstruction (GAR) probes decoder behavior along the transition between these distributions. Intermediate GAR latents retain source correspondence, providing paired, generation-aware supervision for decoder adaptation.

Two pathways.
Two latent distributions.

Standard reconstruction maps an image to an encoder latent ze ∼ Pe, then asks the decoder to recover the input. Generation starts from noise and produces a generative latent zg ∼ Pg. The same decoder receives inputs from different distributions.

rFID measures decoder behavior under Pe, while gFID depends on behavior under Pg. This latent distribution mismatch provides a perspective on why strong reconstruction can coexist with weak generation.

Overview of the reconstruction and generation mismatch, the generative trajectory, and the correlations of rFID and GAR-FID with gFID.
Figure 1. Generation-aware reconstruction exposes the reconstruction–generation latent transition. (a) Reconstruction decodes encoder latents ze ∼ Pe, while generation decodes generative latents zg ∼ Pg. (b) GAR constructs a trajectory of intermediate distributions Pgt from reconstruction toward generation. (c) In this setting, rFID is weakly correlated with gFID, with Spearman ρ = −0.34. (d) GAR-FID probes decoder behavior on intermediate latents and reaches ρ = 0.99 at ηt = 0.8.

Comparing reconstruction and generation alone leaves the transition between them unobserved. GAR reveals how decoder behavior changes as its inputs move from encoder latents toward generation-time distributions.

Reconstruction along
the generative trajectory

GAR constructs a controlled trajectory for diagnosing decoder behavior. It perturbs encoder latents, denoises them with the frozen generative model, and probes the decoder on the resulting intermediate latents.

The noise level ηt controls the position along the trajectory: ηt = 0 recovers standard reconstruction, and ηt = 1 recovers generation from pure noise. As ηt increases, correspondence with the source image gradually weakens.

GAR pipeline with encoder, noise injection, generative model, and decoder.
01 / Encode

Start from paired data

Map each image x to an encoder latent ze ∼ Pe.

02 / Perturb

Choose a noise level

Construct znoisyt = atze + btε.

03 / Denoise

Enter the trajectory

Apply the generative model to obtain zgt ∼ Pgt.

04 / Evaluate

Measure GAR-FID

Compute FID between decoded GAR outputs and the source image set. Vary the noise level to track decoder behavior along the trajectory.

A measurable path from Pe to Pg

Latent-FD measures the gap between latent distributions in a shared latent space. In the SD-VAE and iMF-B/2 experiment, increasing ηt moves Pgt away from Pe and closer to Pg.

The two distances trace opposite directions across the same GAR trajectory.

Latent-FD curves comparing intermediate GAR distributions with encoder and generative distributions.
Figure 4. Latent-FD from intermediate GAR distributions Pgt to the reconstruction endpoint Pe and generation endpoint Pg. The distances show the progressive shift toward the generation-time regime.

Tracking decoder behavior
toward generation

GAR-FID tracks decoder behavior along the latent trajectory. Across 13 VAEs and two SiT generator scales, its empirical correlation with gFID strengthens as the trajectory approaches Pg, while rFID remains negatively correlated.

Table 1

Correlation with generative performance

MetricsgFID SiT-BgFID SiT-XLgFID SiT-mixed
w/o CFGw/ CFGw/o CFGw/ CFGw/o CFGw/ CFG
PCC ↑SRCC ↑PCC ↑SRCC ↑PCC ↑SRCC ↑PCC ↑SRCC ↑PCC ↑SRCC ↑PCC ↑SRCC ↑
rFID★−0.11−0.36−0.11−0.30−0.13−0.34−0.15−0.39−0.10−0.30−0.10−0.28
iFID★0.860.830.800.790.900.880.880.900.720.770.640.70
GAR-FID, ηt = 0.60.810.790.770.780.790.840.800.790.860.890.840.85
GAR-FID, ηt = 0.70.930.900.890.870.910.900.910.860.950.960.930.91
GAR-FID, ηt = 0.80.980.960.960.940.980.990.970.960.990.990.970.95
GAR-FID, ηt = 0.91.000.990.980.981.001.000.980.961.001.000.980.97
GAR-FID, ηt = 1.01.000.990.980.991.001.000.980.961.001.000.980.97

PCC denotes Pearson correlation and SRCC denotes Spearman rank correlation. Higher is better. ★ marks our reproduced results. Bold values indicate the best results.

At ηt = 0.8, GAR-FID reaches SRCCs of 0.94–0.99 across the reported settings, including 0.99 for SiT-XL and the mixed setting without CFG. These results support GAR-FID as a trajectory-based diagnostic; direct gFID evaluation remains necessary when final sample quality is the target.

How does source structure change?

GAR outputs reveal the progressive loss of source structure as the trajectory moves from reconstruction toward generation.

GAR outputs at increasing noise levels showing progressive loss of source structure.
Figure 8. Progressive loss of source structure along the GAR trajectory. Each row shows an input followed by GAR outputs at ηt ∈ {0.0, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0}. Fine structure and local texture gradually degrade. At high noise levels (e.g., ηt ≥ 0.6 in these examples), outputs can remain semantically plausible while no longer preserving the source structure.

This progression exposes the trade-off between generation awareness and source correspondence. Intermediate noise levels provide generation-relevant latents while retaining meaningful paired supervision for decoder adaptation.

From diagnosis to
decoder adaptation

Intermediate GAR latents move toward generation-time distributions while retaining correspondence with their source images. Decoder adaptation uses this paired supervision to fine-tune only the decoder, with the encoder and generative model frozen and no additional inference cost.

We compare DA w/o CFG, trained for 10 epochs on GAR latents constructed without classifier-free guidance (CFG), with CFG-aware DA, trained for one epoch on GAR latents constructed with CFG. In both settings, only the decoder is updated.

Table 2

Effect of decoder adaptation on gFID

Protocol / adaptation settinggFID w/o CFG ↓gFID w/ CFG ↓
iMF-B/2iMF-M/2iMF-L/2iMF-XL/2iMF-B/2iMF-M/2iMF-L/2iMF-XL/2
Reported iMFWithout DA†————3.392.271.861.72
Official iMFWithout DA‡16.5811.929.289.783.372.271.861.73
Official iMFDA w/o CFG (10 epochs)‡12.21↓4.379.52↓2.407.34↓1.947.47↓2.312.90↓0.472.12↓0.151.65↓0.211.56↓0.17
Official iMFCFG-aware DA (1 epoch)‡————2.81↓0.561.98↓0.291.58↓0.281.50↓0.23
OpenAIWithout DA★16.4111.929.269.413.472.401.901.80
OpenAIDA w/o CFG (10 epochs)★12.41↓4.009.66↓2.267.41↓1.857.61↓1.803.12↓0.352.30↓0.101.80↓0.101.73↓0.07
OpenAICFG-aware DA (1 epoch)★————3.01↓0.462.19↓0.211.70↓0.201.61↓0.19

Lower gFID is better. † denotes results reported in iMF; ‡ denotes our reproduction with the official iMF protocol; ★ denotes our reproduction with the OpenAI protocol. ↓ shows the reduction from the corresponding protocol's reproduced baseline without DA. — denotes results not reported in the paper. Column groups indicate CFG at evaluation; row labels indicate CFG during adaptation.

One epoch of CFG-aware DA outperforms 10 epochs of DA w/o CFG on guided generation at every tested iMF scale under both protocols. For iMF-XL/2, guided gFID improves from 1.73 to 1.50 under the official iMF protocol and from 1.80 to 1.61 under the OpenAI protocol, with no additional inference cost.

The same one-epoch CFG-aware adaptation also improves MeanFlow-XL/2 from 3.43 to 2.96 and DMF-XL/2+ from 2.16 to 1.90 under the official iMF evaluation protocol.

Indigo bunting samples before and after decoder adaptation.
Class 14: indigo bunting Top: before. Bottom: after.
Ptarmigan samples before and after decoder adaptation.
Class 81: ptarmigan Top: before. Bottom: after.
Flamingo samples before and after decoder adaptation.
Class 130: flamingo Top: before. Bottom: after.
Sports car samples before and after decoder adaptation.
Class 817: sports car Top: before. Bottom: after.
  1. Reconstruction and generation use the same decoder under different latent distributions, Pe and Pg, helping explain their performance discrepancy.
  2. GAR constructs and probes intermediate distributions Pgt, making decoder behavior along the reconstruction–generation transition observable and diagnosable.
  3. GAR-FID provides a trajectory-based diagnostic with strong empirical correlation with gFID near the generation endpoint across the evaluated tokenizers and generator scales.
  4. Intermediate GAR latents retain source correspondence, enabling paired supervision for decoder adaptation. One epoch of CFG-aware adaptation improves guided gFID at every tested iMF scale without additional inference cost.

Build on our work

View code ↗
@article{fang2026latent,
  title   = {A Latent Distribution Perspective on Evaluating and Improving Latent Generative Models},
  author  = {Fang, Xianghong and Shu, Wenjie and Xu, Tongda and Mou, Wenlong and Kong, Dehan and Rudner, Tim G. J.},
  journal = {arXiv},
  year    = {2026}
}