Dynamic Visual SLAM using a General 3D Prior

Xingguang Zhong, Liren Jin, Marija Popović, Jens Behley, Cyrill StachnissarXiv 2025

TL;DR

This paper introduces a novel monocular visual SLAM system designed for highly dynamic environments by tightly coupling a conventional geometric pipeline with a deep feed-forward reconstruction model. By introducing a specialized moving object segmentation head and an uncertainty-aware bundle adjustment mechanism, the system robustly filters out dynamic distractors and resolves scale drift over long sequences.

What Problem Does This Paper Address?

Most classical visual simultaneous localization and mapping (SLAM) and visual odometry (VO) systems operate under a fundamental assumption: the world is static. When moving objects—such as pedestrians, cars, or even moving furniture—enter the camera's field of view, they corrupt data association, leading to severe tracking drift or complete system failure.

While recent deep learning-based "feed-forward" reconstruction models (like DUSt3R or $\pi^3$) show incredible robustness in dynamic scenes due to rich geometric priors learned from massive datasets, they have a critical flaw for robotics: they process images in batches. When applied incrementally frame-by-frame, their predicted depth maps suffer from severe scale ambiguities and accumulated drift over long sequences, making them unviable for stable, online tracking and mapping. This paper bridges the gap, combining the long-term scale consistency of classical geometric SLAM with the robust dynamic handling of deep priors.

Methods

The proposed framework integrates a patch-based geometric SLAM pipeline (built on DPV-SLAM) with a custom-tailored feed-forward network called $\pi^3_{\text{mos}}$.

System Overview: Integrating $\pi^3_{\text{mos}}$ predictions into an uncertainty-aware bundle adjustment pipeline.

The architecture relies on three core innovations:

  1. Moving Object Segmentation ($\pi^3_{\text{mos}}$): The authors extend the foundational $\pi^3$ architecture by adding a lightweight Moving Object Segmentation (MOS) head alongside the standard depth and camera pose heads. This head outputs pixel-wise motion probabilities, allowing the system to initialize tracking patches exclusively on the static background.
  2. Depth Scale Estimation: To resolve the scale inconsistencies inherent to batch-wise feed-forward models, the system aligns the newly predicted depth maps with the existing sparse map using a robust Huber-loss optimization over historical keyframes.
  3. Uncertainty-Aware Bundle Adjustment (BA): The system incorporates the scale-aligned dense depth predictions as a prior loss within the sliding-window bundle adjustment. Crucially, this prior is adaptively weighted based on the geometric uncertainty of the SLAM system. If the camera undergoes low translational motion (where geometric depth estimation is weak), the system relies heavily on the deep prior; if tracking is highly reliable, the prior's influence is dialed back.

Datasets

The $\pi^3_{\text{mos}}$ network was trained on a mix of synthetic and real-world datasets containing motion annotations:

  • Training: Kubric, Dynamic Replica, Virtual KITTI 2 (synthetic), and HOI4D (real-world indoor human-object interactions).

The complete SLAM system was evaluated across several challenging benchmarks:

  • Moving Object Segmentation: DAVIS-16 and DAVIS-17.
  • Camera Tracking & Depth Estimation: Bonn RGB-D Dynamic Dataset, Wild-SLAM MoCap Dataset, and the MPI Sintel Dataset (which features rapid camera movements and severe motion blur).

Key Insights and Ideas

  • Synergy over Substitution: Instead of replacing traditional geometry with deep learning, the paper demonstrates that they are perfectly complementary. Geometry provides the rigid, long-term metric framework that deep learning lacks, while deep learning provides the semantic and contextual awareness to handle complex dynamics and textureless regions.
  • Uncertainty as a Gatekeeper: A major pitfall of learning-based priors is that they can introduce errors if the network miscalculates. By deriving the marginal covariance of the inverse depths directly from the SLAM Hessian matrix, the system safely gates the deep prior, only trusting it when the classical geometric pipeline is struggling.

Key Results

The proposed method achieved state-of-the-art performance across all evaluated tasks:

  • Segmentation: On the DAVIS-16 benchmark, the method achieved a Jaccard Mean (JM) score of 68.1%, significantly outperforming other pose-free dynamic reconstruction baselines like MonST3R (40.9%) and Easi3R (57.7%).
  • Camera Tracking: In highly dynamic scenarios, the system demonstrated superior trajectory accuracy. For instance, on the Wild-SLAM MoCap Dataset, it achieved an Absolute Trajectory Error (ATE) RMSE of 0.42 cm, outperforming DROID-SLAM (29.90 cm) and the recent WildGS-SLAM (0.66 cm).
Qualitative tracking and mapping results across different datasets, demonstrating clean reconstructions free of dynamic object artifacts.

Limitations and Future Work

The primary bottleneck of the system is its computational complexity. Running multi-frame feed-forward inference for every incoming frame is computationally expensive. Currently, the system only achieves a frame rate of 2 frames per second (fps) on an NVIDIA RTX 5000 GPU. This makes real-time deployment on resource-constrained robotic platforms challenging.

Future work will likely focus on optimizing the feed-forward network architecture or exploring knowledge distillation techniques to achieve real-time performance without sacrificing tracking robustness.

Summary updated

BibTeX
@misc{zhong2025dynamic,
  author = {Xingguang Zhong and Liren Jin and Marija Popović and Jens Behley and Cyrill Stachniss},
  title = {{Dynamic Visual SLAM using a General 3D Prior}},
  year = {2025},
  eprint = {2512.06868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06868},
}
Figure