Abstract
MASt3R-SLAM is the first real-time dense monocular SLAM system built on the powerful MASt3R 3D reconstruction prior. By shifting the foundation of SLAM from 2D image processing to 3D pointmap matching, it achieves state-of-the-art accuracy and dense mapping at 15 FPS without requiring a fixed camera model or prior calibration.
Introduction
Visual Simultaneous Localization and Mapping (SLAM) is a well-established field for calibrated hardware in controlled settings. However, "plug-and-play" SLAM for "in-the-wild" video—where camera parameters like focal length and distortion are unknown or dynamic—remains a significant challenge. Traditional dense SLAM systems often rely on 2D priors like monocular depth or optical flow, which frequently suffer from cross-view inconsistencies.
While recent 3D reconstruction "foundation models" like DUSt3R and MASt3R have transformed Structure-from-Motion (SfM) by predicting 3D geometry directly from image pairs, their computational cost has historically prohibited real-time application. MASt3R-SLAM bridges this gap, converting a heavy offline prior into a high-speed, online SLAM engine capable of 15 FPS.
Methodology
The system core is the MASt3R network, which processes image pairs to output dense 3D pointmaps and local features within a shared coordinate frame. To achieve real-time performance, several key innovations were implemented:
Iterative Projective Matching
To avoid the latency of k-d trees or brute-force matching, the authors frame correspondence as a local optimization problem. By minimizing the angular error between rays, they achieve a 1000x speedup in matching, reducing the process to just 2ms per frame.
Generic Camera Model and Ray-Based Tracking
The system assumes only a "unique camera center," allowing it to handle pinhole, fisheye, or distorted lenses implicitly through predicted 3D rays. To manage depth inconsistencies in neural predictions, camera poses are optimized by minimizing directional ray error rather than raw Euclidean distance. These predictions are fused into a "canonical pointmap" using a running weighted average filter.
Robust Backend
The backend maintains a keyframe graph and utilizes an incremental Aggregated Selective Match Kernel (ASMK) for loop closure. Global consistency is ensured through second-order optimization (Gauss-Newton) on the $Sim(3)$ Lie algebra.
Experimental Results
MASt3R-SLAM was evaluated on standard benchmarks including TUM RGB-D, 7-Scenes, EuRoC MAV, and ETH3D-SLAM.
- Performance and Speed: The system operates at 15 FPS on an NVIDIA RTX 4090.
- Trajectory Accuracy: On TUM RGB-D, it achieved an Absolute Trajectory Error (ATE) of 0.030m, surpassing DROID-SLAM (0.038m) and GO-SLAM (0.035m).
- Uncalibrated Robustness: In scenarios without camera intrinsics, MASt3R-SLAM (0.060m ATE) significantly outperformed a calibrated DROID-SLAM baseline (0.158m ATE).
- Geometric Quality: Qualitative analysis indicates that MASt3R-SLAM produces cleaner, more coherent dense maps compared to the noisier point clouds generated by previous methods.
Discussion and Conclusion
The success of MASt3R-SLAM highlights that 3D priors are superior to 2D priors for SLAM; predicting geometry in a common frame implicitly solves for poses and camera models simultaneously. Furthermore, optimizing in ray space (angles) provides essential robustness against the noisy depth predictions typical of data-driven models.
Future work involves refining full 3D pointmaps during global backend optimization and improving network throughput to overcome the current 64% runtime bottleneck caused by the encoder/decoder. While the framework is camera-agnostic, performance on extreme fisheye lenses may require training the underlying MASt3R model on more diverse datasets.
Summary updated