CLIPVQA:Video Quality Assessment via CLIP

Fengchuang Xing, Mingjie Li, Yuan-Gen Wang, Guopu Zhu, Xiaochun Cao

TL;DR

CLIPVQA is a novel framework that adapts the Contrastive Language-Image Pre-training (CLIP) model for "blind" or no-reference video quality assessment (VQA). By leveraging natural language descriptions (e.g., "vibrant" vs. "blurry") as a form of supervision and employing a specialized spatiotemporal Transformer, it achieves new state-of-the-art performance and significantly better generalization across diverse real-world video datasets.

What Problem Does This Problem Address?

Assessing the quality of user-generated content (UGC) is a massive challenge for platforms like YouTube and TikTok. Unlike traditional video quality assessment, "in-the-wild" VQA often lacks a pristine reference video for comparison. Existing methods typically rely on handcrafted features or deep learning models pre-trained on image classification (like ImageNet).

However, these approaches face two major hurdles:

  1. Domain Shift: Models trained to recognize what is in an image (classification) often struggle to evaluate how good the image looks (quality).
  2. Temporal Complexity: Capturing the long-range dependencies and motion-related distortions that affect video quality is computationally expensive and architecturally difficult for standard convolutional neural networks (CNNs).

Methods

The authors propose CLIPVQA, which bridges the gap between vision and language for quality assessment. The architecture consists of four main components:

  • Frame Perception Transformer (FPT): This module uses "CLIP-based Aggressive Transformer" (CAT) blocks to extract spatial features from individual frames while simultaneously learning "pseudo-MOS" (Mean Opinion Score) tokens. These tokens communicate across frames to capture inter-frame temporal information. The FPT module uses CAT blocks to iteratively refine frame and quality tokens.
Fig. 3: An illustration of the frame perception Transformer (FPT), which consists of L CAT blocks. The frame encoder is similar to the pre-trained image encoder in CLIP.
  • Spatiotemporal Quality Aggregation Transformer (SAT): This aggregates the frame-level information into a single video-level quality representation.
  • MOS2Language Encoder: This is a key innovation. The authors convert numerical quality scores into natural language descriptions based on a five-grade scale (e.g., "Excellent and Imperceptible" to "Bad and very annoying"). These descriptions are embedded using CLIP’s pre-trained text encoder to provide semantic supervision.
  • Video Content and Language Aggregation Transformer (VAT): This module uses cross-attention to fuse the visual content features with the language embeddings, ensuring the model learns representations that align with human linguistic descriptions of quality. The overall CLIPVQA framework integrates visual perception with language-based supervision.
Fig. 2: An overview of the proposed CLIPVQA framework. It includes a frame perception Transformer (FPT), a spatiotemporal quality aggregation Transformer (SAT), a MOS2Language encoder, a video content and language aggregation Transformer (VAT), a fusion operation, and a vectorized regression (VR) loss for optimization.

Finally, the model uses a Vectorized Regression (VR) loss. Instead of predicting a single number, the model predicts a probability distribution over the quality scale, which better accounts for the inherent subjectivity in human quality ratings.

Datasets

The model was evaluated on eight diverse, "in-the-wild" video benchmarks:

  • Small-scale: CVD2014, KoNViD-1k, LIVE-Qualcomm, LIVE-VQC, YouTube-UGC.
  • Large-scale: LSVQ, LSVQ-1080p, and KonViD-150k.

These datasets cover a wide range of resolutions (up to 4K), frame rates, and natural distortions.

Key Insights and Ideas

  • Language as a Perceptual Anchor: The authors demonstrate that natural language descriptions are more than just labels; they provide a rich semantic context that helps the model generalize better to unseen distortions. As shown in Figure 1, text descriptions like "Clear, well-lit" vs. "Relatively dark, dim" strongly correlate with subjective human assessment. Natural language descriptions help the model distinguish between high and low quality frames.

  • Implicit CLIP Adaptation: Unlike previous IQA methods that use CLIP explicitly (simple image-text matching), CLIPVQA uses it implicitly by integrating CLIP-based encoders into a deeper Transformer architecture designed for temporal modeling.

  • Distributional Prediction: Treating quality assessment as a distribution matching problem (via VR loss) rather than a simple regression problem makes the training more stable and the results more reflective of human consensus.
Natural language descriptions help the model distinguish between high and low quality frames.

Key Results

  • State-of-the-Art (SOTA): CLIPVQA outperformed all existing benchmarks (including CNN-based and other Transformer-based models) across all eight datasets.
  • Generalization: In cross-dataset tests (training on one dataset and testing on another), CLIPVQA showed up to a 37% improvement in generalizability over previous methods. This suggests the model is learning fundamental quality concepts rather than just memorizing dataset-specific biases.
  • Efficiency: Despite its complexity, the model maintains competitive inference speeds on high-resolution videos (e.g., 1080p and 4K) compared to other Transformer-based VQA methods.

Limitations and Future Work

  • Computational Overhead: While efficient compared to some peers, using large backbones like CLIP-L-14 still requires significant GPU resources for training.
  • Audio Integration: The current model focuses solely on visual signals. The authors note that multi-modal VQA—incorporating audio quality—is a promising future direction, as audio significantly impacts the overall "Quality of Experience" (QoE).
  • Prompt Engineering: The study found that short language descriptions performed better than long ones, suggesting that further research into optimal "quality prompts" could yield even better results.

Summary updated

Abstract

In learning vision-language representations from web-scale data, the contrastive language-image pre-training (CLIP) mechanism has demonstrated a remarkable performance in many vision tasks. However, its application to the widely studied video quality assessment (VQA) task is still an open issue. In this paper, we propose an efficient and effective CLIP-based Transformer method for the VQA problem (CLIPVQA). Specifically, we first design an effective video frame perception paradigm with the goal of extracting the rich spatiotemporal quality and content information among video frames. Then, the spatiotemporal quality features are adequately integrated together using a self-attention mechanism to yield video-level quality representation. To utilize the quality language descriptions of videos for supervision, we develop a CLIP-based encoder for language embedding, which is then fully aggregated with the generated content information via a cross-attention module for producing video-language representation. Finally, the video-level quality and video-language representations are fused together for final video quality prediction, where a vectorized regression loss is employed for efficient end-to-end optimization. Comprehensive experiments are conducted on eight in-the-wild video datasets with diverse resolutions to evaluate the performance of CLIPVQA. The experimental results show that the proposed CLIPVQA achieves new state-of-the-art VQA performance and up to 37% better generalizability than existing benchmark VQA methods. A series of ablation studies are also performed to validate the effectiveness of each module in CLIPVQA.
BibTeX
@article{xing2024clipvqa,
  author = {Fengchuang Xing and Mingjie Li and Yuan-Gen Wang and Guopu Zhu and Xiaochun Cao},
  title = {{CLIPVQA:Video Quality Assessment via CLIP}},
  journal = {IEEE Trans. Broadcast.},
  year = {2024},
  url = {https://openreview.net/forum?id=LQ3XzUzVkX},
}
Figure