🤖 AI Summary
This work addresses the limitations of existing foundation models in computational pathology, which are often confined to patch-level analysis, incur high computational costs, and face licensing restrictions that hinder their deployment in whole-slide clinical applications. To overcome these challenges, the authors propose GigaPath-Flash and GigaTIME-Flash—efficient architectures combining a lightweight ViT-S encoder (22M parameters) with a LongNet-based whole-slide encoder (21M parameters)—enabling high-performance, low-cost whole-slide image analysis for the first time. Through knowledge distillation, the models retain 97% of the original performance at 50× lower computational cost. Notably, GigaTIME-Flash directly predicts spatial proteomic features from H&E-stained images with higher accuracy than CNN baselines, achieving a 6× speedup in inference and an 8× reduction in GPU memory usage. The model weights are released under the Apache-2.0 license.
📝 Abstract
Foundation models have emerged as a driving force in computational pathology, with the potential to transform cancer diagnosis, prognosis, and treatment selection by learning transferable representations from large-scale histopathology data. A growing landscape of pathology foundation models now spans diverse data sources, architectures, and downstream applications. However, most pretrained models operate only at the image-tile level, use restrictive licenses, and remain computationally expensive, limiting large-scale slide-level clinical and research use.
Here, we introduce GigaPath-Flash and GigaTIME-Flash, efficient models for whole-slide pathology AI and spatial proteomics prediction. GigaPath-Flash combines a 22M-parameter ViT-S tile encoder with a 21M-parameter LongNet slide encoder, both pretrained on large-scale real-world histopathology data. Its compact tile encoder is distilled from the billion-parameter GigaPath (ViT-g) teacher and shared by both models. GigaPath-Flash retains 97% of GigaPath's average slide-level performance with 50x less compute. GigaTIME-Flash extends this backbone to predict the tumor immune microenvironment directly from routine H&E images. It surpasses the original CNN-based GigaTIME in prediction quality while running 6x faster and using 8x less GPU memory.
Together with GigaPath and GigaTIME, these models form an open-weight, Apache-2.0-licensed family pretrained on large-scale real-world clinical data. By releasing all models and weights, we provide accessible building blocks for computational pathology, immuno-oncology, and precision health.