In digital pathology, whole-slide images (WSIs) are often difficult to handle due to their gigapixel scale, so most approaches train patch encoders via self-supervised learning (SSL) and then aggregate the patch-level embeddings via multiple instance learning (MIL) or slide encoders for downstream tasks.
However, patch-level SSL may overlook complex domain-specific features that are essential for biomarker prediction, such as mutation status and molecular characteristics, as SSL methods rely only on basic augmentations selected for natural image domains on small patch-level area.
Moreover, SSL methods remain less data efficient than fully supervised approaches, requiring extensive computational resources and datasets to achieve competitive performance.
To address these limitations, we present EXAONE Path 2.0, a pathology foundation model that learns patch-level representations under direct slide-level supervision.
Using only 37k WSIs for training, EXAONE Path 2.0 achieves state-of-the-art average performance across 10 biomarker prediction tasks, demonstrating remarkable data efficiency.
For further details, please refer to EXAONE_Path_2_0_technical_report.pdf.
Quickstart
Load EXAONE Path 2.0 and extract features.
1. Prerequisites
NVIDIA GPU with 12GB+ VRAM
Python 3.12+
Note: This implementation requires NVIDIA GPU and drivers. The provided environment setup specifically uses CUDA-enabled PyTorch, making NVIDIA GPU mandatory for running the model.
2. Setup Python environment
git clone https://huggingface.co/LGAI-EXAONE/EXAONE-Path-2.0
cd EXAONE-Path-2.0
pip install -r requirements.txt
3. Load the model & Inference
from exaonepath import EXAONEPathV20
hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
model = EXAONEPathV20.from_pretrained("LGAI-EXAONE/EXAONE-Path-2.0", use_auth_token=hf_token)
svs_path = "samples/sample.svs"
patch_features = model(svs_path)[0]
Model Performance Comparison
Performance of EXAONE Path 2.0 on 10 slide-level benchmarks (AUROC scores):
EXAONE-Path-2.0 huggingface.co is an AI model on huggingface.co that provides EXAONE-Path-2.0's model effect (), which can be used instantly with this introvoyz041 EXAONE-Path-2.0 model. huggingface.co supports a free trial of the EXAONE-Path-2.0 model, and also provides paid use of the EXAONE-Path-2.0. Support call EXAONE-Path-2.0 model through api, including Node.js, Python, http.
EXAONE-Path-2.0 huggingface.co is an online trial and call api platform, which integrates EXAONE-Path-2.0's modeling effects, including api services, and provides a free online trial of EXAONE-Path-2.0, you can try EXAONE-Path-2.0 online for free by clicking the link below.
introvoyz041 EXAONE-Path-2.0 online free url in huggingface.co:
EXAONE-Path-2.0 is an open source model from GitHub that offers a free installation service, and any user can find EXAONE-Path-2.0 on GitHub to install. At the same time, huggingface.co provides the effect of EXAONE-Path-2.0 install, users can directly use EXAONE-Path-2.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.