NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evaluating Medical Image Segmentation Models Using Augmentation

M. El Sayed, Sari Saba-Sadiya, Benedikt Wichtlhuber, Julia Dietz, Matthias Neitzel, L.m. Keller, Gemma Roig, Andreas BucherTomography 2024

TL;DR

This paper introduces a novel framework for evaluating medical image segmentation models without requiring manual ground truth annotations. By leveraging data augmentation, the authors demonstrate that the consistency of segmentation masks across augmented and original images can serve as a reliable proxy for model accuracy, paving the way for more efficient and scalable validation of AI in medical imaging.

What Problem Does This Paper Address?

Automated medical image segmentation (AMIS) models, like TotalSegmentator, are increasingly used in clinical and research settings to identify anatomical structures. However, a significant bottleneck exists in validating the accuracy of these models. Traditional validation requires manual "ground truth" segmentation by medical professionals, which is time-consuming, expensive, and difficult to scale, especially for large datasets or complex anatomical structures. Existing methods often rely on limited validation sets or synthetic data, which may not fully capture real-world variability. This paper addresses the critical need for a robust, efficient, and scalable method to evaluate AMIS model performance without the burden of extensive manual annotation.

Methods

The core of this paper's contribution is a novel validation pipeline that utilizes data augmentation. Here's how it works:

  • Augmentation: For each original CT scan (ground truth CT, GTCT) and its corresponding segmentation mask (ground truth segmentation mask, GTSM), the researchers generate 10 augmented versions. These augmentations include random rotations and elastic deformations, applied identically to both the CT image and its mask.
  • Segmentation: The TotalSegmentator model is then used to segment both the original GTCT and all 10 augmented CT scans (ACTs). This results in a set of segmentation masks for the original scan (TS-GTCT SM) and for each augmented scan (TS-ACT SMs).
  • Inverse Augmentation: The augmented segmentation masks (TS-ACT SMs) are transformed back to the original image space using inverse augmentations. These are referred to as inverted segmentation masks (ISMs).
  • Uncertainty Calculation: The key innovation lies in calculating an "uncertainty heatmap" for each voxel. This is done by comparing the segmentation labels assigned by the TotalSegmentator to the 10 inverted segmentation masks (ISMs) for that voxel. The "agreement fraction" is calculated based on how many of the ISMs agree on a particular label. High agreement leads to low uncertainty, while low agreement (many different labels assigned) leads to high uncertainty.
  • Statistical Analysis: Various metrics are employed to quantify performance and consistency, including:
  • DICE Score: Measures the overlap between segmentation masks.
  • Average Symmetric Surface Distance (ASSD): Quantifies the spatial discrepancy between mask boundaries.
  • Coefficient of Variance (CV): Assesses the consistency of segmentation performance across different regions or scans.
  • Uncertainty: The calculated heatmap value for each voxel.
  • Augmentation Loss: Measures how much the segmentation quality degrades after augmentation and inversion.
  • Error Rates: Quantifies Type 1 (false positives) and Type 2 (false negatives) errors.

The novelty lies in using the consistency of segmentation across augmented versions as a proxy for accuracy, rather than directly comparing to a manual ground truth for every evaluation.

Datasets

The study utilized 101 anonymized CT scans (GTCT) and their corresponding ground truth segmentation masks (GTSM) from the publicly available TotalSegmentator dataset [17]. This dataset is described as being suitable for the TotalSegmentator's input requirements. No new benchmarks were introduced; rather, the existing dataset was used to validate the proposed framework.

Key Insights and Ideas

  • Augmentation as a Proxy for Accuracy: The most significant insight is that the agreement between segmentation masks generated from augmented images and the original ground truth is a strong indicator of the model's overall accuracy. This suggests that if a model is robust to augmentations, it's likely performing well.
  • Uncertainty Heatmaps as Diagnostic Tools: The generated uncertainty heatmaps can pinpoint areas where the segmentation model is less confident. This is crucial for identifying potential failure modes or challenging regions that might require manual review.
  • Left/Right Kidney Cysts as "Corner Cases": These specific anatomical structures consistently showed high ASSD, high CV, low DICE scores, and high error rates, suggesting they are particularly challenging for the TotalSegmentator and could serve as valuable benchmarks for future evaluation methods.
  • ROI Frequency Matters: Regions that appear more frequently in the training data (higher ROI frequency) tend to have better segmentation accuracy (higher DICE scores) and lower variability (lower CV). This highlights the importance of balanced datasets.
  • Resolution Impacts Uncertainty: Higher-resolution CT scans lead to more stable uncertainty estimates, implying that image quality directly affects model confidence.
  • Artificial Augmentation vs. Real-World Variance: The study suggests that artificial augmentations might not fully replicate the variance found in real-world data, underscoring the need for careful consideration of augmentation strategies in model training and evaluation.

Key Results

  • Strong Correlation: A strong positive correlation (r = 0.85 for ROI-wise, r = 0.71 for filewise) was found between the DICE scores of the ground truth vs. TotalSegmentator segmentation (GTSM-TS-GTCT SM) and the DICE scores between the TotalSegmentator segmentation and its inverted augmented versions (TS-GTCT SM-ISM).
  • High Agreement: The average DICE score between the ground truth and TotalSegmentator segmentation was 0.90, and between the TotalSegmentator segmentation and its inverted augmented version was 0.92.
  • Low Uncertainty: The average ROI-wise uncertainty was low at 0.05, with a standard deviation of 0.02.
  • Low Augmentation Loss: The average ROI-wise loss due to augmentation was also low at 0.03.
  • Low Error Rate: Overall misclassification error rate was 1.56% for original scans and 0.61% for augmented scans.
  • Challenging ROIs: Left and right kidney cysts consistently showed the worst performance across multiple metrics (low DICE, high ASSD, high CV).

Limitations and Future Work

  • Dataset Bias: The study used the same dataset that the TotalSegmentator was trained on for evaluation. This might have inflated performance results, as the model was familiar with the data's characteristics.
  • Model Specificity: The pipeline was tested only on the TotalSegmentator. Future work should evaluate its model-agnostic nature by applying it to other segmentation tools.
  • Sample Size: The dataset of 101 CT scans, while sufficient for initial validation, is relatively small. A larger, independent dataset would enable more robust statistical analysis and better capture of anatomical variations.
  • Future Work:
    • Investigate regions of high uncertainty identified by the heatmaps, potentially involving human readers to understand the underlying causes (e.g., pathology, variability, artifacts).
  • Explore the impact of different augmentation strategies and their realism compared to real-world data variance.
  • Expand the evaluation to a broader range of segmentation models and datasets to establish the framework's generalizability.
  • Develop more sophisticated methods for combining uncertainty information to provide a comprehensive performance score.

Summary updated

BibTeX
@inproceedings{sayed2024evaluating,
  author = {M. El Sayed and Sari Saba-Sadiya and Benedikt Wichtlhuber and Julia Dietz and Matthias Neitzel and L.M. Keller and Gemma Roig and Andreas Bucher},
  title = {{Evaluating Medical Image Segmentation Models Using Augmentation}},
  booktitle = {Tomography},
  year = {2024},
  doi = {10.3390/tomography10120150},
}
Figure