MEMC-Net: Motion Estimation and Motion Compensation Driven Neural Network for Video Interpolation and Enhancement

Wenbo Bao, Wei-Sheng Lai, Xiaoyun Zhang, Zhiyong Gao, Ming-Hsuan Yang

Abstract

MEMC-Net bridges the gap between traditional motion estimation/compensation (MEMC) and modern deep learning by introducing a fully differentiable adaptive warping layer. By combining optical flow for coarse alignment with learnable 4x4 kernels for fine-grained pixel synthesis, the model achieves state-of-the-art performance in video frame interpolation (VFI) and enhancement while remaining more computationally efficient than pure kernel-based approaches.

Introduction

Video frame interpolation (VFI)—the generation of intermediate frames to increase frame rates or create slow-motion effects—has historically been approached through two distinct paradigms. Flow-based methods estimate optical flow and use bilinear warping for pixel shifting. While efficient, these often produce "ghosting" or blurry artifacts due to the simplicity of bilinear interpolation in handling complex occlusions. Conversely, kernel-based methods synthesize output pixels from local patches using large convolutional kernels (e.g., 51x51). Although robust, these methods are memory-intensive and struggle with large-scale motions exceeding the kernel's receptive field.

MEMC-Net addresses these limitations by integrating the efficiency of flow with the robustness of kernels, avoiding the prohibitive memory costs of massive convolutional filters.

Methodology: The Adaptive Warping Layer

The core innovation of MEMC-Net is the Adaptive Warping Layer, which unifies motion estimation and kernel synthesis into an end-to-end trainable pipeline.

  1. Motion Estimation (ME): A modified FlowNetS architecture estimates bidirectional optical flow between frames.
  2. Flow Projection: To synthesize a frame at time $t$ from frames at $t-1$ and $t+1$, the network projects flow to the intermediate step using an "outside-in" strategy, filling holes by averaging neighboring flow vectors.
  3. Kernel & Mask Estimation: A U-Net predicts spatially-varying 4x4 interpolation kernels and occlusion masks.
  4. Hybrid Warping: The adaptive warping layer uses projected flow to "pre-align" pixels, followed by the application of learned 4x4 kernels for final synthesis. By delegating global displacement to the flow component, the kernels can remain small (4x4), focusing on local refinement and anti-aliasing.

This architecture is fully differentiable, allowing joint optimization of motion estimation and kernel synthesis. Furthermore, the framework is versatile; by swapping the interpolation head for an enhancement head, it can be adapted for video super-resolution, denoising, and deblocking.

Experimental Results

The model was trained on the Vimeo90K dataset and evaluated across standard benchmarks including Middlebury, UCF101, and high-definition video sets.

Performance and Efficiency

MEMC-Net achieved state-of-the-art accuracy, outperforming methods like ToFlow and SepConv. On the Middlebury set, it reached an average Interpolation Error (IE) of 5.00, compared to SepConv-L1's 5.61. Despite this performance, the standard MEMC-Net processes 1080p video at 0.41 seconds per frame* on a Titan X GPU, significantly faster than many pure kernel-based models.

Visual Quality

Qualitatively, MEMC-Net excels at preserving sharp edges on moving objects where flow-only methods typically produce halos or blur.

Qualitative comparison of MEMC-Net against various state-of-the-art VFI methods. MEMC-Net preserves sharper details and reduces ghosting artifacts compared to flow-based or purely kernel-based methods.

Video Enhancement

In super-resolution tasks, MEMC-Net SR achieved a PSNR of 33.47 dB on Vimeo90K, a 0.4 dB improvement over the previous best-performing model, ToFlow.

Conclusion and Future Work

MEMC-Net demonstrates that flow and kernels are complementary: flow handles the "where" (global displacement), while kernels handle the "how" (local synthesis and occlusion). While highly effective, the model still depends on the accuracy of the initial flow from FlowNetS, which can be challenged by extreme motion blur. Future research may involve integrating more advanced flow backbones like PWC-Net or extending temporal consistency over longer video sequences.

Summary updated

BibTeX
@article{bao2021memc,
  author = {Wenbo Bao and Wei-Sheng Lai and Xiaoyun Zhang and Zhiyong Gao and Ming-Hsuan Yang},
  title = {{MEMC-Net: Motion Estimation and Motion Compensation Driven Neural Network for Video Interpolation and Enhancement}},
  journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=ltU8TF116Z},
}
Figure