Metric Learning Based Interactive Modulation for Real-World Super-Resolution

Chong Mou, Yanze Wu, Xintao Wang, Chao Dong, Jian Zhang, Ying Shan

Abstract

Interactive image restoration aims to restore images by adjusting several controlling coefficients, which determine the restoration strength. Existing methods are restricted in learning the controllable functions under the supervision of known degradation types and levels. They usually suffer from a severe performance drop when the real degradation is different from their assumptions. Such a limitation is due to the complexity of real-world degradations, which can not provide explicit supervision to the interactive modulation during training. In this work, we present a Metric Learning based Interactive Modulation for Real-World Super-Resolution (MM-RealSR). Specifically, we propose an unsupervised degradation estimation strategy to estimate the degradation level in real-world scenarios. Instead of using known degradation levels as explicit supervision to the interactive mechanism, we propose a metric learning strategy to map the unquantifiable degradation levels in real-world scenarios to a metric space, which is trained in an unsupervised manner. Moreover, we introduce an anchor point strategy in the metric learning process to normalize the distribution of metric space. Extensive experiments demonstrate that the proposed MM-RealSR achieves excellent modulation and restoration performance in real-world super-resolution.

1. Introduction

Super-Resolution (SR) models typically produce a single deterministic output for a given low-resolution input. While interactive SR models allow users to adjust restoration parameters, they are largely confined to synthetic environments where degradation levels (e.g., Gaussian blur sigma) are known and quantifiable. Real-world images, however, exhibit complex, "high-order" degradations—combinations of motion blur, sensor noise, and compression artifacts—that lack explicit labels. This creates a fundamental challenge: how to implement interactive "sliders" for restoration when the underlying degradation levels are unquantifiable and unknown.

2. Methodology

The proposed MM-RealSR framework introduces a paradigm shift from explicit supervision to unsupervised metric learning.

Comparison of existing interactive restoration strategies versus the proposed real-world solution using metric learning.

2.1 Unsupervised Degradation Estimation

The core of the system is the Unsupervised Degradation Estimation Module (UDEM). Rather than predicting absolute degradation values, UDEM employs metric learning to establish relative rankings. By training on pairs of images with varying synthetic degradation intensities using a Margin Ranking Loss, the model learns to map complex artifacts into a continuous metric space (0 to 1). This space represents the "degradation score," where 0 is anchored to a clean image and 1 represents the maximum manageable degradation.

2.2 Network Architecture

The architecture consists of a Condition Network and a Base Network.

The MM-RealSR architecture, illustrating the interaction between the UDEM, Condition Network, and the RRDB-based Base Network.

The estimated scores for blur ($S_b$) and noise ($S_n$) are fed into the Condition Network, which generates modulation vectors. These vectors perform channel-wise affine transformations on the feature maps within the Base Network's Residual in Residual Dense Blocks (RRDB). This mechanism allows for precise, interactive control over the restoration process.

3. Experiments and Results

MM-RealSR was evaluated on real-world datasets, including RealSRSet and AIM19. Quantitatively, the model achieved an LPIPS score of 0.3606 on RealSRSet, surpassing both the interactive CUGAN (0.3757) and the non-interactive Real-ESRGAN (0.3640). Qualitatively, the model demonstrates smooth transitions across the restoration space, allowing users to independently tune sharpness and denoising levels without the sudden artifacts common in previous methods.

4. Conclusion

MM-RealSR provides a robust solution for interactive real-world super-resolution. By mapping unquantifiable degradations into a ranked metric space, it enables intuitive user control over complex restoration tasks, successfully bridging the gap between synthetic research and practical real-world application.

Summary updated

BibTeX
@inproceedings{mou2022metric,
  author = {Chong Mou and Yanze Wu and Xintao Wang and Chao Dong and Jian Zhang and Ying Shan},
  title = {{Metric Learning Based Interactive Modulation for Real-World Super-Resolution}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=pMLRADtMnF},
}
Figure