Guided Optical Flow Learning

Yi Zhu, Zhen-Zhong Lan, Shawn D. Newsam, Alexander G. HauptmannarXiv 2017

Abstract

We study the unsupervised learning of CNNs for optical flow estimation using proxy ground truth data. Supervised CNNs, due to their immense learning capacity, have shown superior performance on a range of computer vision problems including optical flow prediction. They however require the ground truth flow which is usually not accessible except on limited synthetic data. Without the guidance of ground truth optical flow, unsupervised CNNs often perform worse as they are naturally ill-conditioned. We therefore propose a novel framework in which proxy ground truth data generated from classical approaches is used to guide the CNN learning. The models are further refined in an unsupervised fashion using an image reconstruction loss. Our guided learning approach is competitive with or superior to state-of-the-art approaches on three standard benchmark datasets yet is completely unsupervised and can run in real time.

Introduction

Optical flow—estimating the per-pixel motion between two consecutive image frames—is a cornerstone of computer vision, essential for tasks like action recognition and autonomous driving. Currently, researchers face a "data bottleneck." Supervised Convolutional Neural Networks (CNNs) are highly accurate but require massive amounts of ground truth data, which is nearly impossible to capture in the real world. Consequently, these models are often trained on synthetic datasets like "Flying Chairs," which do not always translate well to real-world complexity. Conversely, purely unsupervised methods often struggle to converge because the math behind motion estimation is "ill-conditioned," leading to poor local minima during training.

Methodology: Guided Learning

The proposed framework introduces a two-stage "Guided Learning" pipeline to bridge the gap between supervised accuracy and unsupervised flexibility.

The proposed guided learning framework. It utilizes proxy ground truth for initial training (i) and an unsupervised reconstruction loss for refinement (ii).

Stage 1: Proxy Guidance

Instead of relying on synthetic ground truth, the authors use a high-performing classical variational algorithm (FlowFields) to generate flow estimates for a large dataset. These estimates serve as "proxy ground truth" to train a standard CNN architecture (FlowNetS). Surprisingly, training on this "noisy" proxy data can lead to better generalization than training on perfect synthetic data, as the errors in classical algorithms may act as a form of natural data augmentation.

Stage 2: Unsupervised Fine-Tuning

To move beyond the limitations of the classical algorithm, the network is fine-tuned using an image reconstruction loss. This loss measures how well the predicted flow can warp the second frame back to match the first. By starting with proxy labels, the network receives a "warm start" that prevents it from getting stuck in the local minima that plague purely unsupervised methods.

Experimental Results

The framework was evaluated on three standard benchmarks: Flying Chairs (synthetic), MPI Sintel (complex animation), and KITTI 2012 (real-world driving).

Quantitative comparison of the proposed method against various classical and deep learning approaches across standard benchmarks.

Key findings include:

  • Superior Generalization: On the Sintel dataset, the model trained with proxy labels achieved an End-Point Error (EPE) of 8.05, outperforming the same model trained on true synthetic ground truth (8.43). The final refined model reached an EPE of 7.96.
  • State-of-the-Art Performance: The guided approach significantly outperformed previous unsupervised methods. On KITTI, the authors achieved an EPE of 9.5, compared to UnsupFlowNet’s 11.3.
  • Real-Time Efficiency: While the classical "teacher" algorithm is slow, the "student" CNN maintains a runtime of 0.06s per frame, making it suitable for real-time applications.

Conclusion

Guided Optical Flow Learning demonstrates that classical algorithms can effectively bootstrap deep learning models, bypassing the need for manual ground truth. This approach allows CNNs to learn from massive, unlabeled video corpora, potentially capturing more complex real-world motion patterns than synthetic training sets. Future work will explore more sophisticated unsupervised objectives and scaling to larger datasets.

Summary updated

Abstract

We study the unsupervised learning of CNNs for optical flow estimation using proxy ground truth data. Supervised CNNs, due to their immense learning capacity, have shown superior performance on a range of computer vision problems including optical flow prediction. They however require the ground truth flow which is usually not accessible except on limited synthetic data. Without the guidance of ground truth optical flow, unsupervised CNNs often perform worse as they are naturally ill-conditioned. We therefore propose a novel framework in which proxy ground truth data generated from classical approaches is used to guide the CNN learning. The models are further refined in an unsupervised fashion using an image reconstruction loss. Our guided learning approach is competitive with or superior to state-of-the-art approaches on three standard benchmark datasets yet is completely unsupervised and can run in real time.
BibTeX
@misc{zhu2017guided,
  author = {Yi Zhu and Zhen-Zhong Lan and Shawn D. Newsam and Alexander G. Hauptmann},
  title = {{Guided Optical Flow Learning}},
  year = {2017},
  eprint = {1702.02295},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.02295},
}
Figure