Imposing Consistency for Optical Flow Estimation

Jisoo Jeong, Jamie Menjay Lin, Fatih Porikli, Nojun Kwak

Introduction

Optical flow estimation—the process of determining per-pixel motion between consecutive video frames—is a fundamental task in computer vision, critical for applications ranging from autonomous driving to video compression. Despite its importance, the field faces two significant challenges: the high cost of generating ground-truth labels (often requiring LiDAR and complex post-processing) and the difficulty of predicting motion in occluded regions where pixels disappear behind other objects.

While unsupervised and semi-supervised methods have been proposed to mitigate the labeling bottleneck, they often underperform compared to fully supervised models. This paper introduces two novel consistency-based strategies—occlusion consistency and transformation consistency—to bridge this performance gap by leveraging logical constraints during training.

Methodology

The proposed framework builds upon the RAFT (Recurrent All-Pairs Field Transforms) architecture. The core innovation lies in forcing the model to adhere to geometric and temporal logic through two primary consistency losses.

Overview of the consistency strategies: Occlusion Consistency (green), Supervised Learning (blue), and Transformation Consistency (red).

1. Occlusion Consistency (Self-Supervised)

To improve performance in "blind spots," the authors introduce a "Zero Forcing" technique. By applying a random, blotchy "cow-mask" to a single image, they create a synthetic occluded version. Since comparing an image to an occluded version of itself involves no actual movement, the network is tasked with predicting a "zero-flow" field and identifying the occlusion mask. This teaches the model to recognize occlusion patterns independently of motion cues.

2. Transformation Consistency (Semi-Supervised)

This strategy leverages the principle of equivariance: if an image pair is rotated or flipped, the resulting optical flow should undergo the exact same transformation. Additionally, the authors utilize "frame-hopping," training the model on non-consecutive frames (e.g., $I_t$ and $I_{t+k}$). This exposes the network to larger and more diverse displacements, enhancing its robustness to varied motion scales.

Key Insights

  • Mutual Learning: Simultaneously predicting the occlusion mask and the flow field allows the model to ignore misleading correlation data in occluded areas. The internal occlusion channel acts as a guide for the flow estimator.
  • Synthetic Occlusions: Unlike traditional methods that require computationally expensive forward-backward passes to detect occlusions, generating them synthetically is efficient and provides a clear ground truth that real-world data often lacks.
  • Geometric Regularization: Transformation consistency forces the model to learn the underlying geometry of motion rather than simply memorizing pixel patterns, leading to better generalization.

Experimental Results

The resulting model, OCTC (Occlusion Consistency and Transformation Consistency), achieved state-of-the-art results on major benchmarks:

  • KITTI-2015: Achieved a 4.33% Fl-all (outlier percentage), ranking at the top of the non-stereo category.
  • Foreground Accuracy: OCTC delivered the best foreground motion accuracy across all categories (including stereo methods), despite using only monocular inputs.
  • Generalization: When pre-trained on synthetic data and evaluated on the Sintel-Clean dataset, the End-Point Error (EPE) improved from 1.43 to 1.31 compared to the baseline, demonstrating superior robustness to unseen environments.

Limitations and Future Work

While OCTC excels at handling moderate occlusions, extreme cases—where objects are almost entirely hidden—remain a challenge. Additionally, low-texture regions where boundaries are obscured by occlusions continue to be difficult for dense flow prediction. Future research may adapt these consistency strategies to other dense prediction tasks, such as depth estimation or semantic segmentation.

Summary updated

BibTeX
@inproceedings{jeong2022imposing,
  author = {Jisoo Jeong and Jamie Menjay Lin and Fatih Porikli and Nojun Kwak},
  title = {{Imposing Consistency for Optical Flow Estimation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure