SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.06959 · 2024

ENAT: Rethinking Spatial-temporal Interactions in Token-based Image Synthesis

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 12 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.06959.json · badge: /api/ran/2411.06959.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
leaplabthu/enat canonical (classifier label)
classifier basis: census
13 ran · 3 no recorded run
FunctionStatusWhere it lives
Normalize Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/libs/autoencoder.py
pointer only (licence: NONE) · get_code("9fcdaa6e423e8aa7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

add_gumbel_noise Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/libs/nat_misc.py
pointer only (licence: NONE) · get_code("9ef9985f5609c318")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

center_crop_arr Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/dataset.py
pointer only (licence: NONE) · get_code("f8b4a29a52612a41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

customized_lr_scheduler Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/utils.py
pointer only (licence: NONE) · get_code("4c4a870f0a791ce8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dct2str Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/utils.py
pointer only (licence: NONE) · get_code("507ea4bd829ac4b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_2d_sincos_pos_embed Ran
ran, honoured the contract we drafted
leaplabthu/enat/libs/models.py
pointer only (licence: NONE) · get_code("c92c27c924b517e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_optimizer Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/utils.py
pointer only (licence: NONE) · get_code("7328f4d3c151e58b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_parameter_device Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/taming/models/modeling_utils.py
pointer only (licence: NONE) · get_code("bfdddec04a7257ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_parameter_dtype Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/taming/models/modeling_utils.py
pointer only (licence: NONE) · get_code("4f52e71d06a15422")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_state_dict Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/taming/models/modeling_utils.py
pointer only (licence: NONE) · get_code("934f2eb98d647821")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

modulate Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/libs/models.py
pointer only (licence: NONE) · get_code("03310bba324ae4fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

nonlinearity Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/libs/autoencoder.py
pointer only (licence: NONE) · get_code("3137073275f8c21a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

set_split_position Ran
ran; our contract draft was wrong, not the code
leaplabthu/enat/libs/multiway.py
pointer only (licence: NONE) · get_code("b130dfe7aca61a56")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_2d_sincos_pos_embed_from_grid Not yet run
unverified (harvested, no recorded run)
leaplabthu/enat/libs/models.py
pointer only (licence: NONE) · get_code("665d8a4e8f673a4c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_logger Not yet run
unverified (harvested, no recorded run)
leaplabthu/enat/taming/models/logging.py
pointer only (licence: NONE); the stored copy get_code serves, from Feng-Hong/WINO-DLLM, is pointer only (licence: NONE) · get_code("376bf22d5737fc2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_attn Not yet run
unverified (harvested, no recorded run)
leaplabthu/enat/libs/autoencoder.py
pointer only (licence: NONE) · get_code("f97adc1ae5efb785")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, leaplabthu/enat when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 6 the same month, 7 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_2d_sincos_pos_embed_from_grid 190 other papers
127 dated earlier, 5 the same month, 57 later, 1 same year, order not determinable · 65 only as an assembly brick
1807.10221 (2018-07)
Unified Perceptual Parsing for Scene Understanding
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2111.06377 (2021-11)
Masked Autoencoders Are Scalable Vision Learners
and 187 more not named here
nonlinearity 156 other papers
109 dated earlier, 5 the same month, 38 later, 4 same year, order not determinable · 25 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 153 more not named here
modulate 101 other papers
54 dated earlier, 3 the same month, 43 later, 1 undated · 29 only as an assembly brick
2202.04200 (2022-02)
MaskGIT: Masked Generative Image Transformer
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
and 98 more not named here
get_2d_sincos_pos_embed 69 other papers
40 dated earlier, 2 the same month, 27 later · 12 only as an assembly brick
2203.10897 (2022-03)
Unified Multivariate Gaussian Mixture for Efficient Neural Image Compression
2212.09748 (2022-12)
Scalable Diffusion Models with Transformers
2303.14389 (2023-03)
Masked Diffusion Transformer is a Strong Image Synthesizer
and 66 more not named here
Normalize 54 other papers
37 dated earlier, 3 the same month, 13 later, 1 same year, order not determinable · 3 only as an assembly brick
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2208.13753 (2022-08)
Frido: Feature Pyramid Diffusion for Complex Scene Image Synthesis
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 51 more not named here
center_crop_arr 33 other papers
27 dated earlier, 1 the same month, 4 later, 1 same year, order not determinable
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
2111.14818 (2021-11)
Blended Diffusion for Text-driven Editing of Natural Images
2203.15636 (2022-03)
Diffusion Models for Counterfactual Explanations
and 30 more not named here
get_logger 12 other papers
4 dated earlier, 8 later
2004.10964 (2020-04)
Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
2305.01938 (2023-05)
Doc2SoarGraph: Discrete Reasoning over Visually-Rich Table-Text Documents via Semantic-Oriented Hierarchical Graphs
2406.05478 (2024-06)
Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis
and 9 more not named here
get_parameter_device 10 other papers
10 dated earlier
2304.05568 (2023-04)
Improving Diffusion Models for Scene Text Editing with Dual Encoders
2306.05720 (2023-06)
Beyond Surface Statistics: Scene Representations in a Latent Diffusion Model
2307.10829 (2023-07)
Exact Diffusion Inversion via Bi-directional Integration Approximation
and 7 more not named here
get_parameter_dtype 10 other papers
10 dated earlier
2304.05568 (2023-04)
Improving Diffusion Models for Scene Text Editing with Dual Encoders
2306.05720 (2023-06)
Beyond Surface Statistics: Scene Representations in a Latent Diffusion Model
2307.10829 (2023-07)
Exact Diffusion Inversion via Bi-directional Integration Approximation
and 7 more not named here
make_attn 5 other papers
5 dated earlier
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
2306.09305 (2023-06)
Fast Training of Diffusion Models with Masked Transformers
2402.14167 (2024-02)
T-Stitch: Accelerating Sampling in Pre-Trained Diffusion Models with Trajectory Stitching
and 2 more not named here
add_gumbel_noise 3 other papers
2 dated earlier, 1 same year, order not determinable
2301.00704 (2023-01)
Muse: Text-To-Image Generation via Masked Generative Transformers
2406.05478 (2024-06)
Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis
get_optimizer 3 other papers
3 dated earlier
2406.05478 (2024-06)
Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis
2406.09416 (2024-06)
Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalization
2409.00342 (2024-09)
AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation
dct2str 2 other papers
2 dated earlier
2406.09416 (2024-06)
Alleviating Distortion in Image Generation via Multi-Resolution Diffusion Models and Time-Dependent Layer Normalization
2409.00342 (2024-09)
AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation
load_state_dict 2 other papers
2 dated earlier
2406.05478 (2024-06)
Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis
2410.13136 (2024-10)
Unlocking the Capabilities of Masked Generative Models for Image Synthesis via Self-Guidance
customized_lr_scheduler 1 other paper
1 dated earlier
2406.05478 (2024-06)
Revisiting Non-Autoregressive Transformers for Efficient Image Synthesis

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recently, token-based generation have demonstrated their effectiveness in image synthesis. As a representative example, non-autoregressive Transformers (NATs) can generate decent-quality images in a few steps. NATs perform generation in a progressive manner, where the latent tokens of a resulting image are incrementally revealed. At each step, the unrevealed image regions are padded with mask tokens and inferred by NAT. In this paper, we delve into the mechanisms behind the effectiveness of NATs and uncover two important patterns that naturally emerge from NATs: Spatially (within a step), although mask and visible tokens are processed uniformly by NATs, the interactions between them are highly asymmetric. In specific, mask tokens mainly gather information for decoding, while visible tokens tend to primarily provide information, and their deep representations can be built only upon themselves. Temporally (across steps), the interactions between adjacent generation steps mostly concentrate on updating the representations of a few critical tokens, while the computation for the majority of tokens is generally repetitive. Driven by these findings, we propose EfficientNAT (ENAT), a NAT model that explicitly encourages these critical interactions inherent in NATs. At the spatial level, we disentangle the computations of visible and mask tokens by encoding visible tokens independently, while decoding mask tokens conditioned on the fully encoded visible tokens. At the temporal level, we prioritize the computation of the critical tokens at each step, while maximally reusing previously computed token representations to supplement necessary information. ENAT improves the performance of NATs notably with significantly reduced computational cost. Experiments on ImageNet-256, ImageNet-512 and MS-COCO validate the effectiveness of ENAT. Code is available at https://github.com/LeapLabTHU/ENAT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2411.06959")
get_code_for_paper("2411.06959")
have("2411.06959")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.06959.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.06959.svg)](https://syntology.ai/paper/2411.06959)

Connect an agent — have() is free.