Introduction
Optical flow estimation—the task of calculating the per-pixel motion between consecutive video frames—is a fundamental challenge in computer vision with applications ranging from autonomous navigation to video editing. Despite its importance, training robust optical flow models is hampered by a severe lack of ground-truth data. Manually labeling pixel-level motion in real-world videos is practically impossible, forcing researchers to rely on synthetic datasets like FlyingChairs. However, models trained on synthetic data often fail to generalize to the complexities of the real world.
Semi-supervised learning offers a promising alternative by leveraging unlabeled video. Previous approaches, such as RealFlow, attempted to generate training pairs through frame interpolation. However, these methods often require massive, computationally expensive depth estimation models to handle occlusions or suffer from "ghosting" artifacts. This paper introduces OCAI (Occlusion and Consistency Aware Interpolation), a framework designed to generate high-quality synthetic training data from unlabeled video without the need for external depth supervision.
The OCAI Framework
The core innovation of OCAI lies in its ability to perform high-fidelity frame and flow interpolation by being both occlusion-aware and consistency-aware. Unlike prior methods that depend on heavy depth networks, OCAI utilizes the inherent properties of optical flow to resolve spatial ambiguities.
1. Occlusion-Aware Forward Warping
Standard interpolation often uses backward warping, which struggles with large displacements. OCAI employs forward warping to project pixels into their future positions. To address occlusions—where multiple pixels might project to the same location—the authors derive a weighting mask based on flow consistency. By comparing forward and backward flows, the system identifies which pixels are likely in the foreground (consistent flow) and should take precedence, effectively using flow as a proxy for depth.
2. Consistency-Aware Hole Filling
When objects move, they leave "holes" in the background of the synthesized frame. OCAI fills these gaps by leveraging the mathematical relationship between forward and backward flows. This ensures that the generated frames are physically plausible and free from the artifacts common in simpler interpolation schemes.
3. Teacher-Student Learning and Temporal Diversity
OCAI adopts a "Mean Teacher" training strategy. A "Teacher" model (an exponential moving average of the student) generates interpolated frames and flows at arbitrary time steps $t \in [0, 1]$. This temporal flexibility allows the model to learn from a much wider variety of motion scales than standard frame-to-frame pairs. The "Student" model is then trained to predict these flows, guided by a confidence mask that filters out unreliable regions, such as frame boundaries.
Evaluation and Results
The researchers evaluated OCAI on standard benchmarks, including Sintel and KITTI. The results demonstrate that OCAI significantly enhances the performance of state-of-the-art architectures like RAFT.
- Accuracy: On the KITTI 2015 test set, OCAI achieved a reduction in the "Fl-all" error metric by over 0.5 points compared to previous semi-supervised leaders.
- Perceptual Quality: Beyond flow accuracy, OCAI produces superior interpolated frames. It outperformed specialized Video Frame Interpolation (VFI) models on perceptual metrics like LPIPS, particularly in challenging occluded regions.
- Efficiency: By eliminating the 300M-parameter depth estimation network required by RealFlow, OCAI offers a much more streamlined and efficient training pipeline.
Conclusion
OCAI represents a significant step forward in semi-supervised optical flow estimation. By replacing heavy depth models with clever, flow-based occlusion reasoning, it turns unlabeled video into a rich source of high-quality training data. While the current model assumes linear motion between frames, its ability to generate diverse, physically consistent training pairs sets a new standard for accuracy and efficiency in the field. Future work exploring non-linear motion models could further unlock the potential of this "goldmine" of unlabeled video data.
Summary updated