Deep Frame Prediction for Video Coding

Hyomin Choi, Ivan V. Bajic · DOI

Abstract: We propose a novel frame prediction method using a deep neural network (DNN), with the goal of improving video coding efficiency. The proposed DNN makes use of decoded frames, at both encoder and decoder, to predict textures of the current coding block. Unlike conventional inter-prediction, the proposed method does not require any motion information to be transferred between the encoder and the decoder. Still, both uni-directional and bi-directional prediction are possible using the proposed DNN, which is enabled by the use of the temporal index channel, in addition to color channels. In this study, we developed a jointly trained DNN for both uni- and bi- directional prediction, as well as separate networks for uni- and bi-directional prediction, and compared the efficacy of both approaches. The proposed DNNs were compared with the conventional motion-compensated prediction in the latest video coding standard, HEVC, in terms of BD-Bitrate. The experiments show that the proposed joint DNN (for both uni- and bi-directional prediction) reduces the luminance bitrate by about 4.4%, 2.4%, and 2.3% in the Low delay P, Low delay, and Random access configurations, respectively. In addition, using the separately trained DNNs brings further bit savings of about 0.3%-0.5%.

Introduction

In conventional video compression standards like High Efficiency Video Coding (HEVC), the majority of coding gains come from inter-prediction—using previously decoded frames to predict the current frame. To achieve this, the encoder searches for matching blocks in reference frames and transmits Motion Vectors (MVs) to the decoder. While effective, transmitting these MVs consumes a significant portion of the total video bitrate, typically ranging from 10% to 30%.

Recently, researchers have explored using Deep Neural Networks (DNNs) to synthesize predicted frames directly from reference frames without sending MVs. However, prior attempts were largely limited to Frame Rate Up-Conversion (FRUC) techniques, which only support bi-directional interpolation. These methods struggled with uni-directional extrapolation (predicting the future from the past) and varying temporal distances. This paper bridges that gap by proposing a unified DNN architecture capable of handling all inter-coding scenarios.

Proposed Architecture and Methods

The proposed DNN is a depth-4 U-Net with skip connections, heavily modified for the specific demands of video coding.

Architecture of the proposed Deep Frame Prediction network, highlighting the temporal index channel and spatially-varying convolution layers.

The Temporal Index Channel

A crucial innovation is the addition of a "temporal index channel" ($T_{t-k}, T_{t-l}$) to the input data. Alongside the pixel data of two reference patches, the network receives a channel indicating the relative temporal distance and direction of those references. This allows a single network to dynamically adjust its processing for both interpolation (between frames) and extrapolation (into the future).

Spatially-Varying Convolution

Instead of outputting pixel values directly, the network outputs 1D filter coefficients that are combined into 2D kernels. These kernels are applied to the reference frames via spatially-varying convolution. This approach allows the network to learn content-adaptive, implicit motion compensation without explicit motion vector signaling.

Codec Integration

The DNN is integrated into the HEVC reference software (HM-16.20). During encoding, the codec calculates the Rate-Distortion (RD) cost of standard HEVC prediction versus the DNN prediction. If the DNN is chosen, the encoder sends a flag and the residual error, omitting MVs. The decoder then runs the identical DNN to reconstruct the block.

Experimental Setup

The network was trained on raw video sequences from the Xiph.org database. To ensure robustness, the authors used compression augmentation, training the network on data compressed at various quantization parameters (QPs) to handle realistic artifacts. Evaluation was conducted on standard HEVC Common Test Conditions (CTC) sequences (Classes A through E).

Key Insights and Performance Analysis

Ablation studies confirmed that the temporal index channel is the linchpin of the architecture. As shown in the training curves, removing this component leads to a significant drop in PSNR performance.

Ablation study results illustrating the critical impact of the temporal index channel on prediction quality (PSNR).

By analyzing the bitstream, the authors confirmed that bitrate savings come almost entirely from the "Inter" portion of the data. The DNN successfully replaces blocks that would normally require expensive MVs, proving that spatially-varying kernels can implicitly model complex motion. The highest relative savings were observed in "Class E" sequences (teleconferencing), where replacing the few necessary MVs with DNN predictions yields a large percentage-based improvement.

Results

Compared to standard HEVC, the joint DNN model reduced luminance BD-Bitrate by 4.4% in Low Delay P (LP), 2.4% in Low Delay (LD), and 2.3% in Random Access (RA) configurations. Separately trained models for uni- and bi-directional prediction yielded an additional 0.3%–0.5% in bit savings, with maximum savings reaching up to 10.1% on specific sequences. Notably, as the QP increases, the codec relies more heavily on the DNN prediction because the bit-cost of sending MVs becomes harder to justify at lower bitrates.

Conclusion and Future Work

While the proposed method achieves significant coding gains, decoding complexity remains a major hurdle. The decoder must run a heavy U-Net to synthesize predictions, increasing decoding time by over 100x compared to standard HEVC. Additionally, GPU memory constraints currently require frames to be processed in smaller tiles. Future research will focus on developing lightweight, memory-efficient network designs to make deep frame prediction viable for real-time applications.

Summary updated

BibTeX
@article{choi2018deep,
  author = {Hyomin Choi and Ivan V. Bajic},
  title = {{Deep Frame Prediction for Video Coding}},
  journal = {IEEE TCSVT},
  year = {2018},
  doi = {10.1109/tcsvt.2019.2924657},
}
Figure