Skip to main content

CLINICAL TRIAL article

Front. Med., 01 March 2024
Sec. Pulmonary Medicine
This article is part of the Research Topic Translational Research of Artificial Intelligence and Molecular Biomarkers in Respiratory Diseases View all articles

Prognostic analysis of high-flow nasal cannula therapy and non-invasive ventilation in mild to moderate hypoxemia patients and construction of a machine learning model for 48-h intubation prediction—a retrospective analysis of the MIMIC database

Wei Fu&#x;Wei Fu1Xiaoqing Liu&#x;Xiaoqing Liu2Lili Guan&#x;Lili Guan1Zhimin LinZhimin Lin2Zhenfeng HeZhenfeng He1Jianyi NiuJianyi Niu1Qiaoyun HuangQiaoyun Huang1Qi Liu
Qi Liu3*Rongchang Chen
Rongchang Chen1*
  • 1State Key Laboratory of Respiratory Disease, National Clinical Research Center for Respiratory Disease, Guangzhou Institute of Respiratory Health, the First Affiliated Hospital of Guangzhou Medical University, Guangzhou, Guangdong, China
  • 2Department of Critical Care Medicine, the First Affiliated Hospital of Guangzhou Medical University, Guangzhou Institute of Respiratory Health, Guangzhou, China
  • 3Emergency Intensive Care Department, the First Affiliated Hospital of Zhengzhou University, Zhengzhou, Hena, China

Background: This study aims to investigate the clinical outcome between high-flow nasal cannula (HFNC) and non-invasive ventilation (NIV) therapy in mild to moderate hypoxemic patients on the first ICU day and to develop a predictive model of 48-h intubation.

Methods: The study included adult patients from the MIMIC III and IV databases who first initiated HFNC or NIV therapy due to mild to moderate hypoxemia (100 < PaO2/FiO2 ≤ 300). The 48-h and 30-day intubation rates were compared using cross-sectional and survival analysis. Nine machine learning and six ensemble algorithms were deployed to construct the 48-h intubation predictive models, of which the optimal model was determined by its prediction accuracy. The top 10 risk and protective factors were identified using the Shapley interpretation algorithm.

Result: A total of 123,042 patients were screened, of which, 673 were from the MIMIC IV database for ventilation therapy comparison (HFNC n = 363, NIV n = 310) and 48-h intubation predictive model construction (training dataset n = 471, internal validation set n = 202) and 408 were from the MIMIC III database for external validation. The NIV group had a lower intubation rate (23.1% vs. 16.1%, p = 0.001), ICU 28-day mortality (18.5% vs. 11.6%, p = 0.014), and in-hospital mortality (19.6% vs. 11.9%, p = 0.007) compared to the HFNC group. Survival analysis showed that the total and 48-h intubation rates were not significantly different. The ensemble AdaBoost decision tree model (internal and external validation set AUROC 0.878, 0.726) had the best predictive accuracy performance. The model Shapley algorithm showed Sequential Organ Failure Assessment (SOFA), acute physiology scores (APSIII), the minimum and maximum lactate value as risk factors for early failure and age, the maximum PaCO2 and PH value, Glasgow Coma Scale (GCS), the minimum PaO2/FiO2 ratio, and PaO2 value as protective factors.

Conclusion: NIV was associated with lower intubation rate and ICU 28-day and in-hospital mortality. Further survival analysis reinforced that the effect of NIV on the intubation rate might partly be attributed to the other impact factors. The ensemble AdaBoost decision tree model may assist clinicians in making clinical decisions, and early organ function support to improve patients’ SOFA, APSIII, GCS, PaCO2, PaO2, PH, PaO2/FiO2 ratio, and lactate values can reduce the early failure rate and improve patient prognosis.

Introduction

Acute hypoxemia is a common phenomenon in intensive care unit (ICU) daily clinical practice and is caused by a wide range of etiologies, including acute respiratory distress syndrome, pulmonary infection, sepsis, multiple organ dysfunction syndrome, and exacerbation of chronic pulmonary and heart disease. In the SPECTRUM study, the incidence of hypoxemia was 54% among all ICU patients with all types of oxygenation devices (1). The presence of hypoxemia has been widely demonstrated to be associated with higher mortality (25), ICU length of stay (6), and longer mechanical ventilation duration (7).

High-flow nasal cannula (HFNC) and non-invasive ventilation (NIV) are two widely accepted non-invasive methods of respiratory support used in ICU daily clinical practice for improvement in gas exchange and ventilation and even play an important role in resource-constrained COVID-19 (8, 9). Recent guidelines have recommended HFNC as the optimal first-line therapy for acute hypoxemia respiratory failure based on the physiological and clinical effects and better patient compliance (10). However, the evidence for this suggestion is inconsistent and imprecise due to different experimental conditions and evaluation criteria in existing studies (10). Therefore, the superior non-invasive respiratory support therapy is still under debate. It remains difficult and confusing for clinicians, especially in the emergency room and ICUs, to determine optimal strategies for acute hypoxemia without a clear cause.

The prominent advantage of both oxygen therapies is their effect on avoiding invasive ventilation-related complications associated with unnecessary endotracheal intubation and sedation. However, recent research has demonstrated that excess spontaneous inspiratory effort could result in high transpulmonary pressure fluctuation (11) and large total lung strain (12, 13) and finally lead to additional lung injury associated with treatment failure (14), especially when NIV therapy is coupled with high tidal volume (15) and rapid respiratory rate (16). Therefore, identifying predictive risk factors and modeling treatment failure may facilitate the early identification of high-risk patients and improve clinical decision-making and outcomes.

To investigate whether NIV therapy in mild to moderate hypoxemia of the whole clinical spectrum is associated with lower mortality and intubation rate compared with HFNC, we performed a retrospective research study based on the Medical Information Mart for Intensive Care III and IV (MIMIC-III, IV) (17, 18). We also performed survival analysis to compare the 48-h and 30-day intubation rates between two groups and constructed a 48-h intubation risk model to assist professional clinicians in making clinical decisions on ventilation therapy options for acute hypoxemic patients.

