RAFT-MSF: Self-Supervised Monocular Scene Flow Using Recurrent Optimizer

Bayram Bayramli, Junhwa Hur, Hongtao Lu

TL;DR

RAFT-MSF (Recurrent Optimizer for Monocular Scene Flow) is a new self-supervised method that estimates 3D scene flow and depth from a single camera. By adapting the iterative refinement strategy of the popular RAFT architecture and introducing novel training techniques like "gradient detaching," the authors achieved a 34.2% improvement in accuracy over previous state-of-the-art methods while maintaining real-time performance.

What Problem Does This Paper Address?

Estimating scene flow—the 3D motion of every point in a scene—is a fundamental task for autonomous systems like self-driving cars and robots. While doing this with stereo cameras or LiDAR is common, doing it with a single (monocular) camera is much harder because depth is inherently ambiguous from a single viewpoint (an "ill-posed" problem).

Furthermore, training these models is difficult because ground-truth 3D motion labels for real-world video are incredibly expensive and laborious to produce. To bypass this, researchers use self-supervised learning, where the model learns by trying to "reconstruct" one video frame from another. However, previous self-supervised monocular methods have struggled with low accuracy, complex training pipelines, and slow runtimes.

Methods

The authors introduce RAFT-MSF, which builds upon the RAFT (Recurrent All-Pairs Field Transforms) architecture originally designed for 2D optical flow.

Key technical components include:

  • Iterative Update Operator: Instead of predicting scene flow in one go, the model uses a Gated Recurrent Unit (GRU) to iteratively refine 3D motion fields and disparity (inverse depth) maps. It looks at a "4D correlation pyramid" to find visual similarities between frames at multiple scales.
  • Disparity Initialization: Rather than starting from zero, the model uses two simple convolutional layers to provide an initial "guess" for the disparity map, which significantly improves final accuracy.
  • Gradient Detaching for Upsampling: A major contribution is the discovery that standard "convex upsampling" (used to bring low-res predictions to full resolution) causes checkerboard artifacts in self-supervised settings. By detaching the gradients of the hidden state before they reach the upsampling mask head, the authors eliminated these artifacts and stabilized training.
  • Self-Supervised Loss: The model is trained using a combination of photometric consistency (how well the predicted motion aligns the images), edge-aware smoothness, and 3D point reconstruction losses.

Datasets

The model was trained and evaluated on the following:

  • KITTI Raw: Used for self-supervised training (~26,000 image pairs).
  • KITTI Scene Flow 2015: Used for evaluation of 3D motion and disparity.
  • Eigen Split: A standard benchmark used specifically for evaluating monocular depth estimation.
  • Fine-tuning: The authors also tested a version fine-tuned on a tiny set of 200 annotated pairs to show how well the model adapts to limited supervision.

Key Insights and Ideas

  • Iterative Refinement is King: The paper proves that the iterative residual update logic of RAFT—which revolutionized optical flow—is equally powerful for 3D scene flow, even in a monocular, self-supervised context.
  • Solving the Checkerboard Problem: The "aha moment" regarding gradient detaching is crucial. It suggests that in self-supervised tasks, the signals used to learn high-resolution details (upsampling masks) can sometimes interfere with the signals used to learn the core features (the GRU state), and separating them leads to much cleaner results.
  • Simplicity Wins: Despite using a simpler network architecture than many multi-task competitors, RAFT-MSF outperforms them by focusing on a robust iterative optimization process.

Key Results

  • State-of-the-Art Accuracy: On the KITTI benchmark, RAFT-MSF reduced the scene flow error (SF-all) from 47.05% to 30.97%, outperforming the previous best self-supervised method by a massive margin.
  • Superior Depth: It also achieved better monocular depth estimation results than many dedicated depth-estimation networks.
  • Speed: The fine-tuned version of the model is 228 times faster than the previous leading semi-supervised method (0.18 seconds vs. 41 seconds per frame), making it viable for real-time applications.
  • Monocular vs. Multi-view: Remarkably, this monocular method outperformed some recent methods that use multiple views or more complex temporal information.

Limitations and Future Work

  • The Supervision Gap: While RAFT-MSF significantly closes the gap, self-supervised methods still lag behind fully supervised models trained on massive synthetic datasets with perfect ground truth.
  • Camera Constraints: The method assumes a pinhole camera model and requires known camera intrinsics (focal length, etc.), which may not always be perfectly available in "in-the-wild" scenarios.
  • Dynamic Objects: While it handles moving objects better than previous work, extremely fast-moving or highly occluded objects remain a challenge for any monocular system.

The authors suggest that future work could involve exploring even more sophisticated upsampling techniques or integrating the recurrent optimizer into broader multi-sensor fusion frameworks.

Summary updated

BibTeX
@article{bayramli2023raft,
  author = {Bayram Bayramli and Junhwa Hur and Hongtao Lu},
  title = {{RAFT-MSF: Self-Supervised Monocular Scene Flow Using Recurrent Optimizer}},
  journal = {Int. J. Comput. Vis.},
  year = {2023},
  url = {https://openreview.net/forum?id=pjup1zR9Uu},
}
Figure