Video Frame Interpolation via Adaptive Convolution

Simon Niklaus, Long Mai, Feng Liu

Abstract

Traditional video frame interpolation methods typically rely on a two-stage pipeline: estimating optical flow between frames and then warping pixels to synthesize the intermediate frame. However, this approach is often brittle, failing in regions with heavy motion blur or complex occlusions. This paper proposes a paradigm shift by treating interpolation as a single-step, spatially-adaptive convolution problem. Using a deep fully convolutional neural network, the method predicts a unique convolution kernel for every pixel in the target frame. This unified approach allows the model to simultaneously estimate motion and synthesize pixels, resulting in state-of-the-art performance and significantly improved robustness in challenging visual scenarios.

Introduction: The Pitfalls of Optical Flow

Video frame interpolation is a fundamental task in video processing, essential for applications ranging from slow-motion generation to frame rate conversion. Historically, the dominant strategy has been a "flow-then-warp" approach. First, an optical flow algorithm calculates the displacement vectors for every pixel. Second, these vectors are used to warp and blend pixels from the original frames into a new, intermediate one.

The primary weakness of this pipeline is its inherent separation of motion estimation from image synthesis. If the flow estimation is inaccurate—common in areas with abrupt lighting changes, motion blur, or "occlusions" where objects disappear behind others—the subsequent warping produces significant artifacts like "ghosting" or "tearing." By decoupling these steps, the system loses the ability to make intelligent trade-offs when the input data is noisy or ambiguous.

Methodology: Interpolation as Convolution

The authors propose a Deep Fully Convolutional Network (FCN) that redefines interpolation as a local convolution operation. Instead of predicting a motion vector, the network predicts a spatially-adaptive convolution kernel $K$ for every pixel $(x, y)$ in the target frame.

Overview of the adaptive convolution architecture for frame interpolation.

Adaptive Convolution Mechanism

For each target pixel, the network analyzes patches from the two input frames and outputs a specific kernel. This kernel $K$ serves a dual purpose: it captures the local motion (by weighting pixels at specific offsets) and determines the blending coefficients. The final pixel value is generated by convolving the input patches with this predicted kernel.

Architecture and Efficiency

The model utilizes an encoder-decoder style FCN. To ensure physical plausibility, a spatial softmax layer is applied at the end of the network. This ensures that all kernel coefficients are non-negative and sum to one, preventing the synthesized frame from experiencing unnatural shifts in brightness.

To address the computational challenge of predicting a large kernel (e.g., $41 \times 41$) for every single pixel, the authors implement a "shift-and-stitch" strategy. This optimization allows the network to process multiple pixels in parallel, drastically reducing the inference time for a 720p frame from over 100 seconds to approximately 9 seconds on a modern GPU.

Key Insights: Handling Complexity

The adaptive convolution approach offers several conceptual advantages over traditional flow-based methods:

  • Occlusion Handling: In traditional flow, occluded pixels lack a valid correspondence, causing the math to fail. In this framework, the network can learn to "zero out" the weights in the kernel that correspond to the occluded frame, effectively relying solely on the frame where the pixel remains visible.
  • Solving the Aperture Problem: By designing the network's "receptive field" (the area it sees) to be larger than the "convolution patch" (the area it blends), the model can utilize surrounding context to resolve ambiguous motions—a classic computer vision challenge known as the aperture problem.

The Role of Gradient Loss

The choice of loss function proved critical for image quality. While a standard color loss ($\ell_1$) is effective for general reconstruction, it often leads to slightly blurry results. The authors introduced a gradient loss that compares the edges and textures of the predicted frame to the ground truth. This additional constraint forces the network to preserve high-frequency details, resulting in much sharper and more realistic interpolations.

Comparison of interpolation results using only color loss versus color loss combined with gradient loss.

Evaluation and Results

The model was trained using 3,000 diverse video triplets sourced from Flickr, using the middle frame as the ground truth. It was evaluated on the Middlebury optical flow benchmark and the KITTI dataset.

The results demonstrated that the adaptive convolution method consistently outperformed high-end optical flow-based techniques, particularly in real-world scenes. Qualitatively, the method proved far more robust to motion blur and sudden brightness changes (such as camera flashes), where flow-based methods typically "smear" or "tear" the image. On an Nvidia Titan X, the system achieves a processing speed of 9.1 seconds per 720p frame, making it a practical solution for high-quality video synthesis.

Limitations and Future Directions

Despite its success, the method has a "motion ceiling": the maximum detectable motion is strictly bounded by the size of the convolution kernel (41 pixels in this study). Motions exceeding this limit will result in blur or failure. Additionally, the high memory footprint required to store large kernels for every pixel may limit deployment on mobile or edge devices. Finally, the current architecture is fixed to interpolate the exact midpoint ($t=0.5$) between frames. Future work may explore multi-scale strategies to handle larger motions and architectural modifications to allow for arbitrary temporal interpolation.

Summary updated

BibTeX
@inproceedings{niklaus2017video,
  author = {Simon Niklaus and Long Mai and Feng Liu},
  title = {{Video Frame Interpolation via Adaptive Convolution}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.244},
}
Figure