Harnessing Intact Semantic Representation for Discrete Visual Generation

Yueming Pan, Xiaolong Sun, Tianci Bi, Yongjian Zhang, Jingwen Fu, Ruoyu Feng, Shuyuan Tu, He Zhang, Chang Liu, Nanning ZhengarXiv 2026

TL;DR

Discrete diffusion models generate images as sequences of discrete tokens, making them naturally compatible with large language models—but their image quality has historically lagged behind continuous diffusion models. This paper introduces Intact Semantic Representation-Guided Discrete Diffusion (IRD), a framework that jointly generates low-level image tokens and high-level semantic tokens while using a clever self-conditioning trick to keep early semantic predictions intact. The result is a state-of-the-art 1.17 FID on ImageNet 256×256, closing the quality gap with top continuous diffusion models.

What Problem Does This Paper Address?

If you want to build a unified multimodal AI that speaks both text and images fluently, masked discrete diffusion models (MDMs) are an attractive bet. Instead of generating pixels or continuous latents, MDMs tokenize images into discrete building blocks and generate them in parallel by progressively unmasking tokens over several steps.

However, continuous diffusion models still hold the crown for raw image quality, largely because they have figured out how to leverage semantic priors—high-level visual understanding from pretrained vision foundation models (VFMs) like DINOv2.

When researchers tried to bring this trick to discrete diffusion by jointly generating image tokens and semantic representation tokens, the gains were surprisingly marginal. Why? The authors discovered a bottleneck in how MDMs work: progressive unmasking. Even though the model predicts meaningful semantic information very early in the denoising process, standard MDMs only commit (unmask) a small subset of tokens at each step and re-mask the rest. That means the next denoising step only sees a fragmented, incomplete semantic picture, throwing away most of the helpful guidance.

Methods

To fix this, IRD combines joint image–representation modeling with a dedicated self-conditioning mechanism:

Figure 3. Overview of Intact Semantic Representation-Guided Discrete Diffusion (IRD). (a) Image-only generation without semantic guidance. (b) Vanilla joint modeling generates semantic representations and image latents, but progressive unmasking propagates only partially committed predictions. (c) IRD reuses cached predictions from previous step through self-conditioning, enabling intact semantic guidance. (d) Self-conditioning module integrates previous predictions with the current masked state.
  1. Joint Token Construction (Standard + Combined): For each image, the authors extract two complementary sets of features:
  2. Image latents via SD-VAE (32 channels) to preserve fine-grained, low-level visual details.
  3. Semantic representations via DINOv2-B compressed through a pretrained SemVAE (16 channels) to capture high-level structure. Both are discretized using training-free dimension-wise quantization (64 levels) and concatenated along the channel dimension into a single 48-channel token tensor, modeled by a unified Diffusion Transformer with fine-grained masking.

  4. Dedicated Self-Conditioning (Novel): Instead of throwing away the model's predictions at still-masked positions, IRD caches the full categorical probability distributions from the previous step ($t+1$). At the current step ($t$), it zeroes out the cache at already-committed positions and feeds the remaining "soft" predictions back into the Transformer alongside the current masked state (via concatenation and linear projection).

During training, self-conditioning is enabled 50% of the time. At inference, the model progressively unmasks tokens using a cosine schedule and reuses the previous step's predictions as a cache—requiring zero extra Transformer forward passes.

Datasets

All training and evaluation were conducted on class-conditional ImageNet-1K at 256×256 resolution. Following the standard ADM evaluation protocol, generation quality and diversity (FID, Inception Score, Precision, and Recall) were measured on 50,000 generated samples.

Key Insights and Ideas

  • The model knows the "big picture" early, but standard unmasking forgets it: By measuring cosine similarity between intermediate predictions and final generated features, the authors found that full predictions reach ~0.8 similarity within just 50 denoising steps. In contrast, partial predictions (after standard remasking) lag far behind. Preserving those early predictions is the key to unlocking semantic guidance.
Figure 2. Full vs. Partial semantic predictions during denois- ing. The top row uses all predicted semantic tokens, while the bottom row uses only those retained after standard remasking.
  • Soft probabilities beat hard tokens for caching: Caching the full probability distribution rather than hard discrete choices preserves the model's uncertainty over alternative categories, preventing early mistakes from snowballing.
  • Intact guidance dramatically speeds up training: Because the model isn't constantly re-learning fragmented semantics, it converges much faster—matching an 800-epoch image-only baseline in just 106 epochs (7.55× faster).

Key Results

  • State-of-the-art Discrete Diffusion: On ImageNet 256×256, IRD-XL (1.5B parameters) achieves an FID of 1.17 (both with and without classifier-free guidance). This outperforms prior discrete diffusion models like MaskBit (1.52), ReDDiT-XLf8 (1.61), and CubiD-XXL (1.88), and rivals leading continuous models like RAE (1.13) and SFD (1.06).
  • Ablation Gains: On the Small model (800 epochs), adding intact self-conditioning drops FID from 8.17 (image-only) and 7.49 (vanilla joint) down to 2.18—a 70.9% reduction in FID relative to vanilla joint modeling.
  • High Reconstruction Fidelity: Using quantized SD-VAE latents yields a reconstruction FID (rFID) of 0.27 and PSNR of 28.39 dB, outperforming LlamaGen-f8 (0.59 rFID) and quantized DINOv2 tokens (0.57 rFID).
Figure 5. Training convergence on ImageNet 256 × 256. IRD achieves comparable FID to image-only generation and vanilla joint modeling with 7.55× and 7.27× fewer training epochs.

Limitations and Future Work

  • Training Compute Overhead: Because self-conditioning requires an extra gradient-free forward pass 50% of the time during training, per-image training FLOPs increase by 18.08% (though inference has no extra cost, and IRD still achieves a 2.21 FID under the exact same total training compute budget as an 800-epoch vanilla joint model).
  • Future Directions: The authors note that combining high-level semantic guidance with high-fidelity SD-VAE reconstruction makes IRD naturally suited for complex downstream tasks like text-to-image generation and image editing, as well as advancing unified multimodal modeling.

Summary updated

BibTeX
@misc{pan2026harnessing,
  author = {Yueming Pan and Xiaolong Sun and Tianci Bi and Yongjian Zhang and Jingwen Fu and Ruoyu Feng and Shuyuan Tu and He Zhang and Chang Liu and Nanning Zheng},
  title = {{Harnessing Intact Semantic Representation for Discrete Visual Generation}},
  year = {2026},
  eprint = {2612.03282},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.03282},
}
Figure