Skip to content

The Latents Already Know More Than Your Decoder Uses

#diffusion-models #latent-diffusion #token-dropping #vae #generative-model-theory

The Latents Already Know More Than Your Decoder Uses ​

A trained diffusion model that jointly predicts DINO-style semantic features alongside its VAE latents does something strange at the finish line. It throws the semantics away and decodes from the latents alone.

The semantic head was there for the entire training run. It shaped the representation. Then at sampling time, nobody looks at it. That waste is the subject of the first paper in this cluster, and it turns out you can recover part of it without touching the generator at all.

Condition the decoder on both the VAE latent and the semantics, keep the pretrained generator and latent space frozen, and generation gFID on ImageNet drops by up to 16% relative to a strong latents-only transformer baseline. On ImageNet 256, where published gFID numbers cluster between 1.4 and 2.0, a 16% relative gain moves a method from the middle of the comparison table to the top of it.

The part I keep coming back to is the ablation. The semantics don't have to be generated. Extract them from a reconstruction, feed them into the semantic-aware decoder, and generation still improves. That means the information was sitting in the latents the whole time. The stock decoder lacks the conditioning path to use it.

Five papers landed in the same window, and they rhyme. One retrains the decoder. One retrains the VAE. One cuts the training compute of the transformer. Two are theory papers explaining when post-hoc correction and temperature tricks actually do what you think. The thread running through all of them: the generator is rarely the thing holding you back.

Semantic-aware decoding, end to end ​

The setup matters. Models like REPA, REG, ReDi, CoReDi and REGLUE train a diffusion transformer to produce semantic features from a frozen vision foundation model as an auxiliary target, in parallel with the VAE latents. That auxiliary target improves the latent space. But inference pipelines still sample latents, then hand them to the original VAE decoder.

Semantic-aware decoding adds a third input to the decode step:

Three flavors of the method, in increasing order of practicality:

  • Joint generation. The generator emits semantics alongside latents. The decoder conditions on both. This is the native case and the strongest one.
  • Reconstruction feedback. Skip the semantic head entirely. Decode the latent with the stock decoder, run the result through the vision encoder to recover semantics, then feed those semantics back into the semantic-aware decoder. No generator changes, one extra decode-encode round trip at inference.
  • Semantic projector. Train a small network that predicts the semantics directly from the latents. One cheap forward pass instead of a round trip, and it works on models that never generated semantics in the first place.

That last option is the one with real deployment value. Vanilla SiT or a plain DiT produces only VAE latents. There's no semantic branch to recover. Train a projector against the latents your model actually produces, and the same decoder improvement applies. The reported experiments span SiT, REPA, REG, ReDi, CoReDi and REGLUE across model scales, in both conditional and unconditional settings, so this isn't a single-checkpoint fluke.

Quick take: a decoder that sees semantics recovers 16% relative gFID from latents that were already sampled, which makes post-hoc decoding the cheapest quality win in this entire cluster.

The staircase: token dropping in stages ​

Training a diffusion transformer is expensive because every block processes every image token. Token dropping attacks that by letting only part of the tokens pass through the middle of the network. Existing methods do it in one shot: drop at depth A, restore at depth B, and everything in between runs at reduced width.

StairDrop borrows the U-Net's contract-then-expand shape. Tokens drop one level at a time as depth increases, a small set survives the sparse core, and tokens come back one level at a time on the way out. Participation as a function of depth traces a staircase.

Controlled studies on SiT-B/2 show the intermediate level helps, which is not obvious. More aggressive sparsity saves more compute and clearly hurts fidelity, but dropping straight from full width to the sparse core loses quality you don't get back by restoring later. From those sweeps the authors derive guidelines for dividing depth across stages and apply them to SiT-XL/2.

The headline: on ImageNet 256×256, StairDrop matches the FID of 1.96 reported for the one-level SPRINT method with classifier-free guidance, using half the training compute. With interval guidance it reaches FID 1.47, lower than every token-dropping method in the comparison.

Half the training compute is the number that matters here. SiT-XL/2 runs are billed in thousands of GPU-hours. Halving that is the difference between a two-week experiment you can only afford once and a one-week loop you can actually iterate on. And since token dropping happens only during training, the inference graph is unchanged. No new kernels, no new latency profile, no callback to your serving stack.

Five papers, one thread ​