Materials and methods

General information and ethics

This retrospective study was conducted based on the MIMIC database, a large and single-center database comprising information relating to patients admitted to critical care units at Beth Israel Deaconess Medical Center (BIDMC), Boston, Massachusetts United States. One author (WF) finished the training course and signed the data use agreement to obtain access to the database for data extraction. The use of the MIMIC-III database was approved by the Institutional Review Boards of BIDMC and MIT, and a waiver of informed consent was granted.

Study population

All patients admitted to an ICU from 2008 to 2019 in the MIMIC IV database were screened to explore the prognostic analysis between HFNC and NIV therapy and 48-h intubation predictive model construction. The eligible patients extracted from the MIMIC III database from 2001 to 2008 were established as the validation cohort for the predictive model external validation (Figure 1). The detailed inclusion criteria were as follows: over 18 years old; with mild or moderate hypoxemia (100 < PaO2/FiO2 ≤ 300) during the first ICU day; initiated HFNC or NIV on the first ICU day. The exclusion criteria were as follows: not the first time admitted to the ICU for the same hospitalization; intubation time preceded HFNC or NIV start time; received both HFNC and NIV on the first day.

Figure 1
www.frontiersin.org

Figure 1. Flow charts of the data extraction, model construction and validation of Patients with mild to moderate hypoxemia at the first ICU admission day.

Data extraction

The following data of the study subjects were extracted from the MIMIC database: gender, age, body mass index (BMI), chronic comorbidities, ethnicity, Charlson Comorbidity Index, Sequential Organ Failure Assessment (SOFA), Acute Physiology Score III (APS III), Simplified Acute Physiology Score II (SAPS II), the minimum Glasgow Coma Scale (GCS) at ICU admission, the mean vital sign and arterial blood gas values obtained between 6 h preceding and 24 h within the ICU admission, as well as outcome measures including intubation rate, 48-h intubation rate, 30-day intubation rate, in-hospital mortality, hospital 28-day mortality, ICU 28-day mortality and the length of stay (LOS) in hospital and ICU.

Baseline characteristics and clinical outcomes of patients between the HFNC and NIV group

Baseline characteristics and clinical outcomes of the HFNC and NIV therapy groups from MIMIC IV were used as the dataset for the cross-sectional analysis. The detailed comparisons included the variables of the general materials, physiological parameters for the first ICU day, and clinical outcomes (mortality, ntubation rate, and LOS in hospital and ICU).

Survival analysis of the 48-h and 30-day intubation rate

After cross-sectional analysis, we performed the Kaplan–Meier curves for further survival analysis of the 48-h and 30-day intubation rate between the two groups.

The 48-h intubation predictive model construction and validation

After randomization, 70% of all eligible patients in the MIMIC IV database were used as the dataset for model construction and 30% as the internal validation set. All eligible patients in the MIMIC III database serve as an external validation of the model. After baseline information comparison for the assessment of distribution consistency, nine machine learning (Support Vector Machine, Neural Network, K nearest neighbor, Decision tree, quadratic discriminant analysis, naive Bayes, Linear discriminant analysis, kernel, logistic regression) and six ensemble algorithms (subspace KNN, Bootstrap Random Forest, AdaBooost Tree, GentleBoost Tree, LogitBoost Tree, RUSBooost Tree) were used to train the training dataset using the features illustrated in the previous studies as well as suggested by professional clinicians. The parameters with a missing rate above 40% were not accepted in the final model due to the bias of predictive accuracy (19). After establishing the prediction model through various machine learning methods, we plotted the receiver operating characteristic curve (ROC) of the constructed models. The model with the highest predictive accuracy, as assessed by the area under the curve (AUROC), threshold, sensitivity, specificity, and Youden index was selected as the best model.

Model interpretability

Based on the optimal predictive model of AUROC, we calculated the Shapley value of the optimal model and drew the Shapley Explanation plot (12). We used the Shapley additive interpretation algorithm to identify the five characteristic variables of promoting or inhibiting outcomes to determine the risk factors for 48-h intubation.

Statistical analysis

In the data preprocessing stage, the original data outliers and missing values were filled and interpolated using Matlab dataCleaner APP. The outliers were determined and processed using the Tukey’s test and clinical experts’ advice. Linear interpolation was then used to fill in the identified outliers. The missing values were filled using the nearest neighbor method, and the data of different dimensions were normalized using the extreme value method (left limit is 0 and right limit is 1). To address the class imbalance issue in the test set, the Synthetic Minority Over-Sampling Technique (SMOTE) was applied to improve model generalization.

Following the Kolmogorov–Smirnoff test results, continuous variables were expressed as means and standard deviation when normally distributed and compared using an independent samples t-test or as medians and interquartile range compared using the Mann–Whitney test otherwise. Categorical variables were described as frequencies and percentages and were compared using the Chi-squared test or Fisher’s exact test to compare proportions. The prognostic analysis between the two therapy groups was performed by Kaplan-Meier curves using log-rank test. All tests were two-tailed, and differences were considered statistically significant when p < 0.05.

During the model construction stage, nine machine learning and six ensemble algorithms were used to model the training dataset, with 10-fold cross-validation to enhance prediction accuracy. The constructed models were evaluated by AUROC, threshold, sensitivity, specificity, and Youden index in both internal and external validation sets. Finally, the model with the best performance was selected based on the above evaluation criteria. Shapley values were calculated and a Shapley explanation plot was produced to quantify the contribution of the 10 most important features and the explainability of an individual observation in the optimal model.

The data processing, statistical analyses, and predictive construction were performed using R (version 4.2.2) and Matlab software (R2022b Version, MathWorks Corporation, United States).

