Mask Reference Image Quality Assessment

Pengxiang Xiao, Shuai He, Limin Liu, Anlong MingarXiv 2023 · DOI

Introduction

Image Quality Assessment (IQA) is a critical task in computer vision, traditionally divided into Full-Reference (FR) and No-Reference (NR) methods. FR-IQA compares a distorted image against a pristine reference, while NR-IQA evaluates images in isolation. Despite the accuracy of FR-IQA, it often suffers from high computational costs due to dual-stream processing and can struggle to pinpoint the exact semantic information lost during distortion.

Mask Reference Image Quality Assessment (MR-IQA) introduces a novel paradigm. Instead of processing two separate streams, it selectively masks distorted patches and replaces them with "pristine" patches from the reference image. This creates a single hybrid input that allows the model to directly recover lost semantic information, achieving high accuracy with significantly lower overhead.

Comparison of input formats for FR-IQA and the proposed MR-IQA.

Methodology

The MR-IQA framework utilizes a specialized three-part pipeline to generate and process these hybrid inputs efficiently.

Adaptive Grid Cropping and Sampling (AGCS)

To avoid the texture destruction caused by standard resizing, the AGCS module crops images into uniform grids. It then adaptively samples these grids to maintain a fixed-size input for the network while preserving the original resolution's fine details.

Mask Generator (MG)

The Mask Generator identifies areas of significant degradation by calculating the Mean Absolute Error (MAE) between distorted and reference patches. It replaces a portion of the most distorted patches with their pristine counterparts. This creates a "Masked Image" where reference patches act as a direct visual guide for the model to understand what has been lost.

Mask Reference Network (MRNet) and Feature Mask Module (FMM)

The core architecture employs a Swin Transformer backbone. Transformers are particularly effective here because their global receptive fields can compare distorted regions against reference patches within the same feature map. To prevent the model from being distracted by the artificial "seams" created by masking, the Feature Mask Module (FMM) shields these areas in the network's shallow layers, ensuring the focus remains on quality degradation.

The overall architecture of the MR-IQA framework, featuring the Swin Transformer backbone and Feature Mask Module.

Key Results and Insights

MR-IQA offers several advantages over traditional dual-stream models:

  • Efficiency: By using a single-stream architecture, MR-IQA reduces structural complexity by nearly 50% compared to standard dual-stream FR-IQA models.
  • Natural Data Augmentation: The random masking process during training acts as a powerful regularizer, helping the model generalize better despite the relatively small size of IQA datasets.
  • State-of-the-Art Performance: The model achieved top-tier Spearman’s Rank Correlation Coefficient (SRCC) scores across major benchmarks, including KADID-10k (0.952), LIVE (0.977), and CSIQ (0.947).

In cross-database evaluations, MR-IQA demonstrated superior generalization, significantly outperforming classical methods like BRISQUE. This suggests the model learns robust quality features rather than just memorizing specific dataset distortions.

Limitations and Future Outlook

While MR-IQA excels with synthetic distortions, its reliance on pixel-aligned reference images remains a constraint for "in-the-wild" camera distortions where a perfect reference may not exist. Additionally, performance is sensitive to the mask ratio; an excessive amount of reference content can leave insufficient distorted data for the model to evaluate. Future research will likely focus on optimizing the masking overhead and extending the technique to non-aligned reference scenarios.

Summary updated

BibTeX
@misc{xiao2023mask,
  author = {Pengxiang Xiao and Shuai He and Limin Liu and Anlong Ming},
  title = {{Mask Reference Image Quality Assessment}},
  year = {2023},
  eprint = {2302.13770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.13770},
}
Figure