Introduction
Image Quality Assessment (IQA) aims to computationally model human perception of image quality, a task complicated by the subjective nature of human vision and the scarcity of large-scale labeled datasets. Traditional approaches often rely on "foundation" models like ResNet, pre-trained on ImageNet, to extract features. However, these models may lack the semantic depth required for nuanced quality prediction. Furthermore, most existing IQA methods focus predominantly on spatial-domain features, potentially overlooking degradations like periodic noise or global blur that are more apparent in the frequency domain.
SAM-IQA addresses these challenges by leveraging the Segment Anything Model (SAM) as a robust feature extractor. By integrating SAM’s semantic richness with a novel Spatial-Frequency Feature Extraction Module (SFEM), the proposed framework achieves state-of-the-art performance in both full-reference (FR) and no-reference (NR) IQA tasks.
Methodology
The SAM-IQA architecture consists of three primary components designed to capture both local and global image characteristics.
- SAM Encoder: The model utilizes the heavy-duty ViT-H encoder from Meta’s Segment Anything Model. Having been trained on over 11 million images and 1 billion masks, its internal representations are exceptionally robust and generalize well across diverse distortion types.
- Spatial-Frequency Feature Extraction Module (SFEM): This module processes SAM-extracted features through parallel branches. The Spatial Branch uses $1 \times 1$ convolutions to capture local textural details. The Frequency Branch employs Fourier Convolutions—applying Fast Fourier Transform (FFT), frequency-domain convolutions, and Inverse FFT—to achieve a global receptive field, enabling the detection of wide-spanning noise and blur patterns.
- Regression Heads: For FR-IQA, the model computes the $L_1$ distance between reference and distorted image features. For NR-IQA, quality scores are predicted directly from the distorted image's features.
Experimental Evaluation
The model was benchmarked on four major IQA datasets: LIVE, CSIQ, TID2013, and the large-scale KADID-10k. Performance was measured using Spearman’s Rank Correlation Coefficient (SRCC) and Pearson’s Linear Correlation Coefficient (PLCC) to assess alignment with human Mean Opinion Scores (MOS).
Results and Discussion
SAM-IQA demonstrated superior performance across nearly all benchmarks, establishing new state-of-the-art results.
In FR-IQA tasks, SAM-IQA achieved an SRCC of 0.996 on the LIVE dataset, significantly outperforming established metrics like LPIPS and DISTS. In NR-IQA scenarios, the model remained highly competitive, reaching an SRCC of 0.994 on LIVE and 0.879 on TID2013.
Ablation studies confirmed the necessity of the dual-branch SFEM; removing either the spatial or frequency component led to a measurable decline in performance. This highlights the importance of multi-domain feature extraction for accurate quality assessment. Additionally, the authors found that a simple $L_1$ distance metric for feature comparison outperformed more complex alternatives like Cosine Similarity or Kullback-Leibler Divergence (KLD).
Conclusion and Future Work
SAM-IQA proves that features learned for large-scale segmentation are highly effective for quality assessment. While the model sets new performance standards, the computational intensity of the ViT-H encoder presents challenges for real-time deployment. Future research may explore fine-tuning the encoder for specific IQA tasks or evaluating its robustness against modern AI-generated artifacts.
Summary updated