Results

Patient inclusion and characteristics of general materials

A total of 123,042 distinct hospital admissions (n = 53423 for MIMIC III, n = 69619 for MIMIC IV) were screened of which, 673 from the MIMIC IV database and 408 from the MIMIC III database were finally included. A total of 363 patients who received HFNC and 310 who received NIV as initial therapy were included in the MIMIC-IV for prognostic analysis. There were no significant differences in patient gender and age between the HFNC and NIV groups. The BMI (27.4 vs. 33.8, p < 0.001); the SAPS II scores (37 vs. 39, p = 0.005); and the proportion of chronic complications such as coronary artery disease (23.7% vs. 42.6%, p < 0.001), chronic obstructive pulmonary disease (COPD, 16.0% vs. 26.5%, p = 0.001), and diabetes (30.0% vs. 46.8%, p < 0.001) were higher in the NIV group, which indicated a more complex clinical situation compared with the HFNC group. More characteristics of general materials in the test dataset and validation datasets are shown in Tables 1, 2.

Table 1
www.frontiersin.org

Table 1. Baseline characteristics of general materials between the HFNC and NIV group.

Table 2
www.frontiersin.org

Table 2. Baseline characteristics of physiological and clinical outcomes between the HFNC and NIV group.

Baseline physiological characteristics and clinical outcomes between the HFNC and NIV groups

As per the physiological parameters illustrated in Table 1A, the mean heart rate (HRmean, 91.2 vs. 85.8, p < 0.001) and respiratory rate (RRmean, 22.4 vs. 19.6, p < 0.001) were higher for the first ICU day and the minimum and maximum PaO2/FiO2 ratio was lower in the HFNC group, which implied that the oxygenation dysfunction was the prominent problem in the HFNC group. The maximum of PaCO2 (PaCO2max, 45 vs. 54, p < 0.001) and the minimum of PaCO2 (PaCO2min, 38 vs. 41, p < 0.001) were higher and the maximum PH (PHmax) and the minimum PH value during the first day were lower in the NIV group, which indicated a more serious respiratory failure of both oxygenation impairment and ventilation dysfunction in the NIV group.

For outcome comparison, the NIV group intubation rate (23.1% vs. 16.1%, p = 0.023), in-hospital mortality (19.6% vs. 11.9%, p = 0.007), and ICU 28-day mortality (18.5% vs. 11.6%, p = 0.014) were significantly lower and the ICU LOS (3.7 vs. 2.9, p < 0.001) and hospital LOS (11.0 vs. 8.8, p = 0.004) were shorter in the NIV group using initial Chi-squared and Mann–Whitney U tests (Table 1B).

Survival analysis of the 48-h and 30-day intubation rate

The survival analysis of the 48-h and 30-day intubation rate (all p > 0.05) was not significantly different between the HFNC and NIV groups using the Kaplan–Meier curves test (Figure 2).

Figure 2
www.frontiersin.org

Figure 2. The survival analysis of the 48-hour and 30-day intubation rate between the HFNC and NIV group.

The 48-h intubation predictive model construction and validation

Among the tests, the internal and external validation dataset, the proportion of chronic comorbid coronary artery disease (31% vs. 36.1% vs. 26.5%, p = 0.045), hypertension (26.1% vs. 26.2% vs. 36.8%, p < 0.01), SOFA (6 vs. 6 vs. 5, p < 0.001), APS III (50 vs. 55 vs. 46.5, p < 0.001), GCS (14 vs. 14 vs. 14, p < 0.001), and the ICU LOS (3.7 vs. 3.4 vs. 3.1, p = 0.027) were significantly different (Table 3). All the feathers used to train the training dataset were marked as * in (Table 3).

Table 3
www.frontiersin.org

Table 3. Baseline characteristics of general materials, physiological, and clinical outcomes between the training, internal, and external validation datasets.

The AUROC of nine machine learning (Support vector machine, Neural network, K nearest neighbor, Decision tree, quadratic discriminant analysis, Naive Bayes, Linear discriminant analysis, kernel, logistic regression) and six ensemble algorithms (subspace KNN, Bootstrap Random Forest, AdaBooost Tree, GentleBoost Tree, LogitBoost Tree, RUSBooost Tree) in the internal validation set were 0.820, 0.766, 0.687, 0.611, 0.755, 0.619, 0.726, 0.648, 0.724, 0.783, 0.811, 0.878, 0.863, 0.855, and 0.758, respectively. The AUROC in the external validation set was 0.707, 0.658, 0.569, 0.548, 0.623, 0.617, 0.683, 0.549, 0.686, 0.693, 0.710, 0.726, 0.742, 0.716, and 0.691, respectively (Table 4; Figure 3).

Table 4
www.frontiersin.org

Table 4. Model performance in the internal and external validation datasets.

Figure 3
www.frontiersin.org

Figure 3. Internal and external validation of the machine learning models.

The confusion matrix of the best AdaBoost decision tree model based on the best AUROC (the optimal hyperparameter is maximum split 54, number of learners 413, learning rate 0.9194) is shown in Figure 4.

Figure 4
www.frontiersin.org

Figure 4. The confusion matrix of the ensemble AdaBoost decision tree model for internal and external validation.

Shapley value

Based on the best model to show the SOFA score, APS II score, the maximum and minimum values of lactate as the risk factors of 48-h intubation, age, maximum PaCO2 value (PaCO2max), GCS, PHmax, and the minimum value of PaO2/FiO2 ratio (PaO2/FiO2min) and PaO2 (PaO2min) are protective factors for 48-h intubation (Figure 5 upper graph). The individual predictive plot showed the explainability of the optimal model for individual observation (Figure 5 lower graph).

Figure 5
www.frontiersin.org

Figure 5. The Shapley Explanation plot for the ensemble AdaBoost Tree model.

Discussion

