Abstract
Image Quality Assessment (IQA) is a critical task in computer vision, typically categorized into Full-Reference (FR) and No-Reference (NR) approaches. While Convolutional Neural Networks (CNNs) excel at capturing local distortions, they often struggle with global context. This paper presents TFIQA, a unified hybrid framework that integrates CNN-based local feature extraction with the global awareness of Transformers. By employing a Siamese architecture and joint training on both FR and NR tasks, TFIQA achieves state-of-the-art results, proving that cross-task learning significantly enhances "blind" quality assessment.
Introduction
Automatically measuring human perception of image quality is fundamental to various applications. Traditionally, this is split into Full-Reference (FR) IQA, which compares a distorted image to a ground truth, and No-Reference (NR) IQA, which evaluates quality without a reference. Existing deep learning methods face two primary challenges: standard CNNs often overlook non-local information and global context, and FR and NR tasks are typically treated as isolated problems. TFIQA addresses these gaps by treating these tasks as intrinsically related within a single, robust framework.
Proposed Architecture: TFIQA
The TFIQA framework consists of three primary components designed to capture both low-level textures and high-level global semantics.
1. CNN Backbone
The model utilizes a pre-trained VGG16 backbone with fixed weights to extract multi-scale features from five distinct layers. This stage focuses on capturing local distortions such as noise, blur, and compression artifacts.
2. Transformer Encoder
To address the limitations of CNNs in modeling global relationships, the extracted features are reshaped into tokens and processed by a shallow (2-layer) Transformer encoder. This allows the model to relate distant image regions, capturing the overall "feel" of the scene.
3. Unified Siamese Structure
TFIQA employs a Siamese network to process reference and distorted images through a shared encoder, enabling a unified approach to IQA.
- Full-Reference (FR) Task: The model compares features from the reference and distorted images using a "Feature Similarity" module. This module, inspired by the Structural Similarity Index (SSIM), analyzes mean and covariance statistics to determine perceptual differences.
- No-Reference (NR) Task: For blind assessment, the model utilizes a "quality token" (similar to the [CLS] token in ViT). Quality is treated as a classification problem across five levels, better reflecting the distribution of human subjective opinions compared to simple regression.
Experimental Setup
The model was evaluated on several benchmark datasets:
- FR Training/Evaluation: KADID-10K was used for training, while LIVE, CSIQ, and TID2013 served as evaluation sets.
- NR Training/Evaluation: KONIQ-10K, containing over 10,000 authentic "in-the-wild" images, was used for both training and testing.
Key Results and Insights
TFIQA demonstrates superior performance across both IQA paradigms:
- State-of-the-Art FR Performance: On the TID2013 dataset, TFIQA achieved a Pearson Linear Correlation Coefficient (PLCC) of 0.858, outperforming established models like LPIPS and IQT.
- NR Performance Boost: The unified model (TFIQA_UNI) achieved a PLCC of 0.853 and an SROCC of 0.836 on KONIQ-10K. Crucially, joint training on FR data acted as an "anchor," significantly improving NR performance compared to models trained on NR data alone.
- Efficiency: By using an encoder-only approach for FR tasks, TFIQA remains more computationally efficient than full encoder-decoder Transformer architectures.
Conclusion and Future Work
TFIQA successfully bridges the gap between local and global feature extraction in IQA. The results highlight the power of joint training and the effectiveness of Transformers in capturing perceptual quality. Future research will explore the model's generalization to novel distortions and the potential benefits of fine-tuning more modern backbones like ResNet or EfficientNet, while maintaining robustness against overfitting.
Summary updated