Differentiable SLAM Helps Deep Learning-based LiDAR Perception Tasks

Prashant Kumar, Dheeraj Vattikonda, Vedang Bhupesh Shenvi Nadkarni, Erqun Dong, Sabyasachi Sahoo

Introduction

In autonomous robotics, LiDAR perception and Simultaneous Localization and Mapping (SLAM) have traditionally operated as decoupled stages. Perception models identify environmental features or objects, which are then utilized by SLAM algorithms to estimate the robot's trajectory. However, this separation ignores a critical feedback loop: the geometric consistency required by SLAM can serve as a powerful supervisory signal for perception.

The primary obstacle to this integration is that traditional SLAM algorithms are non-differentiable. They rely on discrete optimization steps, such as the Levenberg-Marquardt algorithm, which prevent the backpropagation of gradients from trajectory errors to neural network weights. This paper introduces a framework to bridge this gap using a differentiable SLAM module.

The Differentiable SLAM Framework

The proposed architecture integrates a differentiable SLAM module directly into the training loop of deep learning models. To achieve differentiability, the authors replace discrete optimization logic with "soft" versions using generalized logistic functions, allowing gradients to flow from the final trajectory error back to the perception model.

General framework for integrating a differentiable SLAM module into a deep learning perception pipeline.

The training process utilizes a composite loss function: $$L = L_{model} + \gamma L_{slam}$$ Where $L_{model}$ represents standard task-specific supervision (e.g., elevation error) and $L_{slam}$ measures the Absolute Trajectory Error (ATE). This framework can operate in a self-supervised manner by comparing trajectories derived from predicted outputs against reference trajectories from raw input scans.

Applications: GndNet and DSLR

The authors validated their framework by applying it to two distinct LiDAR tasks:

  1. GndNet (Ground Plane Estimation): Improving the segmentation and elevation mapping of the ground.
  2. DSLR (Dynamic-to-Static Translation): Removing dynamic objects (like moving vehicles) to create "clean" static maps.
Application of the differentiable SLAM framework to DSLR (left) and GndNet (right) architectures.

In these applications, the SLAM loss acts as a geometric regularizer. Because SLAM performance degrades with "noisy" or dynamic inputs, the model is incentivized to produce geometrically consistent, static outputs to minimize the trajectory error.

Experimental Results

The framework was tested on the CARLA-64, ARD-16, and SemanticKITTI datasets. Key findings include:

  • Perception Accuracy: For GndNet, elevation MSE decreased from 0.76 to 0.72, while ground point recall rose to 97%. For DSLR, the Chamfer Distance (measuring reconstruction quality) improved significantly on both CARLA and KITTI benchmarks.
  • Downstream Benefits: Scans "cleaned" by the SLAM-enhanced models led to much lower navigation errors. In CARLA simulations, the Absolute Trajectory Error was reduced by nearly 50% (from 4.73 to 2.37).
  • Training Efficiency: To manage the computational cost of differentiable SLAM, the authors employed "interleaved training," calculating the SLAM loss only every few epochs. This provided sufficient geometric correction without excessive overhead.

Limitations and Future Outlook

While effective, the approach faces challenges. The non-differentiability of argmax operations limits its use in complex multi-class segmentation. Additionally, the current implementation uses "local" SLAM (gradSLAM), which lacks global loop closure and may drift over long sequences. Future work will focus on integrating global constraints and optimizing the computational efficiency of the differentiable modules.

Summary updated

BibTeX
@inproceedings{kumar2023differentiable,
  author = {Prashant Kumar and Dheeraj Vattikonda and Vedang Bhupesh Shenvi Nadkarni and Erqun Dong and Sabyasachi Sahoo},
  title = {{Differentiable SLAM Helps Deep Learning-based LiDAR Perception Tasks}},
  booktitle = {BMVC},
  year = {2023},
}
Figure