In our study, more than 120,000 patients from 2001 to 2019 were screened from MIMIC III and IV databases. A total of 673 eligible patients from MIMIC IV were included in the prognostic analysis and 48-h intubation model construction and internal validation, while 408 eligible patients from MIMIC III were included in the external validation. We found that (1) the NIV group intubation rate, ICU 28-day mortality, and in-hospital mortality were significantly lower and the lengths of stay in the ICU and hospital were shorter compared with the HFNC group in cross-sectional analysis; (2) after considering time effect, the initial therapy of either HFNC or NIV had no significant influence on the total and 48-h intubation rate; (3) the ensemble AdaBoost Tree algorithm (internal and external validation set AUROC 0.878, 0.726) was the best model in the validation cohort, providing a proper method for clinicians to make clinical decisions and a reference for researchers to optimize the models in further prospective studies; (4) The model Shapley algorithm showed SOFA, APSIII, the minimum and maximum lactate value as risk factors for early failure and age, the PaCO2max and PHmax, GCS, PaO2/FiO2min, and PaO2min value as protective factors.

HFNC, with a high concentration of oxygen continuously flushing physiological dead space (20, 21), low level of positive end-expiratory pressure (22), and increased patient comfort (23) was a frequently used non-invasive equipment for improving oxygenation. NIV was another commonly used non-invasive respiratory support for enhancing gas exchange and ventilation. It mainly improves oxygenation through three mechanisms: moderate inspiratory pressure to enhance ventilation (24, 25), adjustable end-expiratory positive pressure (25), and decreased left ventricular afterload to enhance left ventricular function (24). In comparison to HFNC, NIV can provide higher airway pressure for ventilation support, especially with helmet NIV (11). These differences explained why professional clinicians were inclined to select HFNC as a therapy for single hypoxemia and select NIV as a therapy for complex hypoxemia combined with coronary artery disease, COPD, or respiratory acidosis in our baseline information comparison of two groups in the baseline clinical parameters comparison.

The NIV group was superior to the HFNC group in terms of the total intubation rate, ICU 28-day mortality, in-hospital mortality, ICU LOS, and hospital LOS in the cross-sectional analysis. Our primary outcome was that the 48-h and 30-day intubation rates were not significantly different between the groups after considering the factor of time to the endpoint event in the survival analysis, which reinforced that the difference may be due to the heterogeneity of baseline information of the groups. These results are consistent with the consensus on acute hypoxemic failure treated by HFNC or NIV (10, 26, 27). In 2020, Ferreyro (28) et al. conducted a network meta-analysis on endotracheal intubation of non-invasive oxygenation strategies with acute hypoxemic respiratory failure. They found that helmet NIV was associated with a decreased risk of endotracheal intubation compared with HFNC (RR, 0.35; absolute risk difference, −0.20; low certainty) and face mask non-invasive ventilation (RR, 0.35; absolute risk difference, −0.20; low certainty), and there was no significant difference between face mask NIV and HFNC (RR, 1.01; absolute risk difference, −0.00; low certainty). In 2022, Perkins et al. (29) performed a multicenter random multicenter random control trial comparing continuous positive airway pressure (CPAP) and HFNC with conventional oxygen therapy (COT) in COVID-19 patients continuous positive airway pressure (CPAP), HFNC, and conventional oxygen therapy (COT) in COVID-19 patients with acute hypoxemic respiratory failure. They found that the intubation rate within 30 days was significantly lower with CPAP vs. COT (36.3% vs. 44.4%, absolute difference, −8%, p = 0.03) but was not significantly different between HFNC and COT (44.3% vs. 45.1%, absolute difference, −1%, p = 0.83). Therefore, the different physiopathological mechanisms of primary disease and therapy parameters may be important factors in influencing treatment failure rate. More disease states and detailed treatment parameters need to be controlled in future studies.

Machine learning, as an essential part of artificial intelligence, can analyze complex and diverse medical data using various algorithms in data mining and analysis. It can provide early warning and support for medical clinical decision-making. In the electronic health information system of intensive care units, machine learning and deep learning can perform better than traditional models or single indicators in processing nonlinear, dynamic medical data with complex correlation, especially with high granularity monitoring systems collecting continuous data on respiratory, hemodynamic, neurological, and clinical variables. In previous studies, the traditional risk assessment model for non-invasive supportive therapy failure and independent risk factors were HACOR score to dynamically assess the risk of intubation in mask NIV patients (30) andSpO2 / FiO2 to assess respiratory rate ratio (ROX) (31) and ROX / HR (32) in HFNC patients; esophageal pressure fluctuation (14); and exhaled tidal volume (15, 16) in NIV patients, etc. Due to the inherent deficiency of using algorithms, these traditional models and indicators mainly focus on the physiological parameters before or after treatment and do not include the impact of primary disease, the severity of the organ dysfunction before treatment, and the treatment-related parameters. Therefore, machine learning methods that combine multiple types of complex parameters when handling similar tasks may be more competent. In 2020, Siu et al. (33) conducted a retrospective analysis of the MIMIC III and eICU databases to construct a 24-h ICU admission intubation predictive model, using logistics regression (AUC 0.77) and random forest algorithm (AUC 0.86). In 2021, Arvind et al. (34) conducted a retrospective analysis based on medical data from 4,087 adult patients who were hospitalized with confirmed COVID-19 or under suspected medical observation in five New York hospitals. The team compared the predictive accuracy of the random forest model and the ROX index in 72-h endotracheal intubation, respectively. Random forests had a better predicted performance (mean AUC 0.84) than the ROX index (mean AUC 0.64). In a retrospective analysis of Shashikumar et al. (35) based on ICU patients at the San Diego Hospital of California University (trial set n = 18,528) and Massachusetts General Hospital (validation set n = 3,888), a deep learning prediction model of invasive mechanical ventilation (trial set and validation set AUC, 0.895 vs. 0.882) was better than the ROX index (0.738 vs. 0.782). Based on the above results, the predictive efficiency of mechanical learning is generally higher than that of traditional prediction models or single predictive indicators.

