PiD: Fast and High-Resolution Latent Decoding with Pixel Diffusion

Yifan Lu, Qi Wu, Jay Zhangjie Wu, Zian Wang, Huan Ling, Sanja Fidler, Xuanchi Ren

TL;DR

PiD (Pixel diffusion Decoder) replaces the traditional, slow "decode-then-upsample" pipeline in text-to-image models with a single conditional pixel diffusion module. By unifying decoding and super-resolution, it directly transforms low-resolution latents into high-fidelity $4\times$ or $8\times$ upscaled images up to $6\times$ faster than cascaded baselines, achieving a blistering 210 ms latency for 2K images on an NVIDIA GB200 GPU.

What Problem Does This Paper Address?

Modern high-resolution text-to-image generators (such as latent diffusion or autoregressive models) perform the heavy lifting of image synthesis inside a highly compressed latent space to save computational costs. To produce the final image, a decoder—typically a Variational Autoencoder (VAE)—maps these latents back into pixel space.

However, standard VAE decoders are strictly reconstruction-oriented; they are optimized to invert an encoder rather than generate new details. At megapixel scales, they struggle to synthesize fine high-frequency textures and often amplify artifacts present in the generated latents. To achieve 2K or 4K outputs, current state-of-the-art pipelines rely on a cumbersome cascade: decoding the latent to a low-resolution image, passing it through a separate diffusion-based super-resolution model, and decoding it again. This process is slow, memory-intensive, and bottlenecked by the structural limitations of the VAE.

Methods

The authors introduce PiD, which reformulates latent decoding as a conditional pixel diffusion task. Instead of treating decoding and upsampling as separate steps, PiD unifies them into a single generative module.

Conventional Cascaded Pipeline:
[Low-Res Latent] ──> [VAE Dec.] ──> [Upsampler DM] ──> [VAE Dec.] ──> [High-Res Image]

PiD Pipeline:
[Low-Res Latent] ──────────────────> [ PiD ] ──────────────────────> [High-Res Image]

Key technical components include:

  • Pixel Diffusion Backbone: Built on top of PixelDiT (a pixel-space diffusion transformer), scaled to 2K and 4K resolutions using an NTK-aware Rotary Position Embedding (RoPE) variant for spatial extrapolation.
  • Lightweight Latent Adapter: A ControlNet-style 2D convolutional path aligns and injects the low-resolution latent features into the high-resolution pixel diffusion backbone.
  • Noisy Latent Conditioning & Sigma-Aware Gating: Rather than training only on clean latents, the authors intentionally corrupt the input latents with varying noise levels during training. A specialized "sigma-aware gate" dynamically modulates how much the network trusts the latent based on its noise level $\sigma$. This allows the decoder to handle partially denoised latents seamlessly.
  • Few-Step Distillation: To maximize efficiency, the multi-step teacher model is distilled into a 4-step student using Distribution Matching Distillation (DMD2), eliminating the need for separate classifier-free guidance (CFG) passes at inference time.
Overview of the PiD architecture and early termination inference strategy.

Datasets

PiD was trained on a curated dataset of 2.6 million high-quality images compiled from:

  • MultiAspect-4K-1M
  • Rendered PDF data
  • Internally procured high-resolution images

To ensure data quality, the authors filtered out low-quality samples using Q-Align. Images were organized into aspect-ratio buckets (16:9, 4:3, 1:1, etc.) and center-cropped to target resolutions (e.g., $2048 \times 2048$ for 1:1). For robust text conditioning, every image was recaptioned with three varying caption lengths (short, medium, long) using Qwen3-VL-8B-Instruct.

Key Insights and Ideas

  • Generative Prior over Pure Reconstruction: By using a powerful text-to-image pixel diffusion model as a decoder prior, PiD can "hallucinate" plausible, sharp high-frequency details (like skin pores, fabric weaves, or foliage) that are physically missing from the compressed latent space.
  • Early Termination is a "Free Lunch": Because PiD is trained to handle noise-corrupted latents, users can halt the base latent diffusion model (LDM) early (e.g., stopping at step 24 of 28). PiD absorbs the remaining denoising steps and performs the upsampling simultaneously, saving upstream compute without sacrificing final image quality.
Visual comparison showing how intermediate LDM termination steps allow PiD to generate sharper, imagined details.
  • Universal Semantic Decoding: PiD isn't restricted to VAE latents. It generalizes remarkably well to purely semantic representations from vision encoders like DINOv2 and SigLIP. This makes it an ideal match for Representation Autoencoder (RAE) frameworks, where latents dictate global structure but lack low-level texture details.

Key Results

  • Substantial Speedups: PiD decodes a $512 \times 512$ latent directly into a $2048 \times 2048$ image in under 1 second (using 13 GB peak memory) on a consumer RTX 5090. On an enterprise GB200 GPU with torch.compile, it runs in just 210 ms—making it 3–6$\times$ faster than one-step diffusion super-resolution baselines like SeedVR2, TSD-SR, and InvSR.
  • Superior Visual Quality: Quantitative evaluations across multiple no-reference metrics (NIQE, MUSIQ, Unipercept IQA) show that PiD consistently outperforms traditional VAE decoding paired with state-of-the-art super-resolution models.
  • Strong MLLM Preference: In blind pairwise quality matchups judged by advanced multimodal LLMs (including GPT-5.5, Gemini 3 Flash, and Claude Opus 4.6), PiD achieved overwhelming win rates ranging from 80.5% to 99.9% against cascaded baselines.
Pairwise image quality preference win rates across different closed-source MLLM judges.

Limitations and Future Work

While PiD excels at generating perceptually stunning textures and realistic details, the authors note a nuance in small-text reconstruction. Although the distilled 4-step student model significantly improves perceptual similarity metrics (like LPIPS), it does not strictly maximize pixel-wise alignment (resulting in slightly lower PSNR/SSIM compared to multi-step teacher variants). This suggests that while the text strokes look visually plausible, they may not perfectly match the exact pixel ground truth of the original source. Future work could focus on tightening local structural fidelity for text-heavy or highly structured geometric layouts.

Summary updated

BibTeX
@inproceedings{lu2026pid,
  author = {Yifan Lu and Qi Wu and Jay Zhangjie Wu and Zian Wang and Huan Ling and Sanja Fidler and Xuanchi Ren},
  title = {{PiD: Fast and High-Resolution Latent Decoding with Pixel Diffusion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tkGw4mDy71},
}
Figure