Abstract
No-Reference Image Quality Assessment (NR-IQA) is a challenging computer vision task that requires predicting human-perceived image quality without a pristine reference. This paper presents TReS, a hybrid architecture that integrates Convolutional Neural Networks (CNNs) for local feature extraction with Transformers for global context modeling. By employing a relative ranking loss and a self-consistency mechanism based on horizontal flips, TReS achieves state-of-the-art performance across seven major benchmarks, demonstrating enhanced robustness and generalization.
Introduction
The goal of NR-IQA is to computationally estimate the Mean Opinion Score (MOS) of an image as perceived by human observers. Traditional CNN-based approaches often suffer from a "locality bias," focusing on pixel-level artifacts while failing to capture the global composition that influences human judgment. Furthermore, many models are sensitive to simple geometric transformations, such as horizontal flipping, which do not change the underlying quality of the image. TReS addresses these hurdles by combining local feature extraction with global attention and self-supervised constraints.
Methodology
The TReS framework is built upon three core innovations designed to align model predictions with human perception:
1. Hybrid CNN-Transformer Architecture
The model uses a ResNet50 backbone to extract multi-scale local features. These features are treated as a sequence and fed into a Transformer encoder. The self-attention mechanism allows the model to weigh the relative importance of different image regions—for instance, distinguishing between intentional artistic blur (bokeh) and accidental motion blur on a primary subject.
2. Relative Ranking Loss
Rather than treating IQA solely as a regression problem, TReS incorporates a triplet loss with an adaptive margin. This forces the model to correctly rank the highest and lowest quality images within a training batch, ensuring that the predicted scores maintain a monotonic relationship with human-assigned rankings.
3. Self-Consistency Mechanism
To ensure robustness against non-quality-altering transformations, the authors enforce a self-consistency constraint. During training, the model processes both the original image and its horizontally flipped version. The loss function penalizes discrepancies between the two scores, effectively using the image's own symmetry as a source of self-supervision.
Experimental Results
TReS was evaluated on seven standard IQA benchmarks, including synthetic datasets (LIVE, TID2013) and authentic "in-the-wild" datasets (KonIQ-10k, LIVE-FB).
- State-of-the-Art Performance: TReS achieved top results across all datasets. On the massive LIVE-FB dataset, it reached a Pearson’s Linear Correlation Coefficient (PLCC) of 0.625, outperforming the previous best model, HyperIQA (0.602).
- Generalization: In cross-dataset tests, TReS demonstrated superior "zero-shot" capability, suggesting that the combination of global context and ranking loss helps the model learn fundamental quality features rather than dataset-specific artifacts.
- Robustness: The self-consistency mechanism successfully stabilized predictions across horizontal flips, a common failure point for earlier NR-IQA models.
Conclusion and Future Work
By integrating Transformers with CNNs and utilizing relative ranking and self-consistency, TReS provides a more robust and accurate approximation of human quality judgment. While the current model excels at score prediction, future work aims to improve interpretability. The authors suggest developing models that can provide natural language descriptions of quality defects, moving beyond simple numerical scores to explain why an image is rated poorly.
Summary updated