In this study, we constructed nine machine learning models and six integrated learning models in the test dataset and compared the prediction efficiency in the internal and external validation sets. The prediction accuracy of all models in the internal validation set is higher than that of the external validation set, which may be partly due to the potential differences among the datasets caused by the different admission time of the original database. Combining the AUROC, sensitivity, specificity, and Youden index of each model, the ensemble AdaBoost decision tree model performed the best. The AdaBoost model, short for Adaptive Boosting, first introduced by Freund and Schapire (36), is a widely used and researched model based on the boosting algorithm. Schapire’s experiments involving 300 rounds of boosting tests showed that AdaBoost often avoids overfitting with excellent and stable prediction performance. The AdaBoost model in the internal validation set has high prediction efficiency (AUC 0.878, sensitivity 0.687, specificity 0.883), and the external validation set has high specificity and relatively low sensitivity (AUC 0.726, sensitivity 0.360, and specificity 0.919). Possible reasons for the substantial difference in the specificity and sensitivity of the external validation set may include the following. 1. The uneven distribution of the modeling data on the outcome factors of intubation makes it easier to identify patients with successful ventilation using the constructed model. Therefore, in constructing the model, we adopted the artificial oversampling method to deal with the category imbalance problem in order to improve the identification ability of a few classes (intubation patients) and increase the generalization ability of the model. 2. The original database did not fully record the parameters related to non-invasive respiratory supportive therapy and therapeutic efficiency assessment. 3. The two datasets are derived from medical databases at different periods, and advances in supportive treatment make it easier for the model constructed in MIMIC IV (2008–2019) to identify successfully ventilated patients in the external validation of the previous MIMIC III (2001–2012) database. However, the high specificity of this model can assist clinicians in accurately screening patients with successful ventilation and can warn medical staff to implement early intervention and preparation of high-failure-risk patients during ventilation and avoid complications related to high-risk emergency intubation and delayed intubation, thus improving patient prognosis. This has been of great clinical significance during the COVID-19 pandemic, with existing medical resources being tight and scarce.

After building the optimal prediction model, we also introduce the game-theoretic Shapley-value method to weigh the importance of each feature and, thus, explain the model predictions. SOFA (3739), APACHE II (39, 40), and lactate (41, 42) were also confirmed as independent predictors or related factors of tracheal intubation in previous studies. At the same time, elderly and severe patients being more inclined to choose “non-intubation” may be an important reason why age becomes a protective factor (43). In 2015, Correa et al. (42) found a lower PaCO2 level in NIV failure patients with acute hypoxic respiratory failure. In 2020, Park et al. (44) illustrated that lower PaCO2 levels were an independent predictor of NIV treatment failure, which is consistent with the analysis in our study of PaCO2 as a protective factor for treatment failure. In 2012, Nicolini et al. (45) illustrated that the baseline oxygenation indicator PaO2/FiO2 ratio ≤ 127 was an independent predictor of tracheal intubation in patients with acute hypoxemic respiratory failure caused by H1N1. In 2018, Frat et al. (16) used a multicenter study of acute noninvasive respiratory support patients with hypoxic respiratory failure to confirm PaO2/FiO2 ≤ 200 as an independent risk factor for tracheal intubation. In 2021, Teresa et al. (46) found in COVID-19 patients with NIV failure, the PaO2, PaO2 /FiO2 ratio, and PaCO2 value were relatively lower. In addition, the GCS score is also a common clinical scoring standard to determine the state of consciousness of patients, which has also been confirmed to be negatively associated with the risk of endotracheal intubation (16). In a multicenter study by Ricard et al. (38) in 2021, PH was found to be a protective factor (OR 0.47, 95%CI: 0.24–086, p = 0.03) for intubation in patients with acute respiratory failure due to COVID-19. Therefore, early organ function support to improve patients’ SOFA and APSII scores, heart rate, PaO2, and lactate values can be useful to reduce the early failure rate and improve patient prognosis.

Limitations

Several limitations of this study should be considered. Firstly, our study was a retrospective research study, which mainly used the online MIMIC database. Based on the dataset and technical reasons, we did not involve therapy parameters such as treatment duration, interfaces, and treatment settings, which were also important factors that could influence the outcome according to our daily clinical observation. Secondly, due to the large amount of missing data, we also did not include the change values of respiratory treatment parameters and physiological indicators before and after treatment, which may influence the treatment outcome in clinical practice. Finally, important features based on Shapley interpretability analysis must also be validated in randomized controlled trials with large samples. We will further study and explore the following two directions: designing a prospective study cohort to obtain more real-time parameters and further constructing more effective features to optimize the prediction model; designing prospective clinical randomized controlled trials to verify the impact of important feature factors in the risk prediction model in order to improve patient outcomes.

Conclusion

In conclusion, the NIV group was found to be associated with reduced intubation rate, ICU 28-day and in-hospital mortality, and shorter ICU and length of stay compared with HFNC using cross-sectional analysis. It was also illustrated that the initial ventilation options, either HFNC or NIV therapy, had no significant influence on the 48-h intubation rate after considering the time effect and other confounding factors. The ensemble AdaBoost decision tree model may assist clinicians in making clinical decisions, and early organ function support to improve patients’ SOFA and APSII scores, heart rate, PaO2, and lactate values can be used to reduce the early failure rate and improve patient prognosis.

Data availability statement

The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found at: MIMIC-IV repository, https://physionet.org/content/mimiciv/1.0/MIMIC-III repository, https://physionet.org/content/mimiciii/1.4/.

Author contributions

QL and RC conceptualized the research aims and planned the analyses. WF extracted the data from the MIMIC-IV database. XL did the data processing and guided the literature review. LG participated in data analysis and interpretation. ZL, ZH, JN, and QH did the literature search. WF wrote the first draft of the paper. All authors contributed to the article and approved the submitted version.

