IR-MCL: Implicit Representation-Based Online Global Localization

Haofei Kuang, Xieyuanli Chen, Tiziano Guadagnino, Nicky Zimmerman, Jens Behley, Cyrill StachnissarXiv 2022 · DOI

TL;DR

IR-MCL (Implicit Representation-Based Monte-Carlo Localization) introduces a continuous, neural-network-based map for robot localization. By replacing traditional discrete grid maps with a Neural Occupancy Field (NOF), the system can synthesize highly accurate 2D LiDAR scans, leading to superior global localization accuracy and faster convergence compared to current state-of-the-art methods.

What Problem Does This Paper Address?

For a mobile robot to navigate, it must first answer the question: "Where am I?" The gold standard for this is Monte-Carlo Localization (MCL), a particle filter approach where thousands of "particles" (hypothetical robot poses) are compared against a map.

Traditionally, these maps are Occupancy Grid Maps—discrete 2D grids where each cell is marked as free or occupied. However, these grids have a fundamental flaw: they are discrete. If a wall falls between two grid cells or the environment has fine geometric details, the grid loses that information. This "quantization error" makes the robot's observation model less accurate, leading to jittery or incorrect pose estimates.

Methods

The authors propose a shift from discrete grids to a continuous Neural Occupancy Field (NOF).

  1. Neural Occupancy Field (NOF): Instead of a grid, the environment is represented by a Multi-Layer Perceptron (MLP). You give the network a 2D coordinate $(x, y)$, and it outputs the probability that the space is occupied. This creates a continuous, differentiable map of the world.
  2. Differentiable Ray Casting: To compare what the robot sees (a real LiDAR scan) with what it should see on the map, the system uses volume rendering. It samples points along a simulated LiDAR ray and uses the NOF to calculate where that ray would likely terminate.
  3. IR-MCL Framework: During localization, the system renders a synthetic scan for every particle. The particles that produce synthetic scans most similar to the real-time LiDAR data are given higher weights.
  4. Neural Occupancy Grid (NOG) for Speed: Running a neural network for thousands of particles in real-time is computationally expensive. To solve this, the authors pre-calculate the NOF into a high-resolution grid (NOG) for fast lookups during the localization phase, achieving a frame rate of 27 Hz.
Fig. 2: Overview of our approach for rendering a synthesized measurement of LiDAR from our implicit scene representation model: Neural Occupancy Field (NOF). We uniformly sample multiple positions along each LiDAR beam, our NOF is a neural network that takes 2D position p = (x, y) as input and outputs an occupancy probability of it, we can synthesize range values with all predictions along LiDAR beams through volume rendering.

Datasets

The approach was evaluated on four distinct indoor datasets:

  • Public Benchmarks: Freiburg Building 079 (Fr079), Intel Lab, and MIT CSAIL.
  • IPBLab Dataset: A self-recorded dataset from the University of Bonn using a Kuka YouBot equipped with a Hokuyo 2D LiDAR. This dataset includes challenging trajectories through offices, corridors, and kitchens.

Key Insights and Ideas

  • Continuous is Better than Discrete: By using a neural network, the map can represent fine details that a 5cm or 10cm grid would simply blur away. This leads to a much more "trustworthy" observation model.
  • Generalization: Unlike grid maps, which only know what they've explicitly seen, neural implicit representations can "fill in the gaps" and generalize to unseen locations more effectively.
  • Hybrid Efficiency: The transition from a pure MLP (NOF) for training to a lookup grid (NOG) for deployment is a clever way to get the accuracy benefits of deep learning without the real-time latency penalties.
Fig. 3: The implicit representation-based observation model. We render a 2D LiDAR scan for each particle, then update the weights of the particle by comparing the synthesized measurement with the real measurement from the LiDAR sensor.

Key Results

IR-MCL significantly outperformed traditional baselines like AMCL and SRRG-Loc:

  • Accuracy: In the IPBLab dataset, IR-MCL achieved a location RMSE (Root Mean Square Error) of roughly 5-6 cm, nearly doubling the precision of standard AMCL in some sequences.
  • Convergence Speed: IR-MCL finds the robot's true position much faster than other methods. As shown in the error plots, the location error for IR-MCL drops to near-zero significantly earlier than its competitors.
  • Memory Efficiency: The NOF representation requires only about half the memory of a standard occupancy grid map while providing higher accuracy.
Fig. 5: The location error for each frame of sequence 5 of the IPBLab dataset. Our method converges faster than baseline methods, and the localization errors are most of the time lower than the baselines after convergence.

Limitations and Future Work

  • Pose Dependency: Currently, the NOF requires accurate poses (from a SLAM system or ground truth) to be trained. The authors note that a major next step is to relax this requirement, potentially learning the map and the robot's poses simultaneously (Neural SLAM).
  • 2D Limitation: This work focuses on 2D LiDAR in indoor environments. Extending this to 3D LiDAR for complex outdoor or multi-story environments would increase computational complexity significantly.
  • Static Environment Assumption: Like most MCL systems, this assumes the map is relatively static. Handling highly dynamic environments (like crowded malls) remains a challenge for implicit representations.

Summary updated

BibTeX
@misc{kuang2022ir,
  author = {Haofei Kuang and Xieyuanli Chen and Tiziano Guadagnino and Nicky Zimmerman and Jens Behley and Cyrill Stachniss},
  title = {{IR-MCL: Implicit Representation-Based Online Global Localization}},
  year = {2022},
  eprint = {2210.03113},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.03113},
}
Figure