TL;DR
This paper proposes using temporal frame interpolation as a self-supervised proxy task to pretrain convolutional neural networks (CNNs) for optical flow estimation. By training on nearly a million frames of real-world video (movies and driving footage) and fine-tuning on a tiny amount of ground truth data, the authors achieve superior performance compared to similar architectures trained on massive synthetic datasets.
What Problem Does This Paper Address?
Optical flow—the task of estimating per-pixel motion between video frames—is a cornerstone of computer vision. However, training deep learning models for flow faces a "data wall." Manually annotating dense, pixel-accurate motion in real-world video is practically impossible for humans.
To bypass this, researchers typically use two strategies:
- Synthetic Data: Training on computer-generated sequences (like Flying Chairs). The downside is the "domain gap"—synthetic physics and textures often don't generalize well to the messy real world.
- Unsupervised Learning: Training models to minimize photometric error (making warped frames look like target frames). This often requires hand-crafted "priors" or heuristics, like spatial smoothness, which can limit the model's ability to learn complex motion purely from data.
The authors ask: Can we find a "proxy task" that uses real-world video without needing manual labels, but still forces the network to learn the underlying structure of motion?
Methods
The authors propose a two-stage training pipeline:
Stage 1: Unsupervised Pretraining (Interpolation) The network is tasked with predicting a missing middle frame from four neighboring, equally spaced frames (e.g., using frames at $t-3, t-1, t+1,$ and $t+3$ to predict frame $t$). To succeed at this, the network must implicitly learn temporal correspondences—where pixels move over time. They use a standard "hourglass" (U-Net style) architecture with skip connections to preserve high-frequency details.
Stage 2: Supervised Fine-tuning (Optical Flow) The interpolation network is modified by replacing its final layer to output a 2-channel flow field instead of a grayscale image. It is then fine-tuned on a small amount of ground truth optical flow data. This stage teaches the network to "fill in" motion in untextured regions (addressing the classical aperture problem) and to output explicit flow vectors.
Datasets
- Pretraining (Unlabeled): A massive, diverse collection of ~928,000 samples. This includes "single-take" movies like Victoria and Birdman (to avoid shot cuts), long takes from films like Children of Men, and driving datasets like KITTI-RAW and Malaga.
- Fine-tuning & Evaluation (Labeled): Standard benchmarks including MPI-Sintel (clean and final passes), KITTI-2012, and KITTI-2015.
Key Insights and Ideas
- Real Data Trumps Synthetic Volume: Even though synthetic datasets are huge, pretraining on real-world movie statistics allows a simple architecture to outperform models like FlowNetS that were trained on millions of synthetic samples.
- Four Frames are Better Than Two: Using four input frames instead of two reduced optical flow errors by ~13%. This extra context helps the network reason about acceleration and occlusions.
- Extreme Data Efficiency: One of the most striking findings is that after pretraining, the model needs very little labeled data. Fine-tuning on just 100 frames gets the model within 0.5 pixels (EPE) of its peak performance.
- Interpolation as a "Motion Teacher": While interpolation doesn't require the model to solve the aperture problem (it can reconstruct a blank wall without knowing how it moved), it provides a powerful initialization for the "matching" part of the optical flow problem.
Key Results
- Interpolation Performance: The model (IPFlow) outperformed state-of-the-art specialized interpolation methods in terms of PSNR and SSIM across real movies, synthetic data, and driving scenes.
- Optical Flow Benchmarks: IPFlow outperformed comparable supervised architectures (FlowNetS, SpyNet). For example, on the Sintel Final pass, IPFlow achieved an EPE of 6.59, compared to 7.22 for FlowNetS+ft+v.
- Speed: The CNN inference takes roughly 60ms on an NVIDIA M6000, making it quite efficient, though optional variational post-processing adds another 1.2 seconds.
Limitations and Future Work
- Architecture Complexity: While IPFlow beats similar simple architectures, it does not yet reach the performance of much more complex, multi-stage models like FlowNet2 or UnFlow-CSS.
- Heuristic Post-processing: The model still relies on a traditional variational refinement step to reach its best results, which is significantly slower than the neural network itself.
- Semantic Gap: The authors note that while interpolation is a great low-level proxy, future work should explore proxy tasks that require higher-level semantic understanding of the scene to further improve motion estimation in complex environments.
Summary updated