Abstract
Simultaneous Localization and Mapping (SLAM) is a foundational capability for mobile robotics, yet it remains susceptible to drift and global inconsistency in feature-poor or large-scale environments. We present Human-in-the-Loop SLAM (HitL-SLAM), a framework that enables human operators to correct broken maps by providing intuitive geometric constraints. By combining an Expectation-Maximization (EM) algorithm to interpret noisy human input with a robust factor graph optimizer, the system transforms drifted trajectories into globally consistent maps with minimal manual intervention.
Introduction
Autonomous SLAM algorithms often struggle with "drift"—the accumulation of small errors over time that lead to warped geometries, such as curved hallways or misaligned rooms. While autonomous loop closure is the standard remedy, it frequently fails in environments lacking distinct visual or structural features.
Existing human-augmented mapping approaches often require the human to be physically present during data collection or focus on high-level semantic labeling. HitL-SLAM addresses the gap in metric correction, allowing a user to fix the underlying geometry of a map post-collection. By identifying simple relationships, such as two walls being parallel or collinear, a human can provide the "meta-knowledge" necessary to resolve global inconsistencies that baffle purely autonomous systems.
Methodology
The HitL-SLAM pipeline consists of three primary stages designed to bridge the gap between human intuition and mathematical optimization:
- Human Input & Interpretation: A user interacts with a 2D map, providing constraints via a graphical interface. To account for the inherent imprecision of human mouse clicks, an Expectation-Maximization (EM) algorithm is used to "snap" the user's intent to the actual underlying laser scan data.
- Constraint Formulation: The system supports four fundamental geometric constraints: Colocation (matching position and orientation), Collinearity (aligning observations on a single line), Perpendicularity (90-degree offsets), and Parallelism (shared orientation with free translation).
- Two-Stage Optimization: The system first employs Error Backpropagation (via COP-SLAM) to provide a rough initial adjustment, preventing the optimizer from falling into local minima. This is followed by a Joint Optimization of a factor graph that incorporates standard odometry and laser factors alongside the new human-derived correction factors.
Experimental Results
The framework was evaluated using real-world datasets collected by a CoBot4 robot, including large office floors and a "BIG MAP" dataset covering nearly 1km of travel across three buildings. To test the system's limits, a "Lost Poses" dataset was created by artificially limiting the robot's laser range to 1.5 meters, forcing autonomous SLAM to fail.
Key performance metrics include:
- Accuracy: Angular errors were reduced from an average of 6.74° to 1.4°, while translational errors saw a dramatic drop from 2.71m to 0.04m.
- Consistency: Using an inconsistency metric that measures overlapping free and occupied space, HitL-SLAM achieved a 91% reduction in map errors compared to autonomous output.
- Efficiency: The 1km "BIG MAP" was corrected in under 15 minutes of human interaction, demonstrating that sparse human input can effectively replace hours of algorithmic tuning or physical re-mapping.
Discussion and Conclusion
A core insight of this work is the power of rank-deficient constraints. While traditional SLAM seeks full-rank pose information (X, Y, and Theta), humans are exceptionally good at identifying partial patterns, such as parallelism. HitL-SLAM mathematically leverages these partial priors to stabilize the global structure of the map.
While currently focused on 2D LIDAR-based maps, future work could extend these principles to 3D environments and visual SLAM. HitL-SLAM demonstrates that the most robust path toward perfect mapping may not be total autonomy, but a collaborative approach that uses human meta-knowledge to anchor robotic precision.
Summary updated