Papers › Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis

Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis

8 Jun 2024CVPR 2024 1arXiv:2406.05478archive 2025-07-28

Zanlin Ni, Yulin Wang, Renping Zhou, Jiayi Guo, Jinyi Hu, Zhiyuan Liu, Shiji Song, Yuan YAO, Gao Huang

The field of image synthesis is currently flourishing due to the advancements in diffusion models. While diffusion models have been successful, their computational intensity has prompted the pursuit of more efficient alternatives. As a representative work, non-autoregressive Transformers (NATs) have been recognized for their rapid generation. However, a major drawback of these models is their inferior performance compared to diffusion models. In this paper, we aim to re-evaluate the full potential of NATs by revisiting the design of their training and inference strategies. Specifically, we identify the complexities in properly configuring these strategies and indicate the possible sub-optimality in existing heuristic-driven designs. Recognizing this, we propose to go beyond existing methods by directly solving the optimal strategies in an automatic framework. The resulting method, named AutoNAT, advances the performance boundaries of NATs notably, and is able to perform comparably with the latest diffusion models at a significantly reduced inference cost. The effectiveness of AutoNAT is validated on four benchmark datasets, i.e., ImageNet-256 & 512, MS-COCO, and CC3M. Our code is available at https://github.com/LeapLabTHU/ImprovedNAT.

PaperPDFConference PDFCodeCode 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="2406.05478")

Code

Syntology Ran 6 of 16 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 5 ran with no contract checked.

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

leaplabthu/improvednat officialmentioned in papermentioned on GitHubpytorchMIT 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

16 samples harvested; 6 ran; 0 honoured the contract we drafted; 10 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 · our draft was wrong
5ran
10unverified

Licence: 0 of the 16 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 LeapLabTHU/ImprovedNAT. “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.

BertEmbeddings LeapLabTHU/ImprovedNAT/libs/nat_model.py official repository ran · metamorphic tier: invariant MIT (permissive) · 7001b82c42bcf7a8 · report
add_gumbel_noise leaplabthu/improvednat/libs/nat_misc.py official repository ran · our draft was wrong MIT (permissive) · 9ef9985f5609c318 · report
center_crop leaplabthu/improvednat/dataset.py official repository ran MIT (permissive) · f057bf3471d77c43 · report
count_params leaplabthu/improvednat/taming/modules/util.py official repository ran MIT (permissive) · 5ef87f1a172f152b · report
get_lr_scheduler leaplabthu/improvednat/utils.py official repository ran MIT (permissive) · 20380250dc418d5c · report
random_crop_arr leaplabthu/improvednat/dataset.py official repository ran MIT (permissive) · 05d1f95a391c0ec3 · report
Attention LeapLabTHU/ImprovedNAT/libs/nat_model.py official repository unverified MIT (permissive) · c707cacd32c81e73 · report
Block LeapLabTHU/ImprovedNAT/libs/nat_model.py official repository unverified MIT (permissive) · edd136332f6ae67e · report
UViT LeapLabTHU/ImprovedNAT/libs/nat_model.py official repository unverified MIT (permissive) · d5608565226216c9 · report
center_crop_arr leaplabthu/improvednat/dataset.py official repository unverified MIT (permissive) · f8b4a29a52612a41 · report
customized_lr_scheduler leaplabthu/improvednat/utils.py official repository unverified MIT (permissive) · 4c4a870f0a791ce8 · report
get_logger leaplabthu/improvednat/taming/models/logging.py official repository unverified MIT (permissive) · 376bf22d5737fc2a · report
get_optimizer leaplabthu/improvednat/utils.py official repository unverified MIT (permissive) · 7328f4d3c151e58b · report
get_parameter_device leaplabthu/improvednat/taming/models/modeling_utils.py official repository unverified MIT (permissive) · bfdddec04a7257ca · report
get_parameter_dtype leaplabthu/improvednat/taming/models/modeling_utils.py official repository unverified MIT (permissive) · 4f52e71d06a15422 · report
load_state_dict leaplabthu/improvednat/taming/models/modeling_utils.py official repository unverified MIT (permissive) · 934f2eb98d647821 · report

Tasks

Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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