NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PixelDiT: Pixel Diffusion Transformers for Image Generation

Yongsheng Yu, Wei Xiong, Weili Nie, Yichen Sheng, Shiqiu Liu, Jiebo Luo

TL;DR

PixelDiT is a single-stage, end-to-end pixel-space diffusion transformer that completely eliminates the need for a separate, lossy autoencoder (VAE). By introducing a dual-level architecture that separates global semantic learning from local texture refinement, it achieves state-of-the-art pixel-space image generation and avoids the reconstruction artifacts that plague traditional latent diffusion models during image editing.

What Problem Does This Paper Address?

Modern generative image models, such as Stable Diffusion and FLUX, typically operate as Latent Diffusion Models (LDMs). They use a two-stage pipeline: first, a pretrained Variational Autoencoder (VAE) compresses the image into a lower-dimensional latent space; second, a diffusion model performs denoising within this latent space.

While computationally efficient, this approach introduces a major bottleneck: the VAE compression is lossy. It often discards high-frequency details, smooths out textures, and distorts fine structures like scene text. This loss is irreversible, meaning even a perfect diffusion model cannot recover details destroyed by the VAE encoder.

Denoising directly in the original pixel space avoids these artifacts, but it introduces a massive computational challenge. Processing every single pixel as a token results in extremely long sequences, causing the quadratic complexity of global self-attention to become prohibitively expensive at high resolutions. PixelDiT aims to solve this efficiency dilemma, making direct pixel-space diffusion practical and scalable up to megapixel resolutions.

Methods

The authors propose PixelDiT, a fully transformer-based architecture that structures pixel modeling through a dual-level design:

  1. Patch-level Pathway (DiT Blocks): This pathway operates on a coarse grid using aggressive patchification (e.g., $16 \times 16$ patches). It focuses purely on capturing global layout, structure, and semantics, keeping the sequence length short and attention computationally cheap.
  2. Pixel-level Pathway (Pixel Transformer / PiT Blocks): This pathway takes over for fine-grained detail and texture refinement, operating directly on pixel-level tokens.
Overview of the PixelDiT architecture showing the dual-level pathway design.

To make dense per-pixel modeling computationally viable within the PiT blocks, the authors introduce two key mechanisms:

  • Pixel-wise AdaLN Modulation: Instead of applying the same conditioning parameters uniformly across an entire patch, PixelDiT uses a multi-layer perceptron (MLP) to project semantic tokens into independent scale, shift, and gate parameters for every individual pixel. This allows the model to capture highly dense, localized spatial variations.
  • Pixel Token Compaction: To prevent explosive attention costs, $p \times p$ pixel tokens within a patch are linearly compressed into a single compact token before global self-attention is applied. After attention, the tokens are expanded back to their original pixel dimensions. This "compress-attend-expand" pipeline yields a $p^2$-fold reduction in attention sequence length.
Comparison of different AdaLN modulation strategies, highlighting PixelDiT's pixel-wise approach.

Datasets

The model was trained and evaluated across several standard benchmarks:

  • ImageNet-1K: Used for class-conditioned image generation at both $256 \times 256$ and $512 \times 512$ resolutions.
  • Text-to-Image Dataset: A dataset containing approximately 26 million image-text pairs was used to pretrain the text-to-image variant at $512 \times 512$ and fine-tune it at $1024 \times 1024$ resolution.
  • GenEval & DPG-Bench: Used to evaluate text-to-image alignment, compositionality, and text-rendering capabilities.

Key Insights and Ideas

  • Disentangling Semantics from Texture: The core "aha moment" is that global semantic reasoning does not need to happen at the pixel level. By delegating semantics to a coarse patch-level pathway, the pixel-level pathway only needs to focus on local texture alignment, drastically reducing the computational burden.
  • The VAE Bottleneck in Image Editing: When performing local image editing (e.g., changing a bicycle to a motorcycle), latent models distort surrounding background details like text on a wall. Because PixelDiT operates directly in pixel space without a VAE, it preserves background consistency perfectly during local manipulations.
Figure 1. Results of PixelDiT. Please zoom in for details. Text prompts and additional examples are provided in the Appendix.

Key Results

PixelDiT significantly outperforms previous pixel-space generative models and achieves performance competitive with top-tier latent diffusion models:

  • Class-Conditioned Generation (ImageNet):
  • At $256 \times 256$, PixelDiT achieved a Fréchet Inception Distance (FID) of 1.61, outperforming prior pixel models like PixNerd (1.93) and PixelFlow (1.98).
  • At $512 \times 512$, it achieved an FID of 1.81, even surpassing latent-space models like REPA (2.08).
  • Text-to-Image Generation ($1024 \times 1024$): PixelDiT achieved a score of 0.74 on GenEval and 83.5 on DPG-Bench, approaching the performance of massive latent models like SDXL and FLUX.
  • Efficiency: Despite operating directly on pixels, PixelDiT achieves a throughput of 1.07 samples per second at $512 \times 512$ resolution on a single NVIDIA A100 GPU, outperforming existing pixel-space baselines.

Limitations and Future Work

While PixelDiT successfully closes much of the quality and efficiency gap between pixel-space and latent-space models, the authors note that a slight performance gap still remains relative to the absolute best latent diffusion models (such as FLUX-dev). They attribute this to the inherently higher complexity of pixel-space data and noise distributions.

Future work will focus on developing more mature training recipes specifically tailored for pixel space, including optimized noise scheduling, advanced optimization designs, and scaling up the model parameters further.

Summary updated

BibTeX
@inproceedings{yu2026pixeldit,
  author = {Yongsheng Yu and Wei Xiong and Weili Nie and Yichen Sheng and Shiqiu Liu and Jiebo Luo},
  title = {{PixelDiT: Pixel Diffusion Transformers for Image Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=eFpa1qjg2c},
}
Figure