Efficient LiDAR Bundle Adjustment for Multi-Scan Alignment Utilizing Continuous-Time Trajectories

Louis Wiesmann, Elias Marks, Saurabh Gupta, Tiziano Guadagnino, Jens Behley, Cyrill StachnissarXiv 2024

Creating globally consistent maps from mobile LiDAR data is a classic "big data" headache in robotics. While LiDAR odometry and SLAM systems have come a long way, they often suffer from drift or local inconsistencies that lead to "blurry" maps.

In their recent paper, "Efficient LiDAR Bundle Adjustment for Multi-Scan Alignment Utilizing Continuous-Time Trajectories," Louis Wiesmann and his team at the University of Bonn present a robust framework for jointly optimizing thousands of LiDAR scans. By combining continuous-time trajectory modeling with clever memory management, they achieve state-of-the-art accuracy on a standard GPU.

TL;DR

The authors propose a 3D LiDAR bundle adjustment (BA) approach that jointly optimizes thousands of scans to produce globally and locally consistent maps. By utilizing continuous-time trajectories and an "out-of-core" circular buffer, the system handles motion distortion internally and scales to massive datasets without requiring prohibitive amounts of RAM.

Fig. 1: We propose a LiDAR bundle adjustment approach for aligning multiple point clouds. As shown here, our approach is able to generate a globally and locally aligned point cloud map. The color of the full point cloud is based on the latitude, while the points of the close-ups are colorized based on normals.

What Problem Does This Paper Address?

Building a "digital twin" of a city requires stitching together millions of LiDAR points collected from a moving vehicle or handheld device. This process, known as registration, is fraught with challenges:

  1. Drift: Small errors in odometry accumulate over time, causing the map to "bend" or fail to close loops correctly.
  2. Motion Distortion: Because a LiDAR sensor rotates while the robot moves, a single "scan" is actually a collection of points taken at slightly different times and poses.
  3. Computational Scale: Jointly optimizing every point in every scan (Bundle Adjustment) is mathematically ideal but computationally "enormous," often requiring hundreds of gigabytes of memory.

Existing SLAM systems often use "pose-graphs" to fix global drift, but these can leave local areas misaligned. This paper aims to provide the "gold standard" offline alignment that fixes both global drift and local "blurriness."

Methods

The core of the approach is a least-squares bundle adjustment that treats the entire trajectory as a continuous function of time.

  • Continuous-Time Trajectories: Instead of one pose per scan, the authors interpolate poses between the start and end of each scan using spherical linear interpolation (slerp). This allows the optimizer to treat every single laser beam according to its exact measurement time, effectively "deskewing" the data during the optimization itself.
  • Efficient Correspondence Search: To avoid the $O(N^2)$ complexity of matching every scan to every other scan, they prune the search space. They only look for correspondences in a subset of $k$ randomly sampled scans within a spatial radius $\tau$.
  • Voxel Hashing: They utilize a GPU-accelerated voxel hash map for $O(1)$ neighborhood searches, which is reconstructed at every iteration to account for the updated poses.
  • Out-of-Core Memory Management: This is the "secret sauce" for scalability. They use a circular buffer to keep only the most recently used scans in VRAM, loading others from the disk as needed. This allows them to process over 11,000 scans using only 8 GB of GPU memory.

Datasets

The authors evaluated their method on two primary datasets:

  1. IPB-Car Dataset (New): A self-recorded dataset featuring 11,702 scans from an Ouster1-128 mounted on a car. It includes high-precision ground truth generated via Terrestrial Laser Scanners (TLS) and centimeter-accurate GPS.
  2. Multi-Campus Dataset (MCD): A public benchmark featuring handheld LiDAR data in campus environments, used to validate the approach's performance across different sensor platforms and motion profiles.
Fig. 3: The estimated trajectory of our approach on the self-recorded IPB-Car dataset. The trajectory contains multiple loop closures, where some sections are mapped multiple times. Making a global alignment necessary to obtain a consistent trajectory.

Key Insights and Ideas

  • Joint Optimization vs. Pose-Graphs: Unlike standard SLAM which might just "bend" a trajectory to close a loop, this BA approach re-aligns the points themselves. This results in much "crisper" structures, especially in sharp turns where motion distortion is highest.
  • Sparsity is the Key to Speed: The authors highlight that in autonomous driving, scans only overlap with a few neighbors. This makes the underlying mathematical system (the normal equations) extremely sparse, allowing them to solve massive problems that would otherwise be impossible.
  • Multi-Session Capability: The framework can naturally handle data taken on different days. By optimizing both trajectories jointly, it eliminates the "ghosting" effect often seen when merging multiple mapping runs.

Key Results

The proposed method consistently outperformed state-of-the-art baselines like HBA and PIN-SLAM.

  • Accuracy: On the IPB-Car dataset, the approach achieved an Absolute Trajectory Error (ATE) of 0.90m, compared to 1.34m for a standard KISS-ICP + GPS fusion.
  • Local Consistency: Qualitative results show that while other methods leave walls "blurry" or misaligned after long loops, this approach produces sharp, single-pixel-width walls.
  • Memory Efficiency: While competing method HBA required 160 GB of CPU memory, this approach ran on just 8 GB of GPU memory thanks to the out-of-core circular buffer.
Qualitative comparison showing how our approach corrects misalignments that baselines like HBA cannot resolve.

Limitations and Future Work

  • Offline Only: This is not a real-time system. Optimizing 11,000 scans took approximately two days. It is intended as a post-processing step for high-quality map generation.
  • Initial Guess Dependency: Like most non-linear optimizers, it requires a "sufficiently accurate" initial guess (e.g., from basic odometry or low-cost GPS) to converge.
  • Dynamic Objects: While the authors used robust kernels to ignore outliers like moving cars, the ground truth was generated by manually removing dynamic objects from TLS scans. Automated, robust handling of highly dynamic urban environments remains an area for further refinement.

Summary updated

BibTeX
@misc{wiesmann2024efficient,
  author = {Louis Wiesmann and Elias Marks and Saurabh Gupta and Tiziano Guadagnino and Jens Behley and Cyrill Stachniss},
  title = {{Efficient LiDAR Bundle Adjustment for Multi-Scan Alignment Utilizing Continuous-Time Trajectories}},
  year = {2024},
  eprint = {2412.11760},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.11760},
}
Figure