Abstract
Image Super-Resolution (ISR) requires a delicate balance between fidelity to the source and generative realism. While GANs often lack texture realism and Diffusion Models suffer from high computational costs and potential hallucinations, this paper introduces VARSR. By reframing ISR as a "next-scale prediction" task using visual autoregressive (AR) modeling, VARSR achieves state-of-the-art performance. The framework integrates prefix tokens for conditioning, a lightweight diffusion refiner for detail restoration, and image-based classifier-free guidance. VARSR demonstrates a 10x speedup over diffusion-based methods while maintaining superior perceptual quality.
Introduction: The Fidelity-Realism Trade-off
The primary challenge in Image Super-Resolution (ISR) is restoring high-resolution (HR) images from degraded low-resolution (LR) inputs without introducing artificial artifacts or losing structural integrity. Existing generative approaches typically fall into two categories:
- Generative Adversarial Networks (GANs): These are excellent at maintaining fidelity but often produce "plastic" or overly smoothed textures because they lack strong generative priors.
- Diffusion Models: These are capable of high realism but are prone to "hallucinations"—generating details inconsistent with the original input—and are hindered by slow, iterative inference processes.
VARSR addresses these issues by leveraging the autoregressive architectures successful in Large Language Models (LLMs), adapted for multi-scale visual generation.
Methodology: Next-Scale Prediction
VARSR builds upon Visual Autoregressive (VAR) modeling, which generates images scale-by-scale (coarse-to-fine) rather than pixel-by-pixel. This approach is inherently suited for super-resolution, where the LR image serves as the coarsest scale.
Key Technical Innovations
- Prefix Token Conditioning: The LR image is encoded into tokens that serve as the initial "prefix" for the AR sequence, guiding the generation process without the need for heavy external modules like ControlNet.
- Scale-aligned Rotary Positional Encodings (SA-RoPE): To maintain spatial awareness across different scales, the authors implement 2D positional encodings that align the LR structure with multi-scale token maps.
- Diffusion Refiner: Discrete tokenization in AR models often loses high-frequency details. VARSR employs a lightweight 6-layer diffusion MLP to predict the "quantization residual," bridging the gap between discrete tokens and continuous pixel space.
- Image-based Classifier-Free Guidance (CFG): The model is trained using both high-quality and low-quality image embeddings. During inference, CFG steers the model away from low-quality features, enhancing texture richness.
Key Insights
- Structural Superiority: Generating images progressively from low to high resolution preserves global structure more effectively than sequential patch-based prediction.
- Hybrid Latent Spaces: Combining discrete AR modeling with a tiny continuous diffusion refiner offers a computationally efficient way to achieve pixel-perfect restoration.
- Visual Guidance: Classifier-Free Guidance can be effectively applied using visual quality embeddings rather than text, providing a direct mechanism to suppress degradation artifacts.
Experimental Results
The model was trained on a new large-scale dataset of 4 million high-resolution images and evaluated against standard benchmarks including DIV2K, RealSR, and DRealSR.
Performance Metrics
- Perceptual Quality: VARSR significantly outperformed GAN and Diffusion competitors (e.g., Real-ESRGAN, StableSR) on no-reference metrics such as MANIQA and MUSIQ.
- Human Evaluation: In user studies, VARSR was preferred 55.2% of the time, more than double the preference for the next-best model (SeeSR at 20.3%).
- Efficiency: VARSR achieves an inference time of 0.59 seconds per image, approximately 10x faster than leading diffusion-based models like DiffBIR (5.85s) or StableSR (18.7s).
Conclusion and Future Work
VARSR demonstrates that autoregressive modeling is a powerful and efficient alternative to diffusion for high-fidelity image restoration. While the model currently excels in general categories, its semantic accuracy on rare or highly specific subjects is limited by the training data scale (4M images vs. the billions used in foundation models). Future iterations will focus on scaling training data to improve semantic robustness across all domains.
Summary updated