Logit-Conditioned Diffusion Decoding for Frozen Discrete-Token VLMs

Ji Woo Hong, Gwanhyeong Koo, Hee Suk Yoon, Eunseop Yoon, SooHwan Eom, Qi Dai, Chong Luo, Chang D. YooNeurIPS 2026

TL;DR

Vision-language models (VLMs) that generate images token-by-token often suffer from blurry textures and warped details—not because the model doesn't know what to draw, but because standard decoding throws away rich probability data at the very last step. This paper introduces DCDD, a plug-and-play diffusion decoder that catches this discarded "uncertainty" data and turns it into crisp, high-fidelity images. Best of all, it requires zero retraining of the massive, frozen VLM underneath.

What Problem Does This Paper Address?

Autoregressive VLMs generate images much like large language models write text: they predict a sequence of discrete numbers (indices) from a learned visual vocabulary, known as a VQ-VAE codebook. While these models are great at understanding complex prompts, their final images often look slightly off—text is garbled, faces are mushy, and fine geometry gets distorted.

Figure 1: The VQ-VAE decoder is the fidelity bottleneck in discrete-token VLM image gen- eration. (a) Reconstruction: even when the input image is available and the VLM is bypassed entirely, the VQ-VAE encode–decode pipeline already loses fine structure relative to the ground truth (book cover text, facial details). (b) Text-to-image generation: the same bottleneck propagates to the deployed pipeline, where the native VQ-VAE decoder produces distorted local geometry on the VLM’s predicted tokens. DCDD replaces only the decoding stage and recovers fine detail with the VLM left frozen.

As the models scale up, this VQ-VAE decoding stage becomes the primary visual bottleneck. Until now, fixing this meant either replacing the discrete vocabulary with continuous representations or wiring a diffusion model directly into the VLM. Both options require foundation-scale retraining—costing small fortunes in compute and risking "catastrophic forgetting" of the VLM's other multimodal skills. The authors ask a simpler question: Can we upgrade the visual fidelity post-hoc, leaving the VLM completely untouched?

Methods

Before a VLM picks a single codebook index (via argmax or sampling), it computes a full probability distribution—logits—over the entire visual vocabulary. Standard decoding throws this distribution in the trash. DCDD (Distribution-Conditioned Diffusion Decoder) rescues it using three components:

DCDD training and inference pipeline
  1. Logit-to-Code Distributional Mapping (LCDM): Instead of handing a single winning token to the decoder, LCDM computes a probability-weighted average of all codebook vectors, paired with four scalar numbers summarizing the distribution's shape and uncertainty (e.g., top-1 vs. top-2 margin, tail entropy).
  2. Logit Calibration (LC): Training a decoder by running a 7-billion-parameter VLM on millions of images is prohibitively slow. Instead, the authors generate fast "proxy logits" using the lightweight VQ-VAE encoder via cosine similarity. However, raw encoder distributions are nearly flat (spreading probability across ~5,767 tokens), whereas VLM distributions are sharp (~2 tokens). LC is a clever, gradient-free statistical alignment (adjusting scale, temperature, and smoothing) calibrated on just 100 reference prompts so training proxies mimic real inference-time VLM logits.
  3. Diffusion Decoder (DD): The team fine-tunes only the attention and adapter layers of a pre-trained FLUX.1-Fill model to map LCDM's continuous vectors into crisp images. Crucially, DD receives zero text prompts—forcing it to faithfully render the VLM's token beliefs rather than hallucinating new scenes.

Datasets

  • Training: Only the ImageNet-1K training set (no text-to-image pairs needed). Calibrating LC uses 100 prompts from GenEval.
  • Evaluation: Visual fidelity is tested on ImageNet-1K validation (in-domain) and MJHQ-30K (out-of-domain). Semantic alignment is checked across GenEval, DPG-Bench, and WISE. No new benchmarks are introduced.