Funding

This research was supported by grants from the National Key Research and Development Program of China (2021YFC2501800), Henan Province Health Young and Middle-aged Subject Leaders Project (HNSWJW2020013), State Key Laboratory of Respiratory Disease (SKLRD-Z-202203, SKLRD-OP-202312).

Acknowledgments

We would also like to thank the Massachusetts Institute of Technology and the Beth Israel Deaconess Medical Center for the MIMIC project.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s note

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.

References

1. Group ST. Hypoxemia in the ICU: prevalence, treatment, and outcome. Ann Intensive Care. (2018) 8:82. doi: 10.1186/s13613-018-0424-4

PubMed Abstract | Crossref Full Text | Google Scholar

2. Roupie, E, Lepage, E, Wysocki, M, Fagon, JY, Chastre, J, Dreyfuss, D, et al. Prevalence, etiologies and outcome of the acute respiratory distress syndrome among hypoxemic ventilated patients. SRLF Collaborative Group on Mechanical Ventilation. Société de Réanimation de Langue Française. Intensive Care Med. (1999) 25:920–9. doi: 10.1007/s001340050983

Crossref Full Text | Google Scholar

3. Ranieri, VM, Rubenfeld, GD, Thompson, BT, Ferguson, ND, Caldwell, E, Fan, E, et al. Acute respiratory distress syndrome: the Berlin definition. JAMA. (2012) 307:2526–33. doi: 10.1001/jama.2012.5669

PubMed Abstract | Crossref Full Text | Google Scholar

4. Flori, HR, Glidden, DV, Rutherford, GW, and Matthay, MA. Pediatric acute lung injury: prospective evaluation of risk factors associated with mortality. Am J Respir Crit Care Med. (2005) 171:995–1001. doi: 10.1164/rccm.200404-544OC

Crossref Full Text | Google Scholar

5. Laffey, JG, Bellani, G, Pham, T, Fan, E, Madotto, F, Bajwa, EK, et al. Potentially modifiable factors contributing to outcome from acute respiratory distress syndrome: the LUNG SAFE study. Intensive Care Med. (2016) 42:1865–76. doi: 10.1007/s00134-016-4571-5

PubMed Abstract | Crossref Full Text | Google Scholar

6. Bellani, G, Laffey, JG, Pham, T, Fan, E, Brochard, L, Esteban, A, et al. Epidemiology, patterns of care, and mortality for patients with acute respiratory distress syndrome in intensive care units in 50 countries. JAMA. (2016) 315:788–800. doi: 10.1001/jama.2016.0291

PubMed Abstract | Crossref Full Text | Google Scholar

7. Fan, E, Brodie, D, and Slutsky, AS. Acute respiratory distress syndrome: advances in diagnosis and treatment. JAMA. (2018) 319:698–710. doi: 10.1001/jama.2017.21907

Crossref Full Text | Google Scholar

8. Franco, C, Facciolongo, N, Tonelli, R, Dongilli, R, Vianello, A, Pisani, L, et al. Feasibility and clinical impact of out-of-ICU noninvasive respiratory support in patients with COVID-19-related pneumonia. Eur Respir J. (2020) 56:2002130. doi: 10.1183/13993003.02130-2020

PubMed Abstract | Crossref Full Text | Google Scholar

9. Mellado-Artigas, R, Ferreyro, BL, Angriman, F, Hernández-Sanz, M, Arruti, E, Torres, A, et al. High-flow nasal oxygen in patients with COVID-19-associated acute respiratory failure. Crit Care. (2021) 25:58. doi: 10.1186/s13054-021-03469-w

PubMed Abstract | Crossref Full Text | Google Scholar

10. Oczkowski, S, Ergan, B, Bos, L, Chatwin, M, Ferrer, M, Gregoretti, C, et al. ERS clinical practice guidelines: high-flow nasal cannula in acute respiratory failure. Eur Respir J. (2022) 59:2101574. doi: 10.1183/13993003.01574-2021

PubMed Abstract | Crossref Full Text | Google Scholar

11. Grieco, DL, Menga, LS, Raggi, V, Bongiovanni, F, Anzellotti, GM, Tanzarella, ES, et al. Physiological comparison of high-flow nasal cannula and helmet noninvasive ventilation in acute hypoxemic respiratory failure. Am J Respir Crit Care Med. (2020) 201:303–12. doi: 10.1164/rccm.201904-0841OC

PubMed Abstract | Crossref Full Text | Google Scholar

12. Weaver, L, Das, A, Saffaran, S, Yehya, N, Chikhani, M, Scott, TE, et al. Optimising respiratory support for early COVID-19 pneumonia: a computational modelling study. Br J Anaesth. (2022) 128:1052–8. doi: 10.1016/j.bja.2022.02.037

PubMed Abstract | Crossref Full Text | Google Scholar

13. Coppola, S, Chiumello, D, Busana, M, Giola, E, Palermo, P, Pozzi, T, et al. Role of total lung stress on the progression of early COVID-19 pneumonia. Intensive Care Med. (2021) 47:1130–9. doi: 10.1007/s00134-021-06519-7

PubMed Abstract | Crossref Full Text | Google Scholar

14. Tonelli, R, Fantini, R, Tabbì, L, Castaniere, I, Pisani, L, Pellegrino, MR, et al. Early inspiratory effort assessment by esophageal manometry predicts noninvasive ventilation outcome in de novo respiratory failure: a pilot study. Am J Respir Crit Care Med. (2020) 202:558–67. doi: 10.1164/rccm.201912-2512OC

PubMed Abstract | Crossref Full Text | Google Scholar

