Skip to main content
QUICK REVIEW

[Paper Review] RAFT: Recurrent All-Pairs Field Transforms for Optical Flow

Zachary Teed, Jia Deng|arXiv (Cornell University)|Mar 26, 2020
Advanced Vision and ImagingComputer Science53 references135 citations
TL;DR

RAFTIntroducing a single-resolution, iterative update network using all-pairs feature correlations and a recurrent update unit yields state-of-the-art optical flow on KITTI and Sintel with strong generalization and efficiency.

ABSTRACT

We introduce Recurrent All-Pairs Field Transforms (RAFT), a new deep network architecture for optical flow. RAFT extracts per-pixel features, builds multi-scale 4D correlation volumes for all pairs of pixels, and iteratively updates a flow field through a recurrent unit that performs lookups on the correlation volumes. RAFT achieves state-of-the-art performance. On KITTI, RAFT achieves an F1-all error of 5.10%, a 16% error reduction from the best published result (6.10%). On Sintel (final pass), RAFT obtains an end-point-error of 2.855 pixels, a 30% error reduction from the best published result (4.098 pixels). In addition, RAFT has strong cross-dataset generalization as well as high efficiency in inference time, training speed, and parameter count. Code is available at https://github.com/princeton-vl/RAFT.

Motivation & Objective

  • Motivate a high-accuracy optical flow model that overcomes limitations of coarse-to-fine architectures.
  • Develop a single-resolution, recurrent update mechanism that refines flow via learned updates.
  • Leverage learnable per-pixel features and a full all-pairs correlation volume for robust matching.
  • Demonstrate strong cross-dataset generalization and efficiency in inference and training.

Proposed method

  • Extract per-pixel features from both frames with a shared encoder and a context network.
  • Construct a full 4D correlation volume over all pixel pairs via inner products of pixel features; pool to form a multi-scale correlation pyramid.
  • Iteratively update a high-resolution flow field using a convolutional GRU-based update operator that reads from the correlation pyramid and prior flow.
  • Upsample the 1/8 resolution flow to full resolution using a learned convex combination over neighboring pixels.
  • Train with a supervised loss over a sequence of intermediate flow estimates with exponentially growing weights.

Experimental results

Research questions

  • RQ1Can a single high-resolution flow field be effectively refined through many weight-tied, recurrent updates using all-pairs correlations?
  • RQ2Does learning a GRU-based update operator over multi-scale correlation volumes improve accuracy compared to multi-stage coarse-to-fine pipelines?
  • RQ3How well does a single-resolution RAFT model generalize across datasets (Sintel, KITTI) and scale to high-resolution video?
  • RQ4What is the impact of design choices (context, correlation pooling, lookup radius, upsampling) on accuracy and efficiency?

Key findings

  • Achieves state-of-the-art on KITTI with F1-all = 5.10%, a 16% improvement over the previous best (6.10%).
  • On Sintel final pass, obtains end-point error (EPE) = 2.855 pixels, a 30% reduction over the previous best (4.098 px).
  • Exhibits strong cross-dataset generalization; trained on synthetic data, KITTI EPE = 5.04 after Chairs/Things pretraining (40% better than prior deep nets).
  • Maintains high efficiency: processes 1088x436 videos at 10 FPS on a 1080Ti and can run a smaller 1/5-parameter variant at 20 FPS while still outperforming prior methods on Sintel.
  • A single high-resolution flow field is maintained and updated for many iterations (100+ possible) with weight-tied updates, avoiding divergence observed in other iterative refinements.
  • Ablations show benefits from multi-scale correlation pooling, correlation lookup, and learned upsampling; warping-based refinements underperform correlation-based matching on KITTI.

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.