Reassessing Spatial Context in Histopathology
Abstract
Histopathology classification often depends on both local morphology and surrounding tissue architecture, yet effectively incorporating spatial context into patch-level prediction remains challenging. We study contextual patch classification using a shared transformer that jointly processes and supervises a center patch and its spatial neighborhood, encouraging representations that preserve local evidence while exploiting broader tissue context. We further investigate a cross-slide contextual-update regularizer designed to constrain how neighborhood information modifies center predictions. Across 64,921 test patches, two frozen pathology foundation-model encoders, and three seeds, our dual-view training recipe improves slide-bootstrap ensemble macro-F1 over a strong contextual baseline by 2.03 percentage points with UNI2-h (95% CI , ) and 0.86 points with ALICE (95% CI , ). The additional cross-slide regularizer provides no further improvement. These results demonstrate that jointly learning from local and spatially contextualized views provides a simple and effective approach to contextual histopathology classification, with consistent gains across foundation-model representations.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.