Beyond Token-Level Cross-Entropy: Fr'echet Distributional Post-Training for Autoregressive Image Generation
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Beyond Token-Level Cross-Entropy".
Title and authors: Jane: Now, let’s look at the title of this work again, "Beyond Token-Level Cross-Entropy: Fréchet Distributional Post-Training for Autoregressive Image Generation." It immediately tells us they are moving past the old way of training.
Tom: Yeah, so what does that mean practically? It means they’re not just sticking to token level cross entropy anymore because that approach has these two big problems we talked about earlier.
Jane: Right, the categorical error problem and the context mismatch where training uses ground truth instead of what the model generates during inference.
Lu: They are proposing moving beyond that standard approach by introducing FD-loss post-training which uses representation space Fréchet distance as its sole objective function.
Tom: So, they’re replacing that token level loss with something focused purely on matching the distribution of the actual decoded images in a way that's more relevant to generation quality.
Jane: It sounds like they are shifting the focus from just getting tokens right to making sure the final picture looks good when it comes out.
Meng: So, if we look at what they summarize, it’s this framework couples replay on detached rollout contexts with a probability level straightthrough estimator, or STE.
Lu: That dual-pass scheme is the core of their method. The first pass builds detached contexts under native inference configuration to create self generated rollouts.
Tom: And the second pass uses that data to recompute codebook logits, but it does this in a way that lets image level Fréchet distance gradients flow back through temperature scaled probabilities.
Jane: So, they are using these self generated contexts as proxies for ground truth histories to guide the optimization process.
Lu: That’s exactly right. This design exposes post training to model generated contexts while bridging the gradient barrier imposed by discrete token selection, and only the generator is updated at that point.
Tom: It’s a way to optimize the model using its own predictions as context without having to rely on cross entropy loss or adding extra inference steps during training.
Jane: So, it’s a clever way to bridge that gap between what the model learns and what it actually produces when it's running live.
Lu: It addresses the fundamental bottleneck caused by teacher forcing, which is how they train the generator on fixed histories rather than its own predictions.
Meng: That teacher forcing issue is something I deal with constantly; you want to train on what you expect to see during inference, not some fixed dataset history.
Tom: Exactly. And this paper shows how you can use model generated contexts to bridge that context mismatch while optimizing for image quality metrics like FID and FDr6.
Jane: So the main idea is using the Fréchet distance objective to steer the training towards better visual outputs when dealing with autoregressive generation.
The paper's summary: Tom: Okay, let’s look closer at what they actually describe in "Beyond Token-Level Cross-Entropy: Fréchet Distributional Post-Training for Autoregressive Image Generation." They summarize the whole idea we just discussed.
Jane: They essentially say that pretraining with token level cross entropy is fine for getting a baseline, but it doesn't optimize the final distribution of images well enough.
Lu: So, their post training framework adapts a pretrained discrete generator by using representation space Fréchet distance as the sole objective.
Tom: The summary highlights that they introduce an FD-loss posttraining framework which couples replay on detached rollout contexts with a probability level STE.
Jane: This means they first construct detached rollouts under native inference configuration and then perform differentiable replay with an STE that preserves hard argmax decoding in the forward pass while propagating image level Fréchet distance gradients through temperature scaled probabilities.
Lu: That dual pass scheme is crucial because it constructs contexts drawn entirely from the current generator under its native inference configuration, replacing ground truth histories with these self generated rollouts.
Tom: And only the generator gets updated using this objective function, without needing cross entropy loss or any additional inference cost during training.
Jane: So, they are showing that by using model generated contexts instead of ground truth histories for optimization, you can bridge that context mismatch effectively.
Lu: That’s the key mechanism: model generated replay reduces the teacher forcing mismatch while a probability level STE propagates the image level Fréchet distance objective through discrete predictions without needing cross entropy or additional inference cost.
Tom: It’s a clever way to expose post training to model generated contexts while bridging the gradient barrier imposed by discrete token selection.
Jane: And they mention that this approach allows the hard replay surrogate to potentially differ from the sampled rollout, which is just a caveat you have to be aware of.
Lu: That difference between the hard replay surrogate and the sampled rollout is something that needs careful consideration when interpreting these results.
The paper's improvements: Tom: Let’s talk about what they claim are their specific improvements in terms of performance numbers, because those are usually the most exciting part.
Jane: They report significant reductions in distribution metrics across eight completed ImageNet comparisons. Specifically, they show that FD-loss post-training reduces FID by forty-one point four percent and FDr6 by fifty-two point zero percent on average across all tested generator families.
Lu: Those are the key figures we need to focus on—a forty one point four percent reduction in FID and a fifty two point zero percent reduction in FDr6 when averaged over those configurations.
Tom: And they show improvements ranging from forty-one point four percent in FID and fifty-two point zero percent in FDr6 across the eight completed comparisons, which is a solid result if you look at the numbers alone without comparing it to anything else.
Jane: They also give an example of how this works on TiTok-B-sixty-four where the lowest resulting FID was one point four three, which was a definite improvement from two point four two before this post training step.
Lu: They also show sensitivity analysis showing that model generated replay actually reduces FDr6 and FID to twelve point thirty and four point zero nine on LlamaGen, and to six point zero eight and three point one four on VAR-d16, respectively.
Tom: That’s good because it confirms model generated replay is the more reliable context source across the evaluated autoregressive formulations.
Jane: And they mention that adding mean absolute error loss reduces FDr6 and FID to fourteen point fifteen while retaining an FID of three point two zero and an IS of two hundred thirty-nine point one one when using all three feature spaces.
Lu: The sensitivity analysis shows that using all three feature spaces further reduces FDr6 to twelve point thirty and yields the highest precision at zero point eight five, which is a nice detail on how to tune things.
Conclusion: Tom: So, to wrap up, this paper introduces FD-loss post-training for pretrained discrete image generators. It’s a method that uses representation space Fréchet distance as the sole objective function to adapt the generator after pretraining.
Jane: The main thing is that it successfully reduces FID and FDr6 by forty one point four percent and fifty two point zero percent on average across eight completed ImageNet comparisons without changing any inference settings.
Lu: The implication is that model generated, image level post-training serves as a simple and effective complement to token level pretraining rather than a replacement for likelihood learning.
Meng: From an engineering standpoint, it’s a nice win because it doesn't require us to change our deployment architecture just to get better results.
Tom: It’s about using model generated contexts as context instead of ground truth histories for optimization, which is a very clean way to handle the context mismatch.
Jane: It seems like they’ve provided a concrete example of how you can use distributional matching loss to achieve tangible improvements in generation quality for autoregressive models.
Lu: The evidence is bounded by the bias introduced by the straightthrough estimator and the omission of gradients through rollout trajectories.
Tom: That’s fair, but it's still a significant step forward in showing that this objective can work effectively without needing to change inference or add more complexity.
University of Electronic Science and Technology of China
cs.CV
Submitted: 2026-08-01
Updated: 2026-12-02
Comments: Accepted to AAAI 2027. Code: https://github.com/CVL-UESTC/FDPT-AR
Code: https://github.com/CVL-UESTC/FDPT-AR
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 83/100
The gist: Autoregressive image generators are commonly pretrained with token-level cross-entropy under teacher forcing, yet evaluated by the distributional quality of decoded images.<ref:2608.00562#pg1>.
Key concepts
- Autoregressive (AR) Modeling
- This involves using a Transformer architecture to generate images sequentially, predicting one part at a time based on what has already been generated. Conventional training uses token-level cross-entropy against ground truth data, which creates mismatches between categorical errors and image quality.
- FD-loss Post-Training
- This is a new objective function that adapts the generator using representation-space Fréchet distance. It couples a gradient-free rollout pass with a probability-level Straight Through Estimator (STE) to allow image distribution optimization without needing ground truth during training.
- Model-Generated Replay
- Instead of using fixed ground truth sequences, the method uses contexts generated by the model itself during inference. This replaces teacher forcing, which is a mismatch in conventional training, allowing the generator to learn from its own outputs for better distribution alignment.
Terminology
Summary
Autoregressive image generators are commonly pretrained with token-level cross-entropy under teacher forcing, yet evaluated by the distributional quality of decoded images. p. 0<ref:2608.00562#pg1>. FD-loss post-training adapts a pretrained discrete generator using representation-space Fréchet distance as the sole objective. p. 0<ref:2608.00562#pg1>. Across eight completed configurations from four generator families on class-conditional ImageNet at 256 × 256, FD-loss post-training reduces FID and FDr6 by 41. p. 04% and 52.0% on average. p. 0<ref:2608.00562#pg1>.
The Problem with Conventional Training
Autoregressive (AR) modeling has become a competitive paradigm for visual generation by combining discrete image representations with scalable Transformer architectures.<ref:2608.00562#pg1>. Most discrete AR generators are pretrained with token-level cross-entropy under ground-truth contexts. p. 0<ref:2608.00562#pg1>. This paradigm creates two mismatches: first, categorical errors have unequal image-level consequences, and second, teacher forcing supplies ground-truth histories during training whereas free-running generation conditions on the model’s own outputs. p. 0<ref:2608.00562#pg1>. Maximizing token likelihood therefore neither directly optimizes the distribution of decoded images nor exposes the generator to its inference-time contexts. p. 0<ref:2608.00562#pg1>.
How the Training Signal is Built
The FD-loss post-training framework couples replay on detached rollout contexts with a probability-level STE.<ref:2608.00562#pg1>. This dual-pass scheme first performs a gradient-free rollout pass constructs detached contexts drawn entirely from the current generator under its native inference configuration. p. 1<ref:2608.00562#pg1>. In the second pass, a probability-level STE preserves hard argmax decoding while enabling image-level FD gradients to flow back through temperature-scaled probabilities. p. 1<ref:2608.00562#pg1>. Only the generator is updated while the tokenizer and feature extractors remain frozen. p. 0<ref:2608.00562#pg1>.
Where the Gains Come From
The core mechanism involves model-generated replay reduces the teacherforcing mismatch while a probability-level STE propagates the decoded-image FD objective through discrete predictions without cross-entropy or additional inference cost.<ref:2608.00562#pg1>. The EMA-based FD objective to obtain stable distribution estimates from small mini-batches is defined by Eq. p. 3 (13) which computes Lpost using Eqs. p. 3 (12)–(13).<ref:2608.00562#pg3>. This objective aggregates information across batches while retaining gradients through the current batch only. p. 3<ref:2608.00562#pg4>.
Key Experimental Findings
Across eight completed ImageNet comparisons, our post-training consistently reduces FID by 0.54–2.96 and FDr6 by 3. p. 065–10.30.<ref:2608.00562#pg7>. Averaging the relative reduction over individual pairs gives improvements of 41. p. 54% in FID and 52. p. 00% in FDr6. p. 0<ref:2608.00562#pg7>. The lowest resulting FID is 1. p. 543 on TiTok-B-64, improved from 2. p. 542.<ref:2608.00562#pg7>.
Ablation and Sensitivity Analysis
Table 2 shows that teacher-forced replay degrades distributional quality for both models.<ref:2608.00562#pg7>. Model-generated replay reduces FDr6 and FID to 12. p. 630 and 4.09 on LlamaGen, and to 6. p. 108 and 3.14 on VAR-d16, respectively. p. 6<ref:2608.00562#pg7>. The results support model-generated replay as the more reliable context source across the evaluated AR formulations. p. 6<ref:2608.00562#pg7>. Furthermore, model-generated replay reduces FDr6 and FID to 14. p. 615 while retaining an FID of 3. p. 620 and an IS of 239. p. 611 when adding MAE. p. 6<ref:2608.00562#pg7>. The choice of feature spaces shows that using all three feature spaces further reduces FDr6 to 12. p. 630 and yields the highest precision (0. p. 685).<ref:2608.00562#pg7>.
Conclusion
We introduced FD-loss post-training for pretrained discrete image generators with frozen tokenizers and decoders.<ref:2608.00562#pg1>. Across eight completed ImageNet comparisons, the method reduces FID and FDr6 by 41. p. 64% and 52.0% on average without changing inference. p. 1<ref:2608.00562#pg7>. This results support model-generated, image-level post-training as a simple and effective complement to token-level pretraining rather than a replacement for likelihood learning. p. 6<ref:2608.00562#pg1>. The evidence is bounded by the bias of the STE and the omission of gradients through rollout trajectories. p. 6<ref:2608.00562#pg1>.
Acknowledgments
This work was supported by National Natural Science Foundation of China (No.62476051) and Sichuan Natural Science Foundation (No. p. 72024NSFTD0041). p. 7<ref:2608.00562#pg8>.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Automated distribution matching post-training allows pretrained discrete autoregressive image generators to adapt their generation to inference-time contexts by using
model-generated contexts
instead of ground-truth histories. This addresses thecontext mismatch
andimage-level consequences of different codeword errors
identified in conventional token-level cross-entropy training. -
The dual-pass scheme, involving a gradient free rollout pass and a differentiable replay pass with a probability level straightthrough estimator (STE), enables image level FD gradients to flow back through temperature scaled probabilities while preserving hard argmax decoding. This allows the generator to be optimized using
model-generated contexts
without requiring cross entropy loss. -
The framework maintains frozen tokenizers, codebooks, and feature extractors while only updating the AR generator parameters via a distribution level objective (Lpost). This method results in reductions of 41.4% in FID and 52.0% in FDr6 on average across eight completed configurations without adding parameters or inference steps.
-
The use of EMA based Fréchet distance loss, which tracks
EMA estimated population statistics for post-training continuous generators,
provides a stable, differentiable objective for aligning real and generated image distributions within frozen feature spaces. This is applied to multiple representation spaces like Inception MAE and SigLIP to ensure robust alignment. -
The system can be configured with different replay temperatures, such as tau equals 1.0 or tau equals 10, allowing researchers to balance distributional quality against sample coverage and precision according to their specific needs. For instance, tau equals 1.0 is adopted as a default because
it provides the most balanced performance across distributional quality and sample coverage.
Sources
- End-to-End Autoregressive Image Generation with 1D Semantic Tokenizer
- Generative Modeling via Drifting
- Image Generation Via Minimizing Fr'echet Distance in Discriminator Feature Space
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Improving Flexible Image Tokenizers for Autoregressive Image Generation
- Improved Mean Flows: On the Challenges of Fastforward Generative Models
- Generative Refinement Networks for Visual Synthesis
- Classifier-Free Diffusion Guidance
- NFIG: Multi-Scale Autoregressive Image Generation via Frequency Ordering
- RankE: End-to-End Post-Training for Discrete Text-to-Image Generation with Decoder Co-Evolution
- Autoregressive Image Generation with Randomized Parallel Decoding
- Autoregressive Image Generation without Vector Quantization
- VA-$\pi$: Variational Policy Alignment for Pixel-Aware Autoregressive Generation
- iFSQ: Improving FSQ for Image Generation with 1 Line of Code
- GEAR: Guided End-to-End AutoRegression for Image Synthesis
- One-step Latent-free Image Generation with Pixel Mean Flows
- Backpropagating through Fr'echet Inception Distance
- Exponential Moving Average of Weights in Deep Learning: Dynamics and Benefits
- DINOv2: Learning Robust Visual Features without Supervision
- FlowAR: Scale-wise Autoregressive Image Generation Meets Flow Matching
Related papers
- Lightweight Adaptation of General-Purpose VLMs for Multispectral and SAR Image Understanding
- Systematic Evaluation of Underwater Image Reconstruction
- InteracVid: Building a Real Interactive Audio-Visual Response Dataset from Live-Chat Videos
- Count Anything
- Shot-Aware Frame Sampling for Video Understanding
- Reduce Tokens, Refine Semantics: Training-Free Acceleration of Vision-Language Models