Int J Med Sci 2022; 19(7):1173-1183. doi:10.7150/ijms.72195 This issue Cite

Research Paper

Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer

Xuanyu Liu*, Su Lei*, Qi Wei, Yizhou Wang, Haibin Liang Corresponding address, Lei Chen Corresponding address

Department of General Surgery, Xinhua Hospital, Affiliated to Shanghai Jiao Tong University School of Medicine, No. 1665 Kongjiang Road, Shanghai 200092, China
*These authors contributed equally to this work.

Citation:
Liu X, Lei S, Wei Q, Wang Y, Liang H, Chen L. Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer. Int J Med Sci 2022; 19(7):1173-1183. doi:10.7150/ijms.72195. https://www.medsci.org/v19p1173.htm
Other styles

File import instruction

Abstract

Graphic abstract

Backgrounds: The immunonutritional index showed great potential for predicting postoperative complications in various malignant diseases, while risk assessment based on machine learning (ML) methods is becoming popular in clinical practice. Early detection and prevention for postoperative anastomotic leakage (AL) play an important role in prognosis improvement among patients with gastric cancer (GC).

Methods: This retrospective study included 297 patients with gastric cancer receiving gastrectomy between 2018 and 2021 in general surgery department of Xinhua Hospital. Perioperative clinical variables were collected to evaluate the predictive value for postoperative AL with 5 ML models. Then, AUROC was applied to identify the optimal perioperative clinical index and ML model for predicting postoperative AL.

Results: The incidence of postoperative AL was 6.1% (n=18). After the training of 5 ML classification models, we found that immunonutritional index had significantly better classification ability than inflammatory or nutritional index alone separately (AUROC=0.87 vs. 0.83, P=0.01; AUROC=0.87 vs. 0.68, P<0.01). Next, we found that support vector machine (SVM), one of the ML methods, with selected immunonutritional index showed significantly greater classification ability than optimal univariant parameter [CRP on postoperative day 4 (AUROC=0.89 vs.0.86, P=0.02)]. Also, statistical analysis revealed multiple variables with significant relevance to postoperative AL, including serum CRP and albumin on postoperative day 4, NLR and SII etc.

Conclusion: This study showed that perioperative immunonutritional index could act as an indicator for postoperative AL. Also, ML methods could significantly enhance the classification ability, and therefore, could be applied as a powerful tool for postoperative risk assessment for patients with GC.

Keywords: gastric cancer, anastomotic leakage, machine learning, immunonutritional index

Introduction

Gastric cancer is currently the fourth most common malignant disease worldwide, presenting a particularly high morbidity rate in East Asian region 1. With the development of modern medical technology including surgical operation and perioperative healthcare, mortality rate after gastrectomy is becoming much lower than before. Currently, gastrectomy with D2 lymphadenectomy is the standard procedure for patients with advanced stage gastric cancer, and could provide possible curative treatment 2, 3. However, postoperative anastomotic leakage remains to be clinically concerning with an incidence of 2.1-14.6% and a mortality rate of up to 50% reportedly, which could cause prolonged hospital stay, increased overall cost, and even compromised long-term survival [4-7]. Present methods for detecting postoperative AL mostly depend on laboratory examination and radiological diagnosis 8. However, in case of severe complications like AL, advanced medical treatment before clinically confirmed could seize the opportunity and greatly enhance curative effect 9, 10.

Thus, early-stage risk stratification for postoperative AL that allows medical intervention in advance shows great potential to improve overall in-hospital health care, which could lead to a more personalized treatment plan, less unnecessary examination or invasive operation, and therefore, better prognosis 11.

Recently, machine learning started to show great value in oncological researches, ranging from assessing efficacy of chemotherapy 12, predicting long-term prognosis 13-15 to making early diagnosis 16. Machine learning models could work on a variety of complex nonlinear data and integrate task-related input features, so as to construct a more robust model with better predictive performance for decision making 17. Nowadays, with digitalization of the medical records, in-patient big data becomes easier for doctors to record and access, including medical history, imaging reports, laboratory tests and other information. Much valuable information was buried with other redundant useless data. However, with the help of ML methods, the performance could be greatly improved with designed algorithms through empirical learning. ML could also improve data quality by feature screening, extraction, and dimensionality reduction etc., which is even more beneficial on big data 18, 19.

In this study, we hypothesized that perioperative immunonutritional index is clinically related to the occurrence of postoperative AL, and could predict the risk level with the help of trained machine learning models.

Methods

Study design

This retrospective study enrolled all the patients that meet the inclusion criteria in the department of general surgery of Xinhua Hospital from 2018 to 2021. The inclusion criteria contained following: adult patients (age ≥ 18), pathological diagnosis of gastric carcinoma and undergoing gastrectomy with lymphadenectomy. Exclusion criteria were patients with general or localized infection, pregnant, clinically unable to perform surgery, with mental illness that could obstruct follow-up study, taking immuno-suppressive drugs or with missing clinical data of any kind.

Perioperative management

Once enrolled, all the patients underwent a thorough preoperative evaluation and data collection, including medical history, physical examination, laboratory and radiological examination, and anesthesia evaluation. Meanwhile, biopsies under gastroscopy were also needed to determine the pathological features and the depth of invasion. And, in order to rule out distant metastasis, Positron Emission Tomography-Computed Tomography (PET-CT) and abdominal enhanced CT were conducted when needed.

Open or laparoscopic gastrectomy with digestive tract reconstruction and lymph node dissection were performed following GC treatment guidelines, and all surgeries were performed by at least one experienced chief surgeon. The tumor staging was cataloged based on the American Joint Committee on Cancer TNM Staging System for Gastric Cancer (eighth edition).

All postoperative complication within 30 days of surgery were graded according to the Clavien-Dindo classification 20.

Data collection and endpoint

