Development and validation of an explainable model for predicting lymph node metastasis in early gastric cancer: a multicenter retrospective study with external and prospective validation
Accurate preoperative prediction of lymph node metastasis (LNM) is essential for treatment selection in early gastric cancer (EGC), particularly when considering endoscopic submucosal dissection. Existing approaches show limited sensitivity for metastatic disease and frequently lack external or prospective validation. We aimed to develop and validate an interpretable machine-learning model for individualized preoperative prediction of LNM in EGC. In this multicenter study, four cohorts from three tertiary center…

In brief
Researchers built a machine-learning model to estimate before surgery whether early gastric cancer has spread to lymph nodes. They trained it on 3412 patients from tertiary centers, of whom 467 had lymph node metastasis, and compared six algorithms. XGBoost performed best.
The result matters because treatment selection, particularly whether endoscopic submucosal dissection is appropriate, depends on accurate nodal risk estimates, and existing approaches were described as lacking sensitivity and validation. The model's discrimination fell from training to validation, and the source reports performance metrics rather than patient outcomes from using the tool.
Main points
- Four cohorts from three tertiary centers were used, including a prospective cohort enrolled from September 2023 to December 2024.
- XGBoost reached a training AUC of 0.9289, an external AUC of 0.8583, and a prospective AUC of 0.8766.
- A preoperative pathology validation cohort from January 2025 to January 2026 gave an AUC of 0.8653 and a PR-AUC of 0.6050.
- Key predictors were lymphovascular/neural invasion, invasion depth, tumor location, differentiation, and tumor size.
- SHAP was used for interpretability and a web-based calculator was developed.
The gain
An interpretable XGBoost model estimated individual risk of lymph node metastasis in early gastric cancer and held up in external and prospective validation, which may help choose between endoscopic and surgical treatment.
The rundown
Patients with pathologically confirmed early gastric cancer who underwent gastrectomy with lymph node dissection were enrolled retrospectively for training and external validation. Variables were selected with LASSO regression, and SMOTE addressed class imbalance, since only 13.7% of training patients had metastasis.
Performance was assessed using AUC and PR-AUC, with SHapley Additive exPlanations used to explain predictions. The prospective cohort had an AUC of 0.8766 and PR-AUC of 0.5137, lower than the training AUC.
The authors released a web-based calculator intended to give transparent individualized risk estimates to inform the choice between endoscopic and surgical management.
Sources
- Peer-reviewedEuropean Journal of Surgical Oncology2026-10-14
ace
The debate