A Multicenter Benchmark of Multiple Instance Learning Models for Lymphoma Subtyping from HE-stained Whole Slide Images

Rao Muhammad Umer, Daniel Sens, Jonathan Noll, Christian Matek, Lukas Wolfseher, Rainer Spang, Ralf Huss, Johannes Raffler, Sarah Reinke, Wolfram Klapper, Katja Steiger, Kristina Schwamborn, Carsten Marr · DOI

Introduction

Diagnosing lymphoma is a complex, multi-step process that traditionally requires pathologists to supplement standard Hematoxylin and Eosin (HE) stained slides with expensive, time-consuming auxiliary tests like immunohistochemistry (IHC) and genetic sequencing. Deep learning offers a potential shortcut by extracting diagnostic signals directly from widely available HE slides. However, most existing studies are limited to single-center data. This paper introduces the first comprehensive multicenter benchmark to evaluate how modern "foundation models" (FMs)—AI models pre-trained on millions of pathology images—perform on the varied data found in real-world clinical settings.

Methodology: The MIL Pipeline

The researchers developed an automated pipeline based on Multiple Instance Learning (MIL). In this framework, a high-resolution Whole Slide Image (WSI) is treated as a "bag" of thousands of small image patches (instances).

The pipeline consists of four main stages:

  1. Segmentation & Patching: Using the Trident tool to filter out background and artifacts, then slicing tissue into 256x256 pixel patches.
  2. Feature Extraction: Five prominent pathology foundation models were compared: H-optimus-1, H0-mini, Virchow2, UNI2, and Titan. These models convert visual patches into compact numerical vectors (embeddings).
  3. Aggregation: The study tested different ways to combine these patch-level vectors into a single slide-level prediction, comparing standard Attention-based MIL (AB-MIL) against more complex Transformer-based (TransMIL) architectures.
  4. Magnification Study: The team systematically tested the impact of image resolution (10×, 20×, and 40×) on model performance.

Multicenter Dataset Overview

The study introduced a multicenter dataset comprising 999 HE-stained WSIs from 609 patients across four German medical centers. This diversity is critical for evaluating how models handle variations in scanners and staining protocols.

Overview of the multicenter dataset, including class distributions (A), example whole-slide images (B), and representative tissue patches (C) across the four participating centers.

The benchmark covers four common lymphoma subtypes—CLL, FL, MCL, and DLBCL—plus a Negative control class. Data from Munich was used for training, while data from Kiel, Augsburg, and Erlangen served as "out-of-distribution" (OOD) test sets.

Key Insights and Results

The Generalization Gap

A major finding was the "generalization cliff." While models achieved a Balanced Accuracy (BACC) of ~82% and an AUC of 0.96 on familiar data from the training center, performance dropped significantly to ~60% BACC when tested on images from different hospitals. This drop is likely caused by domain shifts in staining and scanning equipment.

Optimal Resolution and Efficiency

  • The 40× Ceiling: 40× magnification was found to be the "sweet spot," with higher resolutions yielding no significant performance gains.
  • Foundation Model Performance: On in-distribution data, all five foundation models performed similarly well, suggesting a high baseline for current pathology representations.
  • Computational Speed: The H0-mini model was the clear winner for efficiency, processing 885 images per second—nearly 10x faster than the largest models while maintaining competitive accuracy.

Robustness and Interpretability

The UNI2 model generalized more robustly to new centers than Titan, suggesting that patch-level models may better preserve the fine-grained cellular morphology critical for subtyping. Attention heatmaps confirmed that models correctly focused on dense tumor regions and specific morphological patterns characteristic of each subtype.

Conclusion and Future Work

The primary hurdle for clinical AI in pathology remains the OOD generalization gap. A model that loses 20% accuracy when moving to a new hospital is not yet ready for autonomous clinical use. Future research must focus on stain normalization techniques and expanding datasets to include rarer lymphoma subtypes. The authors have released their code and pipeline to encourage further development on this challenging multicenter benchmark.

Summary updated

BibTeX
@misc{umer2025multicenter,
  author = {Rao Muhammad Umer and Daniel Sens and Jonathan Noll and Christian Matek and Lukas Wolfseher and Rainer Spang and Ralf Huss and Johannes Raffler and Sarah Reinke and Wolfram Klapper and Katja Steiger and Kristina Schwamborn and Carsten Marr},
  title = {{A Multicenter Benchmark of Multiple Instance Learning Models for Lymphoma Subtyping from HE-stained Whole Slide Images}},
  year = {2025},
  eprint = {2512.14640},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.14640},
}
Figure