A Convolutional Neural Network-Based Low Complexity Filter

Chao Liu, Heming Sun, Jiro Katto, Xiaoyang Zeng, Yibo FanarXiv 2020

Abstract

Modern video coding standards achieve high compression efficiency but introduce visual artifacts like blocking and ringing. While Convolutional Neural Networks (CNNs) have shown promise in artifact reduction, their computational overhead often precludes real-time implementation. This paper proposes a lightweight CNN-based in-loop filter that utilizes depthwise separable convolutions and a novel Residual Mapping (RM) module. The proposed model achieves a 1.2% BD-rate reduction in HEVC with 79.1% fewer FLOPs compared to state-of-the-art models like VR-CNN.

Introduction

The hybrid framework of video coding standards such as HEVC and VVC relies on block partitioning and quantization, which inevitably lead to artifacts including blocking, ringing, and the Gibbs effect. Traditional filters like the Deblocking Filter (DBF) and Sample Adaptive Offset (SAO) are computationally efficient but limited in performance. CNN-based filters offer better restoration but suffer from high complexity and a tendency toward over-smoothing, particularly in inter-frames where fine textures may be erroneously erased.

Methodology

The proposed filter architecture focuses on three key innovations to balance performance and efficiency:

  1. Lightweight Backbone: The network is built using Depthwise Separable Convolutions (DSC), which decouple spatial filtering from channel-wise combination. This significantly reduces parameters and operations. To further optimize for playback, Batch Normalization (BN) layers are merged directly into the convolution weights.
Depthwise Separable Convolution structure
  1. Teacher-Student Training: To compensate for the reduced capacity of the lightweight model, a deeper "teacher" network guides the "student" network's initialization through attention transfer. This knowledge distillation process ensures that the smaller model converges to a more optimal solution during training.
  2. Frame-level Residual Mapping (RM): Instead of direct image reconstruction, the network learns a residual—the difference between the distorted and original image. An adaptive scaling factor is calculated at the frame level to modulate the filtering strength. This allows the system to "dial back" corrections when necessary, effectively preventing over-smoothing and preserving fine details.

Experimental Results

The model was integrated into HEVC (HM-16.16) and VVC (VTM-6.3) reference software and trained on the DIV2K dataset. The resulting network is extremely compact, containing only 11,114 parameters (~58KB).

Comparison of original frame, distortion, and learned residual

As shown in the figure above, the learned residual captures the high-frequency information needed to correct distortions without blurring the entire frame. Quantitatively, the filter achieved an average 1.2% BD-rate reduction in HEVC and up to 1.6% in VVC. Most notably, it reduced FLOPs by 79.1% compared to the well-known VR-CNN architecture, making it suitable for hardware implementation.

Conclusion

The proposed CNN-based filter demonstrates that high-performance in-loop filtering is achievable with low computational complexity. By combining depthwise separable convolutions with frame-level residual mapping, the model effectively balances artifact reduction and detail preservation. Future work will explore spatial-temporal features to further enhance inter-frame filtering performance.

Summary updated

BibTeX
@misc{liu2020convolutional,
  author = {Chao Liu and Heming Sun and Jiro Katto and Xiaoyang Zeng and Yibo Fan},
  title = {{A Convolutional Neural Network-Based Low Complexity Filter}},
  year = {2020},
  eprint = {2009.02733},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.02733},
}
Figure