Key Insights and Ideas

  • The magic is in Rank-2: Using Otsu's thresholding, the authors discover that capable VLMs (like Janus-Pro 7B) consistently place meaningful probability on at least two codebook entries per patch (averaging 0.22 for top-1 and 0.10 for top-2). In fact, keeping just the top-2 tokens at inference recovers 76% of the quality gains of the full distribution!
  • Why off-the-shelf refiners fail: Why not just pass the blurry VQ-VAE image through an image-to-image diffusion refiner? When tested against FLUX.1-Kontext, image-to-image refiners let their own priors take over, causing severe semantic drift (changing a person's identity or altering logos). Conditioning directly on pre-sampling logits keeps the VLM in the driver's seat.
  • Zero-shot cross-model transfer: Because Janus-Pro 7B and 1B share the same tokenizer, the DCDD decoder trained for the 7B model transfers directly to the 1B model without retraining—requiring only a quick, gradient-free recalibration of the 1B logits.

Key Results

Trained for just 50K steps on 4×A100 GPUs:

  • Image Reconstruction: DCDD slashes reconstruction FID (rFID, where lower is better) by 74% on ImageNet-1K (2.85 $\rightarrow$ 0.75) and 60% out-of-domain on MJHQ-30K (4.49 $\rightarrow$ 1.81).
  • Text-to-Image Generation: On Janus-Pro 7B, generation FID (gFID) on MJHQ-30K drops by 34% (14.29 $\rightarrow$ 9.42). An identically trained diffusion decoder using only standard argmax tokens hits 11.08, proving the extra leap comes specifically from the discarded logit distribution.
  • Semantic Preservation: Alignment scores stay rock-steady (GenEval ticks up slightly from 77.24 to 78.31; DPG-Bench from 86.94 to 87.64), confirming DCDD sharpens rendering without overwriting intent.
  • Speed Trade-off: Using 30 denoising steps adds 31.2% end-to-end latency (11.86s $\rightarrow$ 15.56s), though the native fast VQ-VAE decoder remains available whenever speed trumps beauty.

Limitations and Future Work

DCDD is bound by a classic rule: garbage in, garbage out. Because it is strictly a post-hoc decoder, it can only exploit information already present in the VLM's logits. When tested on LlamaGen-XL—an older model that produces weaker token sequences and overly confident, spiky distributions (Otsu rank 1, meaning almost no secondary token nuance)—DCDD improved image reconstruction but yielded zero text-to-image generation gains (gFID 74.20 $\rightarrow$ 74.66). DCDD shines brightest when paired with capable upstream VLMs that maintain rich, multi-token uncertainty. Future directions are not explicitly discussed in the main text.

Summary updated

Abstract

Pre-trained discrete-token vision-language models (VLMs) generate images by sampling sequences of codebook indices, but their visual fidelity is bounded by the VQ-VAE decoding stage. Prior work addresses this bottleneck by replacing the discrete tokenizer with continuous or hybrid visual token representations, or by integrating diffusion into the generation pipeline; both routes require foundation-scale retraining or realignment of VLM, which is undesirable when the VLM's broader capabilities should be preserved or when retraining is infeasible. We show that such retraining is unnecessary: before each token is sampled, discrete-token VLMs already compute a full logit distribution over the codebook, but standard decoding discards it after selecting a single index. Under Otsu's threshold, the pre-sampling logits of capable VLMs assign statistically meaningful probability to at least two codebook entries per token, and recovering this distribution can substantially close the fidelity gap. We propose DCDD, a post-hoc framework that conditions a diffusion decoder on this discarded distribution while leaving the VLM frozen. At inference, DCDD converts the VLM's pre-sampling logits into distribution-weighted code vectors; during training, it uses VQ-VAE encoder-derived proxy logits calibrated to match the distributional statistics of the VLM's inference-time logits. Our diffusion decoder then maps these representations to high-fidelity images as an optional alternative to the native VQ-VAE decoder. Trained on ImageNet-1K for 50K steps, DCDD reduces reconstruction FID by 74\% and Janus-Pro 7B's generation FID on MJHQ-30K by 34\%, while semantic alignment across GenEval, DPG-Bench, and WISE remain consistent. Controlled comparisons with diffusion models from the same backbone family, applied either as an image-to-image refiner or as an identically trained decoder on the sampled codes, confirm that the gain stems from conditioning on the VLM's pre-sampling logit distribution rather than from the diffusion model itself. Code is available at https://github.com/jiwoohong93/dcdd_code.
BibTeX
@inproceedings{hong2026logit,
  author = {Ji Woo Hong and Gwanhyeong Koo and Hee Suk Yoon and Eunseop Yoon and SooHwan Eom and Qi Dai and Chong Luo and Chang D. Yoo},
  title = {{Logit-Conditioned Diffusion Decoding for Frozen Discrete-Token VLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ICK4e2LwDl},
}
Figure