Skip to content

How Do DiTs Denoise? An Aggregator-Predictor View of Attention and MLPs

Gyeonghun Kang, William Xingxu Chen, Xiang Cheng

cs.CV

Abstract

Local denoising helps explain diffusion generalization. How do diffusion transformers (DiTs) implement it? Our aggregator--predictor framework decomposes population local denoising into context aggregation and patch prediction. Single-layer algebra motivates treating attention and MLP as estimators of these quantities. We test this view on pixel DiTs and pretrained U-ViT, JiT, and latent flow models across datasets and resolutions from 64×6464\times64 to 256×256256\times256. We find that (1) attention-selected context transfers across models, and adapting the selected context to each noisy image improves denoising at low noise; (2) DiTs can share a single learned key--value bank across layers for patch prediction while retaining generation quality comparable to DiTs with a separate MLP in each layer; and (3) across related face domains, transplanting jointly adapted QK preserves more source-associated appearance, while transplanting adapted VO+MLP produces more target-associated appearance. Motivated by these findings, we test matched-budget fine-tuning on MetFaces. Across three backbones, adapting VO, MLP, or both with QK frozen yields competitive generation quality, while adapting QK alone performs worse. These results illustrate how DiT components can be reused, replaced, and adapted.

Create a lesson

Metadata

Categories
cs.CV, stat.ML