[Paper Review] Transformer for Image Quality Assessment
This paper proposes TRIQ, a novel Transformer-based architecture for image quality assessment that combines convolutional neural network features with a shallow Transformer encoder using adaptive positional embeddings. The method achieves state-of-the-art performance on multiple public image quality databases by effectively modeling long-range dependencies in image features while supporting arbitrary input resolutions.
Transformer has become the new standard method in natural language processing (NLP), and it also attracts research interests in computer vision area. In this paper we investigate the application of Transformer in Image Quality (TRIQ) assessment. Following the original Transformer encoder employed in Vision Transformer (ViT), we propose an architecture of using a shallow Transformer encoder on the top of a feature map extracted by convolution neural networks (CNN). Adaptive positional embedding is employed in the Transformer encoder to handle images with arbitrary resolutions. Different settings of Transformer architectures have been investigated on publicly available image quality databases. We have found that the proposed TRIQ architecture achieves outstanding performance. The implementation of TRIQ is published on Github (https://github.com/junyongyou/triq).
Motivation & Objective
- To explore the application of Transformer architectures in image quality assessment, a task traditionally dominated by CNNs.
- To address the limitation of fixed-resolution input in standard Transformers by introducing adaptive positional embeddings for arbitrary image resolutions.
- To improve performance on image quality assessment benchmarks by leveraging self-attention mechanisms to model long-range dependencies in image features.
- To establish a new state-of-the-art baseline for image quality assessment using a hybrid CNN-Transformer architecture.
Proposed method
- The method employs a shallow Transformer encoder stacked on top of feature maps extracted by a pre-trained convolutional neural network.
- Adaptive positional embeddings are introduced to allow the model to handle images of arbitrary resolution without positional bias.
- The model uses multi-head self-attention mechanisms to capture global dependencies across image patches.
- Feature maps from the CNN serve as input tokens to the Transformer, with learnable class tokens used for final regression or classification.
- The architecture is trained end-to-end on public image quality assessment databases using standard regression loss.
- The implementation is released on GitHub for reproducibility and further research.
Experimental results
Research questions
- RQ1Can a Transformer-based architecture outperform existing CNN-based methods in image quality assessment?
- RQ2How does the integration of adaptive positional embeddings affect performance on images of varying resolutions?
- RQ3What is the optimal depth and configuration of the Transformer encoder for image quality assessment tasks?
- RQ4How does the proposed method compare to state-of-the-art models on standard image quality assessment benchmarks?
Key findings
- The proposed TRIQ model achieves state-of-the-art performance on multiple public image quality assessment databases.
- The use of adaptive positional embeddings enables the model to generalize across images of arbitrary resolutions without performance degradation.
- A shallow Transformer encoder (e.g., 2–4 layers) achieves optimal performance, indicating that deep architectures are not necessary for this task.
- The model outperforms existing CNN-based and hybrid models in terms of correlation metrics such as PLCC and SROCC on standard benchmarks.
- The ablation study confirms that self-attention mechanisms significantly improve performance by modeling long-range dependencies in image features.
- The implementation is publicly available on GitHub, enabling reproducibility and further development in the research community.
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.