Predicting Performance of SLAM Algorithms

Matteo Luperto, Valerio Castelli, Francesco AmigoniarXiv 2021

TL;DR

This paper introduces a novel "predictive benchmarking" method that estimates how well a SLAM algorithm will perform in a new environment before the robot even starts moving. By extracting geometric features from floor plans—specifically using Voronoi graphs to simulate traversal—the authors can predict localization errors using simple, interpretable linear models.

What Problem Does This Paper Address?

Simultaneous Localization and Mapping (SLAM) is the bread and butter of autonomous robotics, yet evaluating these algorithms remains a reactive process. Currently, researchers use ex-post evaluation: they run a robot, collect data, and then measure how much the resulting map deviates from the truth.

The problem is that SLAM performance is notoriously environment-dependent. An algorithm that excels in a cluttered office might fail miserably in a long, featureless corridor. Testing every algorithm on every new platform in every new building is expensive, time-consuming, and often requires high-precision ground-truth tracking systems that aren't always available. There is a clear need for ex-ante prediction—the ability to look at a floor plan and say, "GMapping will likely have a 15cm error here."

Methods

The authors propose a pipeline that moves from raw environment data to performance prediction:

  1. Data Collection: They ran thousands of simulations in 100 different indoor environments using two popular SLAM algorithms: GMapping and KartoSLAM.
  2. Feature Extraction: Instead of just looking at building area or room count, they used Voronoi graphs to represent the "skeleton" of an environment. By simulating a path along this graph, they calculated two key features:
  3. Voronoi Traversal Distance (VTD): The total distance a robot must travel to "see" the entire environment.
  4. Voronoi Traversal Rotation (VTR): The total amount of rotation required during that traversal.
  5. Model Learning: They mapped these features to localization error metrics (translational and rotational) using regression. While they tested complex methods like Gaussian Processes, they found that simple linear regression provided a high level of accuracy while remaining easily interpretable.
Fig. 1: The conceptual flow of our method for predictive benchmarking. Dashed components are optional.

Datasets

The study utilized a diverse set of 100 indoor environments to avoid overfitting:

  • Radish Repository: Floor plans of offices and research labs.
  • MIT Campus Dataset: Large-scale maps of university buildings (up to 30,000 $m^2$).
  • Custom Dataset: 64 real-world building floor plans including schools and offices.
  • Validation Sets: Publicly available real-robot datasets (Freiburg 52 and Bremen) and physical experiments conducted at the AIRLab (Politecnico di Milano) using a custom "Robocom" robot.

Key Insights and Ideas

  • VTD is the "Golden Feature": Surprisingly, simple geometric features like building perimeter or area were poor predictors of SLAM performance. However, the Voronoi Traversal Distance (VTD)—which captures the complexity of the actions a robot must take—correlated strongly with localization error.
  • The Sim-to-Real Bridge: The authors demonstrated that models trained entirely on simulated data (using the Stage simulator) could accurately predict the performance of physical robots in real buildings.
  • Linearity in Complexity: Despite the non-linear nature of SLAM algorithms, the relationship between environment traversal complexity and cumulative error is largely linear. This makes the "predictive benchmarking" tool highly accessible for developers.
Fig. 4: A floor plan (left) and the corresponding Voronoi graph (right; cells are red and blue pixels).

Key Results

The linear models achieved impressive predictive power, particularly for translational error ($\epsilon_t$):

  • For GMapping, the VTD-based model achieved an $R^2$ of 0.830 for translational error.
  • For KartoSLAM, the model achieved an $R^2$ of 0.763.
  • In real-world validation (Freiburg 52), the model predicted a translational error of 0.286m, while the actual simulation yielded 0.349m—a very close approximation for an ex-ante estimate.
Regression lines showing the correlation between VTD and localization error components for GMapping.

Limitations and Future Work

  • Platform Specificity: The predictive model is sensitive to the robot's configuration (e.g., sensor field of view and odometry noise). If the physical robot differs significantly from the simulated training robot, the model needs to be retrained, though the authors note this can be done automatically in batch.
  • 2D Constraint: The current work is limited to 2D LiDAR-based SLAM in indoor environments.
  • Future Directions: The authors plan to extend this framework to 3D SLAM and other robotic tasks (like path planning efficiency). They also aim to integrate these predictive tools into design-time suites to help engineers choose the right sensors and algorithms before building a prototype.

Summary updated

BibTeX
@misc{luperto2021predicting,
  author = {Matteo Luperto and Valerio Castelli and Francesco Amigoni},
  title = {{Predicting Performance of SLAM Algorithms}},
  year = {2021},
  eprint = {2109.02329},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.02329},
}
Figure