Skip to main content
QUICK REVIEW

[Paper Review] Local Distortion Aware Efficient Transformer Adaptation for Image Quality Assessment

Kangmin Xu, Liang Liao|arXiv (Cornell University)|Aug 23, 2023
Industrial Vision Systems and Defect DetectionEngineering3 citations
TL;DR

This paper proposes LoDa, a novel method that efficiently adapts large-scale pretrained Vision Transformers (ViT) for Image Quality Assessment (IQA) by injecting local distortion features from a pretrained CNN. By using a local distortion extractor and injector to fuse multi-scale CNN features into ViT tokens via cross-attention, LoDa achieves state-of-the-art performance on seven IQA datasets with minimal fine-tuning, demonstrating that IQA benefits from both strong global representations and local inductive bias.

ABSTRACT

Image Quality Assessment (IQA) constitutes a fundamental task within the field of computer vision, yet it remains an unresolved challenge, owing to the intricate distortion conditions, diverse image contents, and limited availability of data. Recently, the community has witnessed the emergence of numerous large-scale pretrained foundation models, which greatly benefit from dramatically increased data and parameter capacities. However, it remains an open problem whether the scaling law in high-level tasks is also applicable to IQA task which is closely related to low-level clues. In this paper, we demonstrate that with proper injection of local distortion features, a larger pretrained and fixed foundation model performs better in IQA tasks. Specifically, for the lack of local distortion structure and inductive bias of vision transformer (ViT), alongside the large-scale pretrained ViT, we use another pretrained convolution neural network (CNN), which is well known for capturing the local structure, to extract multi-scale image features. Further, we propose a local distortion extractor to obtain local distortion features from the pretrained CNN and a local distortion injector to inject the local distortion features into ViT. By only training the extractor and injector, our method can benefit from the rich knowledge in the powerful foundation models and achieve state-of-the-art performance on popular IQA datasets, indicating that IQA is not only a low-level problem but also benefits from stronger high-level features drawn from large-scale pretrained models.

Motivation & Objective

  • To address the challenge of limited labeled data and complex distortion patterns in Image Quality Assessment (IQA), which hinders effective training of large models.
  • To investigate whether scaling laws from high-level vision tasks apply to IQA, a task sensitive to low-level image distortions.
  • To improve ViT's performance in IQA by compensating for its lack of local structure inductive bias through external CNN-derived features.
  • To enable efficient adaptation of large-scale pretrained models to IQA without full fine-tuning, preserving model knowledge while enhancing local sensitivity.
  • To demonstrate that combining global ViT features with multi-scale local distortion features leads to superior prediction accuracy and generalization.

Proposed method

  • A pretrained Vision Transformer (ViT) and a separate pretrained CNN are used to extract global and multi-scale local features from input images, respectively.
  • A local distortion extractor processes the CNN’s multi-scale feature maps using convolution and average pooling to isolate distortion-relevant signals.
  • A local distortion injector uses cross-attention to inject the extracted local features into ViT tokens at multiple layers, preserving spatial alignment.
  • The injected features are projected into a lower-dimensional latent space (dimension r=64) to reduce computational cost, inspired by NLP adapter techniques.
  • Only the distortion extractor and injector are fine-tuned, while the ViT and CNN remain fixed, enabling efficient adaptation.
  • The fusion is applied across multiple ViT encoder blocks, with ablation studies showing optimal performance when fused in all layers.

Experimental results

Research questions

  • RQ1Can large-scale pretrained ViTs be effectively adapted to IQA without full fine-tuning, leveraging knowledge from foundation models?
  • RQ2Does injecting local distortion features from a CNN improve ViT’s performance on IQA, given ViT’s weakness in capturing local structures?
  • RQ3How does the number of fusion interactions (i.e., layers where features are injected) affect model performance and efficiency?
  • RQ4What is the optimal latent dimension and number of attention heads in the cross-attention module for feature injection?
  • RQ5Do the injected local features enhance the model’s ability to capture high-frequency image details, as shown by Fourier analysis?

Key findings

  • LoDa achieves state-of-the-art performance on seven standard IQA datasets, with SRCC of 0.932 and PLCC of 0.944 on KonIQ-10k, and SRCC of 0.931 and PLCC of 0.936 on KADID-10k.
  • The model performs best with a latent dimension of 64, showing minimal sensitivity to hyperparameter changes in this range.
  • Using four attention heads in the cross-attention module yields slightly better performance than two or eight heads.
  • Fusing features across all 12 encoder layers yields the best results, but even half the number of interactions (6) achieves strong performance, indicating robustness to reduced fusion depth.
  • Fourier analysis confirms that LoDa captures more high-frequency signals than standard ViT, indicating enhanced sensitivity to local distortions.
  • The method maintains high generalization and training efficiency, as only the lightweight extractor and injector are trained, while the large ViT and CNN remain frozen.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.