15. Carteaux, G, Millán-Guilarte, T, De Prost, N, Razazi, K, Abid, S, Thille, AW, et al. Failure of noninvasive ventilation for de novo acute hypoxemic respiratory failure: role of tidal volume. Crit Care Med. (2016) 44:282–90. doi: 10.1097/CCM.0000000000001379

Crossref Full Text | Google Scholar

16. Frat, J-P, Ragot, S, Coudroy, R, Constantin, J-M, Girault, C, Prat, G, et al. Predictors of intubation in patients with acute hypoxemic respiratory failure treated with a noninvasive oxygenation strategy. Crit Care Med. (2018) 46:208–15. doi: 10.1097/CCM.0000000000002818

PubMed Abstract | Crossref Full Text | Google Scholar

17. Johnson, AEW, Pollard, TJ, Shen, L, L-WH, L, Feng, M, Ghassemi, M, et al. MIMIC-III, a freely accessible critical care database. Sci Data. (2016) 3:160035. doi: 10.1038/sdata.2016.35

PubMed Abstract | Crossref Full Text | Google Scholar

18. Johnson, A, Bulgarelli, L, and Pollard, T. MIMIC-IV (version 1.0). Physio Net. (2021). doi: 10.13026/s6n6-xd98.2021

Crossref Full Text | Google Scholar

19. Engels, JM, and Diehr, P. Imputation of missing longitudinal data: a comparison of methods. J Clin Epidemiol. (2003) 56:968–76. doi: 10.1016/S0895-4356(03)00170-7

PubMed Abstract | Crossref Full Text | Google Scholar

20. Möller, W, Celik, G, Feng, S, Bartenstein, P, Meyer, G, Oliver, E, et al. Nasal high flow clears anatomical dead space in upper airway models. J Appl Physiol (1985). (2015) 118:1525–32. doi: 10.1152/japplphysiol.00934.2014

Crossref Full Text | Google Scholar

21. Van Hove, SC, Storey, J, Adams, C, Dey, K, Geoghegan, PH, Kabaliuk, N, et al. An experimental and numerical investigation of CO2 distribution in the upper airways during nasal high flow therapy. Ann Biomed Eng. (2016) 44:3007–19. doi: 10.1007/s10439-016-1604-8

PubMed Abstract | Crossref Full Text | Google Scholar

22. Parke, R, McGuinness, S, and Eccleston, M. Nasal high-flow therapy delivers low level positive airway pressure. Br J Anaesth. (2009) 103:886–90. doi: 10.1093/bja/aep280

PubMed Abstract | Crossref Full Text | Google Scholar

23. Hasani, A, Chapman, TH, McCool, D, Smith, RE, Dilworth, JP, and Agnew, JE. Domiciliary humidification improves lung mucociliary clearance in patients with bronchiectasis. Chron Respir Dis. (2008) 5:81–6. doi: 10.1177/1479972307087190

PubMed Abstract | Crossref Full Text | Google Scholar

24. Mac Intyre, NR. Physiologic effects of noninvasive ventilation. Respir Care. (2019) 64:617–28. doi: 10.4187/respcare.06635

Crossref Full Text | Google Scholar

25. L'Her, E, Deye, N, Lellouche, F, Taille, S, Demoule, A, Fraticelli, A, et al. Physiologic effects of noninvasive ventilation during acute lung injury. Am J Respir Crit Care Med. (2005) 172:1112–8. doi: 10.1164/rccm.200402-226OC

PubMed Abstract | Crossref Full Text | Google Scholar

26. Zhao, H, Wang, H, Sun, F, Lyu, S, and An, Y. High-flow nasal cannula oxygen therapy is superior to conventional oxygen therapy but not to noninvasive mechanical ventilation on intubation rate: a systematic review and meta-analysis. Crit Care. (2017) 21:184. doi: 10.1186/s13054-017-1760-8

PubMed Abstract | Crossref Full Text | Google Scholar

27. Frat, J-P, Thille, AW, Mercat, A, Girault, C, Ragot, S, Perbet, S, et al. High-flow oxygen through nasal cannula in acute hypoxemic respiratory failure. N Engl J Med. (2015) 372:2185–96. doi: 10.1056/NEJMoa1503326

Crossref Full Text | Google Scholar

28. Ferreyro, BL, Angriman, F, Munshi, L, Del Sorbo, L, Ferguson, ND, Rochwerg, B, et al. Association of noninvasive oxygenation strategies with all-cause mortality in adults with acute hypoxemic respiratory failure: a systematic review and meta-analysis. JAMA. (2020) 324:57–67. doi: 10.1001/jama.2020.9524

PubMed Abstract | Crossref Full Text | Google Scholar

29. Perkins, GD. Effect of noninvasive respiratory strategies on intubation or mortality among patients with acute hypoxemic respiratory failure and covid-19 the recovery-rs randomized clinical trial. JAMA. (2022) 327:546–58. doi: 10.1001/jama.2022.0028

PubMed Abstract | Crossref Full Text | Google Scholar

30. Duan, J, Han, X, Bai, L, Zhou, L, and Huang, S. Assessment of heart rate, acidosis, consciousness, oxygenation, and respiratory rate to predict noninvasive ventilation failure in hypoxemic patients. Intensive Care Med. (2017) 43:192–9. doi: 10.1007/s00134-016-4601-3

PubMed Abstract | Crossref Full Text | Google Scholar

31. Roca, O, Caralt, B, Messika, J, Samper, M, Sztrymf, B, Hernández, G, et al. An index combining respiratory rate and oxygenation to predict outcome of nasal high-flow therapy. Am J Respir Crit Care Med. (2019) 199:1368–76. doi: 10.1164/rccm.201803-0589OC

PubMed Abstract | Crossref Full Text | Google Scholar

32. Goh, KJ, Chai, HZ, Ong, TH, Sewa, DW, Phua, GC, and Tan, QL. Early prediction of high flow nasal cannula therapy outcomes using a modified ROX index incorporating heart rate. J Intensive Care. (2020) 8:41. doi: 10.1186/s40560-020-00458-z

