Semi-Supervised Learning of Optical Flow by Flow Supervisor

Woobin Im, Sebin Lee, Sung-Eui Yoon · DOI

Optical flow—the estimation of per-pixel motion between consecutive video frames—is a fundamental task in computer vision with applications ranging from autonomous driving to video editing. While deep learning models have achieved remarkable performance, they are heavily reliant on large-scale datasets with ground-truth labels. Because generating ground-truth flow for real-world video is prohibitively difficult, most models are trained on synthetic data. This creates a significant "domain gap" when these models are deployed in real-world environments.

Researchers from KAIST have introduced Flow Supervisor, a novel semi-supervised learning framework designed to bridge this gap. By leveraging unlabeled real-world data to fine-tune models originally trained on synthetic datasets, the framework achieves state-of-the-art results while maintaining training stability.

The Challenge of Domain Adaptation

Most optical flow models are trained on synthetic datasets like FlyingChairs or FlyingThings3D, where pixel movement can be perfectly calculated. However, when applied to real-world datasets like KITTI, performance often degrades.

Existing attempts to solve this via unsupervised learning typically rely on a "photometric loss" (matching pixels between warped images), which is notoriously noisy and prone to errors in occluded areas or changing lighting. Alternatively, self-supervised methods, where a model generates its own pseudo-labels, often suffer from "divergence"—a phenomenon where the model's performance actually worsens over time as it reinforces its own errors.

The Flow Supervisor Framework

The core innovation of this research is the Flow Supervisor (FS), a framework that stabilizes the fine-tuning process on unlabeled data. Unlike standard teacher-student architectures, Flow Supervisor employs three distinct design strategies:

1. Parameter Separation

The supervisor network ($ϕ$) maintains a separate set of parameters from the student network ($θ$). This decoupling prevents the feedback loops common in self-supervision, where the student and teacher converge on the same incorrect predictions.

2. Residual Learning (Student Output Connection)

Instead of predicting the optical flow from scratch, the supervisor takes the student's current prediction as an input. It then predicts a residual flow—essentially a correction layer. This allows the supervisor to focus specifically on identifying and fixing the student's errors, making the learning task more efficient and targeted.

3. Privileged Information

During the training phase, the student is challenged with "hard" inputs (randomly cropped and heavily augmented images). Meanwhile, the supervisor is granted "privileged" information in the form of full, clean images. This disparity ensures the supervisor has a superior view of the scene, allowing it to provide high-quality guidance to the student.

Experimental Results

The researchers implemented Flow Supervisor on top of RAFT (Recurrent All-pairs Field Transforms), a leading optical flow architecture. The framework was evaluated across several benchmarks, including Sintel, KITTI, and HD1K.

Performance Gains

The Flow Supervisor consistently outperformed supervised-only baselines and existing semi-supervised methods:

  • Sintel Final: Reduced the End-Point Error (EPE) from 2.80 to 2.46.
  • KITTI: Achieved a significant improvement, dropping the EPE from 5.79 to 3.35 and reducing the outlier ratio (Fl-all) from 18.79% to 11.12%.
  • Efficiency: Fine-tuned models required fewer refinement iterations to reach high accuracy, potentially offering a 50% speedup during inference in specific scenarios.

Stability and Convergence

A key finding was the framework's stability. While standard self-supervision often leads to divergence on the KITTI dataset, Flow Supervisor maintained stable convergence throughout the training process. This stability is attributed to the supervisor acting as a meta-learner that provides conditional corrections rather than static labels.

Conclusion

Flow Supervisor represents a significant step forward in making optical flow models more robust for real-world applications. By treating the supervision process as a residual correction task and maintaining parameter separation, the framework effectively utilizes unlabeled data without the instability of traditional unsupervised methods. Notably, because the supervisor is only used during training, the resulting improvements come with zero additional computational cost during inference.

Future work may involve adapting this strategy to improve purely unsupervised models, which currently lack the performance of their supervised and semi-supervised counterparts.

Summary updated

BibTeX
@inproceedings{im2022semi,
  author = {Woobin Im and Sebin Lee and Sung-Eui Yoon},
  title = {{Semi-Supervised Learning of Optical Flow by Flow Supervisor}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19833-5\_18},
}
Figure