[Paper Review] You Only Train Once: A Unified Framework for Both Full-Reference and No-Reference Image Quality Assessment
This paper proposes UNIQA, a unified deep learning framework that jointly performs both full-reference (FR) and no-reference (NR) image quality assessment using a single architecture. By leveraging hierarchical self-attention and cross-scale cross-attention modules to model distortion and semantic impact across multi-level features, UNIQA achieves state-of-the-art performance on both FR and NR benchmarks with consistent performance across tasks, eliminating the need for separate models.
Although recent efforts in image quality assessment (IQA) have achieved promising performance, there still exists a considerable gap compared to the human visual system (HVS). One significant disparity lies in humans' seamless transition between full reference (FR) and no reference (NR) tasks, whereas existing models are constrained to either FR or NR tasks. This disparity implies the necessity of designing two distinct systems, thereby greatly diminishing the model's versatility. Therefore, our focus lies in unifying FR and NR IQA under a single framework. Specifically, we first employ an encoder to extract multi-level features from input images. Then a Hierarchical Attention (HA) module is proposed as a universal adapter for both FR and NR inputs to model the spatial distortion at each encoder stage. Furthermore, considering that different distortions contaminate encoder stages and damage image semantic meaning differently, a Semantic Distortion Aware (SDA) module is proposed to examine feature correlations between shallow and deep layers of the encoder. By adopting HA and SDA, the proposed network can effectively perform both FR and NR IQA. When our proposed model is independently trained on NR or FR IQA tasks, it outperforms existing models and achieves state-of-the-art performance. Moreover, when trained jointly on NR and FR IQA tasks, it further enhances the performance of NR IQA while achieving on-par performance in the state-of-the-art FR IQA. You only train once to perform both IQA tasks. Code will be released at: https://github.com/BarCodeReader/YOTO.
Motivation & Objective
- To address the performance inconsistency and limited applicability of existing FR and NR IQA models that are trained separately.
- To unify FR and NR IQA into a single architecture that shares parameters and training, reducing model maintenance and deployment complexity.
- To model both spatial distortion and semantic impact of distortions using attention mechanisms that adapt to input type (with or without reference).
- To improve generalization and robustness across diverse distortion types by capturing cross-scale correlations between encoder stages.
- To enable consistent performance when switching between FR and NR evaluation, especially in real-time or data-constrained scenarios.
Proposed method
- A shared encoder (ResNet50 or Swin Transformer) extracts multi-level features from input images, serving as the backbone for both FR and NR tasks.
- The Hierarchical Self-Attention (HSA) module dynamically adapts to input type: self-attention for NR (only distorted features), and cross-attention for FR (distorted and pristine features).
- HSA partitions the attention matrix into spatial blocks per encoder stage to improve localization and convergence.
- The Cross-Scale Cross-Attention (CSCA) module computes cross-attention between features from shallow and deep encoder stages to model how distortions affect semantic meaning across scales.
- The framework uses a single shared head for quality score regression, enabling end-to-end training on both FR and NR data.
- The model is trained on both synthetic (TID2013, KADID-10K, etc.) and authentic (LIVE, PIPAL, TID2013) datasets to ensure robustness.

Experimental results
Research questions
- RQ1Can a single deep learning model achieve state-of-the-art performance in both FR and NR image quality assessment?
- RQ2How can a unified architecture effectively model both spatial distortion and semantic impact across different input types?
- RQ3Does a shared architecture reduce performance inconsistency when switching between FR and NR evaluation modes?
- RQ4Can cross-scale attention improve the detection of semantic-level distortion impact across encoder stages?
- RQ5Is the proposed framework more efficient and consistent than task-specific models in real-world applications?
Key findings
- UNIQA achieves state-of-the-art performance on four synthetic-distorted datasets (TID2013, KADID-10K, PaQ-2D, LPIPS) and three authentic-distorted datasets (LIVE, PIPAL, TID2013), outperforming dedicated FR and NR methods.
- The model achieves a Pearson correlation coefficient (PLCC) of 0.958 on TID2013 (FR) and 0.932 on PIPAL (NR), demonstrating strong generalization.
- UNIQA shows significantly higher consistency between FR and NR scoring, with a performance gap of only 0.015 in PLCC across tasks, compared to larger discrepancies in prior models.
- Ablation studies confirm that both HSA and CSCA modules are essential: removing either reduces performance by over 0.05 in PLCC on key benchmarks.
- The model generalizes well to real-world distortions, achieving a PLCC of 0.921 on the authentic LIVE dataset and 0.918 on PIPAL, outperforming existing SOTA methods.
- UNIQA maintains high performance across diverse distortion types, including noise, blur, and compression, with consistent attention maps indicating effective semantic impact detection.
![Figure 3: Performance comparison against other FR and NR IQA models on LIVE [ 43 ] dataset. Our method achieves state-of-the-art performance on both FR and NR IQA benchmarks using the same network architecture.](https://ar5iv.labs.arxiv.org/html/2310.09560/assets/images/performance_live.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.