Routine blood biochemistry examinations were taken within one week before operation, covering tests of leukocytes (109/L), neutrophils (109/L), platelets (109/L), lymphocytes (109/L), serum fibrinogen (g/L), serum hemoglobin (g/L), serum albumin (g/L). Other perioperative clinicopathological characteristics included: age, sex, height, weight, former medical history, duration of hospitalization, surgery procedures, tumor TNM staging and grading. Postoperative blood tests were collected on postoperative day (POD) 1, 4 and 7 after surgery, including tests of leukocytes (109/L), neutrophils (109/L), serum albumin (g/L), serum CRP.

In present study, the SII, PNI and NLR were calculated as follows: SII=N×P/L and NLR=N/L, where L, N, and P represent lymphocytes, neutrophils, and platelets respectively; PNI = serum albumin (g/L) + lymphocyte count × 5 (109 /L).

The primary outcome was to find clinical relation and potential value between perioperative immunonutrition index and postoperative AL. The secondary outcome was to investigate the clinical value of ML models in risk assessment.

Univariant statistical analysis

Univariant statistical analysis were conducted using R software (version 4.1.2). Continuous variables were described as mean ± standard deviation (SD) for normally distributed data and would be compared by t-test. While, other continuous variables were described as median and interquartile range (IQR), and would be compared by nonparametric tests. The performance of each variable was compared through area under the receiver operating characteristic curve (AUROC), using pROC package in R software. Statistically significance was considered as P<0.05.

Classifier development and evaluation

We applied 6 types of feature sets and 5 different ML classification methods. Then, we adopted the training-validation-testing procedure, repeating 100 times each. In every single iteration, we divided all enrolled patients into three groups, including training set (81%), validation set (9%), or testing set (10%). The grid search was used in training and validation sets to find optimal hyperparameter for the classification model, and would be further verified through testing set. All procedures above were conducted with Python package scikit-learn. The detailed workflow was presented in Figure 1.

 Figure 1 

Workflow for the classification methods and feature sets evaluation. All data were split into 3 sets, including training, validation, and testing set. Five methods and six feature sets were tested and repeated for 100 iterations. Hyperparameter tuning would be performed with training and validation set. Then, combined and trained with optimal hyperparameter set, the highest AUROC (area under the receiver operating characteristic curve) for the validation set would be received. Afterwards, the final model would be applied in the testing set to verify its classification ability, the performance of which would be reported for each feature set. * Six feature sets include pre-operative, inflammatory, nutritional, immunonutritional, all and feature set with selected data. Five machine learning methods include k-NN, LR, SVM, RF and GB. k-NN: k-nearest neighbors; LR: logistic regression; SVM: support vector machine; RF: random forest; GB: gradient tree boosting.

Int J Med Sci Image

We evaluated the performance of ML models through AUROC with the metrics.roc_auc_score function from the Python package of scikit-learn. To compare the performance of different feature sets, a 2-sided paired sample t test was conducted, using the AUROCs of the test sets. The t test was conducted with stats.ttest_rel function within SciPy Python package.

Then, we evaluated the clinically relevant variables and measured the weight of contribution to the clinical outcome in order to achieve better improvement in ML performance. To that end, we conducted Shapley additive explanations (SHAP) to find clinical relevance of different variables in each feature set 21.

Results

Characteristics of patients

A total of 297 patients were eligible in this study, including 199 males and 98 females with a mean age of 63.5 years (± 10.2 years) and a mean BMI of 22.4 kg/m2 (± 3.2 kg/m2) (Table 2a). There were 196 (66%) patients who underwent laparotomic surgical procedure. Only a minority of patients (n=37, 12.5%) received intra-operative blood transfusion, and the median intra-operative blood loss was 150 ml (IQR, 100-200 ml). According to the eighth edition of the AJCC TNM staging system, this study was composed of 102 (34.3%) stage I, 67 (22.6%) stage II, 124 (41.8%) stage III and 4 (1.3%) stage IV patients.

Among all the patients included in this study, 18 patients (6.1%) altogether have shown symptoms and been clinically diagnosed with postoperative AL. Compared with those patients without postoperative AL, those who did were more likely to go through longer hospitalization and might experience more intra-operative blood loss (P<0.01). However, there were no significant differences in age, BMI or TNM staging between patients with or without postoperative AL (Table 2a and Table 2b).

Univariant analysis of perioperative immunonutritional index

As shown in Table 2a, the median pre-operative CRP, NLR and SII of patients with postoperative AL were significantly higher than those without the occurrence of postoperative AL (P<0.05). While, the median pre-operative lymphocyte count was significantly lower than those without postoperative AL (P<0.05). Among these four preoperative clinical variables that presented statistical difference, lymphocyte count had the best AUC of 0.712 for postoperative AL, which, however, was not significantly higher than that of other preoperative variables. As for postoperative variables, CRP and albumin level on POD 1, as well as all variables on POD 4 showed significant difference between patients with and without AL. Among these variables, CRP on POD 4 achieves optimal AUROC of 0.857 with a cutoff value of 159.5 (Figure 2). However, comparing to preoperative lymphocyte, CRP on POD 4 showed no significant improvement in AUROC (P=0.11).

 Table 2a 

Pre-operative and overall clinicopathological characteristics of the study stratified with and without post-operative anastomotic leakage (n=297)

VariablesAll patients (n=297)Post-operative anastomotic leakageP-value
No (n=279)Yes (n=18)
Sex0.583
Female98 (33%) *91 (32.6%)7 (38.9%)
Male199 (67%)188 (67.4%)11 (61.1%)
Age (years)65 [57-70] 65 [57-70]61 [52.8-69]0.277
BMI (kg/m2)22.4 ± 3.222.5 ± 3.221.6 ± 3.70.277
Neoadjuvant chemotherapy0.357
No290 (97.6%)273 (97.8%)17 (94.4%)
Yes7 (2.4%)6 (2.2%)1 (5.6%)
Preoperative WBC count ( × 109/L)5.6 [4.6-6.8]5.6 [4.7-6.8]5.6 [4.2-8]0.814
Preoperative CRP2 [1-3]2 [1-3]3 [2-5.5]0.009
Preoperative neutrophil ( × 109/L)3.4 [2.7-4.3]3.3 [2.7-4.2]4.3 [2.9-5.4]0.065
Preoperative lymphocyte ( × 109/L)1.6 [1.2-2]1.6 [1.3-2]1.2 [1-1.4]0.003
Preoperative hemoglobin (g/L)129 [111-140]129 [111-140]123 [113-146.8]0.976
Preoperative albumin (g/L)39.4 ± 4.6 #39.5 ± 4.538.1 ± 5.30.228
Preoperative NLR2.2 [1.6-2.9]2.1 [1.5-2.9]3.1 [2.2-4.8]0.003
Preoperative PNI47.7 ± 5.947.8 ± 5.845.1 ± 6.50.056
Preoperative SII436.8 [295.6-706.1]435 [295.4-691.8]828.4 [402.9-1077.6]0.029
Post-operative hospital stays (days)11 [9-13]11 [9-13]27.5 [21.2-33.5]< 0.001
Clavien-Dindo classification< 0.001
I245 (82.5)245 (87.8)0 (0)
II37 (12.5)33 (11.8)4 (22.2)
III12 (4)1 (0.4)11 (61.1)
IV2 (0.7)0 (0)2 (11.1)
V1 (0.3)0 (0)1 (5.6)

* Categorical variables are presented as number (percentage).

# Continuous variables are presented as mean ± standard deviation for normally distributed data.

Other continuous are presented as medians and [interquartile ranges].

BMI: Body Mass Index; WBC: white blood cell; CRP: C-reactive protein; NLR: neutrophil-to-lymphocyte ratio; PNI: prognostic nutritional index; SII: systemic immune-inflammatory index.

 Figure 2 

Comparison of performance of univariate analysis in AUROC. A total of 16 single factors with top classification ability were presented in the plot, AUROCs of which were presented in median ± standard deviation. AUROCs less than 0.5 correspond to negative correlation with the occurrence of postoperative AL. Average: the average value of the attached clinical variables, including pre-operative and postoperative measurements. Min/max: the minimum/maximum value of the attached clinical variables, including pre-operative and postoperative measurements. Max-a/d: the maximum ascending/descending value of the attached clinical variables between two adjacent measurements. WBC: white blood cell; CRP: C-reactive protein; NLR: neutrophil-to-lymphocyte ratio; PNI: prognostic nutritional index; SII: systemic immune-inflammatory index.

Int J Med Sci Image
 Table 2b 

Operative and tumor-related clinicopathological characteristics of the study stratified with and without post-operative anastomotic leakage (n=297)

VariablesAll patients (n=297)Post-operative anastomotic leakageP-value
No (n=279)Yes (n=18)
Intraoperative blood loss (mL)150 [100-200]150 [100-200]200 [112.5-325]0.042
Intra-operative blood transfusion:0.478
No260 (87.5%)245 (87.8%)15 (83.3%)
Yes37 (12.5%)34 (12.2%)3 (16.7%)
Surgical approach:0.565
Laparotomy196 (66%)183 (65.6%)13 (72.2%)
Laparoscopic or laparoscopic assisted101 (34%)96 (34.4%)5 (27.8%)
TNM stage0.572
I102 (34.3%)98 (35.1%)4 (22.2%)
II67 (22.6%)63 (22.6%)4 (22.2%)
III124 (41.8%)114 (40.9%)10 (55.6%)
IV4 (1.3%)4 (1.4%)0 (0)

The tumor staging was cataloged based on the American Joint Committee on Cancer of Gastric Cancer TNM staging system (eighth edition).

 Table 2c 

Postoperative clinicopathological characteristics of the study stratified with and without post-operative anastomotic leakage (n=297)

VariablesAll patients (n=297)Post-operative anastomotic leakageP-value
No (n=279)Yes (n=18)
WBC-POD 114.2 [11.3, 17.5]14.1 [11.3, 17.2]16.3 [10.3, 20.9]0.366
CRP-POD 172 [47, 99]69 [47, 98]125.5 [58.2, 149.2]0.02
N-POD 112.5 [9.9, 15.8]12.4 [9.9, 15.7]14.9 [9.2, 19.4]0.359
L-POD 10.7 [0.6, 0.9]0.7 [0.6, 1]0.7 [0.4, 0.8]0.279
ALB-POD 135.6 ± 4.435.9 ± 4.231.6 ± 5.8< 0.001
NLR-POD 117.5 [11.6, 24.7]17.4 [11.6, 24.6]20.1 [13.6, 26.6]0.277
WBC-POD 410.1 [7.6, 12.3]10 [7.5, 12.1]11.8 [10.2, 16]0.02
CRP-POD 489 [54, 157]85 [52, 145.5]180 [160, 200]< 0.001
N-POD 48.3 [6, 10.4]8.2 [5.9, 10]10.3 [8.8, 13.4]0.005
L-POD 40.9 [0.7, 1.3]0.9 [0.7, 1.3]0.8 [0.5, 1]0.015
ALB-POD 436.9 ± 437.1 ± 3.934 ± 4.60.001
NLR-POD 48.4 [5.9, 12.4]8.2 [5.7, 12]14.2 [12.1, 23.4]< 0.001

WBC: white blood cell; CRP: C-reactive protein; NLR: neutrophil-to-lymphocyte ratio; N: neutrophil; L: lymphocyte; alb: albumin; POD: postoperative day.

Overview of the machine learning classifiers

In order to further determine the predictive value of ML models and immunonutritional index on postoperative AL, we selected 5 machine learning algorithms [k-nearest neighbors, logistic regression (LR), support vector machine (SVM), random forest (RF), and gradient tree boosting (GB)] and 6 feature sets, namely nutritional, inflammatory, immunonutritional, all data, all pre-operative data and feature sets with selected variables. The specific variables included in these feature sets respectively were listed in Table 5. Given the fact that many clinical variables in this study were longitudinal (CRP, albumin, etc.), we extracted several features from these variables, including mean value, maximum and minimum account during hospitalization, maximum increase and decrease between adjacent examination, and put these variational indexes into relevant feature sets. The performance of each feature set was listed in Table 4. It is rather clear from the table that LR, SVM and RF models had the first-tier performance, while GB and k-NN models had suboptimal performance. Among those three models with first-tier performance, RF model showed the highest AUROCs in most of feature sets, while SVM showed optimal performance in feature set with selected variables, which was also the optimal performance in the entire study (AUROC=0.89±0.09).

 Table 3 

