Introduction
Traditional visual SLAM (vSLAM) systems typically operate under the "static-world assumption," which posits that all observed landmarks are stationary. In real-world environments—such as busy city streets or crowded indoor spaces—this assumption is frequently violated by moving pedestrians, vehicles, and cyclists. When a SLAM system mistakenly tracks these dynamic objects as fixed points, it leads to significant drift in pose estimation and corruption of the global map.
While deep-learning-based semantic segmentation can mitigate this by masking dynamic regions, the requirement for thousands of pixel-perfect, manually annotated images creates a significant data bottleneck. This paper proposes a solution: a robust vSLAM system that utilizes weakly-supervised semantic segmentation to filter out movable objects using only simple image-level labels for training.
System Architecture
The proposed framework is built upon the popular ORB-SLAM2 system, augmented with a parallel semantic masking thread. As illustrated in the system overview, the pipeline processes input frames to generate a "Binary Movable Objects Mask" before the tracking and mapping stages begin.
Weakly-Supervised Semantic Masking
Instead of relying on expensive pixel-wise annotations, the authors employ a CNN trained on image-level labels (e.g., "this image contains a car"). The system generates initial "pseudo-annotations" via class-specific activation maps, which are then refined using a Conditional Random Field (CRF). For RGB-D sensors, the CRF is further enhanced with depth information, allowing the model to better distinguish object boundaries by recognizing that pixels at significantly different depths likely belong to different entities.
SLAM Integration and Feature Extraction
A key insight of this work is that vSLAM does not require perfect, pixel-accurate segmentation to be effective. Coarser masks are sufficient to filter out the majority of problematic feature points. The system identifies specific classes as "potentially movable" (such as cars, buses, and people) and masks them regardless of whether they are currently in motion. This prevents "poisoning" the map with landmarks that might move later, such as a parked car.
As shown in Figure 3, the binary mask is passed directly into the ORBextractor. The system modifies the DistributeOctTree logic to ensure that a stable number of high-quality features are still extracted from the remaining static background, avoiding the artifacts often introduced by simple image inpainting or "blacking out" regions.
Experimental Results
The system was evaluated on the TUM RGB-D and KITTI datasets, representing both indoor and outdoor dynamic scenarios:
- TUM RGB-D: In high-dynamic "walking" sequences, the system achieved a Root Mean Square Error (RMSE) improvement of over 90% compared to the baseline ORB-SLAM2.
- KITTI: The system outperformed the baseline in most sequences, particularly where traffic was dense. In cases where it did not lead, it was typically because the "movable" objects remained static throughout the recording, meaning the baseline was not negatively impacted.
Conclusion and Future Work
This research demonstrates that weakly-supervised segmentation is a viable and efficient alternative to fully supervised methods for dynamic SLAM. While the current processing time of 1.27 seconds per frame is not yet real-time, the approach significantly reduces the data labeling burden while maintaining competitive accuracy. Future efforts will focus on optimizing the CNN architecture for high-speed robotics applications and expanding the system's ability to recognize a broader range of dynamic object classes.
Summary updated