Abstract
For navigation of robots, image segmentation is an important component to determining a terrain's traversability. For safe and efficient navigation, it is key to assess the uncertainty of the predicted segments. Current uncertainty estimation methods are limited to a specific choice of model architecture, are costly in terms of training time, require large memory for inference (ensembles), or involve complex model architectures (energy-based, hyperbolic, masking). In this paper, we propose a simple, light-weight module that can be connected to any pretrained image segmentation model, regardless of its architecture, with marginal additional computation cost because it reuses the model's backbone. Our module is based on maximum separation of the segmentation classes by respective prototype vectors. This optimizes the probability that out-of-distribution segments are projected in between the prototype vectors. The uncertainty value in the classification label is obtained from the distance to the nearest prototype. We demonstrate the effectiveness of our module for terrain segmentation.
Introduction
For an autonomous robot navigating off-road, a mistake in perception isn't just a software bug; it’s a potential mechanical failure. While semantic segmentation—labeling every pixel as "grass," "dirt," or "tree"—is a standard tool, most models are overconfident. They often attempt to force a known label onto unfamiliar objects, such as a patch of fire or dense fog, which can lead to dangerous navigation decisions.
To navigate safely, robots require robust Uncertainty Quantification (UQ). They need to know when they are "unsure" to slow down or replan. However, existing UQ methods are often too computationally expensive for the limited hardware found on mobile robots. Techniques like ensembles or Monte Carlo Dropout require multiple passes through the network, causing high latency. This research addresses the need for a fast, lightweight, and architecture-agnostic way to measure uncertainty in real-time.
Methods: Simplex Semantic Segmentation
The proposed module, called Simplex Semantic Segmentation, replaces the traditional classification head with a prototype-based approach.
The Geometric Safety Net
- Maximally Separated Prototypes: Each terrain class is represented by a "prototype vector." These vectors are mathematically forced to be as far apart as possible on a high-dimensional hypersphere (a simplex).
- Distance as Uncertainty: During training, the model learns to project pixel features toward these prototypes. Because the prototypes are maximally separated, "unknown" or out-of-distribution (OOD) pixels naturally fall into the "void" space between them. At inference time, uncertainty is calculated based on the distance between a pixel’s feature vector and the nearest prototype.
- Efficiency: This module is architecture-agnostic and reuses the existing "backbone" of a pretrained model (like DeepLabV3+). It adds negligible overhead—only 1,285 weights to a model with 11.9 million parameters (0.01%). Crucially, it requires only one pass through the network, making it ideal for real-time embedded systems.
Key Results
The researchers trained the model on the Rellis3D dataset (6,235 images of complex off-road environments) and tested its ability to detect anomalies using datasets like MS-COCO, KITTI, and a custom "Fog and Fire" set.
Performance Metrics
- OOD Detection: On the "Fog and Fire" dataset, the Simplex method achieved an AUC of 0.881, compared to 0.478 for standard softmax-based methods. This indicates a significantly higher reliability in flagging hazards as "uncertain."
- Segmentation Accuracy: The module improved performance over the baseline. On Rellis3D, it achieved a Mean IoU of 75.3%, outperforming the standard DeepLabV3+ (62.3%).
Qualitative Comparison
Visual results demonstrate that the Simplex method produces cleaner, higher-contrast uncertainty maps. While standard methods often produce scattered uncertainty, this approach clearly highlights unknown objects and boundaries.
Conclusion and Future Work
By maximizing the distance between known classes, the Simplex module creates a reliable "safety net" for robotic perception. While the current results are promising, future work will focus on calibration—ensuring uncertainty scores correspond to specific mathematical probabilities—and physical deployment on robots to observe how this data influences real-world path-planning behavior.
Summary updated