LSRS: Latent Scale Rejection Sampling for Visual Autoregressive Modeling

Hong-Kai Zheng, Piji Li
12/3/2025
cs.CV

No official code found. Best implementation: dt-3t/LSRS (0 stars, MIT, PyTorch, last commit 2025-12-11).

Abstract

Visual Autoregressive (VAR) modeling approach for image generation proposes autoregressive processing across hierarchical scales, decoding multiple tokens per scale in parallel. This method achieves high-quality generation while accelerating synthesis. However, parallel token sampling within a scale may lead to structural errors, resulting in suboptimal generated images. To mitigate this, we propose Latent Scale Rejection Sampling (LSRS), a method that progressively refines token maps in the latent scale during inference to enhance VAR models. Our method uses a lightweight scoring model to evaluate multiple candidate token maps sampled at each scale, selecting the high-quality map to guide subsequent scale generation. By prioritizing early scales critical for structural coherence, LSRS effectively mitigates autoregressive error accumulation while maintaining computational efficiency. Experiments demonstrate that LSRS significantly improves VAR's generation quality with minimal additional computational overhead. For the VAR-d30 model, LSRS increases the inference time by merely 1% while reducing its FID score from 1.95 to 1.78. When the inference time is increased by 15%, the FID score can be further reduced to 1.66. LSRS offers an efficient test-time scaling solution for enhancing VAR-based generation.

View on arXivView PDF

Code Implementations(1)

dt-3t/LSRSCommunity69%
PyTorchMIT

Official PyTorch implementation of "LSRS: Latent Scale Rejection Sampling for Visual Autoregressive Modeling". An efficient test-time scaling strategy to enhance VAR image generation quality with minimal overhead.

00PythonDec 3, 202510 months agoMIT
autoregressive-modelscomputer-visionimage-generationlsrspytorch+4 more

Similar Papers

Cite this paper

@article{zheng2025lsrs,
  title  = {LSRS: Latent Scale Rejection Sampling for Visual Autoregressive Modeling},
  author = {Hong-Kai Zheng and Piji Li},
  year   = {2025},
  eprint = {2512.03796},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.03796v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.03796.svg)](https://codeofpaper.com/paper/2512.03796)

Discussion