ProFlow: Learning to Predict Optical Flow

Daniel Maurer, Andrés Bruhn

Abstract

ProFlow introduces an unsupervised, online learning approach that trains a frame-specific Convolutional Neural Network (CNN) to predict forward optical flow from backward flow. By learning motion models on-the-fly for each specific video sequence, it effectively handles occlusions and non-rigid motion, outperforming traditional methods on challenging benchmarks like MPI Sintel.

What Problem Does This Paper Address?

Optical flow—estimating how pixels move between video frames—is a cornerstone of computer vision. While two-frame methods have become quite accurate, they struggle with occlusions (pixels that disappear or appear between frames). To solve this, researchers often look at multiple frames to leverage "temporal coherence."

However, existing multi-frame methods have a major weakness: they usually assume the scene is rigid (like a static street viewed from a moving car). This allows them to use geometric constraints from Structure-from-Motion (SfM), but these models fall apart when objects deform or move independently (e.g., a person waving their arms). Furthermore, most deep learning models are "offline," meaning they are trained on massive datasets and might not generalize well to the unique motion patterns of a specific, unseen video.

Methods

The authors propose ProFlow, a hybrid approach that combines traditional optical flow pipelines with a small, specialized CNN. The process follows a multi-stage pipeline to refine flow estimates through learned temporal priors.

Overview of the ProFlow pipeline, illustrating the transition from initial flow estimation to final refinement through online model learning.
  1. Initial Estimation: The system computes initial forward ($t \to t+1$) and backward ($t \to t-1$) flow using a robust baseline (CPM for matching, RIC for interpolation, and OIR for refinement).
  2. Online Learning: This is the core innovation. Instead of using a pre-trained network, ProFlow trains a CNN during the estimation process for each individual frame. It uses the "valid" pixels (those that pass a bi-directional consistency check) as training data.
  3. The Mapping: The CNN learns to map $7 \times 7$ patches of backward flow to forward flow vectors. Crucially, the input includes the pixel's $(x, y)$ coordinates, making the model spatially variant. This allows the network to learn different motion rules for different parts of the image.
The spatially-variant CNN architecture used for online learning, processing 7x7 patches and pixel coordinates to predict flow.
  1. Prediction & Combination: Once trained (which takes about 4,000 iterations per frame), the CNN predicts the forward flow for occluded regions where the initial estimate failed, using the available backward flow as a guide.
  2. Refinement: The predicted and initial flows are merged, inpainted, and refined to produce the final dense flow field.

Datasets and Key Results

The authors evaluated ProFlow on the three most prominent optical flow benchmarks: KITTI 2012 & 2015 (real-world automotive) and MPI Sintel (complex, non-rigid animated sequences).

ProFlow demonstrated significant gains over its own baseline and state-of-the-art competitors:

  • Accuracy Boost: It showed a consistent improvement of up to 27% across all benchmarks compared to the baseline without the prediction step.
  • Benchmark Rankings: At the time of publication, ProFlow ranked #1 on the MPI Sintel "final" pass and #2 on the "clean" pass, specifically excelling in "unmatched" (occluded) areas.
  • Non-Rigid Mastery: It significantly outperformed methods that rely on rigid-body assumptions in scenes with complex, deforming characters.

Limitations and Future Work

While effective, the model relies on having enough "valid" pixels to learn a motion model. If a frame has massive occlusions or very little texture, the CNN may fail to generalize. Additionally, training the CNN for 4,000 steps for every frame is computationally expensive, resulting in a runtime of about 112 seconds per frame. Future directions include moving beyond three-frame triplets to longer sequences and using "transfer learning" to reduce the number of iterations needed per frame.

Summary updated

BibTeX
@inproceedings{maurer2018proflow,
  author = {Daniel Maurer and Andrés Bruhn},
  title = {{ProFlow: Learning to Predict Optical Flow}},
  booktitle = {BMVC},
  year = {2018},
  url = {https://openreview.net/forum?id=Q9kKIZlvxp},
}
Figure