Iterative Token Evaluation and Refinement for Real-World Super-resolution

Chaofeng Chen, Shangchen Zhou, Liang Liao, Haoning Wu, Wenxiu Sun, Qiong Yan, Weisi Lin

Abstract

Real-world super-resolution (RWSR) is a challenging task due to complex, unknown degradations including blur, noise, and compression artifacts. We present ITER (Iterative Token Evaluation and Refinement), a novel framework that combines the generative capabilities of diffusion models with the efficiency of discrete token spaces. By utilizing a dedicated Token Evaluation Network, ITER identifies and refines specific image regions, achieving state-of-the-art perceptual quality in just 8 steps—orders of magnitude faster than standard continuous diffusion models. Our approach effectively balances structural cleaning with high-fidelity texture generation, outperforming existing GAN-based and diffusion-based methods on major real-world benchmarks.

Introduction

Real-world super-resolution is inherently "ill-posed." Unlike synthetic super-resolution, where the downsampling kernel is known, real-world images suffer from a "blind" mixture of distortions. Current solutions generally fall into two categories: Generative Adversarial Networks (GANs), which are prone to artifacts and training instability, and Continuous Diffusion Models (DMs), which produce high-fidelity results but are computationally prohibitive due to the hundreds or thousands of iterative steps required for denoising.

ITER addresses this gap by operating in a discrete token space, providing the generative "imagination" of a diffusion model with the training stability and inference speed necessary for practical applications.

Methods

The ITER framework decomposes the super-resolution task into three distinct stages:

  1. Discrete Space Representation (VQGAN): ITER operates within a "token space" rather than raw pixels. It utilizes a pre-trained VQGAN codebook—a dictionary of high-quality visual patterns—to represent images as a grid of indices (tokens).
  2. Distortion Removal (Stage II): An encoder processes the low-quality (LQ) image to predict an initial set of high-quality tokens. This stage focuses on "cleaning" the image and establishing the basic structural integrity.
  3. Iterative Refinement (Stage III): This core component is a Discrete Diffusion Model. Unlike continuous models that add Gaussian noise to pixels, this model replaces tokens with a [MASK] tag and learns to "unmask" or refine them over several steps.
The ITER framework utilizes a discrete diffusion process where tokens are iteratively unmasked and refined through a forward and backward process, guided by a Token Evaluation Network.

The Token Evaluation Network

A key innovation in ITER is the Token Evaluation Network ($\phi_e$). Standard discrete diffusion models typically select tokens for refinement based on simple probability. In contrast, ITER’s evaluation network acts as a critic, identifying which restored tokens remain blurry or distorted. This enables Adaptive Inference: the model can intelligently skip steps in areas where restoration is already sufficient, preventing "over-texturing" and further accelerating inference.

Key Results and Evaluation

ITER was trained on high-quality datasets (DIV2K, Flickr2K, and OutdoorSceneTraining) using a complex second-order degradation model to simulate real-world artifacts. Evaluation was conducted on four major real-world benchmarks: RealSR, DRealSR, DPED-iphone, and RealSRSet.

Efficiency and Quality

ITER achieves high-quality results in only 8 iterations, making it significantly faster than Latent Diffusion Models (LDM). Quantitatively, ITER achieved the best (lowest) scores in NIQE and PI metrics on the DRealSR and RealSR datasets, surpassing established models like Real-ESRGAN and SwinIR-GAN.

Qualitative comparison demonstrating ITER's ability to produce natural textures, such as leaf veins and bird feathers, without the over-smoothing of GANs or the noise artifacts of LDM-BSR.

Qualitatively, ITER avoids the "plastic" look often associated with GANs and the noisy artifacts seen in LDM-BSR. By separating distortion removal from texture generation, the model produces remarkably natural details, such as the fine structure of feathers or foliage, while maintaining global coherence.

Discussion and Limitations

By working in a discrete token space, ITER avoids the infinite regression problems of continuous models, reducing the required steps from 1000+ to just 8. However, the model's performance is inherently tied to its Codebook Dependency; it can only generate textures present in the pre-trained VQGAN dictionary. Additionally, the current implementation is optimized for 4x upscaling, and extending this to arbitrary scales or ultra-high resolutions (8x+) remains a subject for future research. Finally, while the "Adaptive Inference" threshold ($\alpha$) provides control over texture strength, finding a universal setting for all image types is an ongoing challenge.

Summary updated

BibTeX
@inproceedings{chen2024iterative,
  author = {Chaofeng Chen and Shangchen Zhou and Liang Liao and Haoning Wu and Wenxiu Sun and Qiong Yan and Weisi Lin},
  title = {{Iterative Token Evaluation and Refinement for Real-World Super-resolution}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i2.27861},
}
Figure