atlas

Research map / Architectures and efficiency / Attention and transformers

U-DiTs: Downsample Tokens in U-Shaped Diffusion Transformers

NeurIPS 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient image transformers · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes U-DiT, a U-Net-style diffusion transformer that performs self-attention on 2x-downsampled query-key-value tokens (pixel-unshuffle, lossless, parallel over four sub-grids), reaching DiT-XL/2 quality with about 1/6 the FLOPs on ImageNet 256.

Problem

Diffusion Transformers abandoned the U-Net architecture in favor of isotropic transformer stacks for latent-space generation, although the U-Net inductive bias is believed to help denoising; it is unclear whether U-Net-style DiTs can be made competitive and efficient.

Approach

Downsample queries, keys and values together (via pixel-unshuffle into four 2x-downsampled sub-grids) for self-attention within a U-Net DiT, keeping tensor size constant so the attention cost drops to 1/4 with no information loss, motivated by the low-frequency dominance of U-Net features.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace full-scale self-attention with query-key-value token downsampling (ablation)DiT-UNet · ImageNet 256×256FID: 93.48 -> 89.43Helped
use key-value downsampling only instead of query-key-value token downsampling (ablation)DiT-UNet · ImageNet 256×256FID: 89.43 -> 94.38Hurt
add a parallel shortcut to depthwise convolution in the downsampler (ablation)U-DiT-T · ImageNet 256×256FID: 89.87 -> 89.43Helped
use Pixel Shuffle downsampling instead of the depthwise-convolution-plus-shortcut design (ablation)U-DiT-T · ImageNet 256×256FID: 89.43 -> 96.15Hurt
add cosine-similarity attention (ablation)U-DiT-T · ImageNet 256×256FID: 89.43 -> 86.96Helped
add RoPE2D (ablation)U-DiT-T · ImageNet 256×256FID: 89.43 -> 84.64Helped
add depthwise convolution to the FFN (ablation)U-DiT-T · ImageNet 256×256FID: 89.43 -> 79.30Helped
add FFN re-parameterization (ablation)U-DiT-T · ImageNet 256×256FID: 89.43 -> 75.71Helped
add all reported modifications (ablation)U-DiT-S · ImageNet 256×256FID: 41.01 -> 31.51Helped
add all reported modifications (ablation)U-DiT-B · ImageNet 256×256FID: 20.89 -> 16.64Helped
add all reported modifications (ablation)U-DiT-L · ImageNet 256×256FID: 12.04 -> 10.08Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet 2012

Benchmarks: ImageNet 256x256 ImageNet 512x512

Metrics: FID sFID IS Precision Recall FLOPs

Baselines: DiT-XL/2 DiT-L/2 DiT-B/2 DiT-S/2 U-ViT-L U-ViT-XL PixArt-alpha-XL/2 DiffiT-XL/2 SiT SiT-LLaMA

Builds on: DiT U-ViT Swin Transformer V2 RoPE Stable Diffusion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy