Efficient Test-Time Adaptation for Super-Resolution with Second-Order Degradation and Reconstruction

Zeshuai Deng, Zhuokun Chen, Shuaicheng Niu, Thomas H. Li, Bohan Zhuang, Mingkui Tan

TL;DR

SRTTA is a fast, self-supervised framework that adapts super-resolution models to real-world images at inference time. By identifying degradation types (like noise or blur) and applying a clever "second-order degradation" trick, it allows models to learn how to clean up messy, real-world images in seconds without needing any ground-truth high-resolution data.

What Problem Does This Paper Address?

Most Image Super-Resolution (SR) models are "lab-grown." They are trained on synthetic datasets where high-resolution (HR) images are downsampled using a simple, clean method called Bicubic downsampling.

However, the real world is messy. Images found on the internet or captured by cheap sensors suffer from a cocktail of "degradations": Gaussian blur, sensor noise, and JPEG compression artifacts. When a model trained only on clean images encounters these real-world distortions, the results are often blurry or full of artifacts.

Existing solutions like "Zero-Shot SR" (ZSSR) try to train a new model for every single test image, but this is painfully slow (taking minutes per image). Other "blind SR" methods usually only focus on fixing one thing—like blur—while ignoring noise or compression. The authors tackle the need for a method that is fast, versatile (handles multiple degradation types), and adaptive to the specific image at hand.

Methods

The authors introduce SRTTA (Super-Resolution Test-Time Adaptation), which consists of three main pillars:

Overview of the SRTTA framework
  1. Degradation Classifier: Before processing, a pre-trained ResNet-50 classifier looks at the test image to identify what’s wrong with it. Is it blurry? Noisy? Compressed? This allows the system to choose the right "medicine" for the image.
  2. Second-Order Degradation Scheme: This is the core innovation. Since we don't have a "clean" version of the test image, we create an "even worse" version. If the classifier says the image is noisy, the system applies more random noise to it. This creates a pseudo-pair: the test image (acting as the "target") and the second-order degraded image (acting as the "input"). By training the model to reconstruct the test image from the "even worse" version, the model learns the underlying logic of how to remove that specific type of degradation.
  3. Adaptive Parameter Preservation (APP): To prevent the model from "forgetting" how to do general super-resolution while it's busy learning to fix a specific blur, the authors use a Fisher Information Matrix to identify the most important weights in the neural network. They freeze these "knowledge-heavy" weights and only update the others during adaptation.

Datasets

The authors evaluated their method on several fronts:

  • DIV2K-C (New): A benchmark created by the authors containing 800 images with eight distinct types of degradation (Gaussian blur, defocus blur, glass blur, and various types of noise and compression).
  • DIV2K-MC (New): A "Multi-Corruption" dataset where images suffer from multiple degradations simultaneously (e.g., Blur + Noise + JPEG).
  • Real-World Datasets: DPED, ADE20K, and OST300, which contain authentic, non-synthetic degradations.
  • Set5: Used specifically to test if the model "forgets" how to handle clean images after adaptation.

Key Insights and Ideas

  • The "Worse is Better" Strategy: You don't need to estimate the exact mathematical parameters of a blur to fix it. By simply knowing the category of degradation and applying more of it, you can create a gradient that guides the model toward restoration.
  • Feature-Level vs. Pixel-Level: The authors found that adapting the model based on feature-level reconstruction (matching the internal representations of the network) is more effective than just matching pixels, as it helps the model focus on structural content rather than just mimicking noise.
  • Efficiency is King: Unlike previous zero-shot methods that require thousands of iterations, SRTTA achieves superior results in just 10 iterations, making it practical for real-world applications.

Key Results

Visual comparisons of SRTTA against baselines under Gaussian Noise and JPEG Compression
  • Performance: On the DIV2K-C dataset, SRTTA outperformed the famous ZSSR by 0.84 dB PSNR, a significant margin in image restoration.
  • Speed: SRTTA processes images in roughly 5.38 seconds on a Titan XP GPU. While not "real-time" for video, it is orders of magnitude faster than competitors like DDNM (which takes over 2,000 seconds) or ZSSR (117 seconds).
  • Visual Quality: Qualitative results show that SRTTA produces much sharper edges and fewer "halos" or "checkerboard" artifacts compared to standard pre-trained models like SwinIR or HAT when faced with non-bicubic noise.

Limitations and Future Work

  • Extreme Corruption: The authors admit that if an image is too corrupted (e.g., very high levels of impulse noise), the model struggles to recover the original information and may leave some artifacts behind.
  • Classifier Dependency: The system's success relies on the initial classifier. If the classifier misidentifies the degradation type, the second-order degradation will be wrong, leading to poor adaptation.
  • Future Directions: The authors suggest exploring more complex "real-world" degradation models beyond the eight studied here and potentially integrating the framework into video super-resolution tasks where temporal consistency is a factor.

Summary updated

BibTeX
@inproceedings{deng2023efficient,
  author = {Zeshuai Deng and Zhuokun Chen and Shuaicheng Niu and Thomas H. Li and Bohan Zhuang and Mingkui Tan},
  title = {{Efficient Test-Time Adaptation for Super-Resolution with Second-Order Degradation and Reconstruction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=IZRlMABK4l},
}
Figure