On Inductive Biases That Enable Generalization of Diffusion Transformers

Jie An, De Wang, Pengsheng Guo, Jiebo Luo, Alexander Schwing
10/28/2024
cs.CV

No official code found. Best implementation: DiT-Generalization/dit-generalization.github.io (0 stars, last commit 2024-10-29).

Abstract

Recent work studying the generalization of diffusion models with UNet-based denoisers reveals inductive biases that can be expressed via geometry-adaptive harmonic bases. However, in practice, more recent denoising networks are often based on transformers, e.g., the diffusion transformer (DiT). This raises the question: do transformer-based denoising networks exhibit inductive biases that can also be expressed via geometry-adaptive harmonic bases? To our surprise, we find that this is not the case. This discrepancy motivates our search for the inductive bias that can lead to good generalization in DiT models. Investigating the pivotal attention modules of a DiT, we find that locality of attention maps are closely associated with generalization. To verify this finding, we modify the generalization of a DiT by restricting its attention windows. We inject local attention windows to a DiT and observe an improvement in generalization. Furthermore, we empirically find that both the placement and the effective attention size of these local attention windows are crucial factors. Experimental results on the CelebA, ImageNet, and LSUN datasets show that strengthening the inductive bias of a DiT can improve both generalization and generation quality when less training data is available. Source code will be released publicly upon paper publication. Project page: dit-generalization.github.io/.

View on arXivView PDF

Code Implementations(1)

00CSS, HTMLOct 23, 20241 years ago

Similar Papers

Cite this paper

@article{an2024inductive,
  title  = {On Inductive Biases That Enable Generalization of Diffusion Transformers},
  author = {Jie An and De Wang and Pengsheng Guo and Jiebo Luo and Alexander Schwing},
  year   = {2024},
  eprint = {2410.21273},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.21273v1}
}

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/2410.21273.svg)](https://codeofpaper.com/paper/2410.21273)

Discussion