﻿# VAR next-scale prediction: a level schedule is part of the model artifact

Understand coarse-to-fine VAR generation, why a scale contains parallel spatial tokens, and why changing its grid schedule differs from ordinary image resizing.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-var-next-scale-token-grid-checkpoint-schedule/
Language: en

## Change the unit of autoregression

The [VAR paper](https://arxiv.org/abs/2404.02905) replaces raster-order next-token image prediction with coarse-to-fine next-scale prediction. The next prediction unit is a spatial scale, not simply the next pixel location in a flattened image. This matters when reasoning about serving: a token-generation API designed around appending isolated text positions does not automatically express the intended scale-wise computation, even though both approaches are described as autoregressive.

## Follow a scale through the implementation

The [official model source](https://raw.githubusercontent.com/FoundationVision/VAR/main/models/var.py) iterates over a configured patch-grid schedule, produces logits for a scale, converts sampled identifiers through the visual codebook, and updates the representation used for the following scale. Positions within the current scale are handled together. That is different from independently completing unrelated images at different resolutions. The progressive state belongs to a single generated example and must remain associated with its conditioning and sampled history.

## Treat grid schedules as learned structure

The source creates positional and level-related structures from the configured grids. Appending an extra larger grid at inference is therefore not equivalent to resizing a finished picture. A different schedule changes the learned sequence structure and the tokenizer interaction. Use the schedule paired with the artifact unless a supported adaptation explicitly defines another. Ordinary post-generation scaling can change display dimensions, but it does not retroactively become an additional trained VAR prediction level.

## Keep class conditioning distinct from text prompts

The [author repository](https://github.com/FoundationVision/VAR) demonstrates the original class-conditioned generation setup. Do not infer a general text-to-image interface merely from comparisons with text-capable image systems or the presence of transformer machinery. For a concrete evaluation, retain the selected class condition, grid schedule, tokenizer, seed, and sampling controls. A label-conditioned image can be useful without satisfying a product requirement for arbitrary descriptive prompts; these are different acceptance targets.

## Test transitions rather than only the final file

For a failed port, compare the per-scale shapes and progressive visual state before blaming the final image decoder. Preserve the original schedule while changing implementation details so the comparison has a stable meaning. Materials on [tensor axes](/journal/tensor-axes-batch-sequence-hidden/) and [artifact validation](/journal/safetensors-artifact-validation/) support these checks. Performance should be measured for the complete scale-wise process; this article does not transfer the paper's benchmark results to an untested GPU or serving stack.
