Context-Aware Synthesis for Video Frame Interpolation

Simon Niklaus, Feng Liu

Abstract

Video frame interpolation algorithms typically estimate optical flow or its variations and then use it to guide the synthesis of an intermediate frame between two consecutive original frames. To handle challenges like occlusion, bidirectional flow between the two input frames is often estimated and used to warp and blend the input frames. However, how to effectively blend the two warped frames still remains a challenging problem. This paper presents a context-aware synthesis approach that warps not only the input frames but also their pixel-wise contextual information and uses them to interpolate a high-quality intermediate frame. Specifically, we first use a pre-trained neural network to extract per-pixel contextual information for input frames. We then employ a state-of-the-art optical flow algorithm to estimate bidirectional flow between them and pre-warp both input frames and their context maps. Finally, unlike common approaches that blend the pre-warped frames, our method feeds them and their context maps to a video frame synthesis neural network to produce the interpolated frame in a context-aware fashion. Our neural network is fully convolutional and is trained end to end. Our experiments show that our method can handle challenging scenarios such as occlusion and large motion and outperforms representative state-of-the-art approaches.

Introduction

Video frame interpolation (VFI) is the process of generating intermediate frames between existing ones to increase the frame rate of a video. This is essential for applications ranging from slow-motion video generation to video compression. Traditionally, VFI relies on a two-step pipeline: estimating optical flow between two frames and then warping the original frames to a target time step to blend them.

However, this standard approach is highly sensitive to the accuracy of the optical flow. In scenarios involving fast motion, motion blur, or complex occlusions, flow estimation often fails. When the flow is inaccurate, simple pixel-wise blending results in "ghosting" or "double-image" artifacts, where the interpolated frame contains blurred or overlapping versions of the moving objects.

Proposed Method: Context-Aware Synthesis

This paper introduces a novel approach that moves beyond simple pixel blending by incorporating high-level contextual information into the synthesis process. The pipeline consists of three primary stages:

1. Context Extraction

Before any warping occurs, the input frames are passed through a pre-trained convolutional neural network (specifically, the first layer of ResNet-18). This step extracts "context maps"—high-dimensional feature vectors for every pixel that describe its local neighborhood. These features are more robust to noise and ambiguity than raw RGB values.

2. Optical Flow and Warping

The system utilizes a state-of-the-art flow estimator, PWC-Net, to calculate bidirectional motion between the input frames. Crucially, the method warps both the raw RGB frames and the high-level context maps to the target time step. By warping features alongside pixels, the model preserves structural information that might be lost in a purely pixel-based approach.

3. Synthesis via GridNet

Instead of using a mathematical blending heuristic, the warped frames and context maps are fed into a dedicated Synthesis Network. This network uses a GridNet architecture, which processes data at multiple scales simultaneously. This multi-scale reasoning allows the model to use global context to fill in "holes" caused by forward warping and local precision to maintain sharp edges.

Experimental Results

The proposed method was evaluated on the Middlebury interpolation benchmark, a standard for the field. At the time of publication, the method achieved the top rank among all published techniques.

Visual comparison of interpolation results on a challenging sequence with large motion.

As shown in the comparison above, traditional blending and even advanced methods like SepConv struggle with the rapid motion of the breakdancer, leading to significant blurring and artifacts. The context-aware approach produces a much sharper result, effectively handling the complex motion and occlusion zones. Quantitatively, the method achieved a PSNR of 31.79 on the Middlebury "Real World" set, significantly outperforming previous leaders like MDP-Flow2 (30.97).

Conclusion

By warping high-level features and using a multi-scale synthesis network, this approach significantly reduces the artifacts common in traditional video frame interpolation. While the method still depends on a reasonable initial flow estimation, its "flow-tolerant" synthesis provides a robust solution for challenging real-world video sequences. Future work may involve incorporating adversarial training to further enhance texture sharpness.

Summary updated

BibTeX
@inproceedings{niklaus2018context,
  author = {Simon Niklaus and Feng Liu},
  title = {{Context-Aware Synthesis for Video Frame Interpolation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=ryNKLTWdZS},
}
Figure