GAS-MIL: Group-Aggregative Selection Multi-Instance Learning for Ensemble of Foundation Models in Digital Pathology Image Analysis

Peiran Quan, Zifan Gu, Zhuo Zhao, Qin Zhou, Donghan M. Yang, Ruichen Rong, Yang Xie, Guanghua XiaoarXiv 2025

TL;DR

GAS-MIL (Group-Aggregative Selection Multi-Instance Learning) is a novel ensemble framework that seamlessly combines the strengths of multiple digital pathology foundation models. By utilizing a smart feature-alignment and max-min selection strategy, it achieves state-of-the-art diagnostic accuracy across multiple cancer types without requiring resource-intensive fine-tuning.

What Problem Does This Paper Address?

In computational pathology, analyzing Whole-Slide Images (WSIs)—gigapixel-resolution digital slides—is a massive challenge. Recently, general-purpose Foundation Models (FMs) like UNI, Phikon, and Prov-GigaPath have emerged as powerful feature extractors. However, these models exhibit significant performance variability depending on the specific tissue type or diagnostic task.

Adapting a single FM to a new task typically requires extensive, resource-heavy fine-tuning. Alternatively, trying to combine multiple FMs using basic fusion techniques (like simple feature concatenation or weighted averaging) often yields disappointing results because it fails to capture subtle, complementary, and clinically relevant features.

Methods

GAS-MIL tackles this by framing ensemble learning through the lens of Multi-Instance Learning (MIL), where a slide is treated as a "bag" of smaller image patches ("instances").

[WSI Patches] ➔ [K Foundation Models] ➔ [GFEB Alignment] ➔ [Max-Min Selection] ➔ [Classification Head]

The core architecture consists of two unique components:

  1. Grouped Feature Extraction Blocks (GFEB): Instead of blindly concatenating raw features from $K$ different foundation models, GAS-MIL uses either Multi-Layer Perceptrons (MLPs) or Attention mechanisms to project and align the distinct feature spaces of each model into a uniform dimension ($n \times c$, where $c$ is the number of target classes). It also creates a global group to capture cross-model interactions.
  2. Max-Min Layer: Inspired by the classic Chowder MIL architecture, this layer scans the aligned features and selects only the top $s$ largest and smallest values. This allows the model to explicitly capture both positive evidence (features indicating a disease's presence) and negative evidence (features indicating its absence), while drastically reducing computational overhead during backpropagation.

Datasets

The authors evaluated GAS-MIL on three distinct, public cancer datasets representing different diagnostic complexities:

  • PANDA (Prostate Cancer): 9,128 cleaned H&E-stained biopsy WSIs used for ISUP ordinal grading.
  • UBC-OCEAN (Ovarian Cancer): 536 samples (including both WSIs and Tissue Microarrays) for 5-subtype classification.
  • TCGA-BrCa (Breast Cancer): 893 WSIs used for binary classification between Infiltrating Ductal Carcinoma (IDC) and Infiltrating Lobular Carcinoma (ILC).

Key Insights and Ideas

  • The Power of Three (Diminishing Returns): While GAS-MIL can scale to any number of models, the authors discovered that performance plateaus quickly. An ensemble of just the top three models (Phikon, UNI, and Prov-GigaPath) achieved near-optimal results, performing only 0.16% lower than a full six-model ensemble. This offers a massive practical advantage for clinical deployment by saving compute.
  • Attention Beats MLP for Alignment: When aligning heterogeneous features within the GFEB, attention-based blocks consistently outperformed MLP blocks, particularly on complex datasets like UBC-OCEAN, due to their superior ability to capture global and local contextual interactions.
  • Pre-training Size Isn't Everything: Interestingly, Phikon (trained on 460 million tiles) performed on par with Prov-GigaPath (trained on 1.3 billion slides) on public benchmarks. The authors note that massive pre-training data size might show its true advantages only when evaluating rare diseases or private datasets.

Key Results

GAS-MIL consistently outperformed or matched both individual foundation models and state-of-the-art MIL methods:

  • Prostate Cancer Grading (PANDA): Achieved a balanced accuracy of 0.788, outperforming the second-best individual model (Phikon) by 4.7%, and reached a Quadratic Weighted Kappa of 0.962.
  • Ovarian Cancer Subtyping (UBC-OCEAN): Outperformed the second-best individual FM across every metric, including a 11.31% boost in Quadratic Weighted Kappa and a 6.45% increase in balanced accuracy.
  • Vs. State-of-the-Art MIL: When benchmarked against top MIL frameworks (AB-MIL, TRANS-MIL, and Chowder) using identical features, GAS-MIL delivered at least a 2% improvement in balanced accuracy and F1 score.

Limitations and Future Work

While GAS-MIL circumvents the need to fine-tune massive foundation models, it still relies on them as frozen feature extractors. The authors acknowledge that evaluating the framework on private datasets containing rare disease cases would be a valuable next step to truly stress-test the limits of model capacity. Additionally, they position GAS-MIL as a scalable stepping stone for future multimodal applications (e.g., integrating pathology images with genomic or text data) and precision oncology workflows.

Summary updated

BibTeX
@misc{quan2025gas,
  author = {Peiran Quan and Zifan Gu and Zhuo Zhao and Qin Zhou and Donghan M. Yang and Ruichen Rong and Yang Xie and Guanghua Xiao},
  title = {{GAS-MIL: Group-Aggregative Selection Multi-Instance Learning for Ensemble of Foundation Models in Digital Pathology Image Analysis}},
  year = {2025},
  eprint = {2510.03555},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03555},
}
Figure