Exploring Diffusion Transformer Designs via Grafting
Keshigeyan Chandrasegaran, Michael Poli, Daniel Y. Fu, Dongjun Kim, Lea M. Hadzic, Manling Li, Agrim Gupta, Stefano Massaroli, Azalia Mirhoseini, Juan Carlos Niebles, Stefano Ermon, Fei-Fei Li
摘要
Designing model architectures requires decisions such as selecting operators (e.g., attention, convolution) and configurations (e.g., depth, width). However, evaluating the impact of these decisions on model quality requires costly pretraining, limiting architectural investigation. Inspired by how new software is built on existing code, we ask: can new architecture designs be studied using pretrained models? To this end, we present grafting, a simple approach for editing pretrained diffusion transformers (DiTs) to materialize new architectures under small compute budgets. Informed by our analysis of activation behavior and attention locality, we construct a testbed based on the DiT-XL/2 design to study the impact of grafting on model quality. Using this testbed, we develop a family of hybrid designs via grafting: replacing softmax attention with gated convolution, local attention, and linear attention, and replacing MLPs with variable expansion ratio and convolutional variants. Notably, many hybrid designs achieve good quality (FID: 2.38-2.64 vs. 2.27 for DiT-XL/2) using<2% pretraining compute. We then graft a text-to-image model (PixArt-Sigma), achieving a 1.43x speedup with less than a 2% drop in GenEval score. Finally, we present a case study that restructures DiT-XL/2 by converting every pair of sequential transformer blocks into parallel blocks via grafting. This reduces model depth by 2x and yields better quality (FID: 2.77) than other models of comparable depth. Together, we show that new diffusion model designs can be explored by grafting pretrained DiTs, with edits ranging from operator replacement to architecture restructuring. Code and grafted models: https://grafting.stanford.edu
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformers 引用了 Scalable Diffusion Models with Transformers
- ReHyAt: Recurrent Hybrid Attention for Video Diffusion Transformers 引用了 Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion Transformer
- DisCa: Accelerating Video Diffusion Transformers with Distillation-Compatible Learnable Feature Caching 引用了 Scalable Diffusion Models with Transformers
- DisCa: Accelerating Video Diffusion Transformers with Distillation-Compatible Learnable Feature Caching 引用了 Denoising Diffusion Probabilistic Models
- Scalable Diffusion Models with Transformers 引用了 Denoising Diffusion Probabilistic Models
- Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion Transformer 引用了 Scalable Diffusion Models with Transformers
- One Model, Many Budgets: Elastic Latent Interfaces for Diffusion Transformers 引用了 Scalable Diffusion Models with Transformers
- Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMs 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
引用它的顶会 Paper6
- Attention Surgery: An Efficient Recipe to Linearize Your Video Diffusion TransformerMohsen Ghafoorian, Denis Korzhenkov, Amirhossein HabibianCVPR 2026 · 13 次引用
- ReHyAt: Recurrent Hybrid Attention for Video Diffusion TransformersMohsen Ghafoorian, Amirhossein HabibianCVPR 2026 · 5 次引用
- DisCa: Accelerating Video Diffusion Transformers with Distillation-Compatible Learnable Feature CachingChang Zou, Changlin Li, Songtao Liu, Zhao Zhong 等CVPR 2026 · 5 次引用
- One Model, Many Budgets: Elastic Latent Interfaces for Diffusion TransformersMoayed Haji Ali, Willi Menapace, Ivan Skorokhodov, Dogyun Park 等CVPR 2026 · 4 次引用
- Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMsSong Bian, Tao Yu, Shivaram Venkataraman, Youngsuk ParkICLR 2026 · 3 次引用
它引用的 Paper30
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- Scalable Diffusion Models with TransformersWilliam Peebles, Saining XieICCV 2023 · 5,568 次引用
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
相关 Paper
- LiT: Delving into a Simple Linear Diffusion Transformer for Image GenerationJiahao Wang, Ning Kang, Lewei Yao, Mengzhao Chen 等ICCV 2025 · 10 次引用
- Edit: Efficient Diffusion Transformers with Linear Compressed AttentionPhilipp Becker, Abhinav Mehrotra, Ruchika Chavhan, Malcolm Chadwick 等ICCV 2025 · 9 次引用
- SparseDiT: Token Sparsification for Efficient Diffusion TransformerShuning Chang, Pichao Wang, Jiasheng Tang, Fan Wang 等NeurIPS 2025 · 9 次引用
- Multi-Patch Global-to-Local Transformer Architecture For Efficient Flow Matching and Diffusion ModelQuan Dao, Dimitris N. MetaxasCVPR 2026
- DiTFastAttn: Attention Compression for Diffusion Transformer ModelsZhihang Yuan, Hanling Zhang, Lu Pu, Xuefei Ning 等NeurIPS 2024 · 134 次引用
