Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Machine Learning Model Evaluation in Pathology

Syed Ashar Javed, Dinkar Juyal|arXiv (Cornell University)|Apr 11, 2022
AI in cancer detectionComputer Science6 citations
TL;DR

This paper proposes a comprehensive, pathology-specific framework for evaluating machine learning models, addressing challenges like large image size, label variability, confounding factors, and domain shift. It introduces guidelines for test set design, confounder-aware evaluation, and robustness testing—including reproducibility, repeatability, and perturbation analyses—to ensure clinical reliability beyond standard metrics.

ABSTRACT

Machine Learning has been applied to pathology images in research and clinical practice with promising outcomes. However, standard ML models often lack the rigorous evaluation required for clinical decisions. Machine learning techniques for natural images are ill-equipped to deal with pathology images that are significantly large and noisy, require expensive labeling, are hard to interpret, and are susceptible to spurious correlations. We propose a set of practical guidelines for ML evaluation in pathology that address the above concerns. The paper includes measures for setting up the evaluation framework, effectively dealing with variability in labels, and a recommended suite of tests to address issues related to domain shift, robustness, and confounding variables. We hope that the proposed framework will bridge the gap between ML researchers and domain experts, leading to wider adoption of ML techniques in pathology and improving patient outcomes.

Motivation & Objective

  • Address the gap in ML evaluation standards for pathology, where standard metrics fail due to image complexity and clinical impact.
  • Mitigate risks from spurious correlations, confounders, and dataset biases that undermine model generalization in real-world settings.
  • Improve collaboration between ML researchers and pathology experts by aligning evaluation with clinical use cases.
  • Develop a practical evaluation framework that ensures model reliability, interpretability, and safety before clinical deployment.

Proposed method

  • Align evaluation setup with intended clinical use—e.g., using Precision@K%Recall for triage tools instead of accuracy.
  • Create enriched, confounder-aware test sets by incorporating biological, imaging, and clinical metadata to detect hidden stratification.
  • Implement reproducibility and repeatability tests to assess consistency under known and unknown variations (e.g., staining, scanning, GPU non-determinism).
  • Apply synthetic perturbations (e.g., stain shifts, noise, cropping) to evaluate model robustness to real-world image variations.
  • Conduct negative control tests by training on non-discriminative regions (e.g., background or non-cancerous tissue) to detect spurious correlations.
  • Integrate sensitivity and out-of-domain testing to evaluate model behavior under distributional shifts and edge cases.

Experimental results

Research questions

  • RQ1How can ML evaluation in pathology be restructured to reflect real-world clinical deployment needs beyond standard metrics?
  • RQ2What role do confounders—such as staining protocols or tissue subtypes—play in creating spurious correlations, and how can they be detected?
  • RQ3To what extent do standard evaluation practices fail to capture model robustness under image-level variations like staining or scanning differences?
  • RQ4How can negative control experiments help identify hidden biases and spurious features in pathology ML models?
  • RQ5What evaluation framework ensures model reliability across diverse patient subgroups and clinical contexts?

Key findings

  • Standard metrics like accuracy or AUROC are insufficient for clinical deployment and can mask poor performance in low-prevalence subgroups.
  • Test sets enriched with metadata (e.g., age, scanner type, staining protocol) reveal hidden stratification and improve detection of model failure in underrepresented populations.
  • Models trained on non-diagnostic regions (e.g., background or non-tumor tissue) should perform poorly; failure in such negative controls indicates spurious learning.
  • Reproducibility and repeatability tests expose inconsistencies due to hardware, software, or patch sampling stochasticity, highlighting instability in predictions.
  • Robustness to synthetic perturbations correlates with real-world robustness, making it a viable proxy for evaluating generalization under image variations.
  • Confounding factors such as KRAS mutation in pancreatic ductal adenocarcinoma can be spuriously predicted from image features, leading to misleading model performance if not tested.

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.