Revisiting Evaluation Metrics for Semantic Segmentation: Optimization and Evaluation of Fine-grained Intersection over Union

Zifu Wang, Maxim Berman, A. Triki, Philip H. S. Torr, D. Tuia +4 more
10/1/2023
33 citations

Official code: zifuwanggg/JDTLosses (56 stars, Python, last commit 2024-07-03).

Abstract

Semantic segmentation datasets often exhibit two types of imbalance: \textit{class imbalance}, where some classes appear more frequently than others and \textit{size imbalance}, where some objects occupy more pixels than others. This causes traditional evaluation metrics to be biased towards \textit{majority classes} (e.g. overall pixel-wise accuracy) and \textit{large objects} (e.g. mean pixel-wise accuracy and per-dataset mean intersection over union).

Show full abstract

To address these shortcomings, we propose the use of fine-grained mIoUs along with corresponding worst-case metrics, thereby offering a more holistic evaluation of segmentation techniques. These fine-grained metrics offer less bias towards large objects, richer statistical information, and valuable insights into model and dataset auditing. Furthermore, we undertake an extensive benchmark study, where we train and evaluate 15 modern neural networks with the proposed metrics on 12 diverse natural and aerial segmentation datasets. Our benchmark study highlights the necessity of not basing evaluations on a single metric and confirms that fine-grained mIoUs reduce the bias towards large objects. Moreover, we identify the crucial role played by architecture designs and loss functions, which lead to best practices in optimizing fine-grained metrics. The code is available at \href{https://github.com/zifuwanggg/JDTLosses}{https://github.com/zifuwanggg/JDTLosses}.

View on arXivView PDF

Code Implementations(1)

[NeurIPS & MICCAI 2023] Optimization with JDTLoss and Evaluation with Fine-grained Metrics for Semantic Segmentation

564PythonFeb 13, 20232 years ago

Similar Papers

Cite this paper

@article{wang2023revisiting,
  title  = {Revisiting Evaluation Metrics for Semantic Segmentation: Optimization and Evaluation of Fine-grained Intersection over Union},
  author = {Zifu Wang and Maxim Berman and A. Triki and Philip H. S. Torr and D. Tuia and T. Tuytelaars and L. Gool and Jiaqian Yu and Matthew B. Blaschko},
  year   = {2023},
  eprint = {2310.19252},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.19252},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.19252.svg)](https://codeofpaper.com/paper/2310.19252)

Discussion