Skip to main content
QUICK REVIEW

[Paper Review] Hybrid Learning of Optical Flow and Next Frame Prediction to Boost Optical Flow in the Wild

Nima Sedaghat, Mohammadreza Zolfaghari|arXiv (Cornell University)|Dec 12, 2016
Advanced Vision and ImagingComputer Science31 references15 citations
TL;DR

This paper proposes a hybrid learning framework that improves CNN-based optical flow estimation in real-world videos by jointly training on synthetic data with ground-truth flow and real videos using self-supervised next-frame prediction as an auxiliary task. The method uses a sample-variant multi-task architecture to alternate between supervised and self-supervised learning, achieving state-of-the-art performance on the KITTI benchmark and significant gains in action recognition, while also improving next-frame prediction accuracy without adversarial losses.

ABSTRACT

CNN-based optical flow estimation has attracted attention recently, mainly due to its impressively high frame rates. These networks perform well on synthetic datasets, but they are still far behind the classical methods in real-world videos. This is because there is no ground truth optical flow for training these networks on real data. In this paper, we boost CNN-based optical flow estimation in real scenes with the help of the freely available self-supervised task of next-frame prediction. To this end, we train the network in a hybrid way, providing it with a mixture of synthetic and real videos. With the help of a sample-variant multi-tasking architecture, the network is trained on different tasks depending on the availability of ground-truth. We also experiment with the prediction of "next-flow" instead of estimation of the current flow, which is intuitively closer to the task of next-frame prediction and yields favorable results. We demonstrate the improvement in optical flow estimation on the real-world KITTI benchmark. Additionally, we test the optical flow indirectly in an action classification scenario. As a side product of this work, we report significant improvements over state-of-the-art in the task of next-frame prediction.

Motivation & Objective

  • To improve deep CNN-based optical flow estimation on real-world videos where ground-truth flow is scarce.
  • To leverage self-supervised next-frame prediction as an auxiliary task to enhance feature learning from unlabeled real video data.
  • To design a multi-task architecture that dynamically switches between supervised flow estimation and self-supervised frame prediction based on data source.
  • To evaluate the impact of hybrid training on downstream tasks such as action recognition, demonstrating transferability beyond optical flow.
  • To explore whether predicting 'next-flow' instead of 'next-frame' yields better alignment with optical flow objectives.

Proposed method

  • A multi-task, end-to-end deep network is trained using a mixture of synthetic videos (with ground-truth flow) and real videos (without ground-truth).
  • A sample-variant multi-tasking architecture uses a 'multiplexer' to route inputs to different branches: flow estimation on synthetic data and joint flow + frame prediction on real data.
  • The network shares feature encoders across tasks, with task-specific heads: a 2-channel output for flow and a 3-channel output for frame prediction.
  • The architecture includes two additional up-convolutional layers to produce full-resolution flow fields, improving alignment with frame prediction.
  • Training alternates between synthetic and real data cycles, with a 1:5 ratio of real to synthetic cycles found optimal.
  • An ablation study compares standard next-frame prediction with 'next-flow' prediction, where the network predicts the flow between the next frame and current frame.

Experimental results

Research questions

  • RQ1Can self-supervised next-frame prediction improve optical flow estimation in real-world videos when combined with supervised training on synthetic data?
  • RQ2How does the ratio of real-to-synthetic training cycles affect optical flow performance and generalization?
  • RQ3Does predicting 'next-flow' instead of 'next-frame' lead to better optical flow quality due to better task alignment?
  • RQ4Can the auxiliary task of next-frame prediction improve performance on downstream applications like action recognition?
  • RQ5Is multi-task training necessary, or is pre-training followed by fine-tuning sufficient for transfer learning?

Key findings

  • On the KITTI benchmark, the proposed hybrid method achieves a significant improvement over baseline FlowNet, reducing average end-point error (EPE) by a notable margin.
  • In action recognition on UCF101 and HMDB51, the method improves accuracy by 12.1% and 9.8% respectively compared to the baseline FlowNet.
  • Replacing standard optical flow with 'next-flow' prediction yields even larger gains in action recognition, indicating better alignment with motion modeling.
  • The method achieves state-of-the-art performance in next-frame prediction on UCF101 using only an L1 loss, outperforming adversarial methods in overall image quality and robustness.
  • The network is robust to a wide range of real-to-synthetic training ratios, with optimal performance at a 1:5 ratio, and performance degrades only slightly when deviating from it.
  • Pre-training on frame prediction followed by fine-tuning fails to match the performance of joint multi-task training, demonstrating the necessity of end-to-end multi-task optimization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.