{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"institution":[{"name":"Research Square"}],"indexed":{"date-parts":[[2025,8,15]],"date-time":"2025-08-15T00:28:35Z","timestamp":1755217715336,"version":"3.43.0"},"posted":{"date-parts":[[2025,8,5]]},"group-title":"In Review","reference-count":24,"publisher":"Springer Science and Business Media LLC","license":[{"start":{"date-parts":[[2025,8,5]],"date-time":"2025-08-05T00:00:00Z","timestamp":1754352000000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"accepted":{"date-parts":[[2025,7,28]]},"abstract":"<title>Abstract<\/title>\n        <p>Randomized trials comparing high-flow nasal cannula (HFNC) and non-invasive positive pressure ventilation (NIV) for acute respiratory failure (ARF) offer population-level guidance but often fail to capture individual variability in treatment response. In this retrospective study, we identified intensive care units (ICU) patients at risk of invasive mechanical ventilation (IMV) using a previously published risk prediction model. Patients who first received HFNC or NIV after crossing the high-risk threshold formed the early treatment cohort. We developed a deep counterfactual model that integrates representation learning, conditional normalizing flows, and confounder adjustment to estimate individualized treatment effects (ITEs) between HFNC and NIV. Treatment concordance, defined as alignment between the model\u2019s recommendation and the treatment actually administered, was assessed using multivariate logistic regression. At UC San Diego Health (UCSD), concordant treatment was associated with significantly reduced odds of IMV (odds ratio [OR]\u2009=\u20090.661 for NIV; 0.677 for HFNC) and mortality or hospice discharge (OR\u2009=\u20090.679 for NIV; 0.749 for HFNC). At UC Irvine Health (UCI), concordant treatment was also linked to improved outcomes, particularly for mortality or hospice discharge (OR\u2009=\u20090.092 for NIV; 0.088 for HFNC). These findings highlight the value of individualized, model-guided respiratory support strategies in improving outcomes for critically ill patients.<\/p>","DOI":"10.21203\/rs.3.rs-7230866\/v1","type":"posted-content","created":{"date-parts":[[2025,8,5]],"date-time":"2025-08-05T18:16:11Z","timestamp":1754417771000},"source":"Crossref","is-referenced-by-count":0,"title":["Comparing High-Flow Nasal Cannula and Non-Invasive Ventilation in Critical Care: Insights from Deep Counterfactual Inference"],"prefix":"10.21203","author":[{"given":"Xiaolei","family":"Lu","sequence":"first","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Michael","family":"Miller","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Alex K.","family":"Pearce","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jonathan Y.","family":"Lam","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Aaron E.","family":"Boussina","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kai","family":"Zheng","sequence":"additional","affiliation":[{"name":"University of California, Irvine"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Atul","family":"Malhotra","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Shamim","family":"Nemati","sequence":"additional","affiliation":[{"name":"University of California, San Diego"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"297","reference":[{"key":"ref1","doi-asserted-by":"crossref","first-page":"ooae141","DOI":"10.1093\/jamiaopen\/ooae141","article-title":"Development, deployment, and continuous monitoring of a machine learning model to predict respiratory failure in critically ill patients","volume":"7","author":"Lam JY","year":"2024","unstructured":"Lam JY, Lu X, Shashikumar SP, et al. Development, deployment, and continuous monitoring of a machine learning model to predict respiratory failure in critically ill patients. JAMIA Open. 2024;7:ooae141.","journal-title":"JAMIA Open"},{"key":"ref2","doi-asserted-by":"crossref","first-page":"73","DOI":"10.1016\/j.annemergmed.2017.12.006","article-title":"High-velocity nasal insufflation in the treatment of respiratory failure: A randomized clinical trial","volume":"72","author":"Doshi P","year":"2018","unstructured":"Doshi P, Whittle JS, Bublewicz M, et al. High-velocity nasal insufflation in the treatment of respiratory failure: A randomized clinical trial. Ann Emerg Med. 2018;72:73\u201383.e5.","journal-title":"Ann Emerg Med"},{"key":"ref3","doi-asserted-by":"crossref","first-page":"2185","DOI":"10.1056\/NEJMoa1503326","article-title":"High-flow oxygen through nasal cannula in acute hypoxemic respiratory failure","volume":"372","author":"Frat J-P","year":"2015","unstructured":"Frat J-P, Thille AW, Mercat A, et al. High-flow oxygen through nasal cannula in acute hypoxemic respiratory failure. N Engl J Med. 2015;372:2185\u201396.","journal-title":"N Engl J Med"},{"key":"ref4","doi-asserted-by":"crossref","first-page":"A166","DOI":"10.1186\/2197-425X-3-S1-A166","article-title":"High flow nasal cannula oxygen (hfnc) versus non-invasive positive pressure ventilation (nippv) in acute hypoxemic respiratory failure. a pilot randomized controlled trial","volume":"3","author":"Azevedo JR","year":"2015","unstructured":"Azevedo JR, Montenegro WS, Leitao AL, et al. High flow nasal cannula oxygen (hfnc) versus non-invasive positive pressure ventilation (nippv) in acute hypoxemic respiratory failure. a pilot randomized controlled trial. Intensive Care Med Exp. 2015;3:A166.","journal-title":"Intensive Care Med Exp"},{"key":"ref5","doi-asserted-by":"crossref","first-page":"303","DOI":"10.1164\/rccm.201904-0841OC","article-title":"Physiological comparison of high-flow nasal cannula and helmet noninvasive ventilation in acute hypoxemic respiratory failure","volume":"201","author":"Grieco DL","year":"2020","unstructured":"Grieco DL, Menga LS, Raggi V, 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\u201312.","journal-title":"Am J Respir Crit Care Med"},{"key":"ref6","doi-asserted-by":"crossref","first-page":"1824","DOI":"10.4187\/respcare.09130","article-title":"Comparison of high-flow nasal cannula and noninvasive ventilation in acute hypoxemic respiratory failure due to severe COVID-19 pneumonia","volume":"66","author":"Nair PR","year":"2021","unstructured":"Nair PR, Haritha D, Behera S, et al. Comparison of high-flow nasal cannula and noninvasive ventilation in acute hypoxemic respiratory failure due to severe COVID-19 pneumonia. Respir Care. 2021;66:1824\u201330.","journal-title":"Respir Care"},{"key":"ref7","doi-asserted-by":"crossref","first-page":"1731","DOI":"10.1001\/jama.2021.4682","article-title":"Effect of helmet noninvasive ventilation vs high-flow nasal oxygen on days free of respiratory support in patients with COVID-19 and moderate to severe hypoxemic respiratory failure: The HENIVOT randomized clinical trial: The HENIVOT randomized clinical trial","volume":"325","author":"Grieco DL","year":"2021","unstructured":"Grieco DL, Menga LS, Cesarano M, et al. Effect of helmet noninvasive ventilation vs high-flow nasal oxygen on days free of respiratory support in patients with COVID-19 and moderate to severe hypoxemic respiratory failure: The HENIVOT randomized clinical trial: The HENIVOT randomized clinical trial. JAMA. 2021;325:1731\u201343.","journal-title":"JAMA"},{"key":"ref8","doi-asserted-by":"crossref","first-page":"641","DOI":"10.1016\/S2213-2600(22)00096-0","article-title":"High-flow nasal oxygen alone or alternating with non-invasive ventilation in critically ill immunocompromised patients with acute respiratory failure: a randomised controlled trial","volume":"10","author":"Coudroy R","year":"2022","unstructured":"Coudroy R, Frat J-P, Ehrmann S, et al. High-flow nasal oxygen alone or alternating with non-invasive ventilation in critically ill immunocompromised patients with acute respiratory failure: a randomised controlled trial. Lancet Respir Med. 2022;10:641\u20139.","journal-title":"Lancet Respir Med"},{"key":"ref9","doi-asserted-by":"crossref","first-page":"250","DOI":"10.1186\/s13054-024-05040-9","article-title":"High flow nasal cannula oxygen therapy versus non-invasive ventilation for acute exacerbations of chronic obstructive pulmonary disease with acute-moderate hypercapnic respiratory failure: a randomized controlled non-inferiority trial","volume":"28","author":"Tan D","year":"2024","unstructured":"Tan D, Wang B, Cao P, et al. High flow nasal cannula oxygen therapy versus non-invasive ventilation for acute exacerbations of chronic obstructive pulmonary disease with acute-moderate hypercapnic respiratory failure: a randomized controlled non-inferiority trial. Crit Care. 2024;28:250.","journal-title":"Crit Care"},{"key":"ref10","first-page":"e1092","article-title":"High-flow nasal cannula versus noninvasive ventilation as initial treatment in acute hypoxia: A propensity score-matched study","volume":"6","author":"Munroe ES","year":"2024","unstructured":"Munroe ES, Prevalska I, Hyer M, et al. High-flow nasal cannula versus noninvasive ventilation as initial treatment in acute hypoxia: A propensity score-matched study. Crit Care Explor. 2024;6:e1092.","journal-title":"Crit Care Explor"},{"key":"ref11","doi-asserted-by":"publisher","DOI":"10.3390\/jcm12041679","article-title":"High-flow nasal cannula oxygen therapy versus non-invasive ventilation in AIDS patients with acute respiratory failure: A randomized controlled trial","volume":"12","author":"Hao J","year":"2023","unstructured":"Hao J, Liu J, Pu L, et al. High-flow nasal cannula oxygen therapy versus non-invasive ventilation in AIDS patients with acute respiratory failure: A randomized controlled trial. J Clin Med. 2023;12. doi: 10.3390\/jcm12041679","journal-title":"J Clin Med"},{"key":"ref12","doi-asserted-by":"publisher","DOI":"10.1183\/13993003.02426-2016","article-title":"Official ERS\/ATS clinical practice guidelines: noninvasive ventilation for acute respiratory failure","volume":"50","author":"Rochwerg B","year":"2017","unstructured":"Rochwerg B, Brochard L, Elliott MW, et al. Official ERS\/ATS clinical practice guidelines: noninvasive ventilation for acute respiratory failure. Eur Respir J. 2017;50. doi: 10.1183\/13993003.02426-2016","journal-title":"Eur Respir J"},{"key":"ref13","doi-asserted-by":"crossref","first-page":"2101574","DOI":"10.1183\/13993003.01574-2021","article-title":"ERS clinical practice guidelines: high-flow nasal cannula in acute respiratory failure","volume":"59","author":"Oczkowski S","year":"2022","unstructured":"Oczkowski S, Ergan B, Bos L, et al. ERS clinical practice guidelines: high-flow nasal cannula in acute respiratory failure. Eur Respir J. 2022;59:2101574.","journal-title":"Eur Respir J"},{"year":"2024","author":"Ding P","unstructured":"Ding P. The central role of the propensity score in observational studies for causal effects. A First Course in Causal Inference. Boca Raton: Chapman and Hall\/CRC 2024:137\u201350.","key":"ref14"},{"key":"ref15","doi-asserted-by":"crossref","first-page":"1228","DOI":"10.1080\/01621459.2017.1319839","article-title":"Estimation and inference of heterogeneous treatment effects using random forests","volume":"113","author":"Wager S","year":"2018","unstructured":"Wager S, Athey S. Estimation and inference of heterogeneous treatment effects using random forests. J Am Stat Assoc. 2018;113:1228\u201342.","journal-title":"J Am Stat Assoc"},{"key":"ref16","doi-asserted-by":"crossref","first-page":"4156","DOI":"10.1073\/pnas.1804597116","article-title":"Metalearners for estimating heterogeneous treatment effects using machine learning","volume":"116","author":"K\u00fcnzel SR","year":"2019","unstructured":"K\u00fcnzel SR, Sekhon JS, Bickel PJ, et al. Metalearners for estimating heterogeneous treatment effects using machine learning. Proc Natl Acad Sci U S A. 2019;116:4156\u201365.","journal-title":"Proc Natl Acad Sci U S A"},{"key":"ref17","doi-asserted-by":"crossref","first-page":"688","DOI":"10.1037\/h0037350","article-title":"Estimating causal effects of treatments in randomized and nonrandomized studies","volume":"66","author":"Rubin DB","year":"1974","unstructured":"Rubin DB. Estimating causal effects of treatments in randomized and nonrandomized studies. J Educ Psychol. 1974;66:688\u2013701.","journal-title":"J Educ Psychol"},{"key":"ref18","volume-title":"Estimating individual treatment effect: generalization bounds and algorithms","author":"Shalit U","year":"2016","unstructured":"Shalit U, Johansson FD, Sontag D. Estimating individual treatment effect: generalization bounds and algorithms. arXiv [stat.ML]. 2016."},{"year":"2022","author":"Melnychuk V","unstructured":"Melnychuk V, Frauen D, Feuerriegel S. Causal Transformer for Estimating Counterfactual Outcomes. arXiv [cs.LG]. 2022.","key":"ref19"},{"key":"ref20","volume-title":"Bounds on representation-induced confounding bias for treatment effect estimation","author":"Melnychuk V","year":"2023","unstructured":"Melnychuk V, Frauen D, Feuerriegel S. Bounds on representation-induced confounding bias for treatment effect estimation. arXiv [stat.ML]. 2023."},{"year":"2019","author":"Durkan C","unstructured":"Durkan C, Bekasov A, Murray I, et al. Neural Spline Flows. arXiv [stat.ML]. 2019.","key":"ref21"},{"year":"2012","author":"Snoek J","unstructured":"Snoek J, Larochelle H, Adams RP. Practical Bayesian optimization of machine learning algorithms. arXiv [stat.ML]. 2012.","key":"ref22"},{"year":"2014","author":"Kingma DP","unstructured":"Kingma DP, Ba J. Adam: A method for stochastic optimization. arXiv [cs.LG]. 2014.","key":"ref23"},{"key":"ref24","doi-asserted-by":"crossref","first-page":"102742","DOI":"10.1016\/j.artmed.2023.102742","article-title":"Guideline-informed reinforcement learning for mechanical ventilation in critical care","volume":"147","author":"Hengst F","year":"2024","unstructured":"den Hengst F, Otten M, Elbers P, et al. Guideline-informed reinforcement learning for mechanical ventilation in critical care. Artif Intell Med. 2024;147:102742.","journal-title":"Artif Intell Med"}],"container-title":[],"original-title":[],"link":[{"URL":"https:\/\/www.researchsquare.com\/article\/rs-7230866\/v1","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.researchsquare.com\/article\/rs-7230866\/v1.html","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,5]],"date-time":"2025-08-05T18:16:13Z","timestamp":1754417773000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.researchsquare.com\/article\/rs-7230866\/v1"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,5]]},"references-count":24,"URL":"https:\/\/doi.org\/10.21203\/rs.3.rs-7230866\/v1","relation":{},"subject":[],"published":{"date-parts":[[2025,8,5]]},"subtype":"preprint"}}