Synthetic Data Reveals Generalization Gaps in Correlated Multiple Instance Learning
Ethan Harvey, Dennis Johan Loevlie, Michael C. Hughes
TL;DR
This work tackles generalization gaps in MIL for medical imaging by introducing Shifted Mean MIL, a context-aware synthetic task with a context window $R$ and a small discriminative feature set $K$ among $M$ features. It derives the Bayes estimator $p(y_i|h_i)$ in closed form as an oracle baseline and systematically compares conventional MIL, correlated MIL (e.g., TransMIL), and smAP pooling. The results show that standard MIL and recent correlated MIL methods fall short of the Bayes predictor when context matters, with smAP approaching but not matching it, even at $N=10^4$ bags; this highlights a need for data-efficient MIL approaches with stronger inductive biases to exploit local context in medical imaging. The findings motivate developing context-aware, regularized MIL architectures that can perform well with limited labeled data on real-world medical datasets.
Abstract
Multiple instance learning (MIL) is often used in medical imaging to classify high-resolution 2D images by processing patches or classify 3D volumes by processing slices. However, conventional MIL approaches treat instances separately, ignoring contextual relationships such as the appearance of nearby patches or slices that can be essential in real applications. We design a synthetic classification task where accounting for adjacent instance features is crucial for accurate prediction. We demonstrate the limitations of off-the-shelf MIL approaches by quantifying their performance compared to the optimal Bayes estimator for this task, which is available in closed-form. We empirically show that newer correlated MIL methods still do not achieve the best possible performance when trained with ten thousand training samples, each containing many instances.