PubMed Abstract | Crossref Full Text | Google Scholar

33. Siu, BMK, Kwak, GH, Ling, L, and Hui, P. Predicting the need for intubation in the first 24 h after critical care admission using machine learning approaches. Sci Rep. (2020) 10:20931. doi: 10.1038/s41598-020-77893-3

PubMed Abstract | Crossref Full Text | Google Scholar

34. Arvind, V, Kim, JS, Cho, BH, Geng, E, and Cho, SK. Development of a machine learning algorithm to predict intubation among hospitalized patients with COVID-19. J Crit Care. (2021) 62:25–30. doi: 10.1016/j.jcrc.2020.10.033

PubMed Abstract | Crossref Full Text | Google Scholar

35. Shashikumar, SP, Wardi, G, Paul, P, Carlile, M, Brenner, LN, Hibbert, KA, et al. Development and prospective validation of a deep learning algorithm for predicting need for mechanical ventilation. Chest. (2021) 159:2264–73. doi: 10.1016/j.chest.2020.12.009

PubMed Abstract | Crossref Full Text | Google Scholar

36. Yoav Freund, RES. A decision-theoretic generalization of on-line learning and an application to boosting. J Computer Syst Sci. (1997) 55:119–39. doi: 10.1006/jcss.1997.1504

Crossref Full Text | Google Scholar

37. Rodríguez, A, Ferri, C, Martin-Loeches, I, Díaz, E, Masclans, JR, Gordo, F, et al. Risk factors for noninvasive ventilation failure in critically ill subjects with confirmed influenza infection. Respir Care. (2017) 62:1307–15. doi: 10.4187/respcare.05481

Crossref Full Text | Google Scholar

38. Mellado-Artigas, R. Predictors of failure with high-flow nasal oxygen therapy in COVID-19 patients with acute respiratory failure: a multicenter observational study. J Intensive Care. (2021) 9:23. doi: 10.1186/s40560-021-00538-8

PubMed Abstract | Crossref Full Text | Google Scholar

39. Liu, Y, An, Z, Chen, J, Liu, Y, Tang, Y, Han, Q, et al. Risk factors for noninvasive ventilation failure in patients with post-extubation acute respiratory failure after cardiac surgery. J Thorac Dis. (2018) 10:3319–28. doi: 10.21037/jtd.2018.05.96

PubMed Abstract | Crossref Full Text | Google Scholar

40. Ucgun, I, Metintas, M, Moral, H, Alatas, F, Yildirim, H, and Erginel, S. Predictors of hospital outcome and intubation in COPD patients admitted to the respiratory ICU for acute hypercapnic respiratory failure. Respir Med. (2006) 100:66–74. doi: 10.1016/j.rmed.2005.04.005

Crossref Full Text | Google Scholar

41. Darreau, C. Use, timing and factors associated with tracheal intubation in septic shock: a prospective multicentric observational study. Ann Intensive Care. (2020) 10:62. doi: 10.1186/s13613-020-00668-6

PubMed Abstract | Crossref Full Text | Google Scholar

42. Corrêa, TD, Sanches, PR, De Morais, LC, Scarin, FC, Silva, E, and Barbas, CSV. Performance of noninvasive ventilation in acute respiratory failure in critically ill patients: a prospective, observational, cohort study. BMC Pulm Med. (2015) 15:144. doi: 10.1186/s12890-015-0139-3

PubMed Abstract | Crossref Full Text | Google Scholar

43. Ozsancak Ugurlu, A. Use and outcomes of noninvasive ventilation for acute respiratory failure in different age groups. Respir Care. (2016) 61:36–43. doi: 10.4187/respcare.03966

Crossref Full Text | Google Scholar

44. Park, MJ, Cho, JH, Chang, Y, Moon, JY, Park, S, Park, TS, et al. Factors for predicting noninvasive ventilation failure in elderly patients with respiratory failure. J Clin Med. (2020) 9:116. doi: 10.3390/jcm9072116

Crossref Full Text | Google Scholar

45. Nicolini, A, Tonveronachi, E, Navalesi, P, Antonelli, M, Valentini, I, Melotti, RM, et al. Effectiveness and predictors of success of noninvasive ventilation during H1N1 pandemics: a multicenter study. Minerva Anestesiol. (2012) 78:1333–40.

PubMed Abstract | Google Scholar

46. Diaz De Teran, T. Management of patients with severe acute respiratory failure due to SARS-CoV-2 pneumonia with noninvasive ventilatory support outside Intensive Care Unit. Minerva Med. (2021) 112:329–37. doi: 10.23736/S0026-4806.21.07134-2

PubMed Abstract | Crossref Full Text | Google Scholar

Glossary

Keywords: high flow nasal cannula, non-invasive ventilation, ICU 28-day mortality, 48-h intubation risk predictive model, maching learning

Citation: Fu W, Liu X, Guan L, Lin Z, He Z, Niu J, Huang Q, Liu Q and Chen R (2024) Prognostic analysis of high-flow nasal cannula therapy and non-invasive ventilation in mild to moderate hypoxemia patients and construction of a machine learning model for 48-h intubation prediction—a retrospective analysis of the MIMIC database. Front. Med. 11:1213169. doi: 10.3389/fmed.2024.1213169

Received: 27 April 2023; Accepted: 13 February 2024;
Published: 01 March 2024.

Edited by:

Xiaoguang Sun, University of Arizona, United States

Reviewed by:

Meng Dai, Fourth Military Medical University, China
Wenwen Liu, Peking University Hospital of Stomatology, China

Copyright © 2024 Fu, Liu, Guan, Lin, He, Niu, Huang, Liu and Chen. 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) and the copyright owner(s) 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: Qi Liu, qi.liu@vip.163.com; Rongchang Chen, chenrc@vip.163.com

These authors have contributed equally to this work

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.