Masked Feature Encoding for Large-Scale Whole Slide Image Representation
Haoyu He, Basile Tessier-Cloutier, Yang Wang, Mahdi S. Hosseini
Abstract
Whole slide image (WSI) analysis in computational pathology follows a multiple instance learning (MIL) pipeline where patch embeddings are extracted independently and aggregated for slide-level prediction, but within-slide variance from staining, scanner, and local texture can overwhelm the discriminative signal. We propose Masked Feature Encoding for Multiple Instance Learning (MFE-MIL), a feature-space masking framework that trains a lightweight MLP adapter jointly with a window-based masked reconstruction branch and a MIL classification head. The two objectives are complementary. Classification guides the adapter to suppress within-slide patch variance, while window-based masked reconstruction provides an auxiliary regularizer for the adapted features without using patch coordinates, coordinate graphs, or segmentation preprocessing. The raster patch-extraction order is used only as a weak implicit prior. At inference, the decoder is removed, leaving only the adapter and MIL head. Across CAMELYON16/17, PANDA, and TCGA-BRCA with four diverse encoders, MFE-MIL improves ACC/F1 for nearly all tested aggregator-encoder settings and AUC in most, outperforms coordinate-based spatial methods (CAMIL), and achieves higher AUC than 2DMamba on three of four datasets (UNI). On five TCGA survival cohorts it improves the average concordance index for every aggregator tested, its most consistent gain. Code is available at https://github.com/AtlasAnalyticsLab/MFE-MIL.
Create a lesson
Metadata
- Comments
- Accepted at ACCV 2026
Related papers
Tortho-Gaussian++: Suppressing Geometric Drift and Floaters for Robust Gravity-Aligned TDOM Generation in Large-Scale Aerial Scenes
Shared title terminologycs.CVXiang Wang, Xin Wang, Zongqian Zhan
GHARP: Real-time Gaussian Head Animation from Large-scale Reconstruction Prior
Shared title terminologycs.CVAli Benlalah, Sepehr Johari, Patricia Vitoria et al.
AdSpark: A Large-Scale Dataset and Benchmark for Product-Centric Advertisement Video Generation
Shared title terminologycs.CVZhifei Yang, Zhao Jiang, Keyang Lu et al.
Benefit of Structured Representations: When Equivariance Helps in Image Classification
Shared title terminologycs.CVFlorian A. Hölzl, Daniel Rueckert, Georgios Kaissis
BayesPath: Reliability-Aware Bayesian Reasoning for Whole-Slide Pathology Agents
Shared title terminologycs.CVBryan Wong, Xun Xu, Jongwoo Kim et al.
The Missing Root: Geometric Imagination Without Images in Large Language Models
Shared title terminologycs.CVLoïc Magnan, Tomasz Kozlowski