ConvBKI: Real-Time Probabilistic Semantic Mapping Network with Quantifiable Uncertainty

Joey Wilson, Yuewei Fu, Joshua Friesen, Parker Ewen, Andrew Capodieci, Paramsothy Jayakumar, Kira Barton, Maani Ghaffari

TL;DR

ConvBKI bridges the gap between reliable probabilistic mapping and fast deep learning by reframing the classical Bayesian update step as a differentiable 3D depthwise convolution layer. This architecture enables real-time (>10 Hz) 3D semantic mapping with explicit, quantifiable uncertainty while allowing the system to learn class-specific geometric shapes. The resulting network demonstrates superior resilience in challenging sim-to-real and off-road scenarios where purely implicit deep learning methods fail.

What Problem Does This Paper Address?

For autonomous robots navigating safety-critical or unstructured environments (like off-road driving), knowing what surrounds them is just as important as knowing where obstacles are. Furthermore, they need a reliable measure of certainty to avoid catastrophic mistakes—such as misidentifying a cliff or a hole as a flat road.

Currently, roboticists are caught between two paradigms:

  1. Classical Probabilistic Mapping: Methods like Bayesian Kernel Inference (BKI) track explicit probability distributions and offer excellent reliability, but they are computationally slow and rely on hand-tuned, isotropic (spherical) parameters.
  2. Implicit Deep Learning: End-to-end neural networks are incredibly fast and accurate on their training data, but they operate in hidden latent spaces. This means they cannot quantify uncertainty, struggle to generalize to new environments (the "sim-to-real" gap), and fail unpredictably when faced with unseen data.

ConvBKI tackles this polarization by embedding explicit Bayesian inference directly into a neural network layer, combining the speed of deep learning with the trustworthy uncertainty quantification of classical robotics.

Methods

The core innovation of ConvBKI (Convolutional Bayesian Kernel Inference) is the mathematical realization that the recursive spatial Bayesian update can be reframed as a standard 3D depthwise separable convolution operation.

Key components include:

  • Voxelized Dirichlet Distribution: The environment is discretized into a dense 3D grid of voxels. Each voxel stores the concentration parameters of a Dirichlet distribution (the conjugate prior to categorical and multinomial distributions). This allows the map to maintain explicit semantic probabilities and calculate variance (uncertainty) in closed form.
  • Learnable Compound Kernels: Instead of using a single, hand-tuned spherical kernel for every object type, ConvBKI learns a unique geometric kernel for each semantic category via gradient descent. By using a compound kernel (the product of independent horizontal and vertical sparse kernels), the network can learn that a "pole" extends vertically but not horizontally, while a "road" extends horizontally.
Fig. 3: Structural overview of ConvBKI. Input 3D points are labeled with semantic segmentation predictions by a semantic segmentation neural network, and are voxelized into a dense voxel grid (F) where each voxel contains the summation over the semantic segmentation predictions of all points within the voxel. A 3D depthwise separable convolution performs the Bayesian update in real-time, where the posterior semantic voxel grid is equal to the convolution of F plus the prior voxels from the last time-step.
  • Lossless Local Mapping: To prevent the exponential computational slowdown associated with querying a growing global map, the authors implement a sliding local window. The map shifts exactly by integer multiples of the voxel resolution, ensuring lossless propagation of the explicit probability distributions.
Fig. 4: Illustration of compound kernel motivation. ConvBKI learns a distri- bution to geometrically associate points with voxels. Whereas a point (red) labeled pole suggests a vertically adjacent voxel (blue) may also be a pole, it does not imply the same for a horizontally adjacent voxel. The image on the right demonstrates a slice of the learned weights for the class pole, which matches the expectations shown on the left.

Datasets

The authors evaluated ConvBKI across several distinct simulated and real-world datasets:

  • KITTI Odometry (Sequence 15): Used to benchmark against traditional probabilistic mapping baselines.
  • CarlaSC: A highly dynamic simulated dataset generated via the CARLA simulator, featuring 11 semantic categories and moving actors.
  • Semantic KITTI: A popular real-world autonomous driving dataset used to evaluate validation performance and sim-to-real transfer.
  • RELLIS-3D: A large-scale off-road LiDAR dataset used to train the network for unstructured environments.
  • New Real-World Off-Road Dataset: A challenging, unreleased dataset collected by the authors using a Polaris MRZR military test vehicle equipped with 64-channel LiDAR. It features complex off-road environments (like a paintball facility) with completely unseen semantic classes (e.g., buildings, tractors) to test the limits of the network's uncertainty estimation.

Key Insights and Ideas

  • Bayes as a Convolution: Structuring spatial Bayesian updates as a depthwise convolution unlocks massive GPU parallelization. This allows classical robotics algorithms to inherit the hardware acceleration advantages of modern deep learning.
  • Geometry is Class-Dependent: Traditional mapping assumes that spatial influence decays equally in all directions (spherical kernels). ConvBKI proves that allowing the network to learn anisotropic shapes (e.g., tall and skinny for poles, flat and wide for roads) significantly boosts mapping accuracy.
  • The Power of Modularity: Because ConvBKI operates on explicit semantic probabilities rather than latent features, it is completely modular. You can directly swap out or retrain the upstream semantic segmentation network without altering or retraining the mapping layer.

Key Results

  • Computational Speedup: ConvBKI's dense voxel update step runs at 44.3 Hz on an NVIDIA RTX 3090, representing a massive acceleration over standard Semantic BKI (which runs at 0.6 Hz without downsampling).
  • Mapping Accuracy: ConvBKI Compound achieved 77.7% mIoU on the KITTI Odometry benchmark, outperforming all probabilistic baselines.
  • Sim-to-Real Resilience: When transferring from simulated data (CarlaSC) to real data (Semantic KITTI), purely implicit networks like Semantic MapNet collapse to 4.6% mIoU if the upstream segmentation network is altered. ConvBKI handles this domain shift gracefully; when provided with a retrained segmentation network, its performance jumps to 46.6% mIoU without needing any retraining of the mapping layer itself.
  • Quantifiable Uncertainty: In real-world off-road testing, the variance map successfully flagged high uncertainty around unencountered objects (like a tractor) and sparse, noisy boundaries in dense foliage.
Fig. 1: Example output of our method (ConvBKI) on Semantic KITTI sequence 0 [2]. ConvBKI recurrently updates and maintains a semantic map with uncertainty in real-time by reframing the Bayesian update step as a depth- wise separable convolution operation. Voxels encode the expected semantic category and variance as concentration parameters of the Dirichlet distribution, which is the conjugate prior of the categorical distribution and multinomial distribution. The input to the network is a 3D point cloud from a stereo- camera or LiDAR sensor. The points are labeled with semantic classification probabilities by a semantic segmentation network which provides per-point predictions. ConvBKI updates the semantic belief of each voxel by spatially weighting the input semantic point clouds through a unique geometric kernel learned for each semantic category. Fig. 1a shows the maximum likelihood semantic prediction per voxel, while Fig. 1b shows the variance per voxel calculated with Eq. (10). Variance is linearly translated to RGB colors, where blue indicates voxels with a low variance and red indicates a high variance.

Limitations and Future Work

Despite its real-time performance and strong generalization, ConvBKI has a few notable limitations:

  • Dynamic Objects: The current formulation treats all points equally, meaning moving objects (like pedestrians or passing cars) leave "traces" or blurred streaks behind them in the static map.
  • No Rotation Modeling: The learned kernels can scale along the X, Y, and Z axes, but they cannot rotate. This limits their expressiveness in sloped or highly irregular terrains.
  • Sensor Fusion: Optimally fusing dense, detailed camera imagery with sparse, geometrically accurate LiDAR data within this explicit BKI framework remains an open question for future research.

Summary updated

BibTeX
@article{wilson2025convbki,
  author = {Joey Wilson and Yuewei Fu and Joshua Friesen and Parker Ewen and Andrew Capodieci and Paramsothy Jayakumar and Kira Barton and Maani Ghaffari},
  title = {{ConvBKI: Real-Time Probabilistic Semantic Mapping Network with Quantifiable Uncertainty}},
  journal = {IEEE Transactions on Robotics},
  year = {2025},
  url = {https://openreview.net/forum?id=ZtrbAWm2YD},
}
Figure