Papers › Autoregressive Image Generation without Vector Quantization

Autoregressive Image Generation without Vector Quantization

17 Jun 2024arXiv:2406.11838archive 2025-07-28

Tianhong Li, Yonglong Tian, He Li, Mingyang Deng, Kaiming He

Conventional wisdom holds that autoregressive models for image generation are typically accompanied by vector-quantized tokens. We observe that while a discrete-valued space can facilitate representing a categorical distribution, it is not a necessity for autoregressive modeling. In this work, we propose to model the per-token probability distribution using a diffusion procedure, which allows us to apply autoregressive models in a continuous-valued space. Rather than using categorical cross-entropy loss, we define a Diffusion Loss function to model the per-token probability. This approach eliminates the need for discrete-valued tokenizers. We evaluate its effectiveness across a wide range of cases, including standard autoregressive models and generalized masked autoregressive (MAR) variants. By removing vector quantization, our image generator achieves strong results while enjoying the speed advantage of sequence modeling. We hope this work will motivate the use of autoregressive generation in other continuous-valued domains and applications. Code is available at: https://github.com/LTH14/mar.

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="2406.11838")

Code

Syntology Ran 8 of 13 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 7 ran; 1 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.

lth14/mar officialmentioned in papermentioned on GitHubpytorch report
shaochenze/ear mentioned 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

13 samples harvested; 8 ran; 1 honoured the contract we drafted; 5 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
2ran · fixture could not drive it
5ran
5unverified

Licence: 1 of the 13 samples is 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 lth14/mar. 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.

FinalLayer lth14/mar/models/diffloss.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 89c137ff7c13fc84 · report
GaussianDiffusion lth14/mar/models/diffloss.py official repository ran MIT (permissive) · de57ba56d49f5ccb · report
ResBlock lth14/mar/models/diffloss.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 944b8eccd301a676 · report
SimpleMLPAdaLN lth14/mar/models/diffloss.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 11f5d9b171f4a6e3 · report
_WrappedModel lth14/mar/models/diffloss.py official repository ran MIT (permissive) · 68c1d0608671c310 · report
_extract_into_tensor lth14/mar/models/diffloss.py official repository ran · fixture could not drive it MIT (permissive) · 086e19314a5cc8b9 · report
modulate lth14/mar/models/diffloss.py official repository ran · honoured contract fingerprinted MIT (permissive) · 62fcb3912a967a50 · report
DiffLoss lth14/mar/models/diffloss.py official repository unverified MIT (permissive) · 0b1b4cb568fcf57f · report
ModelVarType lth14/mar/models/diffloss.py official repository unverified MIT (permissive) · e58dd85eb8661db5 · report
SpacedDiffusion lth14/mar/models/diffloss.py official repository unverified MIT (permissive) · 5f227e2400952f44 · report
create_diffusion lth14/mar/models/diffloss.py official repository unverified MIT (permissive) · 2b4d845f9d4a841f · report
mask_by_order lth14/mar/models/mar.py official repository unverified MIT (permissive) · d076098d89dd7262 · report
space_timesteps identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · ea9dbc131adf582e · report

Tasks

Image GenerationQuantization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation ImageNet 256x256 MAR-H, Diff Loss FID 1.55 #24 of 94 Archive leaderboard report
Image Generation ImageNet 256x256 MAR-L, Diff Loss FID 1.78 #39 of 94 Archive leaderboard report
Image Generation ImageNet 256x256 MAR-B, Diff Loss FID 2.31 #56 of 94 Archive leaderboard report
Image Generation ImageNet 512x512 MAR-L, Diff Loss FID 1.73 #17 of 52 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

DiffusionSPEED

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