Abstract
Current techniques in Visual Simultaneous Localization and Mapping (VSLAM) estimate camera displacement by comparing image features of consecutive scenes. These algorithms depend on scene continuity, hence requires frequent camera inputs. However, processing images frequently can lead to significant memory usage and computation overhead. In this study, we introduce SemanticSLAM, an end-to-end visual-inertial odometry system that utilizes semantic features extracted from an RGB-D sensor. This approach enables the creation of a semantic map of the environment and ensures reliable camera localization. SemanticSLAM is scene-agnostic, which means it doesn't require retraining for different environments. It operates effectively in indoor settings, even with infrequent camera input, without prior knowledge. The strength of SemanticSLAM lies in its ability to gradually refine the semantic map and improve pose estimation. This is achieved by a convolutional long-short-term-memory (ConvLSTM) network, trained to correct errors during map construction. Compared to existing VSLAM algorithms, SemanticSLAM improves pose estimation by 17%. The resulting semantic map provides interpretable information about the environment and can be easily applied to various downstream tasks, such as path planning, obstacle avoidance, and robot navigation.
1. Introduction
Traditional Visual Simultaneous Localization and Mapping (VSLAM) systems, such as ORB-SLAM, are inherently "feature-hungry." They rely on tracking thousands of geometric keypoints across high-frequency video frames to maintain scene continuity. This approach suffers from high computational costs and fragility; if the camera moves too quickly or the frame rate drops, the system loses its lock.
SemanticSLAM addresses these limitations by shifting the focus from pixel-perfect matching to semantic landmarks. By recognizing objects (e.g., chairs, tables) and their relative positions, the system mimics human navigation. This allows for robust localization even with infrequent camera inputs that would typically cause traditional SLAM algorithms to fail.
2. Methodology
The SemanticSLAM pipeline transitions from raw pixels to a neural-symbolic map through several stages:
- Semantic Extraction & Projection: The system utilizes YOLOv3 for object detection and the Segment Anything Model (SAM) to generate masks. Using RGB-D data, these 2D labels are projected into an egocentric top-down observation map.
- Visual Pose Estimation: The current observation is compared against the global map by rotating it through 360 degrees and using 2D convolution to identify the best fit for position and orientation.
- Inertial Bootstrapping: To solve the "cold start" problem when the map is empty, a low-cost Inertial Measurement Unit (IMU) provides initial rough movement estimates.
- ConvLSTM Map Refinement: A Convolutional Long Short-Term Memory (ConvLSTM) network manages the global map. It learns to integrate new observations, remember stable objects, and filter out noisy data or temporary obstructions.
3. Experimental Evaluation
The system was evaluated in the "IndoorScenes" dataset, generated via the Gazebo simulator. A TurtleBot3 equipped with an RGB-D camera and IMU navigated indoor environments with randomly placed objects. To test robustness, images were sampled at a rate slower than 1Hz—a significant challenge for traditional SLAM systems which usually require 15–30Hz.
4. Results and Discussion
SemanticSLAM demonstrates superior performance in low-frequency scenarios where traditional methods like ORB-SLAM2 often fail to generate any pose estimation.
- Accuracy: SemanticSLAM achieved a 17% improvement in pose estimation accuracy compared to state-of-the-art semantic mapping methods like MapNet.
- Efficiency: The resulting 2D grid maps are significantly more memory-efficient than traditional 3D point clouds.
- Generalization: The system is scene-agnostic. It learns the process of mapping rather than specific room layouts, allowing it to generalize to new environments without retraining.
Ablation studies further confirmed the importance of the ConvLSTM, which alone reduced position error by 17% and direction error by 19% compared to standard heuristic mapping.
5. Conclusion
SemanticSLAM provides a robust, efficient alternative to geometric VSLAM by leveraging semantic invariance and recurrent neural networks for map management. While the system currently depends on the quality of its object detectors and was primarily tested in simulation, it offers a promising path toward robot navigation in resource-constrained or high-speed environments. Future work will focus on physical deployment and handling dynamic objects in real-world settings.
Summary updated