SemSegBench & DetecBench: Benchmarking Reliability and Generalization Beyond Classification
Shashank Agnihotri, David Schader, Jonas Jakubassa, Nico Sharei, Simon Kral, Mehmet Ege Kaçar, Ruben Weber, Margret Keuper
TL;DR
The paper tackles reliability and generalization for semantic segmentation and object detection under distribution shifts and adversarial perturbations, extending robustness benchmarks beyond classification. It introduces SemSegBench and DetecBench, unified benchmarking tools built on mmsegmentation and mmdetection, and reports the largest-scale analysis to date across 76 segmentation models over 4 datasets and 61 detectors over 2 datasets, under adversarial attacks and common corruptions. Two scalable metrics, the Reliability Measure ($\mathrm{ReM}$) and Generalization Ability Measure ($\mathrm{GAM}$), quantify worst-case performance and generalization, revealing that architectural design and backbone type strongly influence robustness, while gains in in-domain accuracy do not guarantee improved reliability or OOD generalization. The work provides open-source benchmarks to enable rapid, standardized analysis and guides the design of more robust semantic segmentation and object detection models for real-world safety-critical applications.
Abstract
Reliability and generalization in deep learning are predominantly studied in the context of image classification. Yet, real-world applications in safety-critical domains involve a broader set of semantic tasks, such as semantic segmentation and object detection, which come with a diverse set of dedicated model architectures. To facilitate research towards robust model design in segmentation and detection, our primary objective is to provide benchmarking tools regarding robustness to distribution shifts and adversarial manipulations. We propose the benchmarking tools SEMSEGBENCH and DETECBENCH, along with the most extensive evaluation to date on the reliability and generalization of semantic segmentation and object detection models. In particular, we benchmark 76 segmentation models across four datasets and 61 object detectors across two datasets, evaluating their performance under diverse adversarial attacks and common corruptions. Our findings reveal systematic weaknesses in state-of-the-art models and uncover key trends based on architecture, backbone, and model capacity. SEMSEGBENCH and DETECBENCH are open-sourced in our GitHub repository (https://github.com/shashankskagnihotri/benchmarking_reliability_generalization) along with our complete set of total 6139 evaluations. We anticipate the collected data to foster and encourage future research towards improved model reliability beyond classification.
