Measuring What Matters: A Causal Reliance Score for Histopathology Image Segmentation

Samuel Thomas, Daniel Tweneboah Anyimadu, Ahmed Karam Eldaly, Somaia Elsheikh, Mohammed M. AbdelsameaarXiv 2026

TL;DR

Standard metrics like Dice and IoU tell us what a model predicted, but they fail to explain why. This paper introduces the Causal Reliance Score (CRS), a novel metric that uses controlled "counterfactual" interventions to audit whether a segmentation model is actually looking at pathology-relevant tissue or just taking shortcuts by relying on spurious background correlations.

What Problem Does This Paper Address?

In medical imaging, and histopathology specifically, deep learning models are notorious for "shortcut learning." Because datasets are often small and vary wildly in staining protocols or acquisition techniques, models frequently overfit to spurious correlations—like the specific shade of purple in a slide's background—rather than learning the actual morphology of cells or tissues.

The core issue is that our standard evaluation tools are blind to this behavior. A model might achieve a high Dice score on a test set simply because the test set shares the same background artifacts as the training set. When deployed in a different hospital with different equipment, the model fails. The authors argue that we need to move beyond predictive accuracy and start auditing the causal factors driving model decisions.

Methods

The authors propose a causality-inspired framework that treats the image ($X$) as a product of two factors: Foreground Tissue ($F$) and Background Context ($B$). They use a Directed Acyclic Graph (DAG) to represent this relationship: $F, B \to X \to Y$ (where $Y$ is the prediction).

Fig. 1: Conceptual abstraction and intervention protocol. Foreground tissue structure (F) and background context (B) jointly shape the observed image (X), which is mapped to the segmentation prediction (Y ), i.e., F, B →X and X →Y . Panel (1a) shows the observational setting, whereas Panels (1b) and (1c) illustrate controlled perturbations of background and foreground structure. Resulting changes in prediction are used as an empirical probe of model sensi- tivity to pathology-relevant tissue structure and background/domain variation.

To probe model behavior, they perform two types of "interventions":

  1. $do(B)$ (Background Normalization): They adjust the background appearance while keeping the tissue morphology intact. This measures how much the model relies on "nuisance" domain factors.
  2. $do(F)$ (Foreground Perturbation): They apply local blurring to the actual tissue regions. A robust model should be highly sensitive to this; if the prediction doesn't change when the tissue is blurred, the model wasn't looking at the tissue in the first place.

These interventions culminate in the Causal Reliance Score (CRS), a ratio that quantifies relative sensitivity to foreground vs. background changes.

To test this, they developed CAUSE-ViT, a multi-scale Vision Transformer. They compared three training strategies: standard supervised learning, contrastive self-supervised learning (SSL), and generative SSL (based on Masked Autoencoders).

Fig. 2: High-level design overview of CAUSE-ViT.

Datasets

  • SNOW (Synthetic Nuclei and annotation Wizard): A large-scale synthetic breast histology dataset used for in-distribution (InD) training and validation.
  • CryoNuSeg: A real-world dataset of frozen-section H&E images used for out-of-distribution (OOD) evaluation. This dataset provides a "stress test" for generalizability due to its realistic domain shifts and artifacts.

Key Insights and Ideas

  • Architecture isn't a silver bullet: Improving a model's layers doesn't automatically make it "smarter" about pathology. A more complex architecture can just as easily become a more complex shortcut-learner.
  • Generative SSL is more robust: The authors found that generative pretraining (masking parts of the image and forcing the model to reconstruct them) encourages the model to learn intrinsic structural patterns. This makes it less likely to rely on superficial background cues compared to supervised or contrastive methods.
  • Metrics can be deceptive: Two models can have nearly identical Dice scores but vastly different CRS values. One might be a "lucky" model relying on background, while the other is a "robust" model relying on tissue structure.

Key Results

The quantitative results highlight the gap between accuracy and reliability:

  • In-Distribution: On the SNOW dataset, all CAUSE-ViT variants performed well, with the Generative SSL version leading slightly (Dice: 0.8752 vs. Supervised: 0.8661).
  • Out-of-Distribution (Raw): When tested on the real-world CryoNuSeg dataset without any adjustments, performance plummeted for all models (Dice scores near 0.02 for supervised/contrastive), proving they were heavily reliant on the synthetic training background.
  • Interventional Audit: After background normalization, the Generative SSL model achieved the best recovery (Dice: 0.9370) and the lowest CRS (0.0026). A lower CRS indicates that the model's performance is more stable and less influenced by the "noise" of background variation relative to the "signal" of foreground tissue.
Fig. 3: High-level design overview of SSL wrapper models.

Limitations and Future Work

The authors acknowledge that their "interventions" (like Gaussian blurring) are approximations of true causal manipulations. In a perfect world, one would intervene on the physical staining process itself, which isn't possible post-hoc.

Additionally, the CRS is a relative metric; its value depends entirely on the specific perturbations chosen by the researcher. Future work aims to explore more principled causal formulations and extend this auditing framework to other medical imaging modalities like MRI and CT scans.

Summary updated

Abstract

Reliable histopathology segmentation requires models that rely on pathology-relevant structures rather than spurious background correlations. In this work, we argue that improving architectures alone is insufficient if models continue to rely on spurious correlations rather than pathology-relevant features. We introduce a causality-inspired evaluation framework based on controlled interventions that explicitly probes model sensitivity to foreground tissue structure and background/domain variation. Building on this, we propose the Causal Reliance Score (CRS), a metric that quantifies the relative sensitivity of model predictions to foreground perturbation versus background/domain variation under controlled interventions. To support this analysis, we design augmentation strategies that act as implicit counterfactual interventions during training, encouraging invariance to nuisance factors while preserving morphology. We demonstrate how these interventions reveal behavioural differences between models that are not captured by standard metrics such as Dice or IoU. While we instantiate our framework using a self-supervised transformer (CAUSE-ViT), the primary contribution of this work is not a new architecture, but a principled intervention-based methodology and evaluation metric for auditing model behaviour in medical image segmentation. Our results suggest that evaluating model behaviour through counterfactual interventions is essential for developing reliable and clinically robust medical image segmentation systems.
BibTeX
@misc{thomas2026measuring,
  author = {Samuel Thomas and Daniel Tweneboah Anyimadu and Ahmed Karam Eldaly and Somaia Elsheikh and Mohammed M. Abdelsamea},
  title = {{Measuring What Matters: A Causal Reliance Score for Histopathology Image Segmentation}},
  year = {2026},
  eprint = {2610.41763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.41763},
}
Figure