Skip to main content
QUICK REVIEW

[Paper Review] A practical convolutional neural network as loop filter for intra frame

Xiaodan Song, Jiabao Yao|arXiv (Cornell University)|May 16, 2018
Advanced Vision and ImagingComputer Science7 references8 citations
TL;DR

This paper proposes a single, QP-agnostic convolutional neural network (CNN) loop filter for intra-frame video coding that integrates quantization parameter (QP) and reconstruction as inputs to enable universal application across quality levels. By combining model compression and dynamic fixed-point (DFP) inference, it achieves consistent performance across platforms while reducing redundancy, delivering 3.14%, 5.21%, and 6.28% BD-rate savings on luma and chroma components under all-intra configuration compared to JEM 7.0.

ABSTRACT

Loop filters are used in video coding to remove artifacts or improve performance. Recent advances in deploying convolutional neural network (CNN) to replace traditional loop filters show large gains but with problems for practical application. First, different model is used for frames encoded with different quantization parameter (QP), respectively. It is expensive for hardware. Second, float points operation in CNN leads to inconsistency between encoding and decoding across different platforms. Third, redundancy within CNN model consumes precious computational resources. This paper proposes a CNN as the loop filter for intra frames and proposes a scheme to solve the above problems. It aims to design a single CNN model with low redundancy to adapt to decoded frames with different qualities and ensure consistency. To adapt to reconstructions with different qualities, both reconstruction and QP are taken as inputs. After training, the obtained model is compressed to reduce redundancy. To ensure consistency, dynamic fixed points (DFP) are adopted in testing CNN. Parameters in the compressed model are first quantized to DFP and then used for inference of CNN. Outputs of each layer in CNN are computed by DFP operations. Experimental results on JEM 7.0 report 3.14%, 5.21%, 6.28% BD-rate savings for luma and two chroma components with all intra configuration when replacing all traditional filters.

Motivation & Objective

  • To address the limitations of existing CNN-based loop filters that require separate models per QP, leading to high hardware cost.
  • To resolve platform inconsistency in inference caused by floating-point operations in CNNs.
  • To reduce model redundancy and computational cost through structured compression and quantization.
  • To develop a single, robust CNN filter that generalizes across different QP levels and reconstruction qualities.
  • To ensure consistent encoding-decoding behavior across diverse hardware platforms using dynamic fixed-point (DFP) inference.

Proposed method

  • A residual-structured CNN takes both the reconstructed intra frame and the QP value as input, enabling a single model to handle multiple QP levels.
  • Model compression is achieved in two stages: (1) L1 regularization on batch normalization scale parameters to prune filters during training, and (2) low-rank approximation with fine-tuning to further reduce parameter redundancy.
  • Post-compression, model weights are quantized to dynamic fixed-point (DFP) format to ensure consistent inference across CPU and GPU platforms.
  • During inference, all layer outputs are computed using DFP arithmetic and then denormalized to produce the final filtered output.
  • The entire pipeline is trained and optimized end-to-end, with fine-tuning after quantization to recover performance loss.
  • The method is evaluated using JEM 7.0 under all-intra and random-access configurations, with BD-rate as the primary metric.

Experimental results

Research questions

  • RQ1Can a single CNN model effectively replace multiple QP-specific loop filters in intra-frame video coding?
  • RQ2How can model redundancy be reduced without sacrificing coding efficiency?
  • RQ3Can dynamic fixed-point inference ensure consistent results across different hardware platforms?
  • RQ4What is the performance gain of a QP-agnostic CNN loop filter compared to traditional filters in JEM 7.0?
  • RQ5Can the proposed method maintain high performance while reducing computational and storage overhead?

Key findings

  • The proposed CNNF achieves 3.14% BD-rate reduction on the luma component and 5.21% and 6.28% on the two chroma components under all-intra configuration, outperforming the best QP-specific model.
  • The model achieves consistent performance across all tested QP levels (22–37) with a single trained network, eliminating the need for multiple QP-specific models.
  • With GPU acceleration, encoding time is reduced to 93% of JEM 7.0, and decoding time is manageable at 157% of baseline, indicating practical feasibility.
  • On CPU, decoding time increases significantly (up to 15,360% for ClassE), but this is expected to improve with future hardware acceleration.
  • The combination of filter pruning and low-rank approximation reduces model redundancy, enabling efficient deployment.
  • Subjective quality improvements are particularly noticeable in edge regions, confirming enhanced visual fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.