AlignVAR: Towards Globally Consistent Visual Autoregression for Image Super-Resolution

Cencen Liu, Dongyang Zhang, Wen Yin, Jielei Wang, Tianyu Li, Ji Guo, Wenbo Jiang, Guoqing Wang, Guoming Lu

TL;DR

While visual autoregressive (VAR) models offer a fast, non-iterative alternative to diffusion models for image super-resolution, they often suffer from structural distortions and color shifts. AlignVAR addresses these flaws by introducing structure-aware adaptive masking and full-scale hierarchical supervision. The result is a framework that delivers globally consistent, high-fidelity images at over 10× the inference speed of leading diffusion-based methods.

What Problem Does This Paper Address?

Image Super-Resolution (ISR)—the task of reconstructing a high-resolution (HR) image from a low-resolution (LR) counterpart—has long been dominated by Generative Adversarial Networks (GANs) and Diffusion Models. While diffusion models generate highly realistic details, their iterative denoising process is computationally expensive and slow.

Recently, Visual Autoregressive (VAR) models have emerged as a faster alternative. Instead of generating images pixel-by-pixel or through iterative denoising, VAR models predict images progressively from coarse to fine scales. However, applying VAR to super-resolution introduces two major consistency problems:

  1. Spatial Inconsistency: The self-attention mechanism in VAR models exhibits a strong locality bias, focusing almost exclusively on adjacent pixels. This fragments global spatial structures, leading to disjoint textures and structural distortions.
  2. Hierarchical Inconsistency: Existing frameworks rely on residual-only supervision at each scale. Without explicit constraints on the full reconstruction at intermediate steps, small prediction errors from coarser scales compound and amplify as the network progresses, causing severe color shifts and structural misalignments.

AlignVAR is designed to eliminate these spatial and hierarchical discrepancies to achieve globally coherent image reconstruction.

Methods

AlignVAR introduces two primary components to the standard next-scale autoregressive architecture:

  • Spatial Consistency Autoregression (SCA): To counter the locality bias of standard attention, SCA introduces a structure-aware conditioning mechanism. It applies a Laplacian filter to the low-resolution input to extract structural boundaries and edges. A lightweight MLP-based mask generator uses this guidance to predict an adaptive consistency mask. This mask reweights attention maps, forcing the model to look beyond immediate neighbors and aggregate long-range context along structurally correlated regions.
  • Hierarchical Consistency Constraint (HCC): Instead of only supervising the residual tokens at each scale, HCC enforces full-scale latent alignment. The framework downsamples the ground-truth HR latent representation to match the resolution of each intermediate scale. It then minimizes the distance between these multi-scale ground truths and the model's cumulative predictions (the sum of all predicted residuals up to that scale). This forces the model to correct contextual deviations early before they propagate to finer scales.
Comparison between standard VARSR and the proposed AlignVAR framework, highlighting the adaptive mask and hierarchical constraints.

Datasets

The authors trained AlignVAR on the LSDIR dataset and the first 10,000 face images from the FFHQ dataset, using the Real-ESRGAN degradation pipeline to synthesize low-resolution pairs.

For evaluation, they utilized:

  • DIV2K-Val: A synthetic validation set built by randomly cropping 3,000 patches from DIV2K.
  • RealSR & DRealSR: Two widely accepted real-world benchmarks to test robustness against authentic camera degradations.

Key Insights and Ideas

  • The Danger of Under-Constrained Residuals: A key "aha moment" in the paper is the realization that residual-only loss acts as an under-constraint in hierarchical generation. By visualizing random perturbations injected at different scales, the authors proved that intermediate scales need to be anchored to a full reconstruction target to stabilize the coarse-to-fine refinement process.
  • Geometry-Guided Attention Gating: Rather than letting the transformer learn attention completely unsupervised—which defaults to a local neighborhood bias due to sequential tokenization—explicitly injecting a simple geometric prior (like a Laplacian edge map) acts as a highly effective spatial gain control.
Figure 3. Spatial inconsistency results in texture discontinuities, structural distortions.

Key Results

AlignVAR achieves a superior balance between perceptual quality and computational efficiency:

  • Perceptual Superiority: On the DIV2K-Val dataset, AlignVAR achieved the lowest FID score (25.71) and the best LPIPS score (0.2955) compared to both GAN-based and diffusion-based models (such as StableSR and DiffBIR).
  • Massive Speedups: AlignVAR processes a $512 \times 512$ image in just 0.43 seconds, making it over 10× faster than diffusion-based alternatives like PASD (5.94s) and significantly faster than the baseline VARSR model.
  • Efficiency: It achieves these results with nearly 50% fewer parameters than leading diffusion models, completely removing the need for an additional diffusion refiner stage.

Limitations and Future Work

The authors note that AlignVAR does not achieve the highest distortion-oriented fidelity metrics, such as PSNR and SSIM. This is a common trade-off in generative super-resolution; when true high-frequency details are completely lost in a heavily degraded low-resolution input, generative models synthesize perceptually plausible textures rather than pixel-perfect matches.

Future work could focus on improving the underlying vector-quantized autoencoder (VQ-VAE) codebook design to better preserve fine-grained pixel details under extreme real-world degradations.

Summary updated

BibTeX
@inproceedings{liu2026alignvar,
  author = {Cencen Liu and Dongyang Zhang and Wen Yin and Jielei Wang and Tianyu Li and Ji Guo and Wenbo Jiang and Guoqing Wang and Guoming Lu},
  title = {{AlignVAR: Towards Globally Consistent Visual Autoregression for Image Super-Resolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=9OJlGv8WvG},
}
Figure