Exploiting Low-Dimensional Manifold of Features for Few-Shot Whole Slide Image Classification
About
Few-shot Whole Slide Image (WSI) classification is severely hampered by overfitting. We argue that this is not merely a data-scarcity issue but a fundamentally geometric problem. Grounded in the manifold hypothesis, our analysis shows that features from pathology foundation models exhibit a low-dimensional manifold geometry that is easily perturbed by downstream models. This insight reveals a key potential issue in downstream multiple instance learning models: linear layers are geometry-agnostic and, as we show empirically, can distort the manifold geometry of the features. To address this, we propose the Manifold Residual (MR) block, a plug-and-play module that is explicitly geometry-aware. The MR block reframes the linear layer as residual learning and decouples it into two pathways: (1) a fixed, random matrix serving as a geometric anchor that approximately preserves topology while also acting as a spectral shaper to sharpen the feature spectrum; and (2) a trainable, low-rank residual pathway that acts as a residual learner for task-specific adaptation, with its structural bottleneck explicitly mirroring the low effective rank of the features. This decoupling imposes a structured inductive bias and reduces learning to a simpler residual fitting task. Through extensive experiments, we demonstrate that our approach achieves state-of-the-art results with significantly fewer parameters, offering a new paradigm for few-shot WSI classification. Code is available in https://github.com/BearCleverProud/MR-Block.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Whole Slide Image classification | CAMELYON16 (test) | AUC0.9371 | 163 | |
| Slide-level classification | TCGA NSCLC (test) | Accuracy89.11 | 96 | |
| Whole Slide Image classification | TCGA-RCC (test) | AUC98.6 | 90 | |
| Classification | CAMELYON16 (test) | -- | 69 | |
| WSI Classification | NSCLC | Accuracy89.1 | 53 | |
| Multiple Instance Learning Classification | Camelyon16 | AUC93.7 | 44 | |
| Multiple Instance Learning Classification | RCC | AUC0.986 | 44 | |
| Classification | NSCLC (test) | AUPRC96.3 | 16 | |
| Classification | RCC (test) | AUPRC97.2 | 16 | |
| Treatment Response Prediction | Boehmk | AUC65.4 | 6 |