arXiv:2610.41763cs.CVOct 2026

Manuscript Offprint

arXiv:2610.41763

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

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

Samuel Thomas¹, Daniel Tweneboah Anyimadu¹, Ahmed Karam Eldaly¹, Somaia Elsheikh², and Mohammed M. Abdelsamea

¹ Department of Computer Science, University of Exeter, Exeter, UK {scct201, da536, a.karam-eldaly, m.abdelsamea}@exeter.ac.uk ² Nottingham University Hospitals NHS Trust, {somaia.elsheikh}@nhs.net

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.

Keywords: Causality · Generalisability · Semantic Segmentation · Self-Supervised Learning · Contrastive Learning · Generative Learning.

1 Introduction

Deep learning (DL) has become central to medical image analysis, enabling significant advancements in automated annotation, inference efficiency, and quantitative evaluation through standardised metrics [7]. However, the widespread deployment of these tools in clinical settings remains constrained by challenges such as small and heterogeneous datasets, privacy concerns, and the need for expert annotation, all of which limit model generalisation [10,14]. Additionally, variations in imaging protocols, staining procedures, and acquisition techniques

S. Thomas et al.

across institutions introduce biases, leading models to overfit spurious correlations rather than learning clinically meaningful features [10].

These challenges are particularly pronounced in histopathology segmentation, where the complexity of tissue morphology, extreme class imbalance, and the need for pixel-level annotations make segmentation tasks difficult [10]. Existing DL models, such as fully convolutional networks (FCNs) [9] and U-Net variants [12], often struggle to capture the global spatial patterns essential for accurate segmentation. Instead, these models tend to exploit local texture cues or biased receptive fields, which are heavily influenced by dataset artifacts, undermining their ability to generalise across diverse populations. Vision Transformers (ViTs) [16], originally developed for natural language processing, have recently shown strong performance in computer vision by capturing long-range dependencies and global context, which are valuable for dense prediction tasks like histopathology segmentation. Unlike convolutions, ViTs use self-attention mechanisms that model spatial relationships across the entire image, producing richer feature representations and overcoming some of the limitations of traditional convolutional neural networks (CNNs) [5,18].

In light of these challenges, self-supervised learning (SSL) has emerged as a promising paradigm to mitigate data scarcity by leveraging unlabelled data to improve representation learning and reduce reliance on extensive annotation. When combined with ViTs, SSL enables the modelling of long-range dependencies and global context, which are especially important for histopathology segmentation. However, despite its potential, existing SSL methods face challenges in ensuring that models learn robust, pathology-aligned representations. Without careful pretraining objectives or augmentation strategies, there remains a risk that models may reinforce shortcut learning, focusing on background cues rather than pathology-relevant features. Generative SSL, such as Masked Autoencoders (MAE), and contrastive SSL approaches help improve model performance by promoting spatially coherent and context-aware representations, yet these techniques often fail to fully account for pathology-aligned learning.

In this work, we take a different perspective: rather than proposing a new architecture as the primary contribution, we focus on understanding and evaluating model behaviour through an intervention-based, causality-inspired lens. We introduce counterfactual interventions, implemented via targeted augmentations, to explicitly test whether models rely on pathology-relevant structures or spurious correlations. This shifts the focus from improving predictive performance alone to auditing why models make their predictions. The main contributions of this work are:

We introduce an intervention-based evaluation framework for histopathology segmentation, where targeted perturbations are used to probe model reliance on foreground tissue structure versus background context.

We propose the Causal Reliance Score (CRS), a novel evaluation metric that quantifies the relative sensitivity of models to foreground tissue perturbation and nuisance background/domain variation, complementing standard segmentation metrics.

– We provide an experimental instantiation using a self-supervised transformer (CAUSE-ViT), demonstrating how supervised, generative and contrastive training strategies differ under controlled behavioural probes.

Thus, unlike prior work that focuses on improving segmentation accuracy through architectural design or training objectives, this work introduces a fundamentally different perspective: evaluating what models rely on when making predictions. To our knowledge, this is among the early efforts to frame controlled intervention-based behavioural probing as a systematic evaluation protocol for medical image segmentation.