Abstract
Semantic segmentation aims to robustly predict coherent class labels for entire regions of an image. It is a scene understanding task that powers real-world applications (e.g., autonomous navigation). One important application, the use of imagery for automated semantic understanding of pedestrian environments, provides remote mapping of accessibility features in street environments. This application (and others like it) require detailed geometric information of geographical objects. Semantic segmentation is a prerequisite for this task since it maps contiguous regions of the same class as single entities. Importantly, semantic segmentation uses like ours are not pixel-wise outcomes; however, most of their quantitative evaluation metrics (e.g., mean Intersection Over Union) are based on pixel-wise similarities to a ground-truth, which fails to emphasize over- and under-segmentation properties of a segmentation model. Here, we introduce a new metric to assess region-based over- and under-segmentation. We analyze and compare it to other metrics, demonstrating that the use of our metric lends greater explainability to semantic segmentation model performance in real-world applications.
Introduction
In the domain of semantic segmentation, the Mean Intersection over Union (mIoU) has long been the standard metric for performance evaluation. While mIoU effectively measures pixel-wise overlap between predictions and ground truth, it is often a "blunt instrument" for applications requiring structural coherence, such as autonomous navigation or accessibility mapping.
For instance, a model might achieve a high mIoU while predicting a single continuous sidewalk as several disconnected segments. For a navigation algorithm, this over-segmentation error suggests a broken path where none exists. Conversely, under-segmentation—merging a pedestrian and a nearby pole into a single blob—poses significant safety risks. Current metrics fail to distinguish these topological failures from simple boundary noise. We argue that evaluation must move beyond pixel counting to assess region-wise fidelity: the "connectedness" and "separateness" of objects that allow for safe decision-making.
Proposed Metrics: ROM and RUM
To address these limitations, we introduce a framework to quantify structural errors through two primary metrics designed to capture region-wise failures:
- ROM (Region-wise Over-segmentation Measure): This metric identifies instances where a single ground-truth object is fragmented into multiple predicted regions. It calculates a ratio of over-segmented regions and applies an aggregate penalty based on the number of additional "pieces" generated.
- RUM (Region-wise Under-segmentation Measure): This captures the opposite failure—when multiple distinct ground-truth objects (e.g., two people standing close together) are merged into a single predicted region.
A key innovation in these metrics is the use of a tanh-scaled penalty system. This ensures the metrics remain bounded between 0 and 1 while remaining highly sensitive to error severity—for example, penalizing the fragmentation of an object into ten pieces much more heavily than a split into two. Additionally, we propose a Region-wise Confidence Measure, which evaluates the reliability of a predicted region based on the average confidence of its constituent pixels, rather than treating pixels as independent data points.
Experimental Analysis
The proposed metrics were validated across three benchmark datasets: PASCAL VOC 2012, Cityscapes, and ADE20K. We evaluated a spectrum of architectures, from heavyweight models like DeepLabv3 and PSPNet to efficient, lightweight models like ESPNetv2 and MobileNetv2.
Key Insights
- mIoU vs. Topology: Our results demonstrate that mIoU is often blind to topology. Synthetic tests showed that IoU can remain stable even as the number of over-segmented fragments increases significantly.
- Diagnostic Model Selection: ROM and RUM serve as diagnostic tools. When comparing the heavyweight DRN model to the lightweight ESPNetv2 on Cityscapes, both showed similar ROM scores. However, ESPNetv2 exhibited a significantly higher RUM score (by 5 points), revealing that its primary weakness is the merging of distinct objects rather than random noise.
- Error Characterization: On ADE20K, the performance gap for MobileNetv2 was found to be driven primarily by over-segmentation—the model tended to "shatter" complex objects into numerous small fragments.
Discussion and Future Work
While ROM and RUM provide critical structural insights, they are intended to supplement, not replace, mIoU. They do not account for "gross errors" where a model correctly predicts a single region but assigns an incorrect class label. Therefore, these metrics should be used in conjunction with standard accuracy measures to provide a holistic view of model performance.
The most promising future direction involves integrating these metrics into the training phase. By developing differentiable versions of ROM and RUM to serve as loss functions, neural networks could be trained specifically to preserve the connectivity and separation of real-world objects, leading to more robust scene understanding for safety-critical applications.
Summary updated