Parameter Optimization for Loop Closure Detection in Closed Environments

Nils Rottmann, Ralf Bruder, Honghu Xue, Achim Schweikard, Elmar RueckertarXiv 2020

Introduction

Simultaneous Localization and Mapping (SLAM) is a cornerstone of mobile robotics, yet its deployment in consumer products like robotic lawn mowers remains challenging. A primary hurdle is the sensitivity of SLAM algorithms to hyperparameter tuning. Typically, achieving robust performance requires expert intervention to adjust parameters based on specific sensor noise profiles and environmental characteristics. For low-cost robots operating in closed, repetitive environments, manual tuning is impractical.

This paper presents an automated, unsupervised method for optimizing SLAM meta-parameters. By leveraging the inherent structural constraints of a robot traversing a closed boundary, the proposed system uses Bayesian Optimization (BO) to learn optimal parameters for loop closure detection and pose graph optimization without requiring ground truth maps.

Methodology

The core of the approach is designed for robots that follow a perimeter, such as a boundary wire. The authors enhance a baseline odometry-only mapping system with three key technical contributions:

  1. Iterative Closest Point (ICP) for Loop Closures: Rather than relying solely on raw odometry for loop closure constraints, the system employs ICP to refine relative displacement measurements. This reduces the impact of sensor noise on the pose graph.
  2. Symmetry Feasibility Check: To mitigate false positives in environments with repeating geometric features (e.g., identical corners), a modulo-based orientation check is introduced. This ensures that loop closure candidates are consistent with the expected global orientation.
  3. Two-Stage Bayesian Optimization: The system frames parameter tuning as an optimization problem. In the first stage, it optimizes loop closure parameters (like neighborhood length and error thresholds). In the second stage, it refines pose graph parameters.

Circumference as a Structural Invariant

The optimization relies on a clever proxy for ground truth: the environment's circumference ($U$). When a robot cycles along a boundary, any valid loop closure must occur at a path distance that is a multiple of $U$.

Figure 1: The robot's orientation angle $\theta$ as a function of path distance $x$. The repeating pattern indicates the environment's circumference $U$, serving as a structural invariant for unsupervised learning.

By analyzing the distribution of distances between detected loop closures, the system can evaluate the quality of a parameter set. A "good" set of parameters will produce a distribution with sharp, distinct peaks at multiples of $U$. The authors fit a Gaussian Mixture Model (GMM) to these distances and use the negative log-likelihood as a cost function for Bayesian Optimization.

Experimental Results

The method was evaluated using both simulated environments (symmetric, curved, and complex layouts) and real-world data from a Viking MI 422P lawn mower.

Performance in Simulation and Reality

In simulations, the ICP-enhanced approach significantly reduced relative displacement errors. More importantly, the parameters learned via Bayesian Optimization performed as well as or better than those manually tuned by experts across all test cases.

Figure 2: Left: The convergence of the loss function $\mathcal{L}$ over optimization iterations $K$. Right: The resulting histogram of loop closure distances $u$, showing sharp peaks at multiples of the circumference, indicating successful parameter tuning.

In real-world tests at a university courtyard, the automated optimization reduced the area mapping error to 9.24%, outperforming both the original baseline (11.49%) and a hand-tuned version of the new system (9.77%). The system also demonstrated robustness on a private lawn with narrow corridors and high odometry noise.

Conclusion and Future Work

This research demonstrates that SLAM meta-parameters can be effectively learned in an unsupervised manner by exploiting the periodic nature of boundary traversals. By using the environment's circumference as a proxy for ground truth, the system enables low-cost robots to adapt to new environments autonomously.

Future work will focus on integrating IMU data to better handle non-zero-mean odometry errors caused by wheel slippage or mechanical biases. Additionally, the authors plan to extend this framework to support probabilistic coverage path planning for more efficient autonomous operation.

Summary updated

BibTeX
@misc{rottmann2020parameter,
  author = {Nils Rottmann and Ralf Bruder and Honghu Xue and Achim Schweikard and Elmar Rueckert},
  title = {{Parameter Optimization for Loop Closure Detection in Closed Environments}},
  year = {2020},
  eprint = {2011.06286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.06286},
}
Figure