Introduction
Image Quality Assessment (IQA) is a fundamental task in computer vision that aims to automatically evaluate the perceived quality of images. While humans can effortlessly identify artifacts like blur or compression noise, training AI models to do so remains challenging due to the scarcity of human-labeled data.
Recent advancements in computer vision have been driven by large-scale pretrained Vision Transformers (ViTs). However, these "foundation models" are primarily optimized for high-level semantic understanding (e.g., object recognition) rather than low-level pixel distortions. Transformers often lack the spatial inductive bias inherent in Convolutional Neural Networks (CNNs), which are naturally adept at capturing local, high-frequency details. To address this, we present LoDa (Local Distortion Aware), an efficient adaptation framework that teaches giant Transformers to "see" bad pixels by injecting local distortion features from a specialist CNN.
Methodology
The LoDa framework adopts a parameter-efficient tuning strategy, keeping large pretrained backbones frozen while training a lightweight bridge between global context and local detail.
Dual-Backbone Architecture
The system utilizes two frozen, pretrained models: a large Vision Transformer (ViT) to capture global scene context and a CNN (ResNet-50) to extract local structural information.
Local Distortion Extraction and Injection
- Local Distortion Extractor: This module processes multi-scale feature maps from the CNN. Using a series of 1x1 and 3x3 convolutions followed by pooling, it generates "distortion tokens" that represent quality clues at various granularities.
- Local Distortion Injector: To bridge the gap between ViT patches and CNN feature maps, a cross-attention mechanism is employed. ViT tokens act as "queries" to pull relevant local information from the CNN's distortion tokens.
- Efficiency via Bottlenecks: To minimize computational overhead, high-dimensional ViT tokens are projected into a smaller latent space before the cross-attention step. Only the extractor, injector, and a final regression head (totaling approximately 9M parameters) are updated during training.
Experimental Setup
LoDa was evaluated across seven standard IQA benchmarks:
- Synthetic Datasets: LIVE, TID2013, and KADID-10k, featuring artificial distortions like Gaussian blur and JPEG noise.
- Authentic Datasets: LIVEC, KonIQ-10k, SPAQ, and FLIVE, consisting of real-world photos with complex, "in-the-wild" distortions.
Results and Discussion
LoDa achieves state-of-the-art (SOTA) performance while maintaining exceptional parameter efficiency.
Performance and Efficiency
On the KonIQ-10k dataset, LoDa achieved a Spearman Rank Correlation Coefficient (SRCC) of 0.932, outperforming significantly larger models such as LIQE (151M parameters) and TReS (152M parameters). Remarkably, LoDa requires only 9M trainable parameters, a fraction of the 24M–150M range typical of competing SOTA architectures.
Key Insights
- Frequency Complementarity: Fourier analysis indicates that standard ViTs primarily function as low-pass filters, focusing on global shapes. In contrast, CNNs capture high-frequency signals essential for distortion detection. LoDa effectively merges these two domains.
- Scaling for Low-Level Tasks: The study confirms that larger ViT backbones do benefit IQA tasks, provided there is a mechanism like the LoDa injector to provide local structural guidance.
- Robust Generalization: Cross-dataset testing demonstrated that LoDa learns fundamental quality features rather than dataset-specific biases, showing superior robustness compared to existing methods.
Conclusion
The LoDa framework demonstrates that large-scale foundation models can be successfully adapted for low-level tasks like IQA through efficient, local-aware injection. By leveraging the complementary strengths of Transformers and CNNs, LoDa provides a high-performance, resource-efficient solution for automated image quality evaluation. Future work will explore adapting multi-modal models (like CLIP) to be more sensitive to fine-grained pixel distortions.
Summary updated