Value of hyperparameters of classification methods

ClassifierHyperparameterValue
k-nearest neighborn-neighbors3, 5, 7
metricsEuclidean, correlation
Logistic regressionC0.01, 0.1, 1, 10,100, 1000
Support vector machineC0.1, 1, 10, 100
gamma1e-3, 1e-2, 1e-1
Random forestMax features0.1, 0.2, 0.4, 0.8
Max depth4, 8, 12
Gradient tree boostingN estimators100, 500
Max depth2, 3, 4
Learning rate0.01, 0.05, 0.1
Subsample0.33, 0.66, 1
 Table 4 

AUROC for each machine learning model on 6 feature sets

Feature setsk-NNLRSVMRFGB
Pre-operative0.57±0.150.63±0.240.61±0.210.69±0.20.64±0.19
Inflammatory0.63±0.170.81±0.130.81±0.130.83±0.140.78±0.15
Nutritional0.55±0.140.67±0.230.56±0.230.68±0.220.65±0.22
Immunonutritional0.62±0.170.85±0.10.85±0.120.87±0.120.82±0.14
All0.61±0.180.87±0.090.87±0.10.86±0.130.82±0.14
Selected0.71±0.170.88±0.090.89±0.090.87±0.130.83±0.13

AUROC (area under the receiver operating characteristic curve) was presented in mean ± standard deviation for each machine learning model on 6 feature sets in this study.

k-NN: k-nearest neighbors; LR: logistic regression; SVM: support vector machine; RF: random forest; GB: gradient tree boosting

 Table 5 

List of clinical variables included in each feature set

Nutri-
ional
Inflamma-toryImmuno-
nutritional
AllPre-
operative
Selected
Sex000110
Age000111
Height000110
Weight000110
BMI101111
Neoadjuvant chemotherapy000110
Diabetes mellitus000111
Hypertension000110
preop-WBC011111
preop-CRP011111
preop-N011110
preop-L011111
preop-blood platelet101110
preop-hemoglobin101111
preop-alb101111
NLR011111
PNI101111
SII011111
Preoperative fibrinogen101110
op-bleed000101
WBC-POD 1/4011101
CRP-POD 1/4011101
N-POD 1/4011100
L-POD 1/4011100
ALB-POD 1/4101101
NLR-POD 1/4011101
N-max011100
N-min011100
N-max-a011100
N-max-d011100
N-average011100
WBC-max011101
WBC-min011100
WBC-max-a011101
WBC-max-d011100
WBC-average011101
NLR-max011101
NLR-min011100
NLR-max-a011101
NLR-max-d011100
NLR-average011101
CRP-max011101
CRP-min011100
CRP-average011101
CRP-max-a011101
CRP-max-d011100
alb-max101100
alb-min101101
alb-average101101
alb-max-a101100
alb-max-d101101

WBC: white blood cell; CRP: C-reactive protein; NLR: neutrophil-to-lymphocyte ratio; PNI: prognostic nutritional index; SII: systemic immune-inflammatory index, alb: albumin; POD: postoperative day; preop: preoperative; N: neutrophil; L: lymphocyte.

Average: the average value of the attached clinical variables, including pre-operative and postoperative measurements.

Min/max: the minimum/maximum value of the attached clinical variables, including pre-operative and postoperative measurements.

Max-a/d: the maximum ascending/descending value of the attached clinical variables between two adjacent measurements.

SVM model on selected immunonutritional index had best performance

Furthermore, we evaluated the performance of different ML classification models on different feature sets for predicting postoperative AL. According to the analysis, we found that inflammatory or nutritional index alone could achieve a rather promising predictive effect, and that inflammatory index had better overall predictive performance comparing to nutritional index (P<0.01 in all 5 methods). While, combining both forementioned feature sets together with other systemic immunonutritional index like SII and PNI synergistically could further improved the classification performance of the models. As shown in the Figure 3, AUROC of immunonutritional index was significantly higher than that of inflammatory or nutritional feature sets individually in LR, SVM, RF and GB models (P=0.01 for RF, and P<0.01 for other 3 models). Then, we found that k-NN, LR and SVM model significantly outperformed themselves in feature set with selected immunonutritional index than other 5 feature sets respectively (P<0.01).

Next, in order to clarify whether or not ML models could improve classification ability on predicting postoperative AL, we picked out and then compared the optimal performance with and without ML models (i.e., SVM model on feature set with selected immunonutritional index and CRP on POD 4, respectively). The result showed that classification ability with ML model was significantly higher than that without ML model (AUROC=0.892 versus 0.857, P=0.02), while the stability of performance with ML model was also significantly higher than that without ML model (P=0.038, Levene test).

After that, we further examined the clinical relevance of different variables in SVM model on feature set with selected variables. As a result, we found that CRP on POD 4 contributed the most to model performance, followed by preoperative NLR, albumin level on POD 4, preoperative SII value etc. (Figure 4).

Discussion

In this retrospective study of 297 patients from Department of general surgery in Xinhua Hospital, we found that postoperative anastomotic leakage occurred in 6.1% of patients enrolled in this study, which was consistent with previous studies 11, 22. Although, this incidence rate may be slightly higher than the actual situation, since patients with excellent postoperative recovery were more likely to be discharged from hospital early and, therefore, get excluded from the study because of incomplete postoperative variables. From this study, the median postoperative time until diagnosis of AL was 7 days (range 3-30 days), which was also in accordance with present study 11. Thus, with the widespread consensus of ERAS protocol, patients may develop symptoms of postoperative AL after discharge from hospital, arising great clinically concerning risk for prognosis and curative efficacy. Also in this study, patients with postoperative AL were more likely to have prolonged hospital stay and greater amount of intra-operative bleeding, suggesting a worse overall prognosis. So, apparently, it is important to find early and reliable markers for predicting postoperative AL, so that sequelae of severe consequences could be minimized to the most.

Over the years, there were constant discussions on theories for factors of postoperative AL. Some of the factors were accepted by most researchers, including malnutrition, hyper-tensility on the anastomotic stoma, lack of blood supply or local inflammation around anastomotic regions 8, 11, 23. Other possible factors include advanced ages, high BMI, medical history of neoadjuvant chemotherapy, low hemoglobin 7, 22. Apart from the factor of tensility on anastomotic stoma, other involving factors all could be partly summarized into poor immunonutritional condition. Therefore, indexes for describing systemic immunonutritional condition gradually arouse attention of researchers worldwide. Besides inflammatory and nutritional variables, comprehensive immunonutritional index like NLR, SII and PNI also gathered accumulating interest 24-27, receiving promising results for predicting postoperative complication including AL.

 Figure 3 

Comparison of performance of each machine learning methods on 6 feature sets in AUROC. Overall performance of AUROC (area under the receiver operating characteristic curve) of five machine learning methods for six feature sets respectively in 100 iterations. A through C, in k-NN, LR and SVM models, the feature set with selected data achieved significant higher classification ability than other 5 remaining feature sets (P<0.05). D, as for RF model, the classification ability of selected feature set was optimal, and was significantly higher than that of other feature sets (P<0.05), except for immunonutritional feature set (P=0.078). E, in GB model, the selected, immunonutritional and all feature sets showed no significant differences in model performance from one another. Meanwhile, the classification ability of the forementioned 3 feature sets were significantly higher than the remaining 3 feature sets (P<0.05). k-NN: k-nearest neighbors; LR: logistic regression; SVM: support vector machine; RF: random forest; GB: gradient tree boosting; AUROC: area under the receiver operating characteristic curve

Int J Med Sci Image
 Figure 4 

SHAP value of SVM on selected feature set. Color gradient indicates that the risk for postoperative AL increases (red) or decreases (blue) as the value of the variables increase. Average: the average value of the attached clinical variables, including pre-operative and postoperative measurements. Min/max: the minimum/maximum value of the attached clinical variables, including pre-operative and postoperative measurements. Max-a/d: the maximum ascending/descending value of the attached clinical variables between two adjacent measurements. SHAP: Shapley additive explanation; SVM: support vector machine; CRP: C-reactive protein; POD 1: postoperative day 1; POD 4: postoperative day 4; NLR: neutrophil-to-lymphocyte ratio; ALB: albumin; SII: systemic immune-inflammatory index; WBC: white blood cell; L: lymphocyte.

Int J Med Sci Image
 Figure 5 

Performance of SVM model and CRP on postoperative day 4 in AUROC. In this plot, the saturated-colored lines are the average ROCs of 100 iteration respectively, while the light-colored area correspond to mean ± standard deviation. The grey dotted line is the baseline of a random classifier. The average AUROCs were presented respectively in this plot. SVM model on selected feature set outperformed CRP on POD 4 (P=0.02), while the stability of SVM was also significantly higher than CRP on POD 4 (P=0.038, Levene test). SVM: support vector machine; CRP: C-reactive protein; POD 4: postoperative day 4; AUROC: area under the receiver operating characteristic curve.

Int J Med Sci Image

From the univariant analysis in this study, we found that CRP on POD 4 achieved optimal AUROC of 0.857 with a cutoff value of 159.5 (Figure 2). This result echoed afar with numerous researches recently 27-31, suggesting that CRP was one of the most commonly used and widely verified clinical predictors for postoperative AL and other postoperative infections. Other variables presenting great potential include NLR on POD 4 (AUROC=0.802, cutoff value=10.55), minimum serum albumin during hospitalization (AUROC=0.7475, cutoff value=32.25) (Figure 2), which also indicated that poor overall immunonutritional internal environment may increase risk of postoperative AL. However, univariant analysis seemed inadequate for analyzing data with complex correlations or processing nonlinear datasets, since both inflammatory and nutrition index needed to be included into analysis.

Therefore, we conducted further research with different machine learning models and feature sets. By comparing the results, we found that both inflammatory variables and nutrition variables could get decent results of predictive ability. While, feature set with inflammatory variables alone could achieve better model performance, with 3 models achieving AUROC > 0.8 and 1 model achieving AUROC > 0.75 (Figure 3). Furthermore, after combining immunonutritional variables, 4 machine learning models showed significant improvement in model performance. (Table 4, P=0.01 for RF, and P<0.01 for other 3 models), which reflected the potential predictive value of immunonutritional indexes. To push even further, we selected a specific set of variables from immunonutritional feature set based on their clinical implications and univariant analysis outcomes. In this way, we set up a more model-specific selection of clinical data to reduce the risk of overfitting. As a result, significant improvement arose in 3 models (Table 4, P<0.01 for k-NN, SVM and LR model), and SVM model achieved optimal AUROC of 0.89.

Then, naturally, we needed to find out if ML models could significantly improve the classification ability on predicting postoperative AL. In order to figure out that, we picked out the optimal performance with ML model (i.e., SVM model on feature sets with selected immunonutritional index) and the optimal performance without ML (i.e., CRP on POD 4). Then, through comparison between these two performances, we found out that classification ability with. ML was significantly higher than that without ML (Figure 5, P=0.02). Moreover, the stability of the performance with ML was also significantly higher (P=0.038). The result showed that ML models presented valid advantages over common univariant analysis, which also indicated that the occurrence of postoperative AL involves multiple factors contributing collectively. To understand which variables contributed to the model performance, we examined the learning weight of the feature sets (Figure 4). According to the plot of SHAP value, we found that increased serum CRP level and decreased albumin level on POD 4 were associate with high risk of postoperative AL. Other variables with clinically relevance included NLR, white blood cell counts and SII (Figure 4).

Furthermore, the study results also suggested that pre-operative variables alone were inadequate for accurate prediction (Table 4, Figure 3). As for pre-operative risk factors, some researchers found that pre-operative radiotherapy [OR = 1.65 (95% CI: 1.06-2.56)] and gender male [OR = 1.48 (95% CI: 1.37-1.60)] could be regarded as risk factors for postoperative AL, but the quality of evidence was moderate to low according to the GRADE approach 32, which, in some way, was in accordance with the outcome in this study.

Additionally, we found that variational index also contributed greatly in the model (Figure 4), like minimum albumin level, maximum count of white blood cell and maximum ascending amount of CRP etc. Several studies have learnt the importance of trajectory of clinical variables in prognostic research 33, 34, although some of the research also suggested that variational index alone lacked predictive value to rule out postoperative AL 35. In this study, we combined variational index with other perioperative variables and examined by machine learning methods, and eventually found the clinical contribution and importance of the changes in these variables.

In this study, we found that among 5 machine learning methods mentioned above, RF achieved the best performance in most feature sets, while LR, SVM and RF all reached first tier performance on feature set of selected variables, showing no significant difference from one another. This result suggested that machine learning models could extract useful information more effectively from feature sets with selected data, due to the removal of redundant data in the feature set.

Another thing to be noticed, we took records of clinical variables on POD 7 as mentioned above. As a result, CRP on POD 7 stood out with AUROC of 0.930, which had the optimal classification ability comparing with any other variables or feature sets on machine learning models. Consequently, it seemed that whether or not applying machine learning models made no difference to final performances. Should it be solid, CRP on POD 7 would be the solely crucial factor for AL, which seemed clinically unlikely to be true. To further identify the possible underlying reasons behind this outcome, we re-evaluated the clinical details of all the 18 patients with postoperative AL, finding that nearly half of these patients (n=8) presented symptoms of AL within POD 7 (Table 1). This could indicate that, for these patients, CRP on POD 7 should be considered as the outcome of postoperative AL instead of risk factor. Since patients with postoperative AL were already in a small amount, we decided that CRP on POD 7 should not be applied in the study. Recent studies also showed that researchers tend to conduct blood tests on postoperative day 1, 3, 4 or 5 10, 20, 29, 36. Besides that, another limitation of this study lied in the lack of cases in the study, especially cases of patients with postoperative AL, causing unstable performance of the models. Also, the negative predictive values of the models were generally above 0.90, which could be a result of a relatively low incidence of postoperative AL. This is another reason for the lack of cases of AL.

Thus, our future research will focus on further expanding the dataset, especially the collection of patients with postoperative AL, and standardizing the collection time points of laboratory examination. Apart from that, we will also integrate this machine learning-based risk assessment with online tools for clinical practice. For example, a combination of dataset and online risk calculator could enable real-time risk assessment while clinical data being recorded.

Conclusion

In the study, machine learning models were built for risk assessment of postoperative anastomotic leakage with 6 feature sets and 5 classification methods. We found that immunonutritional index have moderate to high performances, and selected index could further improve the classification ability of the model. We found that ML models could significantly improve classification ability than common univariant analysis. We also identified several variables with clinical relevance to postoperative AL, providing potential biomarkers for postoperative healthcare. This study indicated that machine learning-based risk assessment with the help of immunonutritional index could be a useful tool for early detection and decision-making for clinical practice in gastric cancer treatment.

Abbreviations

k-NN: k-nearest neighbors; LR: logistic regression; SVM: support vector machine; RF: random forest; GB: gradient tree boosting; AUROC: area under the receiver operating characteristic curve; SHAP: Shapley additive explanation; CRP: C-reactive protein; POD: postoperative day; NLR: neutrophil-to-lymphocyte ratio; PNI: prognostic nutritional index; ALB: albumin; SII: systemic immune-inflammatory index; WBC: white blood cell; L: lymphocyte; N: neutrophil; FLOT: Fluorouracil, Leucovorin, Oxaliplatin and Docetaxel; DM: Diabetes mellitus; COPD: chronic obstructive pulmonary disease; BMI: Body Mass Index.

 Table 1 

Details of patients with postoperative anastomotic leakage

SexAgeBMIAntecedentsDiagnostic delayClinical signsClavien-Dindo classificationNLR
(Preop-POD1-4-7)
CRP
(Preop-POD1-4-7)
Clinical outcome
1F7416.22DMD6FeverIIIb3.60 -35.53 -49.22 -23.1824-143-160-132Recovered on POD 36
2M5021.63Neoadjuvant chemotherapy (FLOT)D16Epigastric pain; unconsciousnessIVa6.40 -36.34 -5.36 -8.322-160-50-48Recovered on POD 45
3M5920.42HypertensionD8FeverIIIa2.17 -25.23 -24.98 -21.084-160-160-160Recovered on POD 25
4F6117.42HypertensionD30Epigastric painIIIa4.21 -14.13 -10.61 -3.233-124-129-99Recovered on POD 51
5F4119.40/D7FeverII3.83 -19.57 -12.57 -3.801-33-85-99Recovered on POD 28
6M7217.36HypertensionD8Ventosity; abdominal painV5.38 -37.00 -9.33- 18.804-68-114-160Death on POD11
7M6925.71Sequelae of previous cerebral infarctionD7Abdominal painIII5.50 -50.25 -39.17 -42.633-160-200-200Recovered on POD 31
8M7122.77Tobacco; COPDD3TachycardiaIV1.82 -13.88 -30.03 -65.002-78-200-200Recovered on POD 32
9M5126.92Hypertension; DMD5Jaundice; abdominal painIII4.77 -13.40 -16.35 -8.063-32-200-200Recovered on POD 29
10M5522.84/D16FeverIII1.10 -11.15 -8.17 -4.043-160-200-160Recovered on POD 40
11F7617.22Osteoporosis; hypertension; DMD12Increased drainageII4.82 -23.79 -12.57 -15.336-150-200-200Recovered on POD 31
12M4624.98TobaccoD9Epigastric painII2.65 -16.67 -14.42 -20.621-48-200-200Recovered on POD 27
13M5224.38TobaccoD3FeverIIIa2.43 -20.74 -14.38 -6.202-55-160-160Recovered on POD 20
14F5525.78/D5Hemorrhagic drainageIIIb2.48 -27.09 -27.93 -8.261-91-200-200Recovered on POD 34
15M6123.70Hypertension; asthmaD8FeverIIIa2.21 -11.63 -13.59 -11.356-133-200-160Recovered on POD 28
16M6918.38Hypertension; DMD8Purulency drainageIIIa4.91 -13.50 -18.60 -12.848-147-200-200Recovered on POD 31
17F6617.57/D5Epigastric painII1.94 -5.91 -11.96 -11.9230-127-160-160Recovered on POD 18
18F6826.35HypertensionD8Epigastric pain; feverIII5.61 -20.67 -14.00 -10.701-33-160-96Recovered on POD 37

FLOT: Fluorouracil, Leucovorin, Oxaliplatin and Docetaxel; DM: Diabetes mellitus; COPD: chronic obstructive pulmonary disease; BMI: Body Mass Index; NLR: neutrophil-to-lymphocyte ratio; POD postoperative day.

Publication ethnics

This study was conducted with informed consent of all participants. All patient data were de-identified.

Competing Interests

The authors have declared that no competing interest exists.

References

1. Smyth E, Nilsson M, Grabsch H, van Grieken N, Lordick F. Gastric cancer. Lancet (London, England). 2020;396:635-48

2. Powell A, Coxon A, Patel N, Chan D, Christian A, Lewis W. Prognostic Significance of Post-Operative Morbidity Severity Score After Potentially Curative D2 Gastrectomy for Carcinoma. Journal of gastrointestinal surgery: official journal of the Society for Surgery of the Alimentary Tract. 2018;22:1516-27

3. Yu F, Huang C, Cheng G, Xia X, Zhao G, Cao H. Prognostic significance of postoperative complication after curative resection for patients with gastric cancer. Journal of cancer research and therapeutics. 2020;16:1611-6

4. Chittawadagi B, Nayak S, Ramakrishnan P, Kumar S, Cumar B, Natarajan R. et al. Laparoscopic D2 gastrectomy in advanced gastric cancer: Postoperative outcomes and long-term survival analysis. Asian journal of endoscopic surgery. 2021

5. Ren H, Wang G, Gu G, Hu Q, Li G, Hong Z. et al. [Predictive value of procalcitonin in postoperative intra-abdominal infections after definitive operation of intestinal fistulae]. Zhonghua wei chang wai ke za zhi = Chinese journal of gastrointestinal surgery. 2017;20:524-9

6. Kanda M. Preoperative predictors of postoperative complications after gastric cancer resection. Surgery today. 2020;50:3-11

7. Makuuchi R, Irino T, Tanizawa Y, Bando E, Kawamura T, Terashima M. Esophagojejunal anastomotic leakage following gastrectomy for gastric cancer. Surg Today. 2019;49:187-96

8. Xing J, Liu M, Qi X, Yu J, Fan Y, Xu K. et al. Risk factors for esophagojejunal anastomotic leakage after curative total gastrectomy combined with D2 lymph node dissection for gastric cancer. J Int Med Res. 2021;49:3000605211000883

9. Andreou A, Biebl M, Dadras M, Struecker B, Sauer I, Thuss-Patience P. et al. Anastomotic leak predicts diminished long-term survival after resection for gastric and esophageal cancer. Surgery. 2016;160:191-203

10. Lin J, Wang Z, Huang Y, Xie J, Wang J, Lu J. et al. Dynamic Changes in Pre- and Postoperative Levels of Inflammatory Markers and Their Effects on the Prognosis of Patients with Gastric Cancer. Journal of gastrointestinal surgery: official journal of the Society for Surgery of the Alimentary Tract. 2021;25:387-96

11. Roh CK, Choi S, Seo WJ, Cho M, Kim HI, Lee SK. et al. Incidence and treatment outcomes of leakage after gastrectomy for gastric cancer: Experience of 14,075 patients from a large volume centre. Eur J Surg Oncol. 2021;47:2304-12

12. Tahmassebi A, Wengert GJ, Helbich TH, Bago-Horvath Z, Alaei S, Bartsch R. et al. Impact of Machine Learning With Multiparametric Magnetic Resonance Imaging of the Breast for Early Prediction of Response to Neoadjuvant Chemotherapy and Survival Outcomes in Breast Cancer Patients. Invest Radiol. 2019;54:110-7

13. Liu D, Wang X, Li L, Jiang Q, Li X, Liu M. et al. Machine Learning-Based Model for the Prognosis of Postoperative Gastric Cancer. Cancer Manag Res. 2022;14:135-55

14. Praiss A, Huang Y, St Clair C, Tergas A, Melamed A, Khoury-Collado F. et al. Using machine learning to create prognostic systems for endometrial cancer. Gynecologic oncology. 2020;159:744-50

15. Jiang D, Liao J, Duan H, Wu Q, Owen G, Shu C. et al. A machine learning-based prognostic predictor for stage III colon cancer. Scientific reports. 2020;10:10333

16. Huang S, Cai N, Pacheco PP, Narrandes S, Wang Y, Xu W. Applications of Support Vector Machine (SVM) Learning in Cancer Genomics. Cancer Genomics Proteomics. 2018;15:41-51

17. Zaccaria GM, Ferrero S, Hoster E, Passera R, Evangelista A, Genuardi E. et al. A Clinical Prognostic Model Based on Machine Learning from the Fondazione Italiana Linfomi (FIL) MCL0208 Phase III Trial. Cancers (Basel). 2021 14

18. Liu X, Lu J, Zhang G, Han J, Zhou W, Chen H. et al. A Machine Learning Approach Yields a Multiparameter Prognostic Marker in Liver Cancer. Cancer Immunol Res. 2021;9:337-47

19. Kourou K, Exarchos TP, Exarchos KP, Karamouzis MV, Fotiadis DI. Machine learning applications in cancer prognosis and prediction. Comput Struct Biotechnol J. 2015;13:8-17

20. Clavien P, Barkun J, de Oliveira M, Vauthey J, Dindo D, Schulick R. et al. The Clavien-Dindo classification of surgical complications: five-year experience. Annals of surgery. 2009;250:187-96

21. Lundberg SM, Erion G, Chen H, DeGrave A, Prutkin JM, Nair B. et al. From Local Explanations to Global Understanding with Explainable AI for Trees. Nat Mach Intell. 2020;2:56-67

22. Tu RH, Lin JX, Zheng CH, Li P, Xie JW, Wang JB. et al. Development of a nomogram for predicting the risk of anastomotic leakage after a gastrectomy for gastric cancer. Eur J Surg Oncol. 2017;43:485-92

23. Tsou C, Lo S, Fang W, Wu C, Chen J, Hsieh M. et al. Risk factors and management of anastomotic leakage after radical gastrectomy for gastric cancer. Hepato-gastroenterology. 2011;58:218-23

24. Zhu Z, Cong X, Li R, Yin X, Li C, Xue Y. Preoperative Systemic Immune-Inflammation Index (SII) for Predicting the Survival of Patients with Stage I-III Gastric Cancer with a Signet-Ring Cell (SRC) Component. BioMed research international. 2020;2020:5038217

25. Shoka M, Kanda M, Ito S, Mochizuki Y, Teramoto H, Ishigure K. et al. Systemic Inflammation Score as a Predictor of Pneumonia after Radical Resection of Gastric Cancer: Analysis of a Multi-Institutional Dataset. Digestive surgery. 2020;37:401-10

26. Marano L, Porfidia R, Pezzella M, Grassia M, Petrillo M, Esposito G. et al. Clinical and immunological impact of early postoperative enteral immunonutrition after total gastrectomy in gastric cancer patients: a prospective randomized study. Annals of surgical oncology. 2013;20:3912-8

27. Li K, Xu Y, Hu Y, Liu Y, Chen X, Zhou Y. Effect of Enteral Immunonutrition on Immune, Inflammatory Markers and Nutritional Status in Gastric Cancer Patients Undergoing Gastrectomy: A Randomized Double-Blinded Controlled Trial. Journal of investigative surgery: the official journal of the Academy of Surgical Research. 2020;33:950-9

28. Kassir R, Blanc P, Bruna Tibalbo L, Breton C, Lointier P. C-Reactive protein and procalcitonin for the early detection of postoperative complications after sleeve gastrectomy: preliminary study in 97 patients. Surgical endoscopy. 2015;29:1439-44

29. Edagawa E, Matsuda Y, Gyobu K, Lee S, Kishida S, Fujiwara Y. et al. C-reactive Protein is a Useful Marker for Early Prediction of Anastomotic Leakage after Esophageal Reconstruction. Osaka City Med J. 2015;61:53-61

30. Jin D, Chen L. Early prediction of anastomotic leakage after laparoscopic rectal surgery using creactive protein. Medicine (Baltimore). 2021;100:e26196

31. Romano L, Mattei A, Colozzi S, Giuliani A, Cianca G, Lazzarin G. et al. Laparoscopic sleeve gastrectomy: A role of inflammatory markers in the early detection of gastric leak. Journal of minimal access surgery. 2020

32. Pommergaard HC, Gessler B, Burcharth J, Angenete E, Haglind E, Rosenberg J. Preoperative risk factors for anastomotic leakage after resection for colorectal cancer: a systematic review and meta-analysis. Colorectal Dis. 2014;16:662-71

33. Smith SR, Pockney P, Holmes R, Doig F, Attia J, Holliday E. et al. Biomarkers and anastomotic leakage in colorectal surgery: C-reactive protein trajectory is the gold standard. ANZ J Surg. 2018;88:440-4

34. Zhou Y, Hou Y, Hussain M, Brown SA, Budd T, Tang WHW. et al. Machine Learning-Based Risk Assessment for Cancer Therapy-Related Cardiac Dysfunction in 4300 Longitudinal Oncology Patients. J Am Heart Assoc. 2020;9:e019628

35. Hoek VT, Sparreboom CL, Wolthuis AM, Menon AG, Kleinrensink GJ, D'Hoore A. et al. C-reactive protein (CRP) trajectory as a predictor of anastomotic leakage after rectal cancer resection: A multicentre cohort study. Colorectal Dis. 2021

36. Xiao H, Zhang P, Xiao Y, Xiao H, Ma M, Lin C. et al. Diagnostic accuracy of procalcitonin as an early predictor of infection after radical gastrectomy for gastric cancer: A prospective bicenter cohort study. International journal of surgery (London, England). 2020;75:3-10

Author contact

Corresponding address Corresponding author: Haibin Liang, Department of General Surgery, Xinhua Hospital, Affiliated to Shanghai Jiao Tong University School of Medicine, No. 1665 Kongjiang Road, Shanghai 200092, China. Tel: +86 13162581929. Fax: +86 21-25087875. Email: lianghaibincom.cn; Lei Chen, Department of General Surgery, Xinhua Hospital, Affiliated to Shanghai Jiao Tong University School of Medicine, No. 1665 Kongjiang Road, Shanghai 200092, China. Tel: +86 13651602658. Fax: +86 21-25087875. Email: chenleicom.cn.


Received 2022-2-19
Accepted 2022-6-18
Published 2022-7-4


Citation styles

APA
Liu, X., Lei, S., Wei, Q., Wang, Y., Liang, H., Chen, L. (2022). Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer. International Journal of Medical Sciences, 19(7), 1173-1183. https://doi.org/10.7150/ijms.72195.

ACS
Liu, X.; Lei, S.; Wei, Q.; Wang, Y.; Liang, H.; Chen, L. Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer. Int. J. Med. Sci. 2022, 19 (7), 1173-1183. DOI: 10.7150/ijms.72195.

NLM
Liu X, Lei S, Wei Q, Wang Y, Liang H, Chen L. Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer. Int J Med Sci 2022; 19(7):1173-1183. doi:10.7150/ijms.72195. https://www.medsci.org/v19p1173.htm

CSE
Liu X, Lei S, Wei Q, Wang Y, Liang H, Chen L. 2022. Machine Learning-based Correlation Study between Perioperative Immunonutritional Index and Postoperative Anastomotic Leakage in Patients with Gastric Cancer. Int J Med Sci. 19(7):1173-1183.

This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/). See http://ivyspring.com/terms for full terms and conditions.
Popup Image