TTS-VAR: A Test-Time Scaling Framework for Visual Auto-Regressive Generation

Zhekai Chen, Ruihang Chu, Yukang Chen, Shiwei Zhang, Yujie Wei, Yingya Zhang, Xihui Liu

Introduction

Scaling up generative models typically requires massive computational resources during the training phase. Recently, "test-time scaling"—the practice of allocating more compute during inference to search for higher-quality outputs—has emerged as a powerful alternative, particularly in Large Language Models. However, applying these strategies to Visual Auto-Regressive (VAR) models presents unique challenges.

TTS-VAR introduces the first test-time scaling framework specifically designed for VAR image generation. By treating image generation as a path-searching problem and applying adaptive batch sizing, early-stage clustering, and late-stage reward resampling, the method significantly boosts image quality and prompt alignment without requiring any model retraining.

The Challenge: The "Early Evaluation" Trap

VAR models generate images in a hierarchical, coarse-to-fine manner, starting with a low-resolution structural layout and progressively adding high-resolution details. Directly applying standard search strategies to these models fails for two primary reasons:

  1. Compute Explosion: Maintaining a large number of candidate images through all generation scales is prohibitively expensive.
  2. The "Early Evaluation" Trap: Standard reward models, which score final image quality, are ineffective at evaluating the blurry, coarse images produced at early VAR scales. Pruning candidates too early based on these unreliable scores often deletes the structural layouts that would have developed into the best final images.

The TTS-VAR Framework

To address these issues, TTS-VAR models the generation process as a path-searching problem tailored to the coarse-to-fine nature of VAR models. The framework employs three core techniques:

1. Adaptive Descending Batch Sampling

Early-scale generation is computationally cheap, while late-scale generation is expensive. TTS-VAR exploits this by starting with a large batch size to explore many structural possibilities and progressively shrinking the batch size as resolution increases, maintaining efficiency.

2. Clustering-Based Diversity Search (Early Scales)

Because reward models cannot accurately judge early-scale images, TTS-VAR focuses on preserving structural diversity. It extracts semantic features from early coarse images using DINOv2, clusters them, and selects representatives from different clusters. This ensures a wide variety of structural layouts survive to the next stage.

3. Resampling-Based Potential Selection (Late Scales)

Once generation reaches finer scales (typically around scale 6 of 12), intermediate images become clear enough for reward models (like ImageReward) to evaluate accurately. At these stages, the framework calculates a "potential score" based on the generation history and resamples the batch to favor the highest-quality candidates.

Key Results and Insights

Experimental results demonstrate that TTS-VAR allows smaller models to punch significantly above their weight class:

  • Performance Gains: Applied to the 2B-parameter Infinity model, TTS-VAR improved the overall GenEval score from 0.69 to 0.75. This allowed the 2B model to outperform the much larger 8B Stable Diffusion 3 (SD3) model (0.74).
  • Efficiency: Even with a minimal compute budget (N=2), TTS-VAR outperformed a standard Best-of-N approach (N=8) while using only 25% of the samples.
  • Human Preference: In user studies, TTS-VAR won 65.4% of votes for Image Quality and 94.3% for Consistency with the Prompt.

The authors observed that fundamental image layout is locked in during the earliest scales. If a prompt requires specific counts (e.g., "three birds"), the model must establish that structure early; it cannot fix a missing object during late-stage detail refinement. Clustering preserves these critical early structures far better than random sampling.

Limitations and Future Work

While TTS-VAR drastically improves prompt adherence, it does not completely eliminate text-image misalignment, particularly regarding spatial/positional errors. Furthermore, the framework is currently optimized for coarse-to-fine VAR models. Future research will explore its applicability to other autoregressive architectures and hybrid diffusion-AR models to further unlock scaling potential.

Summary updated

BibTeX
@inproceedings{chen2025tts,
  author = {Zhekai Chen and Ruihang Chu and Yukang Chen and Shiwei Zhang and Yujie Wei and Yingya Zhang and Xihui Liu},
  title = {{TTS-VAR: A Test-Time Scaling Framework for Visual Auto-Regressive Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=qGW1GulvFH},
}
Figure