PaperWhat it actually changesHeadline resultCost at inference
Semantic-aware decodingTrains a decoder that conditions on latents plus semanticsUp to 16% relative gFID reduction across SiT, REPA, REG, ReDi, CoReDi, REGLUEOne small projector forward pass, or one decode-encode round trip
GuaVAETunes the VAE encoder end-to-end against DiT featuresgFID 3.73 without CFG, 1.43 with CFG on ImageNet 256None. Same architecture, better latent space
StairDropStaged token dropping across transformer depthFID 1.96 at half of SPRINT's compute, 1.47 with interval guidanceNone. Training-only change
Tempering geometryTheory of how power tempering propagates through noisingExact for Gaussians, leading-order low-noise correction otherwisePrevents a class of silent sampler bugs
Self-training reversalTheory of when negative extrapolation helpsReversal sign depends on entropy direction, not sharpening aloneDecides whether a post-hoc fine-tune is worth running

Read that table top to bottom and the pattern is hard to miss. Two rows cost nothing at serving time. One costs a small network. The two theory rows don't make images at all, they tell you when the other three are safe to trust.

GuaVAE: letting the DiT grade the VAE ​

REPA-style methods improve latent spaces by aligning them with a frozen DINO encoder. The dependency on an external model bothers me, and it bothered the GuaVAE authors too. Their question: can the diffusion transformer supervise its own latent space?

The starting observation is that classifier-free guidance sharpens internal DiT features. Those CFG-enhanced features make good alignment targets. GuaVAE takes a trainable DiT, aligns its features at low noise levels with CFG-enhanced features from a frozen pretrained DiT, and backpropagates that alignment loss through the trainable DiT into the VAE encoder. The VAE and the DiT get tuned together, end to end, with no DINO anywhere in the loop.

The results land where you'd hope:

The 3.73 without CFG is the more interesting number. CFG roughly doubles your inference batch, and it buys quality at the cost of diversity and, at high scales, saturation. A gFID of 3.73 with no guidance at all means a sampling path that's cheaper and better behaved, and it beats self-contained representation alignment baselines as well as DINO-guided REPA. The 1.43 with CFG is competitive with the best published numbers, but the no-CFG row is where the practical gain lives.

There's a scaling finding buried in there too: VAEs tuned with larger DiTs produce better generation. Diffusion representations get sharper as the backbone grows, so the supervision signal improves with scale instead of plateauing. That's a useful property for anyone training a family of models rather than a single checkpoint, since the VAE you tune once keeps paying off as you scale up.

The cost is real, though. GuaVAE changes the encoder. Every cached latent you computed with the old VAE is now stale.

Key numbers16% relative gFID reduction from semantic-aware decoding, with the generator frozen. 3.73 gFID for GuaVAE on ImageNet 256 with no classifier-free guidance. 1.43 gFID with CFG, competitive with DINO-supervised VAEs. 50% of SPRINT's training compute for StairDrop at matched FID 1.96. 1.47 FID for StairDrop with interval guidance, the best among token-dropping baselines. tr(Σ⁻¹Σ*) > d, the Gaussian condition deciding whether entropy ascent helps or hurts.

Tempering does not commute with noising ​

This one is a bug report disguised as a theory paper.

Power tempering rescales the score of a clean distribution by 1/T. Sharpen the density, sample from it, get lower temperature. That's the theory. In a diffusion model you never touch the clean score. You estimate the noisy score at timestep t, and tempering before noising is not the same as rescaling the noisy score.

The authors characterize the gap. It's governed by the geometry of the denoising posterior. The leading local effect is a posterior-covariance transformation of the noisy score, which makes the propagated temperature anisotropic even when you asked for a single global T. A residual term captures spatial covariance mismatch and higher-order posterior structure.

Properties worth knowing:

  • Exact for Gaussian distributions.
  • A leading low-noise correction for smooth positive densities.
  • Potentially large non-Gaussian corrections for multimodal posteriors at intermediate noise.

That last point is the one that bites. Intermediate noise levels are exactly where multimodal posteriors live, and exactly where people sample most of their structure. The theory extends to finite-strength tempering through conditional cumulants and recovers the known Gaussian temporal-rescaling and time-shifting results as special cases, so it's consistent with what practitioners already knew about temperature sampling in the Gaussian regime.

My take: if you implement temperature by dividing the predicted noise by T at every step, you are applying an anisotropic, time-varying sharpening you never asked for. It's not wrong everywhere. It's wrong in a way that grows with how multimodal your data is.

The same propagated field governs the local DSM perturbation induced by power-tempered synthetic data. Which connects directly to the next paper.

Self-training reversal: when the sign flips ​

