Papers › Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction

Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction

3 Apr 2024arXiv:2404.02905archive 2025-07-28

Keyu Tian, Yi Jiang, Zehuan Yuan, Bingyue Peng, LiWei Wang

We present Visual AutoRegressive modeling (VAR), a new generation paradigm that redefines the autoregressive learning on images as coarse-to-fine "next-scale prediction" or "next-resolution prediction", diverging from the standard raster-scan "next-token prediction". This simple, intuitive methodology allows autoregressive (AR) transformers to learn visual distributions fast and generalize well: VAR, for the first time, makes GPT-like AR models surpass diffusion transformers in image generation. On ImageNet 256x256 benchmark, VAR significantly improve AR baseline by improving Frechet inception distance (FID) from 18.65 to 1.73, inception score (IS) from 80.4 to 350.2, with around 20x faster inference speed. It is also empirically verified that VAR outperforms the Diffusion Transformer (DiT) in multiple dimensions including image quality, inference speed, data efficiency, and scalability. Scaling up VAR models exhibits clear power-law scaling laws similar to those observed in LLMs, with linear correlation coefficients near -0.998 as solid evidence. VAR further showcases zero-shot generalization ability in downstream tasks including image in-painting, out-painting, and editing. These results suggest VAR has initially emulated the two important properties of LLMs: Scaling Laws and zero-shot task generalization. We have released all models and codes to promote the exploration of AR/VAR models for visual generation and unified learning.

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

Code

Syntology Ran 5 of 11 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: community (archive-listed): 11 samples from 2 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

FoundationVision/VAR officialmentioned in papermentioned on GitHubpytorchMIT report
EkaterinaXie/LiteVAR mentioned on GitHubpytorchMIT report
FoundationVision/Infinity 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

11 samples harvested; 5 ran; 0 honoured the contract we drafted; 6 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.

3ran · our draft was wrong
2ran · fixture could not drive it
6unverified

Licence: 0 of the 11 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

Normalize EkaterinaXie/LiteVAR/models/basic_vae.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 9fcdaa6e423e8aa7 · report
get_params_num FoundationVision/Infinity/infinity/models/infinity.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 6a19741de3a68058 · report
nonlinearity EkaterinaXie/LiteVAR/models/basic_vae.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 3137073275f8c21a · report
sample_with_top_k_top_p_also_inplace_modifying_logits_ FoundationVision/Infinity/infinity/models/infinity.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 9526ce09c7148703 · report
sampling_with_top_k_top_p_also_inplace_modifying_probs_ FoundationVision/Infinity/infinity/models/infinity.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 5451c3f14c7e520c · report
allgather EkaterinaXie/LiteVAR/dist.py community (archive-listed) unverified MIT (permissive) · e847ee15f089dee6 · report
allreduce EkaterinaXie/LiteVAR/dist.py community (archive-listed) unverified MIT (permissive) · ff4c548fd07140d0 · report
make_attn EkaterinaXie/LiteVAR/models/basic_vae.py community (archive-listed) unverified MIT (permissive) · 793c7e2489dd8dfc · report
new_group EkaterinaXie/LiteVAR/dist.py community (archive-listed) unverified MIT (permissive) · 826ea3fc406a6a09 · report
should_replace EkaterinaXie/LiteVAR/demo_sample_batch_quant.py community (archive-listed) unverified MIT (permissive) · 3c57a99a764d06f2 · report
slow_attn_ban_mini_token_2 EkaterinaXie/LiteVAR/models/ban_all_1.py community (archive-listed) unverified MIT (permissive) · 577a75b98b013aed · report

Tasks

Image GenerationImage ReconstructionLanguage ModellingLarge Language ModelZero-shot Generalization

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Generation ImageNet 256x256 VAR (Visual Autoregressive) FID 1.73 #37 of 94 Archive leaderboard report
Image Reconstruction Ultra-High Resolution Image Reconstruction Benchmark VAR (16x16) PSNR 21.79 #6 of 6 Archive leaderboard report
Image Reconstruction Ultra-High Resolution Image Reconstruction Benchmark VAR (16x16) rFID 9.85 #6 of 6 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

Absolute Position EncodingsAdamAdaptive Instance NormalizationAttentionDiffusionGPTGPT-2Label SmoothingLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionTransformerVQ-VAE

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