Papers › Dynamic Diffusion Transformer

Dynamic Diffusion Transformer

4 Oct 2024arXiv:2410.03456archive 2025-07-28

Wangbo Zhao, Yizeng Han, Jiasheng Tang, Kai Wang, Yibing Song, Gao Huang, Fan Wang, Yang You

Diffusion Transformer (DiT), an emerging diffusion model for image generation, has demonstrated superior performance but suffers from substantial computational costs. Our investigations reveal that these costs stem from the static inference paradigm, which inevitably introduces redundant computation in certain diffusion timesteps and spatial regions. To address this inefficiency, we propose Dynamic Diffusion Transformer (DyDiT), an architecture that dynamically adjusts its computation along both timestep and spatial dimensions during generation. Specifically, we introduce a Timestep-wise Dynamic Width (TDW) approach that adapts model width conditioned on the generation timesteps. In addition, we design a Spatial-wise Dynamic Token (SDT) strategy to avoid redundant computation at unnecessary spatial locations. Extensive experiments on various datasets and different-sized models verify the superiority of DyDiT. Notably, with <3% additional fine-tuning iterations, our method reduces the FLOPs of DiT-XL by 51%, accelerates generation by 1.73, and achieves a competitive FID score of 2.07 on ImageNet. The code is publicly available at https://github.com/NUS-HPC-AI-Lab/ Dynamic-Diffusion-Transformer.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2410.03456")

Code

Syntology Ran 15 of 19 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 5 ran · honoured contract; 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 19 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nus-hpc-ai-lab/dynamic-diffusion-transformer officialmentioned in paperpytorch report
alibaba-damo-academy/DyDiT mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 15 ran; 5 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · honoured contract
5ran · our draft was wrong
1ran · fixture could not drive it
4ran
4unverified

Licence: 19 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from nus-hpc-ai-lab/dynamic-diffusion-transformer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

all_reduce nus-hpc-ai-lab/dynamic-diffusion-transformer/misc.py official repository ran no licence file found · pointer only · d1a92b331a1b5f2b · report
all_reduce_mean nus-hpc-ai-lab/dynamic-diffusion-transformer/misc.py official repository ran fingerprinted no licence file found · pointer only · 3dc19396537db789 · report
approx_standard_normal_cdf nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/diffusion_utils.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · d6a68e210556f857 · report
continuous_gaussian_log_likelihood nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/diffusion_utils.py official repository ran · our draft was wrong no licence file found · pointer only · ab1c9568b4e13899 · report
convert_list_to_tensor nus-hpc-ai-lab/dynamic-diffusion-transformer/dynamic_model.py official repository ran no licence file found · pointer only · ad444090bc085d79 · report
create_npz_from_sample_folder nus-hpc-ai-lab/dynamic-diffusion-transformer/sample_ddp.py official repository ran · our draft was wrong no licence file found · pointer only · 7b21a01ae77703a3 · report
get_2d_sincos_pos_embed nus-hpc-ai-lab/dynamic-diffusion-transformer/models.py official repository ran · honoured contract no licence file found · pointer only · c92c27c924b517e8 · report
get_beta_schedule nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/gaussian_diffusion.py official repository ran · honoured contract no licence file found · pointer only · 3e0fa4efc22272d4 · report
get_named_beta_schedule nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/gaussian_diffusion.py official repository ran · honoured contract no licence file found · pointer only · 36e30c7fb679ec78 · report
gumbel_softmax nus-hpc-ai-lab/dynamic-diffusion-transformer/dynamic_model.py official repository ran fingerprinted no licence file found · pointer only · bdd92b1a82bf4ae1 · report
mean_flat nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/gaussian_diffusion.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · f6d7c009a8efb8b7 · report
modulate nus-hpc-ai-lab/dynamic-diffusion-transformer/models.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 03310bba324ae4fb · report
normal_kl nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/diffusion_utils.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 8afbfc42c6ea0448 · report
round_to_nearest nus-hpc-ai-lab/dynamic-diffusion-transformer/models.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 25a3e8171033da6c · report
space_timesteps nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/respace.py official repository ran · fixture could not drive it no licence file found · pointer only · ea9dbc131adf582e · report
create_named_schedule_sampler nus-hpc-ai-lab/dynamic-diffusion-transformer/diffusion/timestep_sampler.py official repository unverified no licence file found · pointer only · e48218d7d73db0b3 · report
download_model nus-hpc-ai-lab/dynamic-diffusion-transformer/download.py official repository unverified no licence file found · pointer only · 6a0d5ecd441905cc · report
find_model nus-hpc-ai-lab/dynamic-diffusion-transformer/download.py official repository unverified no licence file found · pointer only · 29947a0a94157558 · report
get_grad_norm_ nus-hpc-ai-lab/dynamic-diffusion-transformer/misc.py official repository unverified no licence file found · pointer only · a93537b210192d0c · report

Tasks

Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDiffusionDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections