Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Nutr.

Sec. Clinical Nutrition

Volume 12 - 2025 | doi: 10.3389/fnut.2025.1678879

Identification of Postoperative Weight Loss Trajectories and Development of a Machine Learning-Based Tool for Predicting Malnutrition in Gastric Cancer Patients

Provisionally accepted
  • 1Fujian Provincial Cancer Hospital, Fuzhou, China
  • 2Fujian Agriculture and Forestry University, Fuzhou, China

The final, formatted version of the article will be published soon.

Background: Significant postoperative weight loss and malnutrition represent common and serious complications following radical gastrectomy for gastric cancer. Early identification of distinct weight loss trajectories and prediction of malnutrition risk may facilitate targeted interventions. Methods: This prospective, observational longitudinal study enrolled 312 gastric adenocarcinoma patients undergoing radical gastrectomy. Participants were assessed preoperatively (T0) and at 3, 6, 9, and 12 months postoperatively (T1-T4). Percentage weight loss was calculated at each postoperative time point. Latent growth mixture modeling (GMM) identified distinct weight loss trajectories. Eight machine learning algorithms (XGBoost, SVM, RF, NB, KNN, MLP, GBM, PLS) were trained using predictors selected by LASSO regression and the Boruta algorithm to predict GLIM-defined malnutrition at 6 months postoperatively (T2, the peak malnutrition timepoint). Additionally, a multivariable logistic regression-derived nomogram was developed and validated, with assessments of discrimination, calibration, and clinical utility. Results: GMM identified three distinct 12-month postoperative weight loss trajectories: severe (11.9%), moderate (36.2%), and minimal (51.9%). The prevalence of GLIM-defined malnutrition peaked at 51.6% at 6 months (T2). Among the eight machine learning models, XGBoost achieved the best performance in predicting 6-month malnutrition. The final nomogram, which incorporated age ≥65 years, preoperative underweight status, preoperative reduced muscle mass, and total gastrectomy, showed excellent discrimination, calibration, and clinical utility. DeLong's test indicated no significant difference in AUC between the XGBoost model and the nomogram (P = 0.121). Conclusions: This study delineates distinct postoperative weight loss trajectories in gastric cancer patients. We developed and validated both an advanced ML model (XGBoost) and a clinically interpretable nomogram for accurately predicting 6-month postoperative malnutrition risk.

Keywords: gastric cancer, weight loss trajectories, Malnutrition, machine learning, nomogram

Received: 03 Aug 2025; Accepted: 05 Sep 2025.

Copyright: © 2025 Mingfang, Lin, Rong, Ying, Jian and Zhuo. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Changhua Zhuo, Fujian Provincial Cancer Hospital, Fuzhou, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.