Mind the Gap: Continuous magnification sampling for pathology foundation models.
Alexander Möllers, Julius Hense, Florian Schulz, Timo Milbich, Maximilian Alber, Lukas Ruff
Berlin Institute for the Foundations of Learning and Data (BIFOLD), Berlin, Germany; Machine Learning Group, Technische Universität Berlin, Berlin, Germany; Aignostics GmbH, Berlin, Germany. Electronic address: a.moellers@tu-berlin.de. · Berlin Institute for the Foundations of Learning and Data (BIFOLD), Berlin, Germany; Machine Learning Group, Technische Universität Berlin, Berlin, Germany.
Key points
From the paper's conclusion- We introduce continuous magnification sampling, which removes gaps in magnification coverage while preserving performance at standard scales.
Abstract
In histopathology, pathologists examine both tissue architecture at low magnification and fine-grained morphology at high magnification. Yet, the performance of pathology foundation models across magnifications and the effect of magnification sampling during training remain poorly understood. We model magnification sampling as a multi-source domain adaptation problem and develop a simple theoretical framework that reveals systematic trade-offs between sampling strategies. We show that the widely used discrete uniform sampling of magnifications (0.25, 0.5, 1.0, 2.0 mpp) leads to degradation at intermediate magnifications. We introduce continuous magnification sampling, which removes gaps in magnification coverage while preserving performance at standard scales. Further, we derive sampling distributions that optimize representation quality across magnification scales. To evaluate these strategies, we introduce two new benchmarks (TCGA-MS, BRACS-MS) with appropriate metrics. Our experiments show that continuous sampling can improve downstream task performance at intermediate magnifications, with gains of up to 4 percentage points in balanced classification accuracy, and that optimized distributions can further improve performance. Finally, we evaluate current histopathology foundation models, finding that magnification is a primary driver of performance variation across models. Our work paves the way towards future pathology foundation models that perform reliably across magnifications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PathScaleBench: A Multidimensional Benchmark of Cross-Scale Representation Behavior and Magnification-Shift Robustness in Pathology Foundation Models.Journal of imaging informatics in medicine · 2026
- Streamline pathology foundation model by cross-magnification distillation.Medical image analysis · 2026
- One Model to Magnify Them All: Efficient Scale-Invariant Histopathology via Conditional Normalization and Continuous Magnification TrainingarXiv · 2026
- What Makes High-Magnification Knowledge Transferable? A Study of Cross-Resolution Distillation in Whole-Slide ImagingarXiv · 2026
- Contrastive fine-tuning against stain and scanner bias improves robustness and downstream performance across pathology foundation modelsarXiv · 2026
- Multiscale tumor characterization in histopathology via self-distilled transformers and topology-aware visual encodingScientific Reports · 2025