Discrete visual tokens encode images for reconstruction and serve as training targets for autoregressive image generators. Vector-quantized tokenizers typically assign each encoder feature its nearest code independently. The decoder uses these codes jointly, so a sequence of individually nearest codes can reconstruct an image less faithfully than an alternative assignment. A local model of the reconstruction loss yields a closest-vector problem with a decoder-dependent target and metric. Reconstruction-only search improves PSNR across the frozen tokenizers we test. Different code sequences can achieve similar reconstruction quality, leaving room to favour more predictable ones. We introduce RecaP (Reconstruction and Predictability), which selects codes for a frozen tokenizer by balancing how faithfully they reconstruct the image with how likely their sequence is under a pretrained autoregressive prior. On ImageNet, LlamaGen GPT-B trained on RecaP tokens achieves lower early-checkpoint FID against training images than GPT-B trained on nearest-neighbour tokens. The difference is smaller against held-out images. On an ImageNet subset, the prior improves generation at comparable reconstruction FID. Our code is available at: https://github.com/gmum/recap
Figure 1. Reconstruction with a frozen LlamaGen VQ-16 tokenizer. RecaP (λ=0.01) and NN assign different codes to the same images. NN changes the larger chimpanzee’s eye and mouth, while RecaP keeps their shape. PSNR is measured on the whole image; crop selection is described in App. 3.2. Figure 2 shows the effect on generation.
Introduction
Discrete visual tokens provide a finite vocabulary for autoregressive image generation [19, 63, 65]. A visual tokenizer encodes each image as a sequence of indices into a codebook of learned vectors. Its decoder uses the selected codes to reconstruct the image, and the generator learns to predict the same indices. At generation time, the decoder turns sampled sequences back into images. The choice of codes determines both what the decoder can recover (Fig. 1) and what the generator is trained to predict.
To choose the codes, a vector-quantized tokenizer first maps the image to a sequence of continuous features. Nearest-neighbour (NN) assignment selects the closest codebook entry at each position with an independent lookup [19, 66]. Recent work has improved how codebooks are learned [61, 79] and shown how to train larger visual tokenizers [70]. We instead ask how much reconstruction quality we can recover by changing the assignment rule while keeping the encoder, codebook and decoder fixed.
Proximity to an encoder feature gives only a partial picture of what will reconstruct well. The decoder can respond differently to equally large changes in different latent directions. The effect of changing one code can also depend on the codes at other positions. A local quadratic model of the reconstruction loss gives a closest-vector problem whose target can differ from the encoder output and whose metric reflects the decoder’s sensitivity (Sec. 3.2). Reconstruction-only search improves PSNR across the pretrained tokenizers we test at fixed codebook size and sequence length (Tab. 1). The same pattern holds on COCO and DIV2K for the tokenizers evaluated there (App. Tab. 4).
Reconstruction search can find substantially different token sequences at similar PSNR (Sec. 3.3). This gives us room to change the generator’s training targets while preserving reconstruction quality. Prior work encourages predictable tokens during tokenizer training [57, 68]. We use predictability when choosing codes with a frozen tokenizer.
RecaP uses a pretrained autoregressive prior to favour sequences whose codes are predictable in context. We combine the prior with a likelihood based on the reconstruction loss and search over nearby codebook entries by maximum a posteriori inference. Running the search with reconstruction loss alone gives us a control for testing what the prior adds when the resulting sequences are used to train a generator.
We train class-conditional LlamaGen GPT-B on ImageNet with the same training recipe for both token sets. RecaP lowers early-checkpoint FID against the training images, including at matched guidance (Fig. 2 and Tab. 3). The difference is smaller against validation images (Tab. 2). On an ImageNet subset, adding the prior lowers generation FID at similar reconstruction FID. Giving the prior more weight makes the selected tokens easier to predict under that prior but worsens generation FID (Tab. 4).
Preparing RecaP tokens adds a one-time encoding cost. Reusing the tokens across runs can reduce the cost per generator at comparable training-reference FID (§ 4.4).
Contributions
The nearest-neighbour assignment gap. We formulate code assignment as a closest-vector problem under a local model of the reconstruction loss and characterize when nearest-neighbour assignment is exact in that model. Using reconstruction-only search, we measure how much reconstruction quality can be recovered by changing code assignments in frozen pretrained tokenizers.
Token selection for autoregressive generation. We introduce RecaP, which combines the reconstruction loss with an autoregressive prior to select training targets for an image generator. In controlled training experiments, we measure the effect of RecaP on GPT-B and isolate the contribution of the prior on an ImageNet subset.
Figure 2. Code assignment changes the generator’s training targets. (a) The same frozen tokenizer encodes each view using NN or RecaP. Coloured cells mark differences between the resulting token maps. Both GPT-B models use the same training recipe. (b) On IN-1k at cfg 2.0, RecaP at epoch 100 reaches the FID-10k of NN at epoch 300 (dashed line); FID-10k against training images, mean and range over three seeds. At epoch 100, gFID-50k improves by 16% on IN-1k (p=0.003) and 9.5% on IN-100 (Tab. 2).
Related work
Visual tokenizers such as VQ-VAE and VQGAN assign each encoder feature to a code independently [19, 66]. Later work enlarges the codebook [61, 78, 79], uses implicit grids [46, 50, 72] or stacks residual codes [30, 41]. Other work changes the token layout [73], scales the tokenizer [9, 70] or learns a new quantizer [20]. CRT, LARP, AliTok and GEAR shape tokens for generation during training [44, 57, 68, 69]. RecaP uses predictability to select codes at encoding time with a frozen tokenizer.
Figure 3. Decoder-aware code assignment and the RecaP search. (a) In the local model, the reconstruction loss has a shifted target and an anisotropic metric, so a code farther from the encoder feature zt can reconstruct better than the nearest one. (b) Encoder, codebook, decoder and prior stay frozen. For each position t (zoomed in), the decoder reads a mixture of the m=16 nearest codes. Gradient steps on J (blue track) update only the mixture logits s, as τ decreases and the weights sharpen. The final argmax gives one discrete token map per view; blue cells mark codes that differ from NN.
Encoding-time optimization. Iterative inference reduces the amortization gap in VAEs [15, 35, 47], and neural image codecs refine latents at encoding time [7, 31, 71]. Lao Beyer et al. [40] optimize codes of a frozen 1D tokenizer for editing and training-free generation. Soft quantization and relaxed posteriors provide related optimization tools [3, 27, 59] [51]. We measure the reconstruction gap left by the released assignment rule and train generators on the reassigned tokens.
Rate–distortion assignment. Our objective takes the form of entropy-constrained VQ [14], with a learned decoder and an autoregressive prior. Related assignment criteria appear in video coding [53], speech coding [60] and text segmentation [38, 48]. The local assignment problem also connects to lattice decoding and second-order weight quantization, including Babai’s nearest-plane rule and its use in GPTQ [4, 10, 11, 12, 22, 52].
Training targets for generators. VA-π combines a decoder likelihood and an autoregressive prior to tune a generator on fixed tokens [43], and feature-space Fréchet loss supervises generator post-training [76]. RecaP applies its objective when choosing the training tokens. Related ways to change training targets include reassigning speech units [32, 33, 67], sampling multiple token maps or image crops [41, 63], and distilling a teacher’s next-token distribution at each training step [26, 34, 56]. We compare additional crops, multiple token maps and distillation in Sec. 5.
FID evaluation. FID has finite-sample bias and depends on the evaluation protocol [13, 25, 39, 54, 62, 77]. We derive the bias when each reconstruction is paired with its original.
RecaP: tokenization as MAP inference
We first analyse when independent nearest-code lookup solves the reconstruction problem. We then use reconstruction and an autoregressive prior to choose the token maps on which a generator trains.
Setup
For image x, encoder E returns one feature per position, z=E(x)=(z1,…,zn). A token map k∈[K]n selects vectors q(k)=(ck1,…,ckn) from C={c1,…,cK}⊂Rd, and the decoder reconstructs D(q(k)). The released NN rule sets ktNN=argminj∥zt−cj∥ independently at each position (IBQ selects the largest inner product). Let ℓ(k)=ℓ(x,D(q(k))) be the reconstruction loss without the adversarial term. The assignment gap is ℓ(kNN)−minkℓ(k). We quantify the recoverable improvement by comparing the PSNR of the best map found by search with that of the NN map.
Why nearest neighbour leaves a gap
The decoder can respond differently across latent directions and couple codes at different positions. We approximate ℓ(q)=ℓ(x,D(q)) around q=z, with gradient g and Gauss–Newton matrix H≻0 (damped if needed). Writing ∥v∥H2=v⊤Hv, we obtain
ℓ(q)≈ℓ(z)−21g⊤H−1g+21∥q−t∥H2,t=z−H−1g.(1)
Minimizing Eq. (1) over q∈Cn gives a closest-vector problem with target t and metric H. NN uses z as the target and measures distance with I. For distinct encoder features, it is exact in the local model for every codebook only if g=0 and H has isotropic diagonal blocks and zero off-diagonal blocks (App. Lem. 2). This keeps the target at z and makes the loss separable and isotropic within each position.
To isolate the role of the metric, we fix the target at t and use a high-resolution codebook model. In this setting, the expected error ratio between independent Euclidean lookup and sequential nearest-plane assignment [1, 4] splits into two factors. One captures directional sensitivity within a position and the other captures coupling between positions. Under this model, denser codes reduce absolute error, while the relative penalty for using the wrong metric stays the same (App. Prop. 1 and App. Cor. 1). Appendix 1 also checks these effects on trained tokenizers. The search below uses the reconstruction loss of the frozen decoder directly.
Figure 4. Where changing tokens improves reconstruction. A COCO image (LlamaGen VQ-16): some patches whose token RecaP₀ leaves unchanged (clear cells) also show lower squared error. The left column shades each changed token by the rank of its new code by distance to the encoder feature; the darkest shade covers ranks 16 and above. The right column shows the smoothed change in squared error, blue favouring RecaP₀ and red favouring NN. Bottom row: the four 64 px windows with the most changed tokens, magnified 2×.
The RecaP objective
Different code maps can reconstruct an image nearly equally well. Two runs of reconstruction-only search from perturbed starts agree on only 55% of token positions at equal PSNR. This gives the prior room to favour more predictable sequences while retaining reconstruction quality. For a class label y, a pretrained autoregressive generator defines the prior pθ(k∣y). We encode x by minimizing
The candidate set K(x) combines nearby codes at each position, ranked as in the tokenizer’s lookup. The weight λ sets the trade-off between reconstruction loss and bits per token under the prior. For λ>0, the objective gives MAP inference over K(x) under a reconstruction-based likelihood with a code-independent normalizer (App. § 8.6). At λ=0, RecaP₀ searches using reconstruction loss alone and can refine the result outside K(x). Unless stated otherwise, RecaP uses λ=0.01 and the released generator as prior.
Annealed relaxation
We approximate Eq. (2) by letting the decoder read a mixture of candidate codes at each position (Fig. 3b). The weights πt=softmax(st/τ) define the soft code q~t=∑jπtjctj. We initialize st so that its argmax gives the NN code. Adam [36] updates the logits as the temperature τ decreases and the mixtures sharpen. The final argmax gives a discrete code at each position.
The prior reads the expected embeddings of preceding tokens and scores each candidate at the current position. The mean-field rate averages their negative log-probabilities under πt. It is differentiable and reduces to the discrete rate when each position selects a single code. Appendix Algorithm 1 and Apps. § 8.7 and 4 give the algorithm, its derivation and the settings. Appendix § 14 compares simpler ways to search for reconstruction codes.
Tokens for generation
The prior scores sequences during encoding and can change the distribution of the resulting training targets. We encode each training view once and can reuse those token maps across runs. Each downstream generator trains on the selected maps and samples using its usual recipe. Within the candidate sets, exact MAP minimizes expected reconstruction loss among encoders with the same joint distribution of classes and code maps (App. Prop. 2).
Experiments
We compare search with NN to measure how much reconstruction quality reassignment recovers. We then train generators on the selected tokens and use RecaP0 to test what adding the prior contributes.
Setup
For reconstruction, we compare NN and RecaP0 on the same ImageNet validation images across twelve frozen tokenizers from seven families. For generation, we train the same class-conditional LlamaGen GPT-B on different tokens of the same images and views, with the same training recipe and budget. We test a 100-class subset (IN-100) and full ImageNet (IN-1k). The default views are the centre crop and its horizontal flip. Appendix 4 gives implementation details.
Reconstruction FID (rFID) compares reconstructions with their originals. We also report PSNR and both raw and bias-corrected rFID, since pairing each image with its reconstruction affects finite-sample bias (App. 2). Generation FID (gFID) uses training images as the reference, and held-out gFID uses validation images. For the main gFID-50k comparison, we choose each run’s classifier-free guidance (cfg) scale on 10k samples. The assignment objective measures rate under the frozen prior. To measure how predictable the selected targets are for the trained generator, we report its validation negative log-likelihood (NLL) in bits per token on its own assignments.
We mark analyses outside the pre-registered comparisons as post hoc. Generation results use three training seeds per variant unless stated otherwise. Third seeds were added after observing the two-seed results (App. 5). The main text reports unadjusted, two-sided Welch tests. The appendix also reports Holm-adjusted tests for several pre-registered comparison families. An anonymized implementation of RecaP is included in the supplementary material.
Reconstruction
Reconstruction-only search improves PSNR by 0.9–1.9 dB across all twelve tokenizers at fixed codebook size and sequence length (Tab. 1). At least 99.7% of images improve, rFID decreases by 11–42% for eleven tokenizers, and the bias-corrected estimate decreases for the same eleven. LPIPS-A, which uses a different feature network from the LPIPS-VGG term used in search, decreases or stays constant. The pre-registered COCO and DIV2K comparisons also show PSNR gains for the tokenizers tested there (App. Tab. 4).
On 504 ImageNet validation images with LlamaGen VQ-16, RecaP0 changes 64% of positions. Patches whose token stays fixed account for 32% of the total squared-error reduction, consistent with the decoder mixing information across positions (Fig. 4 and App. 3.3).
Comparison with simpler search. With a budget of 50 decoder passes per method, straight-through refinement and continuous latent refinement with Adam followed by NN recover 81% and 60%, respectively, of the PSNR gain over NN achieved by our reconstruction-only relaxation. The comparison uses λ=0 and omits the relaxation’s final discrete refinement (App. § 14).
The distributional gains depend on the feature space. After bias correction, four of eleven tokenizers improve in DINOv2 space (App. Tab. 3). For GigaTok B-L with the DINO discriminator, the PSNR gain comes with a 10% increase in rFID. For GigaTok B-L-2D, RecaP0 reaches 0.72 rFID. Comparisons with published scores depend on the crop and codebook size (App. 3).
Figure 5. Fine texture after reassignment. RecaP0 smooths the parrot’s feathers (top) and the hummingbird’s throat feathers (bottom); adding the local energy term (γ=0.02) brings their finest-scale energy closer to the original’s. Percentages are relative to the original window. 64 px windows (yellow boxes) at 4× zoom of a DIV2K image (top) and an ImageNet validation image (bottom) (LlamaGen VQ-16), selected for the largest energy recovery among textured windows.
Figure 6. ImageNet-1k samples from GPT-B trained on NN and RecaP tokens. Each row shows the first five of 50k samples at cfg 2.0 from training seed 0, after 100 epochs. The NN row uses the corresponding cfg 2.0 evaluation. Each column shares a class and sampling seed. Appendix Figure 10 shows further samples.
Fine texture. Reconstruction-only search can smooth fine detail as PSNR improves (Fig. 5). On 10k ImageNet validation images, a local energy term raises median finest-scale energy from 54% to 74% of the original and retains a 1.01 dB PSNR gain over NN (App. Tab. 7); a pilot without discrete refinement in either arm shows the same trade-off (App. Tab. 6).
Generation
After 100 epochs with the same GPT-B training recipe, RecaP lowers gFID-50k against the training images from 6.90 to 5.77 on IN-1k (−16%, Welch p=0.003) and from 12.05 to 10.90 on IN-100 (−9.5%, p<0.001; Tab. 2). On IN-1k the FID-10k gap is visible by epoch 50 (Fig. 2 and App. Fig. 7). At epoch 100 it is largest at low to moderate guidance (up to cfg 2.0: −13 to −19%, every RecaP seed below every NN seed) and narrows to within seed variation at cfg 2.5–3.0 (App. Fig. 8). Precision and recall are similar at matched cfg 2.0 (App. 3.1). Figure 6 shows samples at this guidance setting.
The gain is smaller against validation images. In the post hoc comparison at epoch 100, the held-out difference is −0.60 FID on both datasets (IN-100: p=0.018; IN-1k at matched cfg 2.0: p=0.057). At epoch 300 on IN-1k, every RecaP seed still scores below every NN seed in training-reference gFID-50k (5.21 vs. 5.92, p=0.079); against validation images at matched cfg 2.0, the two means are close (6.09 for RecaP and 6.03 for NN; App. Tab. 12). RecaP and the released ten-crop GPT-B then have similar training-reference gFID-50k (5.21 and 5.20), and the released model has lower held-out gFID (5.86; App. Tab. 14).
The result depends on the generator and on how samples are compared. On IN-100, RecaP also lowers the Fréchet distance in DINOv2 feature space. On IN-1k, it lowers the DINOv2 distance against training images when both arms use the same cfg (2.0 at epochs 100 and 300, 2.5 at epoch 100; post hoc); at the pre-registered per-run cfgs (NN partly at 2.5, RecaP at 2.0) the DINOv2 comparison is inconclusive (Tab. 3 and App. Tab. 15). With per-run guidance selection, GPT-L falls within the pre-registered tie range in the one-seed-per-variant comparison. IBQ AR-B favours NN without guidance, and its tuned-guidance difference is within seed variation. The masked generator shows no clear gain (App. Tab. 17 and Apps. 4 and § 14).
Table 2. GPT-B after 100 epochs of training on different token assignments of the same images. Values are means over three seeds, with SD where shown. FID(X,R) compares training images with their reconstructions and is measured once per token set. Bits are validation bits per token on each model’s own token set. gFID-50k uses the training images as reference. Held-out gFID uses the validation images (IN-100: 5,000; IN-1k: 50,000, every run at cfg 2.0; post hoc). p against NN (Welch, two-sided, uncorrected): IN-100 gFID-50k p<0.001 for RecaP and 0.012 for RecaP0, held-out 0.018 for RecaP; IN-1k gFID-50k 0.003, held-out 0.057. Two NN runs used cfg 2.5 for the precision and recall columns. At matched cfg 2.0 the two arms are comparable. The released GPT-B used ten-crop NN tokens and 300 epochs (FID(X,R): one of the ten crops per image). We report its scores under our evaluator. Bold and underlining mark the best and second-best scores within a setting (underlining on IN-100 only). Precision, recall and the released model are unranked.
tokens
bits ↓
gFID-50k ↓
held-out gFID ↓
FID∞ ↓
FID(X,R) ↓
Prec.
Rec.
IN-100
NN
12.22
12.05 ± 0.15
16.57 ± 0.20
11.55
2.95
0.73
0.35
IN-100
RecaP0 (λ=0)
12.66
11.54 ± 0.13
16.41 ± 0.14
11.04
1.48
0.72
0.36
IN-100
RecaP (λ=0.01)
12.09
10.90 ± 0.16
15.97 ± 0.16
10.40
<u>1.51</u>
0.73
0.36
IN-1k
NN
11.07
6.90 ± 0.19
6.79 ± 0.06
6.35
1.93
0.87
0.48
IN-1k
RecaP (λ=0.01)
10.89
5.77 ± 0.21
6.19 ± 0.27
5.20
0.99
0.84
0.53
released GPT-B, 300 epochs
10.97
5.20
5.86
4.63
1.88
0.83
0.55
Table 2.
Where the generation gain holds (GPT-B on IN-1k, epoch 100). Mean ± SD over three seeds per arm. Two-sided Welch p-values, unadjusted; †post hoc. Bold: the lower score where p<0.05. The DINOv2 rows compare both arms at the same cfg. Appendix Table 12 reports epoch 300.
IN-1k, GPT-B, epoch 100
NN
RecaP
p
gFID-50k (registered)
6.90 ± 0.19
5.77 ± 0.21
0.003
OpenAI’s evaluator, FID
6.92 ± 0.21
5.73 ± 0.22
0.002
second sampling seed
6.84 ± 0.14
5.81 ± 0.23
0.005
FID-10k, no guidance
34.51 ± 1.12
29.55 ± 0.69
0.005
held-out, cfg 2.0†
6.79 ± 0.06
6.19 ± 0.27
0.057
FDDINOv2, cfg 2.0†
327.7 ± 7.3
299.9 ± 4.0
0.009
FDDINOv2, cfg 2.5†
274.4 ± 4.9
257.6 ± 3.1
0.011
Table 3.
Cost
On IN-1k at cfg 2.0, GPT-B trained on RecaP tokens for 100 epochs reaches a similar training-reference FID-10k to the NN run at epoch 300 (8.08 vs. 8.21). Including encoding, RecaP costs more for one generator. In a post hoc estimate with three runs sharing the token set, RecaP costs less per generator at comparable FID-10k (App. Fig. 12).
Ablations
We use GPT-B to test how the prior, additional training views and search settings affect generation. Comparisons are pre-registered unless marked post hoc and use three training seeds per variant unless stated otherwise.
What carries the gain on IN-100 (GPT-B, three seeds per arm, mean ± SD). RecaPown: prior = IN-100’s own NN GPT-B (seed 0, epoch 25). RecaPcross: each half of the images tokenized under a GPT-B trained on the other half’s NN tokens. KD: 0.5 cross-entropy + 0.5 distillation from the released GPT-B, temperature 1; bits: as in Tab. 2; held-out gFID: pre-registered for KD and RecaPcross, post hoc for the rest (App. Fig. 9). Bold: best in a column; underlined: second best.
arm
tokens; prior, λ
gFID-50k ↓
held-out ↓
bits ↓
NN
none (NN)
12.05 ± 0.15
16.57 ± 0.20
12.22
RecaP0
none, 0
11.54 ± 0.13
16.41 ± 0.14
12.66
RecaP
released, 0.01
10.90 ± 0.16
15.97 ± 0.16
12.09
RecaP
released, 0.03
11.36 ± 0.05
16.55 ± 0.06
<u>11.35</u>
RecaPown
own, 0.01
11.54 ± 0.31
16.54 ± 0.14
12.13
RecaPcross
cross-fitted, 0.01
12.02 ± 0.28
16.90 ± 0.29
12.25
NN+KD
none (NN)
<u>10.00 ± 0.14</u>
<u>14.87 ± 0.84</u>
11.43
RecaP+KD
released, 0.01
9.25 ± 0.21
13.81 ± 0.14
11.29
Table 4.
Reconstruction, rate and prior
Reconstruction-only search. To test what the prior adds beyond improving the decoded targets, we compare RecaP0 and RecaP at similar reconstruction FID on IN-100 (1.48 and 1.51 in Tab. 2). Adding the prior lowers training-reference gFID from 11.54 to 10.90 (p=0.006) at similar reconstruction FID. The held-out gFID difference between RecaP0 and NN is small (0.16; post hoc p=0.33), and the held-out mean is lowest for RecaP among these three arms (Tabs. 2 and 4). RecaP0 also uses a final discrete refinement, which adds 0.002 dB in reconstruction (App. 4).
RecaP0 raises validation NLL by 0.44 bit per token relative to NN. Both searches reduce the finest-scale texture energy by a similar amount, consistent with smoothing from the shared reconstruction loss (App. 3.1).
Prior weight. On IN-100, λ=0.01 yields the lowest gFID among the tested weights. At λ=0.03, the selected maps are more likely under the frozen prior, and the student’s validation NLL on its own token maps is lower. Training-reference gFID rises from 10.90 to 11.36 (p=0.026). The smaller weight of 0.003 also raises gFID (Tab. 4, App. Table 18, and App. Figure 11).
tokens
gFID-50k ↓
cfg
held-out ↓
bits
against NN/ RecaP (Holm)
NN
12.05 ± 0.15
2.5
16.57
12.22
–
RecaP (λ=0.01, 50 steps, two views)
10.90 ± 0.16
2.5
15.97
12.09
better / –
RecaP, λ=0.03
11.36 ± 0.05
2.5
16.55
11.35
– / worse
RecaP, λ=0.003
11.31 ± 0.11
2.5
16.24
12.47
better / worse
RecaP, 35 steps
11.17 ± 0.28
2.5
16.23
12.09
better / tie
L2 only, at RecaP’s rate
15.13 ± 0.18
3.0
20.14
11.97
worse / worse
NN, one view
17.08 ± 0.19
3.0
20.66
13.57
worse / –
RecaP, one view
16.01 ± 0.57
3.0
20.08
13.43
worse / worse
RecaP, three maps per view
8.81 ± 0.22
2.0
13.75
11.60
better / better
NN, LlamaGen’s ten crops
8.26 ± 0.05
2.0
13.31
11.38
better / better
RecaP, LlamaGen’s ten crops
7.61 ± 0.19
2.0
13.12
11.23
– / better
amortized encoder
12.20 ± 0.16
2.5
17.12
11.94
tie / worse
Table 18. Ablations on IN-100: GPT-B students (three seeds, mean ± SD) on token sets that change one setting of RecaP or of NN (one view, ten crops). RecaP on ten crops is also tested against NN on ten crops: better (Holm p=0.022). bits: validation bits per token at epoch 100 on the arm’s own tokens. Verdicts: Welch’s test with Holm’s correction within each pre-registered family; the one-view rows also compare the two one-view arms (RecaP, one view, against NN, one view: −6.3%, Holm p=0.07, a tie); NN, one view, against NN: Welch, no correction. λ=0.03: Main Tab. 4. Bold: the lowest gFID-50k and held-out gFID; underlined: the second lowest; bits are on each arm’s own tokens and are not ranked here, since across these settings (one view, ten crops, other objectives) they compare only within a group.
Figure 11. Cost and rate–distortion of the search on 10k ImageNet validation images, paired with NN. (a) Share of the 50-step setting’s PSNR gain against GPU time (one RTX 5090): annealing steps 5–50, 4 or 8 candidates (open markers), no polish. (b) PSNR gain against the change in bits per token under each tokenizer’s class-conditional generator (LlamaGen’s GPT-B, IBQ’s AR-B), over λ (labels on LlamaGen’s curve; IBQ’s points lie close to them, in the same order). (c) FID∞ of the reconstructions over the same λ; dashed: NN (LlamaGen 1.69, IBQ 0.98). IBQ’s FID∞ lies lower throughout and, as LlamaGen’s, rises above NN’s only at λ=0.1. Grey level and marker distinguish the tokenizers.
Prior
NLL advantage (bits/token)
gFID-50k change (%)
Cross-fitted GPT-B
0.16
−0.2
Our GPT-B
0.40
−4.3
Released GPT-B
1.21
−9.5
Our GPT-L
1.23
−7.0
Released GPT-L
1.49
−6.6
Table 5. Prior predictability and generation on IN-100. The NLL advantage is the NN-trained GPT-B’s NLL (12.22 bits/token) minus the prior’s, both on the same validation NN tokens. For the cross-fitted pair we report prior A. The last column gives the change in training-reference gFID-50k from NN-trained GPT-B (three-seed means). We relate NLL to gFID post hoc. Table 4 and App. Table 17 give the individual scores.
Prior predictability. Within the GPT-B priors tested on IN-100, lower NLL on the same validation NN tokens accompanies larger downstream gFID gains (Tab. 5). Both GPT-L priors achieve lower NLL than the released GPT-B prior and yield smaller gains. In the cross-fitted variant, each image is encoded using a prior trained on the other half of the dataset [16].
Online distillation. We compare two uses of the released GPT-B. It scores candidate tokens when we encode the training set and supplies next-token probabilities at every student update in online distillation. Distillation improves gFID on both token sets on IN-100, where the teacher saw ten times as many images as the students. Adding it to RecaP reduces held-out gFID by 2.15 (p<0.001). On IN-1k, where both saw the same number of images, distilling the NN student improves training-reference gFID by 11.7%, and RecaP alone still scores lower in all runs. Held-out comparisons are inconclusive (Tab. 4 and App. 5). A larger GPT-L teacher gives the NN student a similar gFID to RecaP in a one-seed test, with training steps 2.7 times as long as without a teacher.
Two views against ten crops
At matched ten-crop augmentation on IN-100, RecaP lowers gFID by 7.9% relative to NN (p=0.022). The held-out reduction is 1.4% (p=0.34). Ten-crop NN also outperforms two-view RecaP on this subset, so the number of views matters alongside the assignment (Tab. 6). With two views, adding more maps per view improves gFID on IN-100 and has a smaller effect on IN-1k. On IN-1k, ten crops improve NN gFID by 9.7% over two-view NN.
tokens
views
IN-100 gFID-50k ↓
IN-100 held-out ↓
IN-1k gFID-50k ↓
IN-1k held-out ↓
NN
2
12.05 ± 0.15
16.57
6.90 ± 0.19
7.482
RecaP
2
10.90 ± 0.16
15.97
5.77 ± 0.21
6.193
RecaP, 3 maps
2
8.81 ± 0.22
13.75
5.57 ± 0.06
6.186
NN
10
8.26 ± 0.05
13.31
6.23 ± 0.08
6.436
RecaP
10
7.61 ± 0.19
13.12
not run*
Table 6. More views per image: GPT-B on two views (centre crop and flip) or on LlamaGen’s ten crops. 3 maps: RecaP’s map and two restarts from noisy logits, per view. Mean ± SD over three seeds; held-out scores use each run’s selected cfg (App. 5). Pre-registered; tests in the text. Bold: best in a column; underlined: second best. *Ten-crop RecaP on IN-1k would take an estimated 3,900 RTX 4090 GPU-h (App. 6).
RecaP with two views and three maps per view achieves 10.6% lower training-reference gFID than ten-crop NN (p=0.0005). With one map per view, two-view RecaP still scores below ten-crop NN in every seed (5.77 vs. 6.23; p=0.053). The matched ten-crop comparison is available on IN-100 (Tab. 6).
Solver and loss. On IN-100, shortening the search to 35 steps cuts encoding time by 30% and retains a gFID gain over NN (p=0.016). Omitting LPIPS-VGG doubles the PSNR gain but worsens downstream gFID by 39% relative to RecaP (App. Tab. 18).
Conclusion
The decoder uses the selected codes jointly, so the effect of changing one code can depend on the codes at other positions. A local model of the reconstruction loss casts code assignment as a closest-vector problem with a decoder-dependent target and metric. For distinct encoder features, nearest-neighbour lookup solves it for every codebook only when the target is the encoder output and the metric is isotropic within positions and separable across them. With the target fixed, the high-resolution model gives a relative penalty for the lookup metric that is independent of codebook density. Decoder-aware reassignment raises PSNR for every frozen pretrained tokenizer we tested. We also derive the finite-sample bias of FID when images are paired with their reconstructions.
Different token maps can reconstruct the same image nearly equally well. RecaP uses this flexibility to select training targets that are more likely under a pretrained autoregressive prior. Within the candidate sets, exact MAP encoding minimizes expected reconstruction loss among encoders that induce the same joint distribution of classes and token maps. On ImageNet, LlamaGen GPT-B reaches comparable training-reference FID in fewer epochs with RecaP tokens than with NN tokens. On IN-100, adding the prior lowers generation FID at comparable reconstruction FID.
Limitations. Our generation experiments use ImageNet. Extending RecaP to other domains may require a prior that predicts their tokens well (Tab. 5). Reusing the tokens across training runs can offset the one-time encoding cost (§ 4.4). The local energy term in App. 3.1 is a starting point for adding perceptual criteria to the search.
LLM Usage Statement
Anthropic Claude, used through Claude Code, assisted with code implementation and debugging, experiment planning, result analysis, and manuscript drafting and revision. OpenAI ChatGPT assisted with editing the manuscript. The research question and the idea of encoding as MAP inference came from one of the authors, without the use of LLMs. The authors are responsible for the final manuscript, software, experimental protocols and reported results.
Supplementary Material
Sections 1 and 2 give the proofs and derive the finite-sample FID bias. Sections 3 and 4 provide additional reconstruction results and implementation details. Section 5 reports generation results, prior comparisons and ablations. Sections 6 and 7 document the cost measurements and alternative approaches. Captions identify ranked tables, where bold and underlining mark the best and second-best values. References to the main paper are marked “Main” (e.g., Main Tab. 1); references without a marker point to this supplement.
Theory and proofs
We give the assumptions and proofs for the analysis of code assignment, the prior and the relaxation in Main Secs. 3.2 to 3.5 and 5.1. Table 1 summarizes the assumptions for each result. Section 2 derives the finite-sample bias used in Main Sec. 4.1.
Setting and assumptions
References
[1]Erik Agrell, Thomas Eriksson, Alexander Vardy, and Kenneth Zeger. Closest Point Search in Lattices. IEEE Transactions on Information Theory, 48(8):2201–2214, 2002.DOI
[2]Eirikur Agustsson and Radu Timofte. NTIRE 2017 Challenge on Single Image Super-Resolution: Dataset and Study. In IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2017.
[3]Eirikur Agustsson, Fabian Mentzer, Michael Tschannen, Lukas Cavigelli, Radu Timofte, Luca Benini, and Luc Van Gool. Soft-to-Hard Vector Quantization for End-to-End Learning Compressible Representations. In Advances in Neural Information Processing Systems (NeurIPS), 2017.
[4]László Babai. On Lovász’ Lattice Reduction and the Nearest Lattice Point Problem. Combinatorica, 6(1):1–13, 1986.
[5]Mikołaj Bińkowski, Danica J. Sutherland, Michael Arbel, and Arthur Gretton. Demystifying MMD GANs. In International Conference on Learning Representations (ICLR), 2018.arxiv.org/abs/1801.01401
[6]Yochai Blau and Tomer Michaeli. The Perception-Distortion Tradeoff. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018. arXiv:1711.06077.DOI
[7]Joaquim Campos, Simon Meierhans, Abdelaziz Djelouah, and Christopher Schroers. Content Adaptive Optimization for Neural Image Compression. In IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 2019.arxiv.org/abs/1906.01223
[8]Huiwen Chang, Han Zhang, Lu Jiang, Ce Liu, and William T. Freeman. MaskGIT: Masked Generative Image Transformer. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. arXiv:2202.04200.arxiv.org/abs/2202.04200
[9]Yifan Chang, Jie Qin, Limeng Qiao, Xiaofeng Wang, Zheng Zhu, Lin Ma, and Xingang Wang. Scalable Training for Vector-Quantized Networks with 100% Codebook Utilizations. In International Conference on Learning Representations (ICLR), 2026. FVQ. arXiv:2509.10140.arxiv.org/abs/2509.10140
[10]Jerry Chee, Yaohui Cai, Volodymyr Kuleshov, and Christopher De Sa. QuIP: 2-Bit Quantization of Large Language Models With Guarantees. In Advances in Neural Information Processing Systems (NeurIPS), 2023.arxiv.org/abs/2307.13304
[11]Jiale Chen, Yalda Shabanzadeh, Elvir Črnčević, Torsten Hoefler, and Dan Alistarh. The Geometry of LLM Quantization: GPTQ as Babai’s Nearest Plane Algorithm. In International Conference on Learning Representations (ICLR), 2026. arXiv:2507.18553.arxiv.org/abs/2507.18553
[12]Yanshuo Chen, Chenxi Liu, Reza Shirkavand, and Heng Huang. MPQ: A Message-Passing View of Post-Training Quantization. In Advances in Neural Information Processing Systems (NeurIPS), 2026.arxiv.org/abs/2610.32127
[13]Min Jin Chong and David Forsyth. Effectively Unbiased FID and Inception Score and Where to Find Them. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.arxiv.org/abs/1911.07023
[14]Philip A. Chou, Thomas Lookabaugh, and Robert M. Gray. Entropy-Constrained Vector Quantization. IEEE Transactions on Acoustics, Speech, and Signal Processing, 37(1):31–42, 1989.DOI
[15]Chris Cremer, Xuechen Li, and David Duvenaud. Inference Suboptimality in Variational Autoencoders. In International Conference on Machine Learning (ICML), 2018.arxiv.org/abs/1801.03558
[16]Tri Dao, Govinda M. Kamath, Vasilis Syrgkanis, and Lester Mackey. Knowledge Distillation as Semiparametric Inference. In International Conference on Learning Representations (ICLR), 2021. arXiv:2104.09732.arxiv.org/abs/2104.09732
[17]Prafulla Dhariwal and Alexander Nichol. Diffusion Models Beat GANs on Image Synthesis. In Advances in Neural Information Processing Systems (NeurIPS), 2021.
[18]D. C. Dowson and B. V. Landau. The Fréchet Distance between Multivariate Normal Distributions. Journal of Multivariate Analysis, 12(3):450–455, 1982.DOI
[19]Patrick Esser, Robin Rombach, and Björn Ommer. Taming Transformers for High-Resolution Image Synthesis. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2021. arXiv:2012.09841.arxiv.org/abs/2012.09841
[20]Xianghong Fang, Yuan Yuan, Dehan Kong, and Tim G. J. Rudner. VQ-Transplant: Efficient VQ-Module Integration for Pre-trained Visual Tokenizers. In International Conference on Learning Representations (ICLR), 2026. arXiv:2607.19575.arxiv.org/abs/2607.19575
[21]Christopher Fifty, Ronald G. Junkins, Dennis Duan, Aniketh Iyengar, Jerry W. Liu, Ehsan Amid, Sebastian Thrun, and Christopher Ré. Restructuring Vector Quantization with the Rotation Trick. In International Conference on Learning Representations (ICLR), 2025. arXiv:2410.06424.arxiv.org/abs/2410.06424
[22]Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.17323
[23]Matthias Gelbrich. On a Formula for the L² Wasserstein Metric between Measures on Euclidean and Hilbert Spaces. Mathematische Nachrichten, 147(1):185–203, 1990.DOI
[24]Allen Gersho. Asymptotically Optimal Block Quantization. IEEE Transactions on Information Theory, 25(4):373–380, 1979.DOI
[25]Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In Advances in Neural Information Processing Systems (NeurIPS), 2017. FID. arXiv:1706.08500.arxiv.org/abs/1706.08500
[26]Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the Knowledge in a Neural Network. arXiv preprint arXiv:1503.02531, 2015. NIPS 2014 Deep Learning Workshop.arxiv.org/abs/1503.02531
[27]Eric Jang, Shixiang Gu, and Ben Poole. Categorical Reparameterization with Gumbel-Softmax. In International Conference on Learning Representations (ICLR), 2017. arXiv:1611.01144.arxiv.org/abs/1611.01144
[28]N. S. Jayant and Peter Noll. Digital Coding of Waveforms: Principles and Applications to Speech and Video. Prentice-Hall, 1984.DOI
[29]Sadeep Jayasumana, Srikumar Ramalingam, Andreas Veit, Daniel Glasner, Ayan Chakrabarti, and Sanjiv Kumar. Rethinking FID: Towards a Better Evaluation Metric for Image Generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024.arxiv.org/abs/2401.09603
[30]Mingkai Jia, Wei Yin, Xiaotao Hu, Jiaxin Guo, Xiaoyang Guo, Qian Zhang, Xiao-Xiao Long, and Ping Tan. MGVQ: Could VQ-VAE Beat VAE? A Generalizable Tokenizer with Multi-group Quantization. arXiv preprint arXiv:2507.07997, 2025.arxiv.org/abs/2507.07997
[31]Shiyin Jiang, Wei Long, Minghao Han, Zhenghao Chen, Ce Zhu, and Shuhang Gu. Differentiable Vector Quantization for Rate-Distortion Optimization of Generative Image Compression. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026. arXiv:2604.10546.arxiv.org/abs/2604.10546
[32]Herman Kamper. Word Segmentation on Discovered Phone Units with Dynamic Programming and Self-Supervised Scoring. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31:684–694, 2023. arXiv:2202.11929.DOI
[33]Herman Kamper and Benjamin van Niekerk. Towards Unsupervised Phone and Word Segmentation Using Self-Supervised Vector-Quantized Neural Networks. In Annual Conference of the International Speech Communication Association (Interspeech), 2021. arXiv:2012.07551.arxiv.org/abs/2012.07551
[34]Yoon Kim and Alexander M. Rush. Sequence-Level Knowledge Distillation. In Conference on Empirical Methods in Natural Language Processing (EMNLP), 2016. arXiv:1606.07947.arxiv.org/abs/1606.07947
[35]Yoon Kim, Sam Wiseman, Andrew C. Miller, David Sontag, and Alexander M. Rush. Semi-Amortized Variational Autoencoders. In International Conference on Machine Learning (ICML), 2018.arxiv.org/abs/1802.02550
[36]Diederik P. Kingma and Jimmy Ba. Adam: A Method for Stochastic Optimization. In International Conference on Learning Representations (ICLR), 2015.arxiv.org/abs/1412.6980
[37]Jun Kitagawa, Quentin Mérigot, and Boris Thibert. Convergence of a Newton Algorithm for Semi-Discrete Optimal Transport. Journal of the European Mathematical Society, 21(9):2603–2651, 2019.arxiv.org/abs/1603.05579
[38]Taku Kudo. Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidates. In Annual Meeting of the Association for Computational Linguistics (ACL), 2018.arxiv.org/abs/1804.10959
[39]Tuomas Kynkäänniemi, Teo Karras, Miika Aittala, Timo Aila, and Jaakko Lehtinen. The Role of ImageNet Classes in Fréchet Inception Distance. In International Conference on Learning Representations (ICLR), 2023.
[40]Lukas Lao Beyer, Tianhong Li, Xinlei Chen, Sertac Karaman, and Kaiming He. Highly Compressed Tokenizer Can Generate Without Training. In International Conference on Machine Learning (ICML), 2025.arxiv.org/abs/2506.08257
[41]Doyup Lee, Chiheon Kim, Saehoon Kim, Minsu Cho, and Wook-Shin Han. Autoregressive Image Generation using Residual Quantization. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. arXiv:2203.01941.arxiv.org/abs/2203.01941
[42]Tianhong Li, Yonglong Tian, He Li, Mingyang Deng, and Kaiming He. Autoregressive Image Generation without Vector Quantization. In Advances in Neural Information Processing Systems (NeurIPS), 2024.arxiv.org/abs/2406.11838
[43]Xinyao Liao, Qiyuan He, Kai Xu, Xiaoye Qu, Yicong Li, Wei Wei, and Angela Yao. VQ-π: Variational Policy Alignment for Pixel-Aware Autoregressive Generation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026. arXiv:2512.19680.arxiv.org/abs/2512.19680
[44]Bin Lin, Zheyuan Liu, Chenguo Lin, Sxiang Chen, Yunyang Ge, Yunlong Lin, Jianwei Zhang, Miles Yang, Zhao Zhong, Liefeng Bo, and Li Yuan. GEAR: Guided End-to-End AutoRegression for Image Synthesis. arXiv preprint arXiv:2606.32039, 2026.arxiv.org/abs/2606.32039
[45]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common Objects in Context. In European Conference on Computer Vision (ECCV), 2014.arxiv.org/abs/1405.0312
[47]Joseph Marino, Yisong Yue, and Stephan Mandt. Iterative Amortized Inference. In International Conference on Machine Learning (ICML), 2018.arxiv.org/abs/1807.09356
[48]Clara Meister, Cukhur Salman, Andrzej Szablewski, Pietro Lesci, Paula Buttery, and Tiago Pimentel. LangMAP: A Language-Adaptive Approach to Tokenization. In Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 49341–49362, 2026. arXiv:2606.23566.arxiv.org/abs/2606.23566
[49]Aditya Krishna Menon, Ankit Singh Rawat, Sashank J. Reddi, Seungyeon Kim, and Sanjiv Kumar. A Statistical Perspective on Distillation. In International Conference on Machine Learning (ICML), 2021.
[50]Fabian Mentzer, David Minnen, Eirikur Agustsson, and Michael Tschannen. Finite Scalar Quantization: VQ-VAE Made Simple. In International Conference on Learning Representations (ICLR), 2024. arXiv:2309.15505. Naoki Murata, Chieh-Hsin Lai, Yuhta Takida, Toshimitsu Uesaka, Bac Nguyen, Stefano Ermon, and Yuki Mitsufuji. G2D2: Gradient-Guided Discrete Diffusion for Inverse Problem Solving. Transactions on Machine Learning Research (TMLR), 2025. arXiv:2410.14710. 3
[52]Markus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos, and Tijmen Blankevoort. Up or Down? Adaptive Rounding for Post-Training Quantization. In International Conference on Machine Learning (ICML), 2020. 3arxiv.org/abs/2004.10568
[53]Antonio Ortega and Kannan Ramchandran. Rate-Distortion Methods for Image and Video Compression. IEEE Signal Processing Magazine, 15(6):23–50, 1998. 3
[54]Gaurav Parmar, Richard Zhang, and Jun-Yan Zhu. On Aliased Resizing and Surprising Subtleties in GAN Evaluation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2022. 3arxiv.org/abs/2104.11222
[55]William Peebles and Saining Xie. Scalable Diffusion Models with Transformers. In IEEE/CVF International Conference on Computer Vision (ICCV), 2023. 37arxiv.org/abs/2212.09748
[56]Elia Peruzzo, Aritra Bhowmik, Guillaume Sautiere, Yuki M. Asano, and Amirhossein Habibian. Knowledge Distillation for Visual Autoregressive Models. arXiv preprint arXiv:2606.06078, 2026. VarKD. 3, 36arxiv.org/abs/2606.06078
[57]Vivek Ramanujan, Kushal Tirumala, Armen Aghajanyan, Luke Zettlemoyer, and Ali Farhadi. When Worse is Better: Navigating the Compression-Generation Tradeoff in Visual Tokenization. In Advances in Neural Information Processing Systems (NeurIPS), 2025. 2
[58]Kenneth Rose. Deterministic Annealing for Clustering, Classification, Regression, and Related Optimization Problems. Proceedings of the IEEE, 86(11):2210–2239, 1998. 18DOI
[59]Litu Rout, Andreas Lugmayr, Yasamin Jafarian, Srivatsan Varadharajan, Constantine Caramanis, Sanjay Shakkottai, and Ira Kemelmacher-Shlizerman. Test-Time Anchoring for Discrete Diffusion Posterior Sampling. In International Conference on Machine Learning (ICML), pages 105808–105848, 2026. arXiv:2510.02291. 3arxiv.org/abs/2510.02291
[60]Manfred R. Schroeder and Bishnu S. Atal. Code-Excited Linear Prediction (CELP): High-Quality Speech at Very Low Bit Rates. In IEEE International Conference on Acoustics, Speech, and Signal Processing (ICASSP), pages 937–940, 1985. 3
[61]Fengyuan Shi, Zhuoyan Luo, Xiaiao Ge, Yujiu Yang, Ying Shan, and Limin Wang. Scalable Image Tokenization with Index Backpropagation Quantization. In IEEE/CVF International Conference on Computer Vision (ICCV), 2025. 2, 5arxiv.org/abs/2412.02692
[62]George Stein, Jesse C. Cresswell, Rasa Hossainzadeh, Yi Sui, Brendan Leigh Ross, Valentin Villecroze, Zhaoyan Liu, Anthony L. Caterini, J. Eric T. Taylor, and Gabriel Loaiza-Ganem. Exposing Flaws of Generative Model Evaluation Metrics and Their Unfair Treatment of Diffusion Models. In Advances in Neural Information Processing Systems (NeurIPS), 2023. 3, 22, 31arxiv.org/abs/2306.04675
[63]Peize Sun, Yi Jiang, Shoufa Chen, Shilong Zhang, Bingyue Peng, Ping Luo, and Zehuan Yuan. Autoregressive Model Beats Diffusion: Llama for Scalable Image Generation. arXiv preprint arXiv:2406.06525, 2024. 1, 3, 5, 37arxiv.org/abs/2406.06525
[64]Bao Tang, Yi Jiang, Jiao Guo, Haoxiang Cao, Wenyu Liu, Changqian Yu, Kun Gai, and Xinggang Wang. StableVQ: Practical Guidelines for Stable Vector-Quantized Tokenizer Training. arXiv preprint arXiv:2609.26774, 2026. 21arxiv.org/abs/2609.26774
[65]Keyu Tian, Yi Jiang, Zehuan Yuan, Bingyue Peng, and Liwei Wang. Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction. In Advances in Neural Information Processing Systems (NeurIPS), 2024. 1, 37arxiv.org/abs/2404.02905
[66]Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural Discrete Representation Learning. In Advances in Neural Information Processing Systems (NeurIPS), 2017. VQ-VAE. arXiv:1711.00937. 2arxiv.org/abs/1711.00937
[67]Nicol Visser and Herman Kamper. Spoken Language Modeling with Duration-Penalized Self-Supervised Units. In Annual Conference of the International Speech Communication Association (Interspeech), 2025. arXiv:2505.23494. 3arxiv.org/abs/2505.23494
[68]Hanyu Wang, Saksham Suri, Yixuan Ren, Hao Chen, and Abhinav Shrivastava. LARP: Tokenizing Videos with a Learned Autoregressive Generative Prior. In International Conference on Learning Representations (ICLR), 2025. 2arxiv.org/abs/2410.21264
[69]Pingyu Wu, Kai Zhu, Yu Liu, Longxiang Tang, Jian Yang, Yansong Peng, Wei Zhai, Yang Cao, and Zheng-Jun Zha. Towards Sequence Modeling Alignment between Tokenizer and Autoregressive Model. In International Conference on Learning Representations (ICLR), 2026. 2arxiv.org/abs/2506.05289
[70]Tianwei Xiong, Jun Hao Liew, Zilong Huang, Jiashi Feng, and Xihui Liu. GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image Generation. In IEEE/CVF International Conference on Computer Vision (ICCV), 2025. arXiv:2504.08736. 2, 5, 21arxiv.org/abs/2504.08736
[71]Yibo Yang, Robert Bamler, and Stephan Mandt. Improving Inference for Neural Image Compression. In Advances in Neural Information Processing Systems (NeurIPS), 2020. 3arxiv.org/abs/2006.04240
[72]Lijun Yu, José Lezama, Nitesh B. Gundavarapu, Luca Versari, Kihyuk Sohn, David Minnen, et al. Language Model Beats Diffusion – Tokenizer is Key to Visual Generation. In International Conference on Learning Representations (ICLR), 2024. MAGVIT-v2, LFQ. arXiv:2310.05737. 2arxiv.org/abs/2310.05737
[73]Qihang Yu, Mark Weber, Xueqing Deng, Xiaohui Shen, Daniel Cremers, and Liang-Chieh Chen. An Image is Worth 32 Tokens for Reconstruction and Generation. In Advances in Neural Information Processing Systems (NeurIPS), 2024. TiTok. arXiv:2406.07550. 2, 5arxiv.org/abs/2406.07550
[74]Qihang Yu, Ju He, Xueqing Deng, Xiaohui Shen, and Liang-Chieh Chen. Randomized Autoregressive Visual Generation. In IEEE/CVF International Conference on Computer Vision (ICCV), pages 18431–18441, 2025. arXiv:2411.00776. 37arxiv.org/abs/2411.00776
[75]Paul L. Zador. Asymptotic Quantization Error of Continuous Signals and the Quantization Dimension. IEEE Transactions on Information Theory, 28(2):139–149, 1982. 14DOI
[77]Boyang Zheng, Nanye Ma, Shengbang Tong, and Saining Xie. Diffusion Transformers with Representation Autoencoders. In International Conference on Learning Representations (ICLR), 2026. arXiv:2510.11690. 3, 35, 37arxiv.org/abs/2510.11690
[78]Lei Zhu, Fangyun Wei, Yanye Lu, and Dong Chen. Scaling the Codebook Size of VQGAN to 100,000 with a Utilization Rate of 99%. In Advances in Neural Information Processing Systems (NeurIPS), 2024. VQGAN-LC. arXiv:2406.11837. 2arxiv.org/abs/2406.11837
[79]Yongxin Zhu, Bocheng Li, Yifei Xin, Zhihua Xia, and Linli Xu. Addressing Representation Collapse in Vector Quantized Models with One Linear Layer. In IEEE/CVF International Conference on Computer Vision (ICCV), 2025. SimVQ. arXiv:2411.02038. 2, 5arxiv.org/abs/2411.02038
[80]Shaobin Zhuang, Yiwei Guo, Fangyikang Wang, Canmiao Fu, Zhipeng Huang, Zeyue Tian, Xiaohui Li, Ying Zhang, Chen Li, and Yali Wang. WeTok: Powerful Discrete Tokenization for High-Fidelity Visual Reconstruction. In International Conference on Learning Representations (ICLR), 2026. arXiv:2508.05599. 21arxiv.org/abs/2508.05599
Catarina Botelho, António Farinhas, John Mendonça, Areti Vassilopoulos, Inês Gonçalves, Maya D'Eon, Hugo Pitorro, Laura Cabello, Carrie Spadine, Nuno M. Guerreiro et al. ·