EGFR classification of LUAD tumors using EXAONE Path 2.0 - a pathology foundation model with end-to-end supervision.
This model serves as a reference for predicting EGFR mutation status using LUAD (lung adenocarcinoma) tumor images as input.
When the model receives an H&E-stained whole slide image as input, it passes through the EXAONE Path 2.0 foundation model, which converts it into a set of features.
These features are then integrated into a slide-level feature representation through an aggregator.
Finally, a linear classifier predicts the EGFR mutation status (wild-type or mutated).
The model achieves an average performance of AUROC 0.85 on in-house data.
This open-source release aims to demonstrate the effectiveness of EXAONE Path 2.0 on biomarker prediction tasks.
It is hoped that this source code will serve as an important reference not only for LUAD EGFR prediction but also as an image-based solution for various disease-related problems, including molecular subtyping, tumor subtyping, and mutation prediction.
1from predictor import EXAONEPathLuadEgfrPredictor
2
3hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
4model = EXAONEPathLuadEgfrPredictor.from_pretrained("LG-AI-EXAONE/EXAONE-Path-LUAD-EGFR-Predictor", use_auth_token=hf_token)
5svs_path = "samples/EGFR-mutated.svs"
6pos_prob = model(svs_path)
7svs_path = "samples/EGFR-wild.svs"
8neg_prob = model(svs_path)
9print(f"EGFR mutation prob of positive sample: {pos_prob:.2f}")
10print(f"EGFR mutation prob of negative sample: {neg_prob:.2f}")
LG AI Research Technical Support:
contact_us1@lgresearch.ai