Dual Learning-based Video Coding with Inception Dense Blocks

Chao Liu, Heming Sun, Junan Chen, Zhengxue Cheng, Masaru Takeuchi, Jiro Katto, Xiaoyang Zeng, Yibo Fan

This paper presents a novel approach to enhancing High Efficiency Video Coding (HEVC) by integrating two distinct neural network architectures into the intra-coding pipeline. By combining a fully-connected network for intra prediction with a sophisticated "Inception-style" convolutional network for reconstruction filtering, the authors achieve state-of-the-art compression efficiency with significantly fewer parameters than competing deep learning models.

TL;DR

The authors introduce a dual-network framework for HEVC intra coding that uses a fully-connected network for prediction and a multi-branch Inception-based CNN for block-level filtering. This approach achieves an average BD-rate saving of 10.24% over the HM-16.20 baseline while maintaining a relatively compact model size of approximately 475,000 parameters.

What Problem Does This Paper Address?

Video compression relies heavily on intra coding, which predicts the content of a current block based on previously decoded neighboring pixels. Standard HEVC uses 35 predefined prediction modes (angular, DC, and planar). However, these linear and hand-crafted modes often fail to capture complex textures, leading to residuals that require more bits to encode.

Furthermore, the quantization process introduces artifacts like blocking and ringing. While HEVC includes traditional filters (like the deblocking filter and SAO), they are limited in their ability to restore high-frequency details. Previous deep learning attempts at filtering, such as VR-CNN, were either too shallow to capture complex features or, like RHCNN, too computationally heavy for practical deployment. This paper seeks a "sweet spot": a high-performance filter that is deep enough to be effective but efficient enough to be feasible.

Methods

The authors propose a two-pronged "dual learning" strategy:

  1. Neural Network-based Intra Prediction: The authors add a 36th prediction mode to the standard HEVC set. This mode uses a fully-connected (FC) network to predict the current block. A single additional bit (bin) is used at the Prediction Unit (PU) level to signal whether the encoder should use this neural network mode or one of the traditional 35 modes.
  2. Inception-based Reconstruction Filtering: Instead of frame-level filtering, the authors implement a block-level CNN that processes 32x32 reconstructed blocks.

The filtering architecture, shown in Figure 1, is the core innovation:

  • Pre-processing: Two $3 \times 3$ convolutional layers extract basic features.
  • Inception Dense Blocks: The middle section consists of 12 "improved inception blocks." Unlike standard Inception modules, these remove pooling layers to maintain spatial resolution and use a multi-branch structure with $1 \times 1$, $1 \times 3$, $3 \times 1$, and $3 \times 3$ kernels to capture features across different receptive fields.
  • Residual Learning: The network predicts a "residual" (the difference between the distorted and original block), which is then added back to the input reconstruction block.
Fig. 1. The architecture of VR-CNN [8] and our reconstruction filtering model.

Datasets

  • Training: The DIV2K dataset, consisting of 900 high-resolution (2K) images, was used. Only the luminance (Y) component was used for training, though the model was tested on all YUV components.
  • Evaluation: The model was benchmarked using the 8 PCS Grand Challenge short videos and the standard HEVC test sequences (Classes A through E).

Key Insights and Ideas

  • The Superposition Effect: One of the most important findings is that the two networks work better together than the sum of their parts. Integrating the prediction network with the filtering network provided an additional 2.42% BD-rate saving for the luminance component compared to using the filter alone.
  • Block-Level vs. Frame-Level: By filtering at the block level during the encoding loop, the improved pixels can serve as better reference samples for subsequent blocks. This creates a virtuous cycle that reduces the bitrate of residuals throughout the frame.
  • Kernel Diversity Matters: The authors argue that the multi-branch Inception structure is superior to simple stacked convolutions because it extracts features at multiple scales simultaneously, which is crucial for handling the varied artifacts found in compressed video.

Key Results

The proposed method was compared against the HEVC Test Model (HM-16.20) and several other neural network filters (AR-CNN, VR-CNN, and RHCNN).

  • Compression Efficiency: On the PCS Grand Challenge sequences, the model achieved an average BD-rate saving of 10.24% for All-Intra (AI) configuration and 3.57% for Random-Access (RA).
  • Model Efficiency: The proposed filter uses 475,233 parameters. While larger than VR-CNN (54k), it is significantly smaller than the high-performing RHCNN (3.3 million parameters) yet achieves better results.
  • Qualitative Improvement: Visually, the network effectively removes contouring and blocking artifacts, particularly in smooth areas like human faces, as seen in Figure 2.
Qualitative comparison: (a) HM baseline shows blocky artifacts on the face; (b) The proposed model smooths these artifacts while maintaining a higher compression ratio.

Limitations and Future Work

  • Computational Complexity: While the model is parameter-efficient compared to RHCNN, the encoding and decoding times increase significantly. Table I shows encoding time increases ($\Delta T_{enc}$) of over 8000% and decoding time increases ($\Delta T_{dec}$) of nearly 200,000% in some cases. This suggests the model is currently more suited for offline applications than real-time streaming.
  • Chroma Training: The model was trained only on luminance data. While it performed well on chrominance (U and V) components during testing, dedicated chroma training might yield even higher gains.
  • Future Directions: The authors plan to explore even lighter models to reduce the computational overhead while maintaining high coding performance.

Summary updated

BibTeX
@inproceedings{liu2019dual,
  author = {Chao Liu and Heming Sun and Junan Chen and Zhengxue Cheng and Masaru Takeuchi and Jiro Katto and Xiaoyang Zeng and Yibo Fan},
  title = {{Dual Learning-based Video Coding with Inception Dense Blocks}},
  booktitle = {PCS},
  year = {2019},
  doi = {10.1109/pcs48520.2019.8954498},
}
Figure