Papers › EDT: An Efficient Diffusion Transformer Framework Inspired by Human-like Sketching

EDT: An Efficient Diffusion Transformer Framework Inspired by Human-like Sketching

31 Oct 2024arXiv:2410.23788archive 2025-07-28

Xinwang Chen, Ning Liu, Yichen Zhu, Feifei Feng, Jian Tang

Transformer-based Diffusion Probabilistic Models (DPMs) have shown more potential than CNN-based DPMs, yet their extensive computational requirements hinder widespread practical applications. To reduce the computation budget of transformer-based DPMs, this work proposes the Efficient Diffusion Transformer (EDT) framework. The framework includes a lightweight-design diffusion model architecture, and a training-free Attention Modulation Matrix and its alternation arrangement in EDT inspired by human-like sketching. Additionally, we propose a token relation-enhanced masking training strategy tailored explicitly for EDT to augment its token relation learning capability. Our extensive experiments demonstrate the efficacy of EDT. The EDT framework reduces training and inference costs and surpasses existing transformer-based diffusion models in image synthesis performance, thereby achieving a significant overall enhancement. With lower FID, EDT-S, EDT-B, and EDT-XL attained speed-ups of 3.93x, 2.84x, and 1.92x respectively in the training phase, and 2.29x, 2.29x, and 2.22x respectively in inference, compared to the corresponding sizes of MDTv2. The source code is released at https://github.com/xinwangChen/EDT.

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.23788")

Code

Syntology Ran 12 of 15 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xinwangchen/edt officialmentioned in papermentioned 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

15 samples harvested; 12 ran; 1 honoured the contract we drafted; 3 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.

1ran · honoured contract
3ran · our draft was wrong
8ran
3unverified

Licence: 2 of the 15 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 xinwangchen/edt. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

AttentionBlock xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 134572c5986fe4b4 · report
ConcatLayer xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 13a3e1751106ddb0 · report
DownSample xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 8f87a045a084b3d9 · report
FinalLayer xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 413ff2ca1aeb13c7 · report
LabelEmbedder xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 3da76c6c6b6525e1 · report
RelativePositionBias xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 5f8f1f6855dddcde · report
TimestepEmbedder xinwangchen/edt/models_edt.py official repository ran fingerprinted Apache-2.0 (permissive) · eaa37c820e8a1833 · report
UpSample xinwangchen/edt/models_edt.py official repository ran Apache-2.0 (permissive) · 60606b9b68ee5cc9 · report
create_logger xinwangchen/edt/train_mask_adan.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b2cc78f4103df806 · report
euclidean_distances xinwangchen/edt/models_edt.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 2862af7287c26735 · report
EDT xinwangchen/edt/models_edt.py official repository unverified Apache-2.0 (permissive) · 03be0381bf318157 · report
EDTBlock xinwangchen/edt/models_edt.py official repository unverified Apache-2.0 (permissive) · dc3f4c792419cf2b · report
modulation_matrix xinwangchen/edt/models_edt.py official repository unverified Apache-2.0 (permissive) · f7362f7feea04ab2 · report
center_crop_arr identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 1712a07966b542ee · report
create_npz_from_sample_folder identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 7b21a01ae77703a3 · report

Tasks

Image Generation

1 archive task tag without a task page not shown.

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