DiffiT: Diffusion Vision Transformers for Image Generation

Ali Hatamizadeh, Jiaming Song, Guilin Liu, Jan Kautz, Arash Vahdat
12/4/2023
cs.CVcs.AIcs.LG

Official code: NVlabs/DiffiT (517 stars, last commit 2026-03-09).

Abstract

Diffusion models with their powerful expressivity and high sample quality have achieved State-Of-The-Art (SOTA) performance in the generative domain. The pioneering Vision Transformer (ViT) has also demonstrated strong modeling capabilities and scalability, especially for recognition tasks. In this paper, we study the effectiveness of ViTs in diffusion-based generative learning and propose a new model denoted as Diffusion Vision Transformers (DiffiT). Specifically, we propose a methodology for finegrained control of the denoising process and introduce the Time-dependant Multihead Self Attention (TMSA) mechanism. DiffiT is surprisingly effective in generating high-fidelity images with significantly better parameter efficiency. We also propose latent and image space DiffiT models and show SOTA performance on a variety of class-conditional and unconditional synthesis tasks at different resolutions. The Latent DiffiT model achieves a new SOTA FID score of 1.73 on ImageNet256 dataset while having 19.85%, 16.88% less parameters than other Transformer-based diffusion models such as MDT and DiT,respectively. Code: https://github.com/NVlabs/DiffiT

View on arXivView PDF

Code Implementations(1)

NVlabs/DiffiTOfficial100%

[ECCV 2024] Official Repository for DiffiT: Diffusion Vision Transformers for Image Generation

51720Shell, PythonDec 7, 20227 months agoNOASSERTION

Similar Papers

Cite this paper

@article{hatamizadeh2023diffit,
  title  = {DiffiT: Diffusion Vision Transformers for Image Generation},
  author = {Ali Hatamizadeh and Jiaming Song and Guilin Liu and Jan Kautz and Arash Vahdat},
  year   = {2023},
  eprint = {2312.02139},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02139v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02139.svg)](https://codeofpaper.com/paper/2312.02139)

Discussion