Image and Video Quality Assessment using Prompt-Guided Latent Diffusion Models for Cross-Dataset Generalization
Shankhanil Mitra, Diptanu De, Shika Rao, Rajiv Soundararajan
TL;DR
The paper tackles the challenge of cross-dataset generalization for no-reference image and video quality assessment. It introduces GenzIQA and GenzVQA, which leverage prompt-guided latent diffusion models with learnable cross-attention between image/video representations and quality-aware textual prompts, plus a temporal quality modulator to handle motion in videos. The authors demonstrate superior cross-database performance across a broad suite of IQA/VQA datasets, perform extensive ablations to pinpoint the contributions of cross-attention, prompts, and pooling, and show practical inference times. The approach enables robust QA under diverse distortions and content types, with potential for scalable deployment and further improvements via edge-distillation and faster diffusion techniques.
Abstract
The design of image and video quality assessment (QA) algorithms is extremely important to benchmark and calibrate user experience in modern visual systems. A major drawback of the state-of-the-art QA methods is their limited ability to generalize across diverse image and video datasets with reasonable distribution shifts. In this work, we leverage the denoising process of diffusion models for generalized image QA (IQA) and video QA (VQA) by understanding the degree of alignment between learnable quality-aware text prompts and images or video frames. In particular, we learn cross-attention maps from intermediate layers of the denoiser of latent diffusion models (LDMs) to capture quality-aware representations of images or video frames. Since applying text-to-image LDMs for every video frame is computationally expensive for videos, we only estimate the quality of a frame-rate sub-sampled version of the original video. To compensate for the loss in motion information due to frame-rate sub-sampling, we propose a novel temporal quality modulator. Our extensive cross-database experiments across various user-generated, synthetic, low-light, frame-rate variation, ultra high definition, and streaming content-based databases show that our model can achieve superior generalization in both IQA and VQA.
