mlsanityData to 7 Oct 2026

Exploring Diffusion Transformer Designs via Grafting

arXiv 2506.05340 ↗First posted 5 Jun 2025cs.LG cs.AIcited by 12

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

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

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 49 of its 61 references that are in the map. First posted on arXiv 5 Jun 2025.

Builds on

49 of 61 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024TinyFusion: Diffusion Transformers Learned Shallow2 Dec
  2. 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformers14 Oct
  3. 2024Scaling Diffusion Transformers to 16 Billion Parameters16 Jul
  4. 2024Scalable Diffusion Models with State Space Backbone8 Feb
  5. 2023Diffusion Models Without Attention30 Nov
  6. 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesis30 Sep
  7. 2022Scalable Diffusion Models with Transformers19 Dec
  8. 2022All are Worth Words: A ViT Backbone for Diffusion Models25 Sep
  9. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps2 Jun
  10. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 39

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  2. 2025Qwen3 Technical Reportcited by 8,195
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2022Flow Matching for Generative Modelingcited by 5,426
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  10. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  11. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  12. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
27 more
  1. 2019Benign Overfitting in Linear Regressioncited by 544
  2. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  3. 2023Photorealistic Video Generation with Diffusion Modelscited by 304
  4. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 207
  5. 2023A Survey on Video Diffusion Modelscited by 203
  6. 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
  7. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
  8. 2024HourVideo: 1-Hour Video-Language Understandingcited by 110
  9. 2025Seaweed-7B: Cost-Effective Training of Video Generation Foundation Modelcited by 81
  10. 2022Deep Model Reassemblycited by 78
  11. 2024DiM: Diffusion Mamba for Efficient High-Resolution Image Synthesiscited by 72
  12. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 66
  13. 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 62
  14. 2025Eagle 2.5: Boosting Long-Context Post-Training for Frontier Vision-Language Modelscited by 62
  15. 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
  16. 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attentioncited by 56
  17. 2024LinFusion: 1 GPU, 1 Minute, 16K Imagecited by 42
  18. 2024LinGen: Towards High-Resolution Minute-Length Text-to-Video Generation with Linear Computational Complexitycited by 41
  19. 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 37
  20. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
  21. 2020Progressive Network Grafting for Few-Shot Knowledge Distillationcited by 25
  22. 2024Matten: Video Generation with Mamba-Attentioncited by 24
  23. 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 24
  24. 2025Scaling Inference-Efficient Language Modelscited by 14
  25. 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scalecited by 12
  26. 2024STAR: Synthesis of Tailored Architecturescited by 7
  27. 2025EDiT: Efficient Diffusion Transformers with Linear Compressed Attentioncited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 9.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025RAPID^3: Tri-Level Reinforced Acceleration Policies for Diffusion Transformer
  2. 2024Unveiling Redundancy in Diffusion Transformers (DiTs): A Systematic Study
  3. 2026DiverseDiT++: Quantifying, Analyzing, and Promoting Representation Diversity in Diffusion Transformers
  4. 2024Delta-DiT: A Training-Free Acceleration Method Tailored for Diffusion Transformers
  5. 2024FasterDiT: Towards Faster Diffusion Transformers Training without Architecture Modification
  6. 2022Exploring Transformer Backbones for Image Diffusion Models
  7. 2026DiffSparse: Accelerating Diffusion Transformers with Learned Token Sparsity
  8. 2026DiverseDiT: Towards Diverse Representation Learning in Diffusion Transformers