NEON introduced negative extrapolation: fine-tune a model briefly on samples from its own inference pipeline, then move the parameters in the opposite direction. No new real data, and generated samples improve. The explanation offered was that practical samplers are mode-seeking, so self-training amplifies that bias and reversal corrects it.

The follow-up paper shows that explanation is incomplete. Sharpening tells you how the synthetic distribution differs from the current model. It does not tell you where the current model sits relative to the data distribution. The same sharpening step can make reversal helpful or harmful depending on that second fact.

For negative-log-likelihood training with global power tempering as the mode-seeking map, the synthetic population gradient is exactly a Rényi entropy gradient. Self-training follows entropy descent, negative extrapolation follows entropy ascent. Model correction becomes a question of directional alignment.

On elliptical families there's a clean statistic for the direction: an explicit radial-score quantity decides whether increasing volume helps. In the d-dimensional Gaussian case it simplifies to tr(Σ⁻¹Σ*) > d, with Σ the model covariance and Σ* the data covariance. If the data is more spread out than your model along that trace-weighted metric, entropy ascent moves you toward it.

SituationWhat the self-training displacement tells youWhat to do
Model is over-concentrated relative to dataEntropy ascent aligns with correctionNegative extrapolation should help
Model is already too broadEntropy ascent moves away from dataSkip reversal, it will degrade samples
Sampler output is distorted, model is fineDisplacement reflects the sampler, not the modelFix sampler settings before fine-tuning
Multimodal posterior at intermediate noiseLarge non-Gaussian corrections contaminate the signalDon't trust the Gaussian intuition here

The compositional part is what I'd hand to anyone running this trick in production. A local theory separates four things that all show up in one displacement: model error, sampler distortion, the training response, and the sampler response. Model correction and sampler compensation need different criteria. A self-training displacement probes the composed model-sampler-training system. It is not a universal estimate of model error, and treating it as one is how you end up fine-tuning a model that was never the problem.

What trips people up ​

Retraining the decoder but leaving the conditioning path wired wrong. Semantic-aware decoding freezes the generator and the latent space, not the decoder. Swap in the stock decoder, concatenate semantics at the input, and expect nothing. The decoder has to be trained or fine-tuned against the semantic conditioning, otherwise the extra channel is noise.

Dividing predicted noise by T and calling it temperature. Tempering before noising and tempering the noisy score diverge by a posterior-covariance term that gets worse at intermediate noise with multimodal data. If your temperature sweep produces results that look anisotropic or resolution-dependent, this is why.

Collapsing token dropping to a single step because it's simpler. The SiT-B/2 sweeps show an intermediate sparsity level improves generation over both the fully dense run and the aggressively sparse core. Pick a staircase, not a cliff.

Tuning the VAE after you've cached latents. GuaVAE modifies the encoder. Every precomputed latent tensor in your data pipeline now comes from a different distribution than the one the DiT will train against. Recompute the cache or you're training on stale representations and blaming the model.

Reading a negative-extrapolation win as proof your model was miscalibrated. The displacement is a probe of the composed system. The same intervention can help on one checkpoint and hurt on the next, and the entropy-direction criterion tells you which case you're in before you spend the compute.

One thing to remember ​

Across all five papers, the generator is the least interesting component. A decoder that sees semantics recovers 16% relative gFID from latents that were already sampled. A VAE tuned against DiT features lifts generation quality without changing inference at all. Staged token dropping halves training cost with no serving cost. The two theory papers exist because the post-hoc fixes people apply, temperature hacks and self-training reversal, depend on quantities that are invisible unless you look at the composed model-sampler system. Before you scale the backbone, check whether the thing downstream of it is throwing information away.

The Bottom Line ​

  • If you already train with a semantic alignment objective (REPA, REG, ReDi, CoReDi, REGLUE), retrain the decoder before you train a bigger model. You get up to 16% relative gFID from latents you're already producing, and a semantic projector makes it work even on checkpoints that never generated semantics.
  • If training compute is your binding constraint, adopt StairDrop before you shrink the model. Matching FID 1.96 at half of SPRINT's compute costs nothing at inference and doesn't change your serving path. Shrinking the backbone costs you quality permanently.
  • If you're tuning temperature or running self-training reversal, stop treating either as a knob. Check the entropy direction first: in the Gaussian case, tr(Σ⁻¹Σ*) > d tells you whether ascent helps, and if your posteriors are multimodal at intermediate noise, the Gaussian intuition will mislead you. Expect more of this geometric analysis to land in sampler code over the next six months.