In this study, we proposed a multimodal stacking ensemble that combines data from non-invasive cardiovascular monitoring and MV parameters, including SpO2 and EtCO2. A fundamental principle of the proposed model is that stacking makes the prediction accuracy better than that of a single machine learning algorithm, and stacking several algorithms significantly improves the prediction accuracy. We demonstrate that the multimodal stacked ensemble model predicts accurate and valid CO values with marginal bias and a narrow CO limit of agreement compared with those obtained using pulse contour technique devices.
When using a clinical CO measurement device, Bland–Altman plots do not indicate whether the LoAs are acceptable [24]. For example, an agreement limitation of ± 1 L/min may not be acceptable in patients with low CO syndrome. Additionally, our results include percentage difference plots demonstrating that multimodal stacked ensemble models accurately predict CO, with predictions falling within the acceptable clinical criteria (± 30%) of the proportional mean difference when compared those obtained using the Vigileo and EV1000 devices.
In previous studies, the calibrated pulse wave analysis device EV1000, which was used for our reference CO measurement, has proven to be accurate and consistent. The results showed good agreement and interchangeability with TD CO measurement, with a bias of − 0.07 L/min, LoA of 2.0 L/min, and a percentage of 29% [25]. In addition, the uncalibrated FloTrac/Vigileo provides clinically acceptable accuracy under stable hemodynamic conditions, with an average error below 30% for CO compared with that obtained via TD [11]. However, severe sepsis and septic shock uncalibrated FloTrac/Vigileo vs. TD reveals no clinically acceptable tracking capability with a bias of − 0.86 L/min, LoA of − 4.48 to 2.77 L/min, and a percentage error of 48% [26].
Our study was based entirely on non-cardiac surgery. Accordingly, NIBP was selected because it is a standard measurement for patients with ASA I and II and for intermediate-risk surgery. In addition, NIBP appears to be in acceptable agreement with invasively measured BP in patients with cardiogenic shock [27], MV, and arrhythmia [28]. However, NIBP is not always well calibrated with invasive BP measurement, particularly in hypothermia and pronounced hypotension [27]. Although invasive BP, known as beat-by-beat measurement, is considered the gold standard method of diagnosis, NIBP is associated with fewer complications, particularly catheter-associated artery pseudoaneurysms, occlusions, and infections [29]. Occasionally, a measurement can be inaccurate owing to kinking or damping of the arterial line.
The HR was extracted from finger photoplethysmography and may represent acceptable accuracy based on electrocardiography (ECG) during normal breathing. Photoplethysmography and ECG-derived heart rates can differ moderately, and photoplethysmography shows an advantage in monitoring changes in ITP caused by ventilation, sleep apnea, and even changes in respiratory rate during deep breathing [30][31].
Using the respiratory rate based on capnography, the expiratory tidal volume, and the expiratory Vm enabled us to obtain the exact delivered volume per breathing cycle recorded in the anesthesia machine (Fig. 3n,o,p). Noteworthy differences between the set and delivered tidal volumes have been demonstrated in several clinical situations, such as patient lung size, lung compliance, airway resistance, and maintenance of spontaneous breathing during general anesthesia through invasively assisted spontaneous ventilation [32][33].
Figure 3. a. The two-way interaction strengths (Vint) between variables are represented by connecting lines in the random forest model. The stronger the interaction, the thicker and darker the indigo line. Both the size of the node and the intensity of green indicate the importance of the variable (Vimp). b-p. Partial dependence plots for variables in the multimodal stacking ensemble model. Partial Dependence Multimodel Plot gives a graphical depiction of the distributed random forest (DRF), gradient boosting machine (GBM), generalized linear model (GLM), and extreme gradient boosting (XGBoost). The effect of a variable is measured as the change in the mean cardiac output. NIBP–SBP and NIBP-DBP, systolic and diastolic non-invasive blood pressure; HR, plethysmographic heart rate; FiO2, fraction of inspired oxygen; TV, expiratory tidal volume; Vm, expiratory minute volume; PEEP, positive end-expiratory pressure; PIP, peak inspiratory pressure; EtCO2, infrared spectrometry capnography, which measures end-tidal CO2.
4.1 Visualizing cardiopulmonary interactions and variable importance in a multimodal stacked ensemble model
Providing decision support using a functional hemodynamic machine learning model based on the complex relationship between the heart and lungs during general anesthesia should be understood by the medical environment. The predictability of the model was quantified in our work using partial dependence plots (PDPs) [20], model parameter’ importance, and interaction variables [34].
Figure 3a shows a network graph displaying the importance of training data variables and interactions fitted with a RF. Consequently, this plot helps identify cardiopulmonary interactions affecting CO prediction. The network plot shows a strong interaction between HR, NIBP–SBP, age, weight, and height, represented by thick and intense purple lines. The most robust relationship exists between HR and weight. Furthermore, strong interactions between HR and EtCO2 were observed. HR and age are the most significant predictor and is represented by a large, intensely green node.
The results of our study were consistent with well-established data demonstrating that CO levels decrease with age by approximately 1% per year after the third decade (Fig. 3b). Age-related decline in the stroke index is accompanied by decreased body size and HR, which reduces CO [35]. We found the exact relationship between body size and CO in a straight-line regression, as observed in the last century [36] (Fig. 3d,e). According to our findings, in females, one-way PDPs from the RF, GBM, and XGBoost models showed a decrease in CO of approximately 10% compared to those in males during intraoperative measurements. However, this difference was smaller than the 22% difference reported during the resting state [37] (Fig. 3c).
The HR is crucial in determining the diastolic filling time, influencing the SV via the Frank–Starling mechanism. For cardiopulmonary interactions during MV, venous return can be reduced, which can further compromise diastolic filling, particularly at high heart rates. Our study revealed a linear relationship between CO and HR up to 90/min, where deceleration began (Fig. 3f). Early curve deceleration is well documented in impaired right heart filling [38]. However, here, this may have been influenced by factors, such as autonomic nervous system activity, blood volume, and heart contractility, which were beyond the scope of this study.
The relationships between SBP, DBP, and CO during general anesthesia are complex and dynamic.
In our study, we observed an increase in SBP corresponding to an increase in CO of up to 120 mmHg following the onset of the deceleration curve (Fig. 3g). The decreased CO level during high intraoperative SBP may be caused by increased vascular resistance, stiffened large arteries [39], and reduced SV owing to elevated afterload. Our study demonstrated a decrease in DBP with a marginal increase in CO (Fig. 3h). An increase in pulse pressure might elucidate the observed increase in CO. An increase in SV owing to volume substitution results in increased CO, causing an increase in pulse pressure. Cardiopulmonary interactions and additional interventions such as vasopressor administration or adjustments to ventilator settings may play a substantial role. Additionally, the nonlinear relationship between the pulse pressure, cardiac index (CI), and deceleration curve starting at a CI of 3 L/min/m2 has been well documented [40].
One-way PDPs revealed an inverse relationship between CO and airway pressure (Fig. 3l). A decrease in SV and venous return is the primary mechanism by which increasing airway pressure reduces CO. The application of airway pressure levels at 10, 20, and 30 cm H2O led to a variation in the CI between + 6% and − 43%, which was associated with corresponding changes in the SV index (p < 0001, r2 = 0.89) [41]. Our findings align with those of earlier studies, as they indicated an increase in airway pressure during lung inflation and a reduction in CO at a rate of 0.5 L/min per 10 mbar increase in PIP.
PEEP increases ITP during the entire respiratory cycle to restore normal end-expiratory lung volume during MV. Increasing the PEEP levels allowed for greater lung expansion. PEEP during MV may also displace blood from the pulmonary circulation, increase mean systemic pressure, reduce venous return, and decrease CO and tissue perfusion [42]. Our model exhibits a decrease in the CO rate of 0.1 L/min by raising PEEP to 2.5 mbar (Fig. 3m). This decrease in CO with increasing PEEP in a curvilinear relationship has been previously reported [43].
A reduction in TV increases CO; however, the degree of improvement in hemodynamics depends largely on ITP [44]. Reducing the tidal volume increases chest wall compliance by decreasing ITP during MV and increasing venous return, leading to increased left ventricular preload and CO. This is consistent with our finding; our model showed an increase in CO of 0.03 L/min per 1 mL/kg of TV reduction (Fig. 3o). A tidal volume > 15 mL/kg markedly decreases HR and blood pressure and reduces CO [45]. However, we could not evaluate this observation with limited training data for tidal volumes > 15 mL/kg, and a machine learning model could not make meaningful predictions.
Changes in exhaled carbon dioxide during general anesthesia with stable ventilation correspond to changes in CO and metabolic CO2 production [46]. At ETCO2 levels > 30 mmHg, RF, GBM, and XGBoost models predict a satisfactory CO increase of 0.5 L/min per 10 mmHg of ETCO2 (Fig. 3k). A similar correlation between ETCO2 and CO has been reported in previous studies [47]. An animal model during cardiopulmonary resuscitation showed a correlation coefficient of 0.79 between EtCO2 and CI. [48]. This finding is consistent with that of the GLM model. However, the GLM model had a lower performance than that of the RF, GBM, and XGBoost models and had fewer training data with EtCO2 < 30 mmHg.
A decline in SpO2 was observed with decreasing CO in all base models in our study (Fig. 3j). Decreased CO caused by cardiopulmonary interactions is the primary factor in the reduction of arterial oxygen content observed during MV [49]. Hypovolemia and vasodilation, which are commonly observed during general anesthesia, may also contribute to this phenomenon. However, our data did not allow us to determine whether the increased inspired O2 fraction reflected an increase in CO (Fig. 3i). It is widely recognized that increases in FiO2 at fixed values of CO fail to detect conditions of low oxygen supply during central venous oxygen saturation [50].