Full Reference Video Quality Assessment for Machine Learning-Based Video Codecs

Abrar Majeedi, Babak Naderi, Yasaman Hosseinkashi, Juhee Cho, Ruben Alvarez Martinez, Ross CutlerarXiv 2023

Abstract

Machine learning-based video codecs have made significant progress in the past few years. A critical area in the development of ML-based video codecs is an accurate evaluation metric that does not require an expensive and slow subjective test. We show that existing evaluation metrics that were designed and trained on DSP-based video codecs are not highly correlated to subjective opinion when used with ML video codecs due to the video artifacts being quite different between ML and video codecs. We provide a new dataset of ML video codec videos that have been accurately labeled for quality. We also propose a new full reference video quality assessment (FRVQA) model that achieves a Pearson Correlation Coefficient (PCC) of 0.99 and a Spearman's Rank Correlation Coefficient (SRCC) of 0.99 at the model level. We make the dataset and FRVQA model open source to help accelerate research in ML video codecs, and so that others can further improve the FRVQA model.

Introduction: The Artifact Gap

For decades, video compression has relied on hand-coded digital signal processing (DSP) algorithms such as H.264 or HEVC. Recently, Machine Learning (ML) codecs have begun outperforming these traditional methods in efficiency. However, ML codecs produce visual artifacts that are fundamentally different from the blocky distortions typical of traditional video.

Existing quality metrics like PSNR (Peak Signal-to-Noise Ratio) or VMAF (Video Multi-Method Assessment Fusion) were designed for DSP-based distortions. Consequently, they do not correlate well with human perception when applied to AI-compressed video. This discrepancy creates a need for a new "ruler" to measure ML codec performance without relying on slow, expensive human subjective tests.

Comparison of subjective scores vs. automated metrics. VMAF significantly overestimates quality compared to human ratings, while MLCVQA remains accurate.

Methodology: The MLCVQA Model

The proposed MLCVQA (Machine Learning Codec Video Quality Assessment) model addresses this gap through a two-step deep learning approach.

Feature Extraction

Instead of analyzing raw pixels, the model utilizes a pre-trained SlowFast network as a visual backbone. Originally designed for action recognition, this network mimics the human visual system's sensitivity to both spatial detail (Slow pathway) and temporal motion (Fast pathway). The backbone is kept "frozen" during training to preserve its robust feature extraction capabilities.

Temporal Prediction and Fusion

The model extracts features from both the original reference video and the compressed encoded video. It calculates the difference between these feature sets and concatenates them with traditional frame-level metrics like VIF and DLM. This combined data is processed through 1D-convolutions and a multi-layer perceptron to predict the final quality score.

The MLCVQA architecture, featuring the SlowFast backbone and the quality prediction head.

To improve generalization, the researchers employed Relative Perceptual Quality Invariant (RPQI) augmentations. By applying identical transformations (flips, rotations) to both reference and encoded videos during training, the model learns to focus on relative quality differences rather than specific image content.

Datasets

The study introduces MLVC-FRVQA, the largest dataset of its kind specifically labeled for ML codec quality. It contains:

  • 147 source clips
  • 22,932 encoded clips
  • Coverage of 7 ML-based codecs and 4 traditional DSP codecs across various resolutions and bitrates.

The model was also benchmarked against the CLIC 2022 Challenge Dataset.

Key Results and Performance

MLCVQA significantly outperforms existing standards in aligning with human judgment. The authors emphasize that standard correlation coefficients can be misleading as they ignore human rating uncertainty; thus, they prioritize robust performance across multiple metrics.

  • High Correlation: It achieved a Pearson Correlation Coefficient (PCC) of 0.99 and a Spearman’s Rank Correlation Coefficient (SRCC) of 0.99 at the model level.
  • Benchmarking: The model surpassed VMAF, LPIPS, and other deep-learning-based competitors like C3DVQA.
  • Human Alignment: Prediction errors were below the 95% confidence interval of human subjective ratings over 60% of the time, suggesting the model is often as accurate as a panel of human testers.

Conclusion

While MLCVQA excels at identifying high and low-quality extremes, the "murky middle" remains a challenge due to higher variance in human ratings for those clips. Future work will involve training on the full MLVC-FRVQA dataset and exploring more advanced pre-trained backbones to refine performance in the middle-quality range. By open-sourcing the dataset and model, the authors aim to accelerate the development of next-generation ML video codecs.

Summary updated

BibTeX
@misc{majeedi2023full,
  author = {Abrar Majeedi and Babak Naderi and Yasaman Hosseinkashi and Juhee Cho and Ruben Alvarez Martinez and Ross Cutler},
  title = {{Full Reference Video Quality Assessment for Machine Learning-Based Video Codecs}},
  year = {2023},
  eprint = {2309.00769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.00769},
}
Figure