Learning Conditional Knowledge Distillation for Degraded-Reference Image Quality Assessment

Heliang Zheng, Huan Yang, Jianlong Fu, Zheng-Jun Zha, Jiebo Luo

TL;DR

Researchers have developed a new Image Quality Assessment (IQA) paradigm called Degraded-Reference IQA (DR-IQA), which uses the original degraded input image as a reference to evaluate restored images. By using a Conditional Knowledge Distillation Network (CKDN), the model learns to extract "deep image priors" from noisy or low-resolution inputs, achieving performance that rivals full-reference metrics without needing pristine ground-truth images during testing.

What Problem Does This Paper Address?

Evaluating how well an image restoration (IR) algorithm—like a denoiser or a super-resolution model—has performed is surprisingly difficult. Traditionally, we use Full-Reference (FR-IQA) metrics like PSNR or SSIM, which compare the restored image to a "perfect" pristine original. However, in real-world "blind" restoration, that pristine original doesn't exist.

The alternative is No-Reference (NR-IQA), which tries to guess quality by looking only at the restored image. As shown in Figure 1, NR-IQA often suffers a massive performance drop because it lacks an "anchor" or reference point to understand what the image should look like.

Figure 1. (a) Pristine-quality images can provide strong refer- ence information for IQA. When pristine-quality images are un- available, (b) directly regressing restored images to quality scores causes a dramatic drop in performance. To this end, (c) we propose to extract reference information from degraded images and make such a solution effective. FR, NR, DR, S, and SRCC indicate full- reference, no-reference, degraded-reference, quality score, and Spearman’s Rank order Correlation Coefficients [30], respectively.

This paper introduces DR-IQA, a middle ground that exploits the fact that while we don't have the pristine image, we always have the degraded input image. The challenge is that these degraded images are "noisy" references; the authors' goal is to mine useful information from them despite the artifacts.

Methods

The authors propose the Conditional Knowledge Distillation Network (CKDN). Its architecture consists of three main parts:

  1. Degradation-Tolerant Embedding (DTE): This module processes the degraded reference image. To make it effective, the authors use Knowledge Distillation. During training, a "teacher" network sees the pristine image, while the "student" DTE sees the degraded version. The student is forced to learn a feature space that matches the teacher's, effectively learning to "see through" the noise to find underlying image priors.
  2. Quality-Sensitive Embedding (QSE): This module extracts features from the restored image.
  3. Convolutional Score Predictor (CSP): Unlike standard metrics that just subtract features, the CSP uses residual blocks to learn a complex mapping from the feature differences to a final quality score.
Figure 2. Overview of the proposed Conditional Knowledge Distillation Network (CKDN). CKDN consists of three components, i.e., a degradation-tolerant embedding module (DTE) in (b), a quality-sensitive embedding module (QSE) in (d), and a convolutional score predictor (CSP) in (e). The DTE embeds the degraded image in (a) to a reference space in (h) by optimizing a conditional knowledge distillation (CKD) loss. Such a loss learns reference information from pristine-quality images in (g) and minimizes the difference between the features of degraded and pristine-quality images. Note that the QSE and CSP provide conditions to learn the reference space, and the learned representation of degraded images provides reference information for IQA.

A key innovation is the Conditional Knowledge Distillation (CKD) loss. It ensures that the reference information extracted from the degraded image is specifically optimized to help the score predictor, rather than just trying to reconstruct the original image perfectly (which is an ill-posed problem).

Datasets

The model was primarily trained and evaluated on a subset of the PIPAL dataset, which includes over 1.13 million human annotations across tasks like:

  • Super-Resolution (SR): Interpolation, traditional SR, and GAN-based SR.
  • Denoising: Mean filtering, traditional denoising, and deep denoising.
  • Mixture: Combinations of noise, downsampling, and compression.

For cross-dataset validation, they used the BAPPS dataset to ensure the model generalizes to unseen image content and restoration artifacts.

Key Insights and Ideas

  • Degraded Images are Useful: Even a heavily blurred or noisy image contains structural "priors" that provide a much better anchor for quality assessment than having no reference at all.
  • Unshared Embeddings are Essential: In FR-IQA, it's common to use the same weights for both the reference and restored image branches. The authors found that for DR-IQA, the two branches must be unshared (as shown in Figure 3) because they are dealing with fundamentally different data distributions (noisy vs. restored).
  • Reference Info is Critical for GANs: Generative Adversarial Networks (GANs) often create realistic-looking textures that are actually hallucinations. NR-IQA models are easily fooled by these, but DR-IQA uses the degraded reference to spot where the GAN has deviated too far from the original structure.
Figure 3. Comparison of (a) FR-IQA models and (b) DR-IQA model (CKDN). FR-IQA models focus on calculating difference between restored and reference images, while DR-IQA requires 1) different embeddings for restored and reference images and 2) convolutional layers for mapping feature difference to scores.

Key Results

The proposed CKDN significantly outperforms existing NR-IQA methods and approaches the performance of FR-IQA:

  • Accuracy Boost: On the PIPAL dataset, CKDN achieved a Spearman’s Rank Correlation (SRCC) of 0.7669, compared to just 0.6513 for the best NR-IQA baseline. This closes about 80% of the performance gap between no-reference and full-reference (0.7922) settings.
  • GAN Evaluation: When evaluating GAN-based restoration, introducing a degraded reference improved SRCC by a staggering 0.3101 over no-reference methods.
  • Robustness: The model proved robust across various degradation types, including different levels of Gaussian noise and JPEG compression.

Limitations and Future Work

While highly effective, the authors note that there are still cases where different restoration algorithms produce comparable results that the model struggles to distinguish perfectly.

Future directions include:

  • Extending the model to other conditional generation tasks like image in-painting and semantic segmentation.
  • Integrating the CKDN metric directly into the training loop of restoration models as a differentiable loss function to improve visual quality.

Summary updated

BibTeX
@misc{zheng2021learning,
  author = {Heliang Zheng and Huan Yang and Jianlong Fu and Zheng-Jun Zha and Jiebo Luo},
  title = {{Learning Conditional Knowledge Distillation for Degraded-Reference Image Quality Assessment}},
  year = {2021},
  eprint = {2108.07948},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.07948},
}
Figure