Perceptually-inspired super-resolution of compressed videos

Di Ma, Mariana Afonso, Fan Zhang, David R. BullarXiv 2021 · DOI

Abstract

Spatial resolution adaptation is a technique frequently employed in video compression to enhance coding efficiency by encoding a lower resolution version of the input video and reconstructing the original resolution during decoding. While recent work has utilized advanced super-resolution methods based on convolutional neural networks (CNNs), these are typically trained to minimize pixel-based losses like Mean-Squared Error (MSE), which correlate poorly with subjective human perception. This paper proposes M-SRGAN, a perceptually-inspired super-resolution approach for spatial up-sampling of compressed video. M-SRGAN uses a modified CNN model trained with a generative adversarial network (GAN) on compressed content using perceptual loss functions. Integrated with HEVC HM 16.20 and evaluated on UHD test sequences, the proposed method demonstrates significant perceptual quality improvements, achieving an average bitrate saving of 35.6% based on the VMAF metric.

Introduction

Spatial resolution adaptation—downsampling video before compression and upsampling it after decoding—is a common strategy to save bandwidth in video streaming. Traditionally, this relies on standard upsampling filters. Recently, Convolutional Neural Networks (CNNs) have been introduced to improve reconstruction quality. However, most CNN-based models are optimized for pixel-level accuracy (e.g., MSE or L1 loss), which often leads to blurry frames or unnatural textures in compressed video. This work addresses the gap by designing a GAN-based super-resolution model specifically optimized for human perceptual quality on compressed video content.

Proposed Framework

The proposed framework integrates a deep learning-based super-resolution stage into the standard video decoding pipeline.

The proposed spatial resolution adaptation framework using CNN-based super-resolution.

Encoding and Decoding Pipeline

The process begins by downsampling original frames by a factor of 2 using a Lanczos3 filter. These reduced-resolution frames are then encoded using HEVC (HM 16.20). At the decoder, the frames are initially upsampled using a nearest-neighbor filter to restore the original dimensions, followed by the M-SRGAN model to recover high-frequency details and textures lost during compression and downsampling.

M-SRGAN Architecture

M-SRGAN is based on the SRGAN architecture but incorporates several key modifications to better handle compressed video:

  • Removal of Batch Normalization: Batch Normalization (BN) layers were removed from the generator's residual blocks. BN is known to introduce artifacts in deep GANs for super-resolution; removing them improves visual stability.
  • Perceptual Training Strategy: Training is conducted in two stages. First, the generator (M-SRResNet) is pre-trained using Multi-Scale Structural Similarity (MS-SSIM) loss. Subsequently, the full GAN is trained using a combination of SSIM, L1, and Relativistic GAN (RaGAN) adversarial loss.
  • QP-Specific Modeling: To account for varying levels of compression artifacts, four distinct models were trained, each tailored to a specific Quantization Parameter (QP) range.
Comparison between a standard residual block and the modified residual block without Batch Normalization (BN) layers.

Experimental Setup

The models were trained on 108 UHD source videos from public databases (BVI-HFR, BVI-Texture, Netflix Chimera, and Harmonic Inc.). These were downsampled to multiple resolutions (1080p, 540p, 270p) to create a diverse dataset of 432 uncompressed sequences. Training pairs were generated by compressing these sequences with HEVC HM 16.20 at four base QP values.

Evaluation was performed on standard JVET Common Test Conditions (CTC) UHD test sequences (e.g., Campfire, FoodMarket4, Tango2) using the Random Access configuration.

Key Results

The M-SRGAN approach yielded substantial improvements in coding efficiency and visual quality:

  • Bitrate Savings: The method achieved an average Bjøntegaard Delta (BD) rate saving of 35.6% based on the VMAF perceptual quality metric compared to the original HEVC HM 16.20 anchor.
  • GAN Advantage: Adversarial training provided a significant boost; M-SRGAN outperformed a version of the same generator trained only with L1 loss (M-SRResNet-L1), which achieved a 25.9% VMAF BD-rate saving.
  • Computational Trade-offs: Encoding time was reduced to 29.9% of standard HEVC because the encoder operates on half-resolution video. However, the complexity of the deep CNN increased decoding time by 27.7 times compared to the standard decoder.

Conclusion

M-SRGAN demonstrates that perceptually-inspired training and architectural refinements can significantly enhance the efficiency of spatial resolution adaptation in video compression. While the current decoding complexity presents a challenge for real-time applications, the massive bitrate savings and improved subjective quality highlight the potential of GAN-based super-resolution for next-generation video coding. Future work will focus on developing lightweight architectures to mitigate the decoding bottleneck.

Summary updated

BibTeX
@misc{ma2021perceptually,
  author = {Di Ma and Mariana Afonso and Fan Zhang and David R. Bull},
  title = {{Perceptually-inspired super-resolution of compressed videos}},
  year = {2021},
  eprint = {2106.08147},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.08147},
}
Figure