Can We Simplify Slide-level Fine-tuning of Pathology Foundation Models?

Jiawen Li, Jiali Hu, Qiehe Sun, Renao Yan, Minxi Ouyang, Tian Guan, Anjia Han, Chao He, Yonghong HearXiv 2025 · OpenReview

Abstract

The emergence of foundation models in computational pathology has transformed histopathological image analysis, with whole slide imaging (WSI) diagnosis being a core application. Traditionally, weakly supervised fine-tuning via multiple instance learning (MIL) has been the primary method for adapting foundation models to WSIs. However, in this work we present a key experimental finding: a simple nonlinear mapping strategy combining mean pooling and a multilayer perceptron, called SiMLP, can effectively adapt patch-level foundation models to slide-level tasks without complex MIL-based learning. Through extensive experiments across diverse downstream tasks, we demonstrate the superior performance of SiMLP with state-of-the-art methods. For instance, on a large-scale pan-cancer classification task, SiMLP surpasses popular MIL-based methods by 3.52%. Furthermore, SiMLP shows strong learning ability in few-shot classification and remaining highly competitive with slide-level foundation models pretrained on tens of thousands of slides. Finally, SiMLP exhibits remarkable robustness and transferability in lung cancer subtyping. Overall, our findings challenge the conventional MIL-based fine-tuning paradigm, demonstrating that a task-agnostic representation strategy alone can effectively adapt foundation models to WSI analysis.

Introduction

In digital pathology, Whole Slide Images (WSIs) are "gigapixel" files far too large for standard neural networks to process directly. The standard workflow involves breaking a slide into thousands of small patches, extracting features from each, and then using Multiple Instance Learning (MIL) to aggregate those features into a single slide-level diagnosis. While MIL methods have become increasingly sophisticated—utilizing attention mechanisms and complex transformers—they are often computationally expensive, prone to overfitting, and can show unstable generalization across different datasets.

With the advent of massive pathology foundation models (like UNI or CONCH) pretrained on millions of images, this paper asks a provocative question: Do we still need these complex MIL architectures, or can we simplify the process? The authors introduce SiMLP, a minimalist approach that leverages high-quality representations to outperform complex, task-specific aggregators.

Methods: The SiMLP Strategy

SiMLP (Simple Multi-Layer Perceptron) contrasts sharply with traditional MIL by prioritizing task-agnostic aggregation. The process follows three main steps:

  1. Feature Extraction: A pretrained pathology foundation model (e.g., UNI, CONCH, or Prov-GigaPath) generates embeddings for every tissue patch in a slide.
  2. Task-Agnostic Aggregation: Instead of learnable attention weights, SiMLP uses simple Global Average Pooling (GAP). This treats every patch equally, creating a single "mean" representation of the entire slide.
  3. Non-linear Classification: This mean vector is fed into a simple two-layer Multi-Layer Perceptron (MLP) with a non-linear activation function (ReLU/GeLU) for the final diagnosis.
Figure 1: Comparison between traditional MIL-based fine-tuning (a) and the proposed SiMLP (b), alongside performance benchmarks (c).

By replacing complex aggregation with simple pooling and a non-linear head, the authors leverage the inherent strength of the foundation model's features rather than relying on the aggregator to "fix" weak representations.

Key Results and Insights

The study evaluated SiMLP across seven large-scale datasets, including TCGA, CPTAC, and internal cohorts, covering tasks from pan-cancer classification to biomarker prediction.

Superior Accuracy and Few-Shot Prowess

On the TCGA Pan-Cancer task, SiMLP outperformed popular MIL methods like ABMIL by 3.52%. Across three different foundation models, SiMLP consistently achieved the highest balanced accuracy. Furthermore, SiMLP excelled in "few-shot" scenarios (1, 5, or 10 slides per class), suggesting that the simplified architecture is less likely to overfit to small datasets compared to complex MIL models.

Robustness and Generalization

One of the most significant findings is SiMLP's stability. Traditional MIL models often struggle with generalization across different hospitals. In lung cancer subtyping across three different cohorts, SiMLP maintained the most stable performance with the lowest standard deviation across random seeds.

Figure 5: Robustness analysis showing ROC AUC stability across random seeds for CPTAC, TCGA, and Internal NSCLC datasets.

Discussion

The success of SiMLP suggests a shift toward a "Representation First" paradigm. When patch-level features from foundation models are sufficiently strong, complex task-specific aggregation becomes redundant or even a liability due to increased variance.

However, the authors note that tailored weakly supervised learning remains necessary for specific "needle-in-a-haystack" tasks, such as predicting rare biomarkers where diagnostic signals are extremely localized. Additionally, simple pooling lacks the natural interpretability (heatmaps) provided by attention-based MIL. Future work will focus on refining these models for extremely long-tailed data distributions and integrating multimodal data.

Summary updated

BibTeX
@misc{li2025can,
  author = {Jiawen Li and Jiali Hu and Qiehe Sun and Renao Yan and Minxi Ouyang and Tian Guan and Anjia Han and Chao He and Yonghong He},
  title = {{Can We Simplify Slide-level Fine-tuning of Pathology Foundation Models?}},
  year = {2025},
  eprint = {2502.20823},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.20823},
}
Figure