Interpretation of the prognosis of early results of nephron-sparing surgery with consideration of surgical learning curve using clinical decision support systems
Aim. To assess the possibility of interpreting machine learning models to predict the early results of laparoscopic nephron-sparing surgery (NSS) in kidney tumors with consideration of surgical learning curve.Sirota E.S., Kuznetsov I.A., Glybochko P.V., Butnaru D.V., Alyaev Yu.G., Fiev D.N., Proskura A.V., Adzhiev A.R., Zholdubaev A.A.
Materials and methods. The results of 320 consecutive laparoscopic NSS in patients with localized kidney tumors, performed by 4 surgeons, were analyzed. The construction of a machine learning model taking into account surgical learning curve was carried out based on the extreme gradient boosting (eXtreme Gradient Boosting). To identify significant factors and interpret the prognostic ability of the model, the SHapley Additive exPlanations method was used with a calculation of the Shapley value. Three groups of factors were chosen as an array of input data. The first group included demographic and clinical characteristics of patients, such as age, gender, Charlson comorbidity index, body mass index, preoperative glomerular filtration rate (GFR). In the second group, there were morphometric indicators of the kidney tumor, including RENAL. Nephrometry Score, PADUA (Preoperative Aspects and Dimensions Used for an Anatomical), C-index (Centrality index score), absolute tumor volume, localization of the tumor in relation to the kidney surface. In addition, factors associated with surgical learning curve, such as case number and perioperative results last 10 procedures, were analyzed. The target variables were duration of the procedure, warm ischemia time, and postoperative GFR after
24 hours.
Results. The SHAP method allows a visual interpretation of a machine learning algorithm based on the extreme gradient boosting for individual prediction of early perioperative outcomes of laparoscopic NSS in patients with renal tumors. For the calculated new features “complexity”, “slope angle” and others using the SHAP method, the high significance in building predictive models for target variables was confirmed, and an interpretation of the influence of specific features on the target variable in the constructed machine learning models was also given.
Conclusion. The SHAP method showed good practical results that coincide with the observations of specialists. The use of such solutions will allow in the future to introduce machine learning models to form clinical decision support systems.
Keywords
Introduction. Renal cell cancer (RCC) takes a leading position in the world and in Russia in terms of the growth rate of newly diagnosed cases among malignant tumors of the urinary system [1, 2]. More than 50% of patients have a localized RCC at diagnosis [3].
Nephron-sparing surgery (NSS) is the main option for the treatment of patients with stage T1-2 RCC [4–6].
The priority approaches for NSS are minimally invasive laparoscopic and/or robot-assisted procedures.
The main goal of performing NSS in patients with RCC is to achieve acceptable functional and oncological outcomes, which, in turn, directly depend on perioperative factors (duration of procedure, volume of blood loss, warm ischemia time [WIT], complications).
All outcomes of the NSS are influenced by many factors that are directly related to the general condition of the patient, nephrometry scores, as well as the level of surgical skills («learning curve») for performing a complex surgical procedure [7]. The ability to predict perioperative results of the NSS taking into account all groups of factors will allow surgeons to determine the tactics in a personalized manner. To take these factors into account, it is necessary to use artificial intelligence technologies using various machine learning algorithms. Modern capabilities of intelligent analysis allow to consider a variety of data with prediction of surgical results. Existing approaches to building clinical decision support systems are based on the «black box» principle [8].
The machine learning algorithms do not allow any interpretation of the obtained predictive decisions, which affects the confidence coefficient in modern systems. Explanation and interpretation of the decisions made allow for a deeper understanding of cause-and-effect relationships and changes in approaches to surgical intervention. In this regard, in the scientific practice for interpretation of complex predictive processes by artificial intelligence algorithms, the concept of additive explanation of Shapley Additive Explanation Values (SHAP) is used [9].
In the available literature, there are studies devoted to the interpretation of predictions or other conclusions for creating of predictive intelligent systems for early outcomes of laparoscopic NSS in patients with RCC.
Aim. To study the possibility of using standard machine learning models to predict the first results of laparoscopic NSS in patients with RCC, taking into account the «learning curve» of the surgeon.
Materials and methods. A total of 320 patients with localized RCC who undergone to laparoscopic NSS at the Institute of Urology and Human Reproductive Health of Sechenov University for the period from January 2014 to June 2019 were included in the study.
The analysis did not include patients with a single kidney, renal anomalies, multiple tumors, as well as retroperitoneoscopic interventions.
NSS were performed by 4 surgeons with experience in performing at least 40 cases from a laparoscopic approach using instruments and video endoscopic equipment from Karl Storz and Eskulap. The standard technique was used. The main demographic, clinical and perioperative data of the patients are presented in table 1.

In addition to standard examination methods, all patients preoperatively underwent 3D modeling and virtual operations using the Amira 3D modeling program by VSG version 5.4.5 (ASTND.44644 license) according to the previously described method [10].
Using nephrometry scores (RENAL, PADUA and C-index), a new feature characterizing the complexity of the procedure was formed for each case. The complexity of the intervention was assessed on a scale from 1 to 3, where 3 is the highest complexity. To calculate the complexity, each nephrometry score was divided in a certain way into three parts, which were assigned a complexity (table 2).
Based on the identified complexity of the surgical intervention, new features were calculated in several sections: average values for the surgeon and average values for the surgeon depending on the complexity. These features were calculated for the duration of the procedure, WTI and GFR 24 h after the intervention.
An example of a new feature is:
- Average time by complexity (by surgeon), the calculated average duration of the procedure for each surgeon in the context of the complexity.
Additionally, the value of «Slope angle» and «Error deviation» (standard error value) were calculated based on the regression line of the predicted perioperative parameters. The new calculated indicators allow to assess the current skill level of the surgeon, which can significantly affect the quality of predicting perioperative parameters, where the evaluation of the models was performed on the F-measure scale [11].
Predictive models for the selected target variables (duration of the procedure, WTI and GFR after 24 hours) were built using the eXtreme Gradient Boosting algorithm. The key drawback of such machine learning models is the lack of interpretability, when the predictive model acts as a «black box» and it is impossible to understand how exactly this or that feature affects the final result. However, recently, the SHapley Additive exPlanations (SHAP) method for calculating the Shapley value has become very popular for identifying significant factors and interpreting the work of the predictive model. This method allows to evaluate how the trained model will behave with the addition of a parameter and how it will behave without adding this parameter.
Results. For each of the target variables (duration of procedure, WIT, and GFR after 24 hours), the following classes were defined:
- Duration of procedure: «≤120 min» (1), «>120 min» (2);
- WIT: «≤15 min» (1), «>15 min» (2);
- GFR after 24 hours: «≤45 ml/min» (1), «>45 ml/min» (2).
The corresponding prediction models were built based on the extreme gradient boosting algorithm, and then the Shapley value was calculated using the SHAP method, on the basis of which the graphs of the importance of the parameters were built (see Figs. 1–3), which can be interpreted as follows:
- the values to the left of the central vertical line are the class with label (1), and to the right are the class with label (2);
- the thickness of the line is directly proportional to the number of observation points;
- the redder the dots, the greater the significance of the feature at this point.

For the target variable «duration of procedure», a graph was constructed (see Fig. 1) and the significance values of the independent variables were calculated:
- Mean time by complexity (by surgeon) - 1.49;
- Mean time at intervention (by surgeon) - 1.33;
- Tumor volume - 0.99;
- Localization: upper or lower kidney poles - 0.51;
- Mean GFR after 24 hours by complexity (by surgeon) - 0.38;
- Slope angle - 0.36;
- Baseline GFR - 0.29;
- Mean ischemia time (by surgeon) - 0.28;
- Mean GFR after 24 hours (by surgeon) - 0.26;
- 3D modeling - 0.25.
On the graph (see Fig. 1), where the value has the greatest impact on the prognosis, we can highlight the most significant parameters and their Shapley values, which make the greatest contribution to predicting the target class:
- «Mean time by complexity (by surgeon)”, with an increase in the value, the probability of the class “>120 min” increases;
- «Mean time at intervention (by surgeon)”, with an increase in the value, the probability of the class “>120 min” increases;
- «Localization: upper or lower segment», in case of a tumor of the upper pole, the probability of the class “>120 min” increases;
- «Mean GFR after 24 hours by complexity (by surgeon)”, with an increase in the value, the probability of the class “>120 min” increases;
- «Mean ischemia time (by surgeon)”, with an increase in the value, the probability of the class “>120 min” increases.

For the target variable «warm ischemia time», a graph was constructed (see Fig. 2) and the significance values of the independent variables were calculated:
- Mean ischemia by complexity (by surgeon) - 1.94;
- Tumor volume - 1.06;
- C-index - 0.57;
- Mean ischemia time (by surgeon) - 0.41;
- Slope angle - 0.39;
- Mean GFR after 24 hours (by surgeon) - 0.37;
- Error deviation - 0.35;
- Baseline GFR - 0.31;
- Mean GFR after 24 hours by complexity (by surgeon) - 0.29;
- R.E.N.A.L. index - 0.29.
On the graph (Fig. 2) among the most significant parameters, where the value has the greatest impact on the prognosis, we can highlight:
- “Mean ischemia time by complexity (by surgeon)”, with an increase in the value, the probability of the class “>15 min” increases;
- “Tumor volume”, with a decrease in the value, the probability of the class “≤15 min” increases;
- “Mean ischemia value (by surgeon)”, with an increase in the value, the probability of the class “>15 min” increases;
- “Slope angle”, with a decrease in the value, the probability of the class “≤15 min” increases;
- “Error deviation”, with a decrease in the value, the probability of the class “>15 min” increases;
- “Mean GFR after 24 hours by complexity (by surgeon)”, with an increase in the value, the probability of the class “>15 min” increases;
- “R.E.N.A.L. index”, with an increase in the value, the probability of the class “>15 min” increases.

For the target variable “GFR after 24 hours” a graph was constructed (see Fig. 3) and the significance values of the independent variables were calculated:
- Baseline GFR - 1.64;
- Slope angle - 0.62;
- Volume of blood loss by complexity (by surgeon) - 0.51;
- R.E.N.A.L. index - 0.51;
- Mean time at intervention (by surgeon) - 0.35;
- Volume of blood loss (by surgeon) - 0.31;
- Mean GFR after 24 hours by complexity (by surgeon) - 0.29;
- C-index - 0.27;
- Tumor volume - 0.25;
- Localization: left or right - 0.23.
On the graph (Fig. 3), among the most significant parameters, where the value has the greatest impact on the prognosis, we can highlight:
- “Baseline GFR”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “Slope angle”, as the value increases, the probability of the class “≤45 ml/min” increases;
- “Volume of blood loss by complexity (by surgeon)”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “RENAL index”, as the value increases, the probability of the class “≤45 ml/min” increases;
- “Mean time at intervention (by surgeon)”, as the value increases, the probability of the class “≤45 ml/min” increases;
- “Volume of blood loss”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “Mean GFR after 24 hours by complexity (by surgeon)”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “C-index”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “Tumor volume”, as the value decreases, the probability of the class “≤45 ml/min” increases;
- “Localization: left or right”, if there is a tumor in the left kidney, the probability of the class “≤ 45 ml/min” increases.
Discussion. In the modern world, laparoscopic surgery is the main surgical option for patients with RCC [12]. This fact can be explained by the fact that laparoscopic procedures allow achieving better functional and oncological outcomes with a low mortality rate compared to radical interventions [13].
The number of surgical procedures required to achieve the proper level of laparoscopic skills varies depending on the surgical approach.
The concept of «learning curve» is determined by the number of procedures that a surgeon must perform to reach the point where his skills no longer affect the results of an intervention [10]. Of the three surgical approaches, laparoscopic surgery has the longest «learning curve» [15, 16].
Our work is based on the results of our previous study, which was dedicated to assessment of achieving MIC score (margin, ischemia, and complications) [17].
In our study on the development of prognostic models, we used the eXtreme Gradient Boosting machine learning algorithm. The prediction accuracy by the F-measure metric achieved satisfactory quality of the models for all three indicators: 0.77 for duration of surgery, 0.62 for WIT, and 0.69 for GFR after 24 h.
One of the objectives of this study is to provide a visual interpretation for each observation using SHAP plots [18].
SHAP decision plots allow to demonstrate how each factor influences the final prediction of the perioperative outcome. Moving from the bottom to up, SHAP of each element was added to the base value of the XGBoost model, showing how each parameter affects the overall prediction, including positive and negative effects.
In relation to our work, when evaluating the SHAP plot (see Fig. 1), the duration of NSS>120 min was significantly affected by the average NSS time by complexity (by surgeon), the operator's NSS «learning curve», tumor volume and localization in relation to the kidney surface (anterior, posterior). In this case, the least influence on achieving the time of the NSS>120 min was noted by the use of 3D modeling of the tumor for all patients in the group.
The minimal influence of 3D modeling on the duration of the procedure is most likely due to the fact that observations without 3D modeling were not included in our work, which once again confirms the results of a study previously carried out in our clinic [10].
The duration of the procedure depends not only on the «learning curve» and nephrometry score, but also the coordinated work of a surgical team. It is quite difficult to take into account the contribution of each of the participants in the procedure. Minimally invasive NSS is an interaction between the members of the surgical team due to not only the coordinated work of the «hands», but also the dependence on the visualization of surgical movements on the screen. Visual coordination is a very important element of the laparoscopic approach, and often the surgeon has to stop the procedure to adjust the horizontal image provided by the assistant [19].
In addition, our study did not take into account the presence of “toxic” paranephric fat. According to a number of publications, the presence of “toxic” paranephric fat can affect the duration of NSS [20].
Analyzing the SHAP graph (see Fig. 2) with prediction of WTI > 15 min, a strong impact of the following factors was established: average WTI by complexity (by surgeon), tumor volume, C-index, «learning curve» for NSS. However, the R.E.N.A.L. score did not significantly affect WTI.
When choosing the threshold value for the WTI prediction of 15 min, we based on the average values in the studied sample of 13.28 ± 7.82 min. The WTI during the implementation of NSS is a significant indicator for achieving acceptable long-term functional results [21].
The prognostic data we obtained are completely consistent with numerous studies of recent years [22, 23]. Thus, in the work of Hu et al. it was found that the C-index significantly correlates with the WIT compared to the R.E.N.A.L. and PADUA scores [24]. However, according to a meta-analysis of 50 studies performed by Veccia et al., the R.E.N.A.L. and PADUA scores allow to predict WIT (p=0.006 and p<0.001, respectively). Despite their results, the authors note that nephrometric indices (C-index, RAIV, Renal And Ischemia Volume, CSA, Contact Surface Area) require mathematical calculations, therefore they are not widely used. Thus, there is no evidences for their prognostic significance [25]. The main reason for the complexity of mathematical calculations of C-index, RAIV and CSA is the use of 2D data from multispiral CT and/or MRI. In our work, we used 3D modeling to determine the C-index and did not note any complexity in its analysis.
The assessment of the SHAP graph (see Fig. 3) in the prediction of GFR after 24 h > 45 ml/min revealed the greatest influence of the preoperative GFR level, the volume of blood loss by complexity (by surgeon), and the R.E.N.A.L. score.
Prediction of GFR level, in our opinion, is an early generally available surrogate indicator of the functional results of NSS. However, the optimal prediction of the functional viability of the renal parenchyma consists of taking into account three groups of factors: the volume of parenchyma removed, the number of devascularized nephrons and the number of incompletely restored nephrons after ischemia [26]. A complete assessment of the above components is currently impossible.
It should also be noted that a decrease in GFR after 24 h≥ 33% may indicate acute kidney injury after NSS, and the duration of the GFR decline is directly related to long-term functional results [27]. Thus, the prediction of GFR after 24 hours allows for a personalized assessment of kidney function at the stage of NSS planning, taking into account the surgeon’s “learning curve” and the patient’s data.
When analyzing the factors influencing GFR after 24 hours > 45 ml/min, the baseline GFR, which many researchers mention as the “quality factor,” was ranked first [28].
The next most significant factor influencing on GFR after 24 hours was the volume of blood loss due to the complexity of the procedure, associated with “learning curve.” The presence of this factor can be explained by the fact that a decrease in blood volume directly affects the functioning of the nephrons of a healthy kidney and, to a greater extent, the kidney that underwent NSS, due to the pathophysiological mechanisms that are activated after the restoration of blood flow [29].
Conclusion. The strengths of our study are the interpretation of the mechanisms of machine learning algorithms and eliminating the «black box» principle. Our machine learning predictive models consider three main groups of factors influencing perioperative outcomes of NSS.
The ability to explain the results of predictive models using SHAP is based on the interpretation of each clinical observation, and then personalized patient characteristics are averaged to obtain a homogeneous visualization of the SHAP graph.
Our study has some limitations. Initially, retrospective cases were included and external validation was not performed to assess the performance of developed models. It is also necessary to note the limited presentation of the predicted indicators of the perioperative outcomes of NSS.
For the parameters “volume of blood loss” and “the rate of perioperative complications”, the predictive models showed poor quality, and therefore we did not include them, when interpreted the results using SHAP.
In the future, it is necessary to consider the possibility of developing a clinical decision support system for predicting long-term oncological and functional outcomes of NSS in patients with RCC.



