Skip to main content
QUICK REVIEW

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

Zifu Wang, Maxim Berman|arXiv (Cornell University)|Oct 30, 2023
Advanced Neural Network ApplicationsComputer Science9 citations
TL;DR

The paper introduces fine-grained mean IoU variants (image-, class-, and instance-level) and worst-case metrics to reduce size/label biases in semantic segmentation, and provides a large-scale benchmark analyzing 15 models across 12 datasets.

ABSTRACT

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

Motivation & Objective

  • Address biases in traditional per-dataset IoU by proposing fine-grained mIoU metrics (I, C, K) and corresponding worst-case variants.
  • Show that fine-grained metrics reduce bias toward large objects and provide richer statistical insights for model and dataset auditing.
  • Promote reporting of fine-grained metrics alongside mIoU^D to enable more robust method comparison, especially for safety-critical applications.

Proposed method

  • Define per-image and per-class IoU variants (mIoU^I and mIoU^C) and a per-instance variant (mIoU^K) to reduce size and class bias.
  • Approximate instance-level false positives by distributing image-level FP proportional to instance size in the mIoU^K formulation.
  • Propose worst-case metrics mIoU^{C^q} and its aggregations (mIoU^{C^{ar q}}, mIoU^{C^5}, mIoU^{C^1}) to capture hard cases.
  • Benchmark 15 networks on 12 datasets, training from scratch to compare architectures and loss functions under the new metrics.
  • Investigate how architecture choices and loss functions align with optimizing fine-grained metrics (e.g., Jaccard loss variants).
  • Offer best-practice guidance on aggregating multi-scale features and aligning losses with fine-grained evaluation metrics.

Experimental results

Research questions

  • RQ1Do fine-grained IoU metrics (I, C, K) provide less bias toward large objects compared to per-dataset mIoU?
  • RQ2How do worst-case metrics (mIoU^{C^q}) reveal reliability and robustness of segmentation models on challenging images or instances?
  • RQ3What architectural designs and loss functions most effectively optimize fine-grained metrics?
  • RQ4Can mIoU^C serve as a practical proxy for instance-level evaluation when instance labels are unavailable?
  • RQ5What insights emerge from large-scale benchmarks when using fine-grained metrics across diverse datasets?

Key findings

  • Fine-grained mIoUs (I, C, K) reduce bias toward large objects and deliver richer statistical information than traditional mIoU^D.
  • mIoU^C closely tracks instance-level performance and can proxy instance-level metrics when instance labels are missing.
  • Worst-case metrics (mIoU^{C^q}) reveal substantially lower performance for many models, highlighting hard cases not captured by mean metrics.
  • Architectures with multi-scale feature aggregation and losses aligned to Jaccard-type objectives improve fine-grained metrics more than CE alone.
  • The benchmark shows no single model dominates across all metrics and datasets, underscoring the need for comprehensive evaluation using multiple metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.