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

Mitigating Spurious Correlations in Patch-wise Tumor Classification on High-Resolution Multimodal Images

Ihab Asaad, Maha Shadaydeh, Joachim DenzlerarXiv 2025 · DOI

Introduction

High-resolution medical imaging, such as multimodal nonlinear microscopy, presents significant computational challenges due to the massive scale of individual images. To maintain efficiency and reduce annotation costs, researchers often employ patch-wise classification—dividing images into smaller grids and labeling each patch based on the presence of a tumor. However, this simplification frequently introduces "spurious correlations." Models often learn to associate the mere presence of tissue within a patch with a tumor label, rather than identifying actual cancerous morphology. This "shortcut" leads to significant performance degradation on minority cases, such as small tumors or dense healthy tissue.

Quantifying the Bias

The core issue lies in the dataset composition: tumor regions are often large and dense, while non-tumor regions frequently contain significant empty background. Standard models trained via Empirical Risk Minimization (ERM) exploit this imbalance. By calculating the "tissue ratio" (the proportion of non-background pixels in a patch), the authors demonstrated that ERM models perform exceptionally well on "easy" majority patches (large tumors) but fail on "hard" minority patches (small tumor fragments).

Analysis of patch-wise classification bias. The top row shows the patching and binarization process. The bottom row histograms illustrate how classification errors (red) are concentrated in patches with low tissue ratios for tumor classes, indicating a reliance on tissue quantity as a shortcut.

As shown in the histograms above, when a tumor patch has high tissue coverage, the model is highly accurate. Conversely, as the tissue ratio decreases, the error rate spikes, confirming that the model is measuring "stuff" rather than malignancy.

Methodology: GERNE

To address this, the authors utilize Gradient Extrapolation for Debiased Learning (GERNE). The approach involves:

  1. Binarizing Spurious Features: Patches are categorized as "small" or "large" tissue areas based on a threshold ($\tau$).
  2. Gradient Extrapolation: GERNE constructs two distinct mini-batches—one reflecting the inherent dataset bias and one that is more balanced. By comparing the gradients from these batches, the algorithm extrapolates a direction that steers the model away from biased features (tissue quantity) and toward causal features (tumor morphology).
  3. Optimization for Robustness: The ResNet-50 backbone is optimized to maximize Worst-Group Accuracy (WGA). Unlike standard balanced accuracy, WGA acts as a stress test, ensuring the model remains reliable even on the most difficult, underrepresented patch types.

Results and Discussion

The study utilized a high-resolution multimodal microscopy dataset providing structural and biochemical data. Evaluation across different tissue-size thresholds ($\tau = 0.1$ and $\tau = 0.03$) revealed significant improvements:

  • WGA Improvement: GERNE improved Worst-Group Accuracy by approximately 7% over standard ERM. At $\tau = 0.1$, GERNE achieved 80.93% WGA compared to 73.54% for ERM.
  • Clinical Reliability: The most substantial gains were observed in tumor boundary patches with small tissue regions—the exact scenarios where diagnostic assistance is most critical.

Conclusion

While full pixel-level segmentation is a potential solution to bias, its high cost makes patch-wise classification a necessary alternative. This research demonstrates that patch-wise methods can be made clinically robust by incorporating bias-aware training techniques like GERNE. Future work will focus on handling continuous spurious features and exploring the impact of patch size on correlation strength across other domains like satellite imagery and materials science.

Summary updated

BibTeX
@misc{asaad2025mitigating,
  author = {Ihab Asaad and Maha Shadaydeh and Joachim Denzler},
  title = {{Mitigating Spurious Correlations in Patch-wise Tumor Classification on High-Resolution Multimodal Images}},
  year = {2025},
  eprint = {2511.13527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.13527},
}
Figure