Abstract
Pathology foundation models (PFMs) have enabled robust generalization in computational pathology through large-scale datasets and expansive architectures, but their substantial computational cost, particularly for gigapixel whole slide images, limits clinical accessibility and scalability. Here, we present LitePath, a deployment-friendly foundational framework designed to mitigate model over-parameterization and patch level redundancy. LitePath integrates LiteFM, a compact model distilled from three large PFMs (Virchow2, H-Optimus-1 and UNI2) using 190 million patches, and the Adaptive Patch Selector (APS), a lightweight component for task-specific patch selection. The framework reduces model parameters by 28x and lowers FLOPs by 403.5x relative to Virchow2, enabling deployment on low-power edge hardware such as the NVIDIA Jetson Orin Nano Super. On this device, LitePath processes 208 slides per hour, 104.5x faster than Virchow2, and consumes 0.36 kWh per 3,000 slides, 171x lower than Virchow2 on an RTX3090 GPU. We validated accuracy using 37 cohorts across four organs and 26 tasks, comprising 15,672 slides from 9,808 patients. LitePath ranks second among 19 evaluated models, retaining 99.71% of the AUC of Virchow2. To quantify the balance between accuracy and efficiency, we propose the Deployability Score (D-Score), where LitePath achieves the highest value, surpassing Virchow2 by 10.64%.
Introduction
Computational pathology is currently dominated by massive Foundation Models trained on millions of tissue patches. While these models offer state-of-the-art performance in tasks like cancer grading and biomarker prediction, they face significant deployment hurdles. Specifically, model over-parameterization necessitates expensive, high-end data-center GPUs, and patch-level redundancy in gigapixel Whole Slide Images (WSIs) leads to inefficient processing of diagnostically irrelevant tissue. LitePath addresses these challenges by optimizing both model architecture and the data processing pipeline, enabling high-performance pathology analysis on affordable edge devices.
Methods
The LitePath framework introduces two core innovations to achieve its efficiency goals:
- LiteFM (The Model): Utilizing knowledge distillation, the authors compressed the expertise of three leading PFMs—Virchow2, H-Optimus-1, and UNI2—into a compact student model based on the ViT-Small architecture. This model contains only 22.5 million parameters, representing a 28x reduction compared to Virchow2.
- Adaptive Patch Selector (APS): This module mimics a pathologist’s workflow by performing a rapid, low-resolution scan to identify informative regions. It employs a hybrid strategy of uniform and attention-based sampling to select a subset of patches for deep analysis, significantly reducing the computational load per slide.
Results
LitePath was rigorously evaluated on 37 cohorts across lung, breast, gastric, and colorectal organs, involving over 15,000 slides.
Efficiency and Deployment
The framework demonstrates transformative efficiency gains. When deployed on an NVIDIA Jetson Orin Nano Super, LitePath achieves a 104.5x speedup in slide processing compared to Virchow2 on standard hardware. Energy consumption is reduced by 171x, allowing a hospital to process 3,000 slides for approximately $0.36 in electricity.
Diagnostic Accuracy
Despite its reduced size, LitePath maintains competitive performance, ranking 2nd overall among 19 models. It retains 99.71% of the AUC of the much larger Virchow2 model. To better evaluate models for clinical use, the authors introduced the Deployability Score (D-Score), which balances accuracy against computational overhead. LitePath achieved the highest D-Score (86.31%), outperforming Virchow2 by over 10%.
Discussion
The results indicate that LitePath successfully shifts the computational bottleneck from GPU math to data I/O, suggesting that future optimizations should focus on data pipelines and image compression. Furthermore, the success of distillation from multiple "teachers" highlights the value of model ensembles in creating efficient students. While LitePath shows strong generalization, future work will focus on expanding the pre-training data to include even more diverse global populations and histological variances.
Summary updated