RoMo: Robust Motion Segmentation Improves Structure from Motion

Lily Goli, Sara Sabour, Mark Matthews, Marcus A. Brubaker, Dmitry Lagun, Alec Jacobson, David J. Fleet, Saurabh Saxena, Andrea Tagliasacchi

TL;DR

This paper introduces RoMo, a novel method for robustly segmenting moving objects in videos. By combining optical flow, epipolar geometry, and features from a pre-trained segmentation model, RoMo significantly improves Structure from Motion (SfM) performance, especially in challenging dynamic scenes, and introduces a new real-world dataset for evaluating such scenarios.

What Problem Does This Paper Address?

Estimating 3D scene structure from monocular video (Structure from Motion or SfM) is a fundamental task in computer vision. However, traditional SfM methods often struggle when scenes contain moving objects. These dynamic elements violate the core assumption of rigidity in SfM, leading to inaccurate camera pose estimates and incomplete scene reconstructions. While methods exist to handle dynamic scenes, they often rely on synthetic data, provide sparse motion information, or don't achieve dense object segmentation. This paper aims to bridge this gap by developing a robust and effective motion segmentation technique that can be seamlessly integrated with SfM pipelines to improve their performance on real-world, dynamic videos.

Methods

RoMo employs an iterative approach to motion segmentation, combining several key components:

  • Optical Flow and Epipolar Geometry: The method starts by computing dense optical flow between adjacent frames. It then uses epipolar geometry (specifically, the fundamental matrix) to identify correspondences that are inconsistent with a static scene. This provides "weak supervision" by highlighting pixels likely belonging to moving objects.
  • Feature-based Classifier: To refine these noisy, sparse labels, RoMo leverages features extracted from a pre-trained video segmentation foundation model (SAMv2). These features capture rich semantic and object-level information. A lightweight classifier is trained on these features using the weak epipolar supervision to produce more coherent and dense motion masks.
  • Iterative Refinement: The process is iterative. The generated masks are used to re-estimate the fundamental matrix, leading to improved weak supervision. This refined supervision is then used to further train the classifier. This loop helps to reduce flickering and improve mask consistency over time.
  • Final Refinement and Super-resolution: Finally, RoMo utilizes the super-resolution capabilities of SAMv2 to upscale the predicted motion masks, providing fine-grained details.

Datasets

  • FBMS59: A benchmark dataset for motion segmentation.
  • DAVIS2016 and SegTrackV2: Video Object Segmentation (VOS) benchmarks, used to evaluate motion masks despite their focus on primary objects rather than all moving elements.
  • Casual Motion Dataset (New): A novel dataset introduced by the authors, consisting of 8 real-world videos captured with a robotic arm. These videos feature multiple moving actors, high occlusion, and dynamic camera motion, with ground truth camera trajectories and motion masks. This dataset aims to address the lack of realistic benchmarks for dynamic SfM.
  • MPI Sintel: A synthetic dataset used for evaluating SfM performance on dynamic scenes.
  • ETH3D: Used for evaluating SfM performance on static scenes.

Key Insights and Ideas

  • Leveraging Weak Geometric Supervision: The core idea is that even noisy, epipolar-based motion cues can be powerful when combined with rich semantic features from foundation models. This avoids the need for fully supervised motion segmentation datasets.
  • Iterative Refinement for Robustness: The iterative nature of RoMo is crucial for achieving robust masks, especially in scenes with varying camera speeds or temporary occlusions. It allows the system to self-correct and improve its estimates over time.
  • Foundation Models as Powerful Priors: The success of RoMo highlights the immense potential of pre-trained foundation models (like SAMv2) not just for segmentation, but as a source of rich features that can significantly boost performance in related tasks like motion segmentation.
  • Bridging the Gap to Real-World SfM: The introduction of the "Casual Motion" dataset is a significant contribution, providing a much-needed benchmark for evaluating SfM methods on realistic, dynamic scenarios, moving beyond synthetic data limitations.

Key Results

  • Motion Segmentation Performance: RoMo significantly outperforms existing unsupervised and explicitly supervised motion segmentation baselines on benchmarks like FBMS59, DAVIS2016, and SegTrackV2, achieving state-of-the-art IoU scores.
  • SfM Improvement: When integrated with classic SfM pipelines (like COLMAP), RoMo-generated masks lead to substantial improvements in camera pose estimation accuracy (ATE, RPE-T, RPE-R) on dynamic scene benchmarks, including the new "Casual Motion" dataset, often outperforming specialized dynamic SfM methods.
  • Qualitative Improvements: RoMo produces more coherent and temporally stable masks, handling motion blur and occlusions better than baselines. Its SfM improvements are visually evident in more accurate camera trajectories.

Limitations and Future Work

  • Low Parallax Cases: In scenarios with very little parallax, weak epipolar constraints struggle to differentiate static and dynamic regions, potentially leading to errors. Future work could explore homographies in such cases.
  • Lack of Static Content: When entire frames lack sufficient static scene content (e.g., a video of waves), RoMo might mask the entire frame, which, while technically correct, could pose challenges for downstream SfM.
  • Reliance on Downstream Models: RoMo's performance is inherently tied to the quality of the optical flow and semantic segmentation models it uses. Improvements in these upstream tasks would directly benefit RoMo.
  • Future Work: The authors suggest exploring homographies for low-parallax scenarios and acknowledge that further improvements in optical flow and semantic segmentation models will continue to enhance RoMo's capabilities.

Summary updated

BibTeX
@inproceedings{goli2025romo,
  author = {Lily Goli and Sara Sabour and Mark Matthews and Marcus A. Brubaker and Dmitry Lagun and Alec Jacobson and David J. Fleet and Saurabh Saxena and Andrea Tagliasacchi},
  title = {{RoMo: Robust Motion Segmentation Improves Structure from Motion}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure