Confidence-Based Iterative Generation for Real-World Image Super-Resolution

Jialun Peng, Xin Luo, Jingjing Fu, Dong Liu

Abstract

Real-world image super-resolution (SR) remains a significant challenge due to complex, unknown degradations such as sensor noise, motion blur, and compression artifacts. While GAN-based methods offer speed, they often produce artifacts; conversely, diffusion models provide high fidelity but are computationally prohibitive due to their many iterative steps. We present RealSRT, a transformer-based model that leverages a confidence-based iterative process in the discrete token space of a VQGAN. By utilizing a dedicated "critic" network to identify and refine low-quality regions over just four steps, RealSRT achieves state-of-the-art perceptual quality while maintaining high efficiency.

Introduction

Super-resolution aims to reconstruct high-resolution (HR) images from low-resolution (LR) inputs. In real-world scenarios, the degradation process is unknown and complex. Current solutions typically fall into two categories: one-step GAN-based methods, which are fast but prone to hallucinations, and diffusion models, which produce excellent results but require 50 to 200 iterations. RealSRT bridges this gap by providing an iterative refinement process that is both effective and efficient, reaching peak performance in a fraction of the time required by diffusion-based alternatives.

Methodology

RealSRT operates in the discrete latent space of a pre-trained Vector Quantized Generative Adversarial Network (VQGAN). The architecture consists of three primary components:

  1. Masked Transformer (Generator & Critic): The Generator predicts visual tokens for masked regions based on the LR input. The Critic network predicts a confidence score for every generated token, allowing the model to keep high-confidence "sure bets" and re-mask low-confidence regions for further refinement in subsequent steps.
  2. Conditional Controlling Module (CCM): To prevent "color drift" and ensure structural fidelity, the CCM uses a trainable copy of the VQGAN encoder to extract features directly from the LR image, guiding the final decoding process.
  3. Image Patch Aggregation: For high-resolution images, the model processes overlapping patches and blends them using a Gaussian kernel to prevent visible seams.
The RealSRT architecture. The top panel illustrates the overall pipeline including the Masked Transformer and CCM, while the bottom panel details the internal self-attention and cross-attention mechanisms of the Generator and Critic modules.

Iterative Refinement and the Critic Network

A key innovation of RealSRT is the use of a dedicated Critic network. The authors found that a Generator's own probability scores are often unreliable for selection. The Critic is specifically trained to identify incompatible or unlikely tokens, providing superior guidance for the iterative masking schedule.

Visualizing the iterative generation process from $t=0$ to $t=4$. The top row shows the progressive refinement of image details (e.g., tree branches), while the bottom row displays the corresponding confidence maps generated by the Critic.

Experimental Results

RealSRT was trained on a combination of high-quality datasets (DIV2K, Flickr2K, OST) using a high-order degradation model. Evaluation on benchmark real-world datasets (RealSR, DRealSR, DPED) demonstrated several key findings:

  • Perceptual Superiority: RealSRT achieved top scores in perceptual metrics like LPIPS and DISTS, outperforming both GAN-based (Real-ESRGAN) and Diffusion-based (StableSR) models.
  • Efficiency: While diffusion models like StableSR require 200 steps, RealSRT reaches its optimal perceptual quality in just 4 iterations, representing a massive leap in inference speed.
  • Qualitative Quality: Visual comparisons indicate that RealSRT recovers sharper text and finer textures with fewer artifacts than its competitors.

Conclusion and Future Work

RealSRT demonstrates that confidence-based iterative refinement in a discrete token space is a highly effective strategy for real-world SR. While the model is currently capped by the reconstruction limits of the underlying VQGAN, future work may involve dynamic iteration schedules and further optimization of the transformer architecture to reduce computational overhead even further.

Summary updated

BibTeX
@inproceedings{peng2024confidence,
  author = {Jialun Peng and Xin Luo and Jingjing Fu and Dong Liu},
  title = {{Confidence-Based Iterative Generation for Real-World Image Super-Resolution}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73650-6\_19},
}
Figure