Abstract
In this paper, we develop a modular neural network for real-time (> 10 Hz) semantic mapping in uncertain environments, which explicitly updates per-voxel probabilistic distributions within a neural network layer. Our approach combines the reliability of classical probabilistic algorithms with the performance and efficiency of modern neural networks. Although robotic perception is often divided between modern differentiable methods and classical explicit methods, a union of both is necessary for real-time and trustworthy performance. We introduce a novel Convolutional Bayesian Kernel Inference (ConvBKI) layer which incorporates semantic segmentation predictions online into a 3D map through a depthwise convolution layer by leveraging conjugate priors. We compare ConvBKI against state-of-the-art deep learning approaches and probabilistic algorithms for mapping to evaluate reliability and performance. We also create a Robot Operating System (ROS) package of ConvBKI and test it on real-world perceptually challenging off-road driving data.
Introduction
Robotic mapping has historically been divided into two distinct paradigms: classical probabilistic methods and modern deep learning. Classical methods, such as Bayesian Kernel Inference (BKI), offer explicit uncertainty quantification—a critical requirement for safety in autonomous systems. However, these methods are often computationally intensive and rely on manually tuned parameters. Conversely, modern deep learning models provide high speed and accuracy but often function as "black boxes" that struggle with generalization (the sim-to-real gap) and lack reliable uncertainty measures.
ConvBKI bridges this gap by reframing the classical Bayesian mapping update as a differentiable depthwise convolution. This allows the system to maintain the mathematical rigor of probabilistic mapping while leveraging the optimization and speed of neural networks.
The ConvBKI Framework
The core innovation of this work is the Convolutional Bayesian Kernel Inference (ConvBKI) layer. The authors identified that the mathematical update step for a semantic map—where nearby points influence a voxel's label—is functionally equivalent to a 3D depthwise separable convolution.
By implementing mapping as a convolution, the "kernels" that determine spatial influence become trainable parameters. Furthermore, ConvBKI maintains concentration parameters of a Dirichlet distribution for every voxel. This enables the calculation of variance, providing a direct, quantifiable measure of uncertainty. To ensure real-time performance, the system utilizes a local sliding window approach, keeping the computational footprint constant as the robot moves.
Learned Geometric Priors
A significant advantage of ConvBKI over standard BKI is the ability to learn class-specific geometric kernels. While traditional methods might use a uniform spherical kernel for all objects, ConvBKI learns "Compound Kernels" optimized for specific shapes.
For example, the network learns that a point labeled as a "pole" should primarily influence voxels vertically aligned with it, rather than those to the side. This learned geometry improves mapping accuracy and helps filter out transient noise from the underlying semantic segmentation models.
Experimental Evaluation and Results
The system was evaluated using diverse datasets, including Semantic KITTI (urban), CarlaSC (simulated), RELLIS-3D (off-road), and a custom dataset collected via a Polaris MRZR in perceptually degraded environments.
Key results include:
- Efficiency: ConvBKI achieved an update frequency of 44.3 Hz, significantly outperforming non-optimized probabilistic methods (0.6 Hz).
- Accuracy: On the KITTI dataset, optimizing kernels improved Mean Intersection over Union (mIoU) from 76.5% to 77.7%.
- Robustness: In sim-to-real transitions, ConvBKI demonstrated superior generalization. While competing implicit memory networks saw performance drops of nearly 90% when sensor inputs changed, ConvBKI maintained high mIoU (46.6%) due to its grounding in explicit geometry.
- Uncertainty Quantification: The system successfully identifies novel or ambiguous objects (e.g., a tractor) by highlighting them in the variance map, signaling the need for cautious navigation.
Conclusion
ConvBKI represents a significant step toward trustworthy robotic perception by unifying probabilistic reliability with deep learning efficiency. By treating mapping as a differentiable operation, it enables real-time performance and robust generalization across varied environments. Future work will focus on handling dynamic objects and improving sensor fusion within the BKI framework. The authors have released the implementation as an open-source ROS package to support the broader robotics community.
Summary updated