Constructing Metric-Semantic Maps using Floor Plan Priors for Long-Term Indoor Localization

Nicky Zimmerman, Matteo Sodano, Elias Marks, Jens Behley, Cyrill StachnissarXiv 2023

This paper, presented by researchers from the University of Bonn, introduces a robust framework for building and using metric-semantic maps for long-term indoor robot localization. By combining monocular RGB images with existing 2D floor plans, the system creates a rich 3D representation of the environment that remains reliable even as furniture moves and clutter changes over several months.

TL;DR

The authors propose a method to augment sparse 2D floor plans with 3D object bounding boxes detected from monocular RGB cameras. By explicitly modeling the statistical noise of the 3D detector and leveraging floor plan priors to handle occlusions, they achieve highly accurate, long-term localization in dynamic office environments using only low-power cameras.

What Problem Does This Paper Address?

Autonomous robots need to localize themselves accurately to navigate and interact with their surroundings. While 2D floor plans are widely available and represent stable structures like walls, they are often too sparse for robust localization in cluttered or changing environments. Conversely, full 3D reconstructions are computationally expensive and become obsolete as objects (like chairs or tables) are moved.

Furthermore, monocular RGB cameras are preferred for their low power and bandwidth, but they suffer from "depth-scale ambiguity"—it is difficult to tell exactly how far away an object is from a single 2D image. This paper tackles the challenge of creating a compact, object-based map that is easy to update and robust enough for long-term use.

Methods

The approach is divided into three main phases:

  1. Automated 3D Label Generation: To fine-tune a 3D object detector (Cube R-CNN) for a specific environment, the authors developed a pipeline that uses a one-time 3D scan and a 2D object detector. The 2D detector acts as a "visibility filter"—if a 2D detector doesn't see an object (perhaps because a door is closed or a person is in the way), the system won't generate a 3D label for that frame. This ensures the training data reflects real-world occlusions. 2D detection logic for 3D annotations
Fig. 3: 2D object detection to create better 3D annotations. Top: when rendering the ground truth objects from the camera, we have no information about dynamic objects like closed doors, which results in wrong annotations. The 2D object detection detects a door, and none of the objects in the 3D map. Therefore, no 3D annotations are generated (faded colors). Bottom: the 2D object detection detects tables and boards, but not the drawers due to occlusion. Therefore 3D annotations are generated only for the boards and the tables.
  1. Probabilistic Mapping: Instead of assuming detections are perfect, the authors perform a statistical analysis of the detector's performance. They build a per-class Gaussian noise model (e.g., how much does the detector typically miss the center of a "sink" vs. a "table"?). This noise model is used to build a probabilistic object map. Overview of the mapping and localization pipeline
Overview of the mapping and localization pipeline
  1. Localization via MCL: The system uses Monte Carlo Localization (MCL). For every "particle" (a hypothesis of the robot's position), the sensor model calculates a weight based on two factors:
  2. Object Likelihood: How well the detected object's center matches the probabilistic map.
  3. Shape Similarity: The Intersection over Union (IoU) between the predicted 2D bounding box and the map's projected 3D box.

Datasets

The authors evaluated their system using a custom dataset recorded in an office building over nine months.

  • Training: Sequences T1-T7 were used to fine-tune the 3D detector.
  • Localization Testing: Sequences R1-R10 captured significant environmental changes, including moved furniture, varying clutter, and dynamic obstacles (people).
  • Ground Truth: Established using a dense network of AprilTags on the ceiling and a high-resolution terrestrial laser scan.

Key Insights and Ideas

  • Floor Plans as Occlusion Masks: A clever insight is using the floor plan to "render" the expected view. If the floor plan says a wall is in the way, the robot knows it shouldn't be able to see the objects behind it, which significantly improves data association.
  • Noise Modeling Matters: By acknowledging that a detector might be more "jittery" with certain object classes or at certain depths, the probabilistic map becomes much more resilient to the inherent inaccuracies of monocular 3D vision.
  • Object-Centric Abstraction: Using 3D bounding boxes (as seen in Figure 1) provides a "middle ground" between sparse 2D maps and dense 3D clouds. It is semantically rich enough for interaction but compact enough for efficient computation. 3D semantic metric map example
Fig. 1: A 3D semantic metric map combining a floor plan with 3D object bounding boxes built using our approach. This map is used for long-term localization in dynamic indoor environments. Different box colors indicate different object classes.

Key Results

  • Long-Term Robustness: The system achieved a 100% success rate in localization across all test sequences spanning nine months, despite significant changes in the environment.
  • High Accuracy: The Absolute Trajectory Error (ATE) was consistently low, averaging around 0.066m to 0.073m, depending on the mapping method used.
  • Superiority over Baselines: The proposed method outperformed several variants of semantic MCL, including HSMCL (which uses LiDAR), proving that semantic cues from monocular vision can be more robust than geometric cues in changing environments.
  • Real-Time Performance: The system runs online on onboard hardware, with the 3D detector running at ~9 FPS on an NVIDIA Jetson and the localization sensor model running at 60 FPS.

Limitations and Future Work

  • Initial Setup Cost: The method currently requires an initial 3D scan and manual annotation of the environment to bootstrap the process.
  • Pose Dependency: While the authors show the system works with poses derived from 2D LiDAR ICP, it still relies on having a reasonably good initial pose estimate to build the map.
  • Future Directions: The authors suggest moving toward fully automated map updates where the robot can detect and incorporate new object classes or permanent changes to furniture layout without human intervention.

For those interested in implementation, the authors have released their approach as an open-source C++/ROS project.

Summary updated

BibTeX
@misc{zimmerman2023constructing,
  author = {Nicky Zimmerman and Matteo Sodano and Elias Marks and Jens Behley and Cyrill Stachniss},
  title = {{Constructing Metric-Semantic Maps using Floor Plan Priors for Long-Term Indoor Localization}},
  year = {2023},
  eprint = {2303.10959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.10959},
}
Figure