cs.CVAug 16, 2026

BagShift: Measuring How Patch Selection Changes the Evidence Seen by Whole-Slide MIL

Authors: Ruicheng Yuan, Zhenxuan Zhang, Liwei Hu, Anbang Wang, Haijie Xu, Jiawei Luo, Guang Yang

Organizations: College of Computer Science and Electronic Engineering, Hunan University, Changsha, Hunan, China · Department of Bioengineering and Imperial-X, Imperial College London, London, UK

Abstract

Whole-slide multiple-instance learning (MIL) observes only the patches admitted by its selector. Deployment can alter this selector through compute limits, tissue masking, or regional workflows, even when the patch count is unchanged. We introduce BagShift, a paired protocol that changes the selector for the same case while holding its features and predictor fixed, thereby isolating selector response from case mix. With equal 128-patch budgets, sampling across the tissue or concentrating around one coordinate exposes markedly different evidence: on PANDA, the two views reduce quadratic weighted kappa by 1.57 and 17.96 points, respectively (QWK reported on the ×100\times100 scale). On CAMELYON16, lesion annotations withheld from model development show that localized views retain tumor in only 10.0% of micrometastatic observations, and matched exposure does not consistently recover the loss. The same fixed-count stressor produces a much smaller response on external lung subtyping, although differences in relative coverage make cross-task severity descriptive. When repeated localized observations are available, unioning their patches before one nonlinear MIL pass improves PANDA QWK by 7.87 points over averaging regional predictions. Patch count specifies computation, not observed evidence; deployment evaluations should report both what a selector preserves and how repeated observations are aggregated.

Figures & tables

Explore similar work

CardsList
  1. Spatial Blindness in Whole-Slide Multiple Instance Learning

    May 17, 2026Xiangyu Li, Ran SuHistopathology Image ClassificationMultiple Instance Learning

  2. Mixture of Mini Experts: Overcoming the Linear Layer Bottleneck in Multiple Instance Learning

    Mar 23, 2026Daniel Shao, Joel Runevic, Richard J. Chen +4Multiple Instance LearningHistopathology Image Classification