Autoregressive Visual Generation Needs a Prologue

Bowen Zheng, Weijian Luo, Guang Yang, Colin Zhang, Tianyang HuarXiv 2026

TL;DR

Autoregressive image generation models often struggle with a fundamental tradeoff: tokens optimized for perfect image reconstruction are inherently difficult for a language model to predict. Prologue solves this by prepending a small set of learned "prologue tokens" that absorb the generative training signals, completely decoupling generation quality from reconstruction fidelity and achieving state-of-the-art image synthesis.

What Problem Does This Paper Address?

Two-stage autoregressive (AR) models (such as VQ-GAN followed by a Transformer) are highly popular for image generation. First, a tokenizer (encoder) compresses an image into discrete tokens, and a decoder learns to reconstruct it. Second, an AR Transformer learns the data distribution by predicting these tokens sequentially.

However, this setup suffers from a notorious reconstruction-generation gap. Because the tokenizer is optimized purely for reconstruction, it doesn't account for how predictable or "learnable" its tokens will be for the Transformer. If you try to train them jointly by backpropagating the AR loss to the tokenizer, the gradients conflict. This places the model on a single-variable Pareto front: improving generation quality inevitably destroys the tokenizer's ability to reconstruct fine details (a phenomenon known as entropy collapse).

Methods

The authors introduce Prologue, an architecture that structurally decouples the reconstruction and generation objectives by introducing a separate, learned generative representation.

Prologue Architecture during training and inference.
  • Decoupled Tokenization: Given an image, a shared bidirectional encoder simultaneously processes the image patches and a small set of learnable query tokens (default $K=16$), producing visual tokens and prologue tokens. The two groups are quantized using entirely separate codebooks.
  • Gradient Routing (Prob-STE): Visual tokens are sent exclusively to the decoder for image reconstruction. The concatenated sequence of prologue and visual tokens is fed into an AR model. Crucially, using a specialized straight-through estimator (Prob-STE), gradients from the AR cross-entropy loss are routed only to the prologue tokens. Visual tokens never receive direct AR gradients.
  • Visual Token Dropout: During the first stage of training, visual tokens are randomly replaced with an [EOS] token with a probability of 0.5. This forces the AR model to rely heavily on the prologue prefix, sending stronger, clearer gradient signals back to the prologue encoder.
  • Prologue-Post: The authors also present a plug-and-play variant where the prologue tokens are learned alongside a completely frozen, off-the-shelf tokenizer, requiring zero modifications to existing models.

Datasets

The authors trained and evaluated their approach on the standard ImageNet 256×256 benchmark, utilizing the validation set to compute reconstruction metrics. No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • Bypassing the Pareto Frontier: By giving each objective its own dedicated set of variables (prologue tokens for generation, visual tokens for reconstruction), the model completely eliminates the traditional tradeoff. As a result, the AR loss weight ($\lambda$) can be scaled freely without hurting reconstruction.
  • Emergent Semantic Structure: Even though the prologue tokens receive absolutely no explicit semantic supervision (such as text labels or CLIP embeddings), they naturally organize into high-level semantic summaries driven purely by the AR information bottleneck. A simple linear probe on just 16 prologue tokens achieves an impressive 35.88% Top-1 accuracy on ImageNet classification.
  • Semantic-Visual Disentanglement: Because the prologue tokens capture global layout while visual tokens capture local details, fixing the prologue tokens while resampling the visual tokens yields images with remarkably consistent global structure, viewpoints, and color palettes, while varying fine-grained textures.
Images generated with fixed prologue tokens show highly consistent global layouts and styles while varying fine details.

Key Results

  • Massive Generation Leap: On ImageNet 256×256, Prologue-Base slashes the generative FID (gFID) without classifier-free guidance (CFG) from 21.01 to 10.75 (a 48.8% reduction) while keeping the reconstruction FID (rFID) virtually unchanged (2.15 vs 2.24).
  • State-of-the-Art Scaling: When scaled up, Prologue-Large achieves a highly competitive rFID of 0.99 and a gFID of 1.46. This performance is on par with leading diffusion models and masked-prediction methods, despite using a standard AR model without auxiliary semantic tricks.
  • Effective Post-Hoc Upgrades: The plug-and-play Prologue-Post variant successfully improves the gFID of a frozen baseline tokenizer by 22.7%, proving that a "prologue" can be effectively composed even after the core visual script is complete.
Lambda sweep showing that Prologue maintains stable reconstruction quality (rFID) across different loss weights while significantly improving generation (gFID).

Limitations and Future Work

  • Dataset Scale and Resolution: The method has only been validated on ImageNet at 256×256 resolution. Evaluating its performance on larger-scale datasets and higher resolutions remains an open task.
  • Hyperparameter Tuning: The optimal number of prologue tokens ($K=16$) and codebook sizes are dataset-dependent and show high sensitivity, meaning they may require careful re-tuning for different domains.
  • Sequence Length Overhead: Prepending 16 prologue tokens adds roughly a 6% overhead to the total autoregressive sequence length, slightly increasing computational cost during generation.
  • Alternative Objectives: The framework currently relies entirely on cross-entropy loss. The authors note that exploring other prior-matching objectives, such as kernel-based or score-based distributional matching, is a promising direction for future work.

Summary updated

BibTeX
@misc{zheng2026autoregressive,
  author = {Bowen Zheng and Weijian Luo and Guang Yang and Colin Zhang and Tianyang Hu},
  title = {{Autoregressive Visual Generation Needs a Prologue}},
  year = {2026},
  eprint = {2605.06137},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.06137},
}
Figure