Convolutional Bayesian Kernel Inference for 3D Semantic Mapping

Joey Wilson, Yuewei Fu, Arthur Zhang, Jingyu Song, Andrew Capodieci, Paramsothy Jayakumar, Kira Barton, Maani Ghaffari

TL;DR

ConvBKI bridges the gap between classical probabilistic mapping and deep learning by reformulating Bayesian kernel inference as a differentiable depthwise convolution layer. This allows autonomous robots to build accurate, real-time 3D semantic maps with quantifiable uncertainty while leveraging GPU acceleration to run at 37 Hz.

What Problem Does This Paper Address?

Robotic 3D semantic mapping—the process of building a 3D map of the environment labeled with object categories like "road," "pole," or "car"—currently faces a stark trade-off:

  1. Modern Deep Learning Methods: These operate in efficient latent spaces and are incredibly fast, but they lack explicit mathematical guarantees. They cannot reliably quantify their own uncertainty, making it difficult to predict or diagnose failures.
  2. Classical Probabilistic Methods: Algorithms like Semantic Bayesian Kernel Inference (S-BKI) are mathematically sound and provide trustworthy uncertainty metrics. However, they are computationally heavy because they rely on slow nearest-neighbor searches, and they use rigid, hand-tuned spherical kernels that treat all object shapes the same.

The authors address this gap by making classical Bayesian mapping differentiable, allowing it to be accelerated by GPUs and optimized using standard deep learning tools.

Methods

The core innovation of this paper is ConvBKI (Convolutional Bayesian Kernel Inference). The authors observe that the explicit Bayesian update equation used in S-BKI can be mathematically rewritten as a 3D depthwise separable convolution layer.

Structural diagram of ConvBKI

The pipeline works as follows:

  • Voxelization: Raw 3D point clouds are assigned semantic labels from an off-the-shelf segmentation network. Points falling into the same spatial grid cells are summed to create semantic volumes ($F$).
  • Trainable Kernels: Instead of using a single, hand-crafted spherical kernel for all classes, ConvBKI learns a unique kernel function for each semantic category via gradient descent.
  • Compound Kernels: To better capture real-world geometry, the authors introduce a compound kernel that multiplies independent horizontal ($k_h$) and vertical ($k_v$) kernel functions. This allows the network to learn anisotropic (ellipsoidal) shapes. For example, a "pole" kernel learns to extend vertically but not horizontally, while a "road" kernel does the opposite.
Illustration of compound kernel motivation
  • System Architecture: To maximize efficiency, the global map is stored on the CPU, while local updates are batched and processed rapidly on the GPU. A garbage collection routine purges voxels that haven't been updated in 10 frames to save memory.

Datasets

The approach was evaluated using two primary benchmarks:

  1. KITTI Odometry Dataset (Sequence 15): Evaluated using depth estimated from ELAS, poses from ORB-SLAM, and semantic labels from a dilated CNN.
  2. SemanticKITTI Dataset: A large-scale dataset for LiDAR-based semantic scene understanding, using Darknet53-kNN to provide the input semantic predictions.

Key Insights and Ideas

  • The Convolution Equivalence: Mapping a classical probabilistic framework directly to a standard deep learning operation (depthwise convolution) unlocks massive hardware acceleration without sacrificing the underlying Bayesian mathematics.
  • Geometry is Class-Specific: Standard mapping algorithms assume semantic probability spreads symmetrically in all directions. ConvBKI proves that letting the network learn class-specific shapes (e.g., flat ellipsoids for roads, tall cylinders for poles) significantly improves mapping accuracy.
  • Uncertainty as a Quality Filter: Because ConvBKI maintains explicit Dirichlet distribution parameters for each voxel, it computes exact variance. The authors show that simply filtering out voxels with high variance dramatically cleans up map noise.

Key Results

  • Massive Speedup: ConvBKI performs local Bayesian updates at 37 Hz (27 ms), easily clearing the bar for real-time robotic applications. For comparison, the non-discretized baseline S-BKI runs at just 0.6 to 2 Hz.
  • Improved Accuracy: On KITTI Sequence 15, ConvBKI Compound achieved a mean Intersection over Union (mIoU) of 77.7%, outperforming both the un-optimized S-BKI baseline (76.5%) and the single-kernel ConvBKI variant (76.6%).
  • Visualizing Learned Kernels: As shown below, the compound kernel successfully learns the distinct geometric structures of different semantic classes, stretching horizontally for roads and vertically for poles.
Illustration of kernels learned by ConvBKI

Limitations and Future Work

  • Resolution Trade-off: To maintain real-time speeds, the authors utilized a 0.2m voxel resolution. This discretization caused ConvBKI to achieve a slightly lower mIoU on the SemanticKITTI test set compared to a fine-grained, non-discretized S-BKI baseline operating at 0.1m resolution (which runs at an impractical 0.6 Hz).
  • Static Environment Assumption: The current formulation assumes a static world. The authors note that integrating dynamic object tracking and propagation within the BKI framework is a key direction for future work.

Summary updated

BibTeX
@inproceedings{wilson2023convolutional,
  author = {Joey Wilson and Yuewei Fu and Arthur Zhang and Jingyu Song and Andrew Capodieci and Paramsothy Jayakumar and Kira Barton and Maani Ghaffari},
  title = {{Convolutional Bayesian Kernel Inference for 3D Semantic Mapping}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161360},
}
Figure