Video compression with low complexity CNN-based spatial resolution adaptation

Di Ma, Fan Zhang, David R. BullarXiv 2020 · DOI

Abstract

It has recently been demonstrated that spatial resolution adaptation can be integrated within video compression to improve overall coding performance by spatially down-sampling before encoding and super-resolving at the decoder. Significant improvements have been reported when convolutional neural networks (CNNs) were used to perform the resolution up-sampling. However, this approach suffers from high complexity at the decoder due to the employment of CNN-based super-resolution. In this paper, a novel framework is proposed which supports the flexible allocation of complexity between the encoder and decoder. This approach employs a CNN model for video down-sampling at the encoder and uses a Lanczos3 filter to reconstruct full resolution at the decoder. The proposed method was integrated into the HEVC HM 16.20 software and evaluated on JVET UHD test sequences using the All Intra configuration. The experimental results demonstrate the potential of the proposed approach, with significant bitrate savings (more than 10%) over the original HEVC HM, coupled with reduced computational complexity at both encoder (29%) and decoder (10%).

Introduction

Spatial resolution adaptation (SRA) is a promising technique for video compression, involving down-sampling frames before encoding and up-sampling them at the decoder. While Convolutional Neural Networks (CNNs) have significantly improved SRA performance through super-resolution at the decoder, they introduce prohibitive computational costs for consumer devices like smartphones. This research proposes a novel framework that shifts the complexity from the decoder to the encoder by using a CNN for intelligent down-sampling while maintaining a low-complexity traditional filter for up-sampling.

Methods: DSNet and Proxy Training

The core of the proposed method is the Deep Down-sampling CNN (DSNet). As shown in Figure 1, the architecture utilizes 14 Residual Dense Blocks (RDBs) with cascading skip connections to transform high-resolution blocks into feature-rich, low-resolution representations. This design allows the network to capture and preserve essential structural information during the down-sampling process.

Architecture of the proposed DSNet for spatial down-sampling.

To optimize this network for compression without a differentiable codec, the authors employed a proxy loss function. This loss balances the reconstruction distortion (after up-sampling with a Lanczos3 filter) against a compressibility estimate. The model was trained on the BVI-DVC database using 200,000 image blocks and evaluated on JVET Ultra High Definition (UHD) test sequences, ensuring benchmarks align with modern standards.

Key Results

The framework was integrated into HEVC HM 16.20 and tested across four scenarios. The primary focus, Scenario 2 (CNN down-sampling and Lanczos3 up-sampling), achieved an average bitrate saving of 10.2% compared to the HEVC baseline, as detailed in Figure 2.

BD-rate performance (PSNR) for various SRA scenarios compared to the HEVC baseline.

Beyond compression gains, the method significantly reduces computational complexity. The encoder complexity was reduced to 71% of the baseline, and the decoder complexity to 90%. This is a critical improvement over Scenario 4 (CNN for both steps), which, while offering 16.7% savings, increases decoder complexity by over 29 times. The results demonstrate that intelligent pre-processing at the encoder can make video "easier" to compress, benefiting both bitrate and processing time.

Conclusion

This work proves that complexity redistribution in SRA is a viable path for modern video codecs. By using a sophisticated encoder to prepare frames for a simple decoder, significant efficiency gains are possible without the hardware overhead of deep super-resolution. Future work will focus on extending the framework to inter-coding and optimizing specific CNN models for different quantization parameter ranges.

Summary updated

BibTeX
@misc{ma2020video,
  author = {Di Ma and Fan Zhang and David R. Bull},
  title = {{Video compression with low complexity CNN-based spatial resolution adaptation}},
  year = {2020},
  eprint = {2007.14726},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.14726},
}
Figure