Boosting Image Quality Assessment Through Efficient Transformer Adaptation with Local Feature Enhancement

Kangmin Xu, Liang Liao, Jing Xiao, Chaofeng Chen, Haoning Wu, Qiong Yan, Weisi Lin

Abstract

Image Quality Assessment (IQA) is a challenging task that requires modeling both high-level semantics and low-level distortions. While large-scale Vision Transformers (ViTs) have set new benchmarks in high-level vision, their application to IQA is hindered by a lack of local inductive bias and the scarcity of large-scale labeled datasets. We present LoDa (LOcal Distortion Aware adaptation), a parameter-efficient framework that adapts frozen ViTs for IQA by injecting local features from a frozen CNN. By training a small cross-attention-based "injector" module (9M parameters), LoDa achieves state-of-the-art performance across seven major benchmarks, demonstrating a successful application of scaling laws to low-level vision.

Introduction

Predicting human perception of image quality involves analyzing two distinct components: the semantic content (what is depicted) and the presence of distortions (artifacts like noise, blur, or compression). Traditional Vision Transformers (ViTs) excel at global context but often overlook the fine-grained local details where distortions reside. Furthermore, the high cost of human labeling makes training large IQA models from scratch impractical. LoDa addresses these issues by leveraging the strengths of both CNNs (local sensitivity) and ViTs (global semantics) through an efficient adaptation strategy.

Methodology

The LoDa framework utilizes two frozen pretrained backbones: a ViT for semantic understanding and a CNN (e.g., ResNet) for local feature extraction. The core of the system consists of two trainable components:

  1. Local Distortion Extractor: This module harvests multi-scale features from various layers of the frozen CNN, capturing a wide range of distortion types from low-level textures to higher-level structures.
  2. Local Distortion Injector: To bridge the gap between CNN features and ViT tokens, a cross-attention mechanism is employed. ViT tokens act as queries to retrieve relevant local distortion information from the CNN features, ensuring spatial alignment and effective feature fusion.
The LoDa framework architecture, featuring frozen CNN and ViT backbones with trainable Local Distortion Extractor and Injector modules.

Experimental Results

LoDa was evaluated on seven diverse datasets, including synthetic (LIVE, TID2013, KADID-10k) and authentic "in-the-wild" (KonIQ-10k, SPAQ, FLIVE) benchmarks. The model consistently achieved state-of-the-art (SOTA) results. For instance, on the KonIQ-10k dataset, LoDa reached an SRCC of 0.932, outperforming models with significantly more trainable parameters.

A key advantage of LoDa is its parameter efficiency. While maintaining high performance, it requires training only 9 million parameters—a small fraction of the size of competing SOTA models like TReS (152M) or LIQE (151M). This efficiency does not come at the cost of performance; rather, the paper demonstrates a "scaling law" where larger ViT backbones consistently yield better results when paired with the LoDa injector, provided the model has a mechanism to capture high-frequency local details.

Comparison of SRCC performance versus finetuned parameters across various IQA models. LoDa achieves superior performance with significantly fewer trainable parameters.

Conclusion

LoDa proves that large-scale foundation models can be effectively repurposed for low-level vision tasks through strategic, parameter-efficient adaptation. By reintroducing local inductive biases into the ViT architecture via a cross-attention bridge, the model achieves superior accuracy and data efficiency. While the dual-backbone approach introduces some inference overhead, the significant gains in performance and training efficiency mark a major step forward for automated image quality assessment.

Summary updated

BibTeX
@inproceedings{xu2024boosting,
  author = {Kangmin Xu and Liang Liao and Jing Xiao and Chaofeng Chen and Haoning Wu and Qiong Yan and Weisi Lin},
  title = {{Boosting Image Quality Assessment Through Efficient Transformer Adaptation with Local Feature Enhancement}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.00257},
}
Figure