Learning to Zoom-in via Learning to Zoom-out: Real-world Super-resolution by Generating and Adapting Degradation

Dong Gong, Wei Sun, Qinfeng Shi, Anton van den Hengel, Yanning Zhang

TL;DR

This paper introduces an "unpaired" learning framework for real-world image super-resolution (SR) that eliminates the need for perfectly aligned low-resolution (LR) and high-resolution (HR) image pairs. By first learning to "zoom out" (generating realistic camera degradation) and then "zoom in" (super-resolving while adaptively closing the domain gap), the method achieves state-of-the-art perceptual quality on images from real digital cameras.

What Problem Does This Paper Address?

Most deep-learning-based super-resolution models are trained on synthetic data, typically using simple bicubic downsampling to create LR images from HR ones. However, real-world camera degradation is far more complex, involving sensor noise, lens blur, and demosaicing artifacts. When these "lab-grown" models meet real-world photos, they often produce blurry results or strange artifacts.

To fix this, researchers have tried capturing real LR-HR pairs by changing camera focal lengths. But this introduces a new headache: misalignment. As shown in Figure 2, it is nearly impossible to get two shots at different zoom levels to line up perfectly at the pixel level due to shifts in perspective, lighting, and depth-of-field.

Examples of misalignment between real-world LR and HR images, caused by factors like depth-of-field and perspective shifts.

This paper asks: can we learn high-quality super-resolution using unpaired real images, bypassing the alignment problem entirely?

Methods

The authors propose a two-stage framework:

  1. Learning to Zoom-out (Degradation Generation): Instead of using a mathematical formula for downsampling, they train a Degradation Generation Network (using a CycleGAN-like architecture). This network learns to transform HR images into LR versions that match the statistical distribution of real-world LR photos. This creates a "pseudo-paired" dataset where the LR and HR images are perfectly aligned by construction.
  2. Learning to Zoom-in (Degradation Adaptive SR): They then train an SR network (based on the RCAN architecture) on these generated pairs. Crucially, they don't assume the generated degradation is perfect. They introduce a novel adaptive loss that aligns the internal features the network extracts from both generated LR images and actual real-world LR images. This ensures the model is robust to any remaining "domain gap" between the simulation and reality.

Datasets

The researchers evaluated their method on three challenging real-world benchmarks:

  • RealSR: 500 LR-HR pairs captured by Canon and Nikon cameras.
  • City100: 100 images taken with a Nikon camera at different focal lengths.
  • SR-RGB: 498 non-aligned image pairs from Sony cameras.

To prove their method doesn't rely on "cheating" by seeing the same content in both sets, they also tested a "non-overlapping" setting, where the LR and HR training sets contained completely different scenes.

Key Insights and Ideas

  • Unpaired is often better than misaligned: The authors demonstrate that supervised learning on misaligned pairs can actually be worse than unsupervised learning on unpaired data. Misalignment forces the model to "average out" its guesses, leading to the blurriness seen in many existing methods.
  • The "Final Mile" of Domain Adaptation: Even the best GAN-based degradation generator leaves a small domain gap. The inclusion of an adaptive feature-matching loss is the "secret sauce" that allows the SR network to generalize to real camera data it hasn't seen in a paired format.
  • Perceptual Metrics Matter: In real-world SR, traditional metrics like PSNR (Peak Signal-to-Noise Ratio) are often misleading. A blurry image might have a high PSNR but look terrible to a human. This paper prioritizes perceptual metrics like LPIPS and PI, which better reflect visual sharpness and texture quality.

Key Results

The proposed method achieved state-of-the-art results across all three datasets, particularly in perceptual quality.

  • Quantitative: On the RealSR dataset, the method achieved an LPIPS score of 0.251 and a Perception Index (PI) of 5.242, significantly lower (better) than competing paired methods like RCAN-Real or unpaired methods like CinCGAN.
  • Qualitative: As seen in Figure 1, the results contain more natural textures and sharper edges with fewer artifacts compared to models trained on synthetic bicubic data.
Visual comparison of SR results. The proposed method (g) produces sharper details and more natural textures than synthetic-trained baselines (b, c) or other unpaired methods (f).

Limitations and Future Work

While the method excels at handling general camera degradation, the authors note that extremely noisy environments or specific artifacts like heavy JPEG compression might still pose challenges. Future work could involve making the degradation generator even more sophisticated by incorporating physical priors about camera optics and sensor characteristics. Additionally, extending this unpaired approach to video super-resolution remains an open and exciting frontier.

Summary updated

Abstract

Most learning-based super-resolution (SR) methods aim to recover high-resolution (HR) image from a given low-resolution (LR) image via learning on LR-HR image pairs. The SR methods learned on synthetic data do not perform well in real-world, due to the domain gap between the artificially synthesized and real LR images. Some efforts are thus taken to capture real-world image pairs. The captured LR-HR image pairs usually suffer from unavoidable misalignment, which hampers the performance of end-to-end learning, however. Here, focusing on the real-world SR, we ask a different question: since misalignment is unavoidable, can we propose a method that does not need LR-HR image pairing and alignment at all and utilize real images as they are? Hence we propose a framework to learn SR from an arbitrary set of unpaired LR and HR images and see how far a step can go in such a realistic and "unsupervised" setting. To do so, we firstly train a degradation generation network to generate realistic LR images and, more importantly, to capture their distribution (i.e., learning to zoom out). Instead of assuming the domain gap has been eliminated, we minimize the discrepancy between the generated data and real data while learning a degradation adaptive SR network (i.e., learning to zoom in). The proposed unpaired method achieves state-of-the-art SR results on real-world images, even in the datasets that favor the paired-learning methods more.
BibTeX
@article{gong2021learning,
  author = {Dong Gong and Wei Sun and Qinfeng Shi and Anton van den Hengel and Yanning Zhang},
  title = {{Learning to Zoom-in via Learning to Zoom-out: Real-world Super-resolution by Generating and Adapting Degradation}},
  journal = {IEEE Trans. Image Process.},
  year = {2021},
  url = {https://openreview.net/forum?id=LTt4GsnyGSR},
}
Figure