Machine Learning and Large Language Models in Preoperative Bariatric Surgery: From Risk Assessment to Shared Decision-Making
Main Article Content
Abstract
Article Details
Issue
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
References
GBD 2021 Adult BMI Collaborators. Global, regional, and national prevalence of adult overweight and obesity, 1990–2021, with forecasts to 2050: a forecasting study for the Global Burden of Disease Study 2021. Lancet 2025, 405, 813–838
Campbell, L. A.; Kombathula, R.; Jackson, C. D. Obesity in Adults. JAMA 2024, 332, 600
Barrett, T. S.; Hafermann, J. O.; Richards, S.; LeJeune, K.; Eid, G. M. Obesity Treatment With Bariatric Surgery vs GLP-1 Receptor Agonists. JAMA Surg 2025, 160, 1232– 1239
Courcoulas, A. P.; Patti, M. E.; Hu, B.; Arterburn, D. E.; Simonson, D. C.; Gourash, W. F.; Jakicic, J. M.; Vernon, A. H.; Beck, G. J.; Schauer, P. R.; et al. Long-Term Outcomes of Medical Management vs Bariatric Surgery in Type 2 Diabetes. JAMA 2024, 331, 654–664
Sjöholm, K.; Carlsson, L. M. S.; Svensson, P. A.; Andersson-Assarsson, J. C.; Kristensson, F.; Jacobson, P.; Peltonen, M.; Taube, M. Association of Bariatric Surgery With Cancer Incidence in Patients With Obesity and Diabetes: Long-term Results From the Swedish Obese Subjects Study. Diabetes Care 2022, 45, 444–450
Syn, N. L.; Cummings, D. E.; Wang, L. Z.; Lin, D. J.; Zhao, J. J.; Loh, M.; Koh, Z. J.; Chew, C. A.; Loo, Y. E.; Tai, B. C.; et al. Association of metabolic-bariatric surgery with long-term survival in adults with and without diabetes: a one-stage meta-analysis of matched cohort and prospective controlled studies with 174 772 participants. Lancet 2021, 397, 1830–1841
Katasani, T.; Holt, G.; Al-Khyatt, W.; Idris, I. Peri- and Postoperative Outcomes for Obstructive Sleep Apnoea Patients after Bariatric Surgery-a Systematic Review and Meta-analysis. Obes Surg 2023, 33, 2016–2024
Apfelbaum, J. L.; Hagberg, C. A.; Connis, R. T.; Abdelmalak, B. B.; Agarkar, M.; Dutton, R. P.; Fiadjoe, J. E.; Greif, R.; Klock, P. A.; Mercier, D.; et al. 2022 American Society of Anesthesiologists Practice Guidelines for Management of the Difficult Airway. Anesthesiology 2022, 136, 31–81
Freire-Moreira, I.; Sanchez-Conde, M. P.; Sousa, G. B.; Garrido-Gallego, M. I.; Rodríguez-López, J. M.; Juárez-Vela, R.; Bragado, J. A.; Carretero-Hernández, M.; Vargas-Chiarella, C. R.; Calderón-Moreno, J.; et al. Systematic preoperative approach for bariatric surgery, perioperative results, and economic impact. Front Public Health 2024, 12, 1439948
Hwang, M.; Nagappa, M.; Guluzade, N.; Saripella, A.; Englesakis, M.; Chung, F. Validation of the STOP-Bang questionnaire as a preoperative screening tool for obstructive sleep apnea: a systematic review and meta-analysis. BMC Anesthesiol 2022, 22, 366
DeMaria, E. J.; Portenier, D.; Wolfe, L. Obesity surgery mortality risk score: proposal for a clinically useful score to predict mortality risk in patients undergoing gastric bypass. Surg Obes Relat Dis 2007, 3, 134–140
Coblijn, U. K.; Lagarde, S. M.; de Raaff, C. A. L.; de Castro, S. M.; van Tets, W. F.; Bonjer, H. J.; van Wagensveld, B. A. Evaluation of the obesity surgery mortality risk score for the prediction of postoperative complications after primary and revisional laparoscopic Roux-en-Y gastric bypass. Surgery for Obesity and Related Diseases 2016, 12, 1504–1512
Matarredona, Quiles, S.; Carrasco, Llatas M.; Martínez Ruíz de Apodaca, P.; Díez Ares, J. Á.; Navarro Martínez, S.; Dalmau Galofre, J. Prevalence of obstructive sleep apnea in obese patients candidates for bariatric surgery and predictive questionnaires. Acta Otorrinolaringol Esp 2024, 75, 354–360
Bonde, A.; Varadarajan, K. M.; Bonde, N.; Troelsen, A.; Muratoglu, O. K.; Malchau, H.; Yang, A. D.; Alam, H.; Sillesen, M. Assessing the utility of deep neural networks in predicting postoperative surgical complications: a retrospective study. Lancet Digit Health 2021, 3, e471– e485
Saux, P.; Bauvin, P.; Raverdy, V.; Teigny, J.; Verkindt, H.; Soumphonphakdy, T.; Debert, M.; Jacobs, A.; Jacobs, D.; Monpellier, V.; et al. Development and validation of an interpretable machine learning-based calculator for predicting 5-year weight trajectories after bariatric surgery: a multinational retrospective cohort SOPHIA study. Lancet Digit Health 2023, 5, e692–e702
LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444
Xu, J.; Liu, D.; Du, Q.; Wan, Q.; Zhao, R.; Zhang, G.; Cheng, Z.; Chen, Y. AI-enabled prevention and management of nutritional complications in metabolic-bariatric surgery: technological innovation and clinical practice. Chinese Journal of General Surgery 2025, 34, 632–639
Carron, M.; Safaee Fakhr, B.; Ieppariello, G.; Foletto, M. Perioperative care of the obese patient. Br J Surg 2020, 107, e39–e55
Liew, W. J.; Negar, A.; Singh, P. A. Airway management in patients suffering from morbid obesity. Saudi J Anaesth 2022, 16, 314–321
Collins, J. S.; Lemmens, H. J. M.; Brodsky, J. B. Obesity and difficult intubation: where is the evidence? Anesthesiology 2006, 104, 617, author reply 618–619
Moon, T. S.; Fox, P. E.; Somasundaram, A.; Minhajuddin, A.; Gonzales, M. X.; Pak, T. J.; Ogunnaike, B. The influence of morbid obesity on difficult intubation and difficult mask ventilation. J Anesth 2019, 33, 96–102
Stenberg, E.; Dos Reis Falcão, L. F.; O'Kane, M.; Liem, R.; Pournaras, D. J.; Salminen, P.; Urman, R. D.; Wadhwa, A.; Gustafsson, U. O.; Thorell, A. Guidelines for Perioperative Care in Bariatric Surgery: Enhanced Recovery After Surgery (ERAS) Society Recommendations: A 2021 Update. World J Surg 2022, 46, 729–751
Zhou, C. M.; Xue, Q.; Ye, H. T.; Wang, Y.; Tong, J.; Ji, M. H.; Yang, J. J. Constructing a prediction model for difficult intubation of obese patients based on machine learning. J Clin Anesth 2021, 72, 110278
Zhou, C. M.; Wang, Y.; Xue, Q.; Yang, J. J.; Zhu, Y. Predicting difficult airway intubation in thyroid surgery using multiple machine learning and deep learning algorithms. Front Public Health 2022, 10, 937471
Hayasaka, T.; Kawano, K.; Kurihara, K.; Suzuki, H.; Nakane, M.; Kawamae, K. Creation of an artificial intelligence model for intubation difficulty classification by deep learning (convolutional neural network) using face images: an observational study. J Intensive Care 2021, 9, 38
Sezari, P.; Kohzadi, Z.; Dabbagh, A.; Jafari, A.; Khoshtinatan, S.; Mottaghi, K.; Kohzadi, Z.; Rahmatizadeh, S. Unravelling intubation challenges: a machine learning approach incorporating multiple predictive parameters. BMC Anesthesiol 2024, 24, 453
Nijland, L. M. G.; van Veldhuisen, S. L.; van Veen, R. N.; Hazebroek, E. J.; Bonjer, H. J.; de Castro, S. M. M. Complications and predictors associated with moderate to severe obstructive sleep apnoea in bariatric surgery: Evaluation of routine obstructive sleep apnoea screening. Surgeon 2023, 21, e361–e366
Mechanick, J. I.; Apovian, C.; Brethauer, S.; Timothy Garvey, W.; Joffe, A. M.; Kim, J.; Kushner, R. F.; Lindquist, R.; Pessah-Pollack, R.; Seger, J.; et al. Clinical Practice Guidelines for the Perioperative Nutrition, Metabolic, and Nonsurgical Support of Patients Undergoing Bariatric Procedures - 2019 Update: Cosponsored by American Association of Clinical Endocrinologists/American College of Endocrinology, The Obesity Society, American Society for Metabolic and Bariatric Surgery, Obesity Medicine Association, and American Society of Anesthesiologists. Obesity (Silver Spring) 2020, 28, O1–O58
Stenberg, E.; Dos Reis Falcão, L. F.; O'Kane, M.; Liem, R.; Pournaras, D. J.; Salminen, P.; Urman, R. D.; Wadhwa, A.; Gustafsson, U. O.; Thorell, A. Guidelines for Perioperative Care in Bariatric Surgery: Enhanced Recovery After Surgery (ERAS) Society Recommendations: A 2021 Update. World J Surg 2022, 46, 729–751
Choi, M.-S.; Han, D.-H.; Choi, J.-W.; Kang, M.-S. A Study on Improving Sleep Apnea Diagnoses Using Machine Learning Based on the STOP-BANG Questionnaire. Appl. Sci. 2024, 14, 3117
Levy, J.; Álvarez, D.; Del Campo, F.; Behar, J. A. Deep learning for obstructive sleep apnea diagnosis based on single channel oximetry. Nat Commun 2023, 14, 4881
Campos, G. M.; Mazzini, G. S.; Altieri, M. S.; Docimo, S. Jr; DeMaria, E. J.; Rogers, A. M. Clinical Issues Committee of the American Society for Metabolic and Bariatric Surgery. ASMBS position statement on the rationale for performance of upper gastrointestinal endoscopy before and after metabolic and bariatric surgery. Surg Obes Relat Dis 2021, 17, 837–847
Di Lorenzo, N.; Antoniou, S. A.; Batterham, R. L.; Busetto, L.; Godoroja, D.; Iossa, A.; Carrano, F. M.; Agresta, F.; Alarçon, I.; Azran, C.; et al. Clinical practice guidelines of the European Association for Endoscopic Surgery (EAES) on bariatric surgery: update 2020 endorsed by IFSO-EC, EASO and ESPCOP. Surg Endosc 2020, 34, 2332–2358
Tian, P.; Fu, J.; Liu, Y.; Li, M.; Liu, J.; Liu, J.; Zhang, Z.; Zhang, P. Unveiling the hidden pathologies: preoperative endoscopic findings in patients with obesity undergoing bariatric surgery. BMC Surg 2024, 24, 215
Bennett, S.; Gostimir, M.; Shorr, R.; Mallick, R.; Mamazza, J.; Neville, A. The role of routine preoperative upper endoscopy in bariatric surgery: a systematic review and meta-analysis. Surg Obes Relat Dis 2016, 12, 1116– 1125
Chadebecq, F.; Lovat, L. B.; Stoyanov, D. Artificial intelligence and automation in endoscopy and surgery. Nat Rev Gastroenterol Hepatol 2023, 20, 171–182
Hany, M.; Shafei, M. E.; Ibrahim, M.; Agayby, A. S. S.; Abouelnasr, A. A.; Aboelsoud, M. R.; Elmongui, E.; Torensma, B. The Role of Preoperative Abdominal Ultrasound in the Preparation of Patients Undergoing Primary Metabolic and Bariatric Surgery: A Machine Learning Algorithm on 4418 Patients' Records. Obes Surg 2024, 34, 3445–3458
Assaf, D.; Rayman, S.; Segev, L.; Neuman, Y.; Zippel, D.; Goitein, D. Improving pre-bariatric surgery diagnosis of hiatal hernia using machine learning models. Minim Invasive Ther Allied Technol 2022, 31, 760–767
Nudel, J.; Bishara, A. M.; de Geus, S. W. L.; Patil, P.; Srinivasan, J.; Hess, D. T.; Woodson, J. Development and validation of machine learning models to predict gastrointestinal leak and venous thromboembolism after weight loss surgery: an analysis of the MBSAQIP database. Surg Endosc 2021, 35, 182–191
Romero-Velez, G.; Dang, J.; Barajas-Gamboa, J. S.; Lee-St John, T.; Strong, A. T.; Navarrete, S.; Corcelles, R.; Rodriguez, J.; Fares, M.; Kroh, M. Machine learning prediction of major adverse cardiac events after elective bariatric surgery. Surg Endosc 2024, 38, 319–326
Park, J.; Park, S.; Lee, K.-S.; Kwon, Y. Predictive and Explainable Artificial Intelligence for Weight Loss After Sleeve Gastrectomy: Insights from Wide and Deep Learning with Medical Image and Non-Image Data. Appl. Sci. 2025, 15, 2457
Nadal, E.; Benito, E.; Ródenas-Navarro, A. M.; Palanca, A.; Martinez-Hervas, S.; Civera, M.; Ortega, J.; Alabadi, B.; Piqueras, L.; Ródenas, J. J.; Real, J. T. Machine Learning Model in Obesity to Predict Weight Loss One Year after Bariatric Surgery: A Pilot Study. Biomedicines 2024, 12, 1175
Saux, P.; Bauvin, P.; Raverdy, V.; Teigny, J.; Verkindt, H.; Soumphonphakdy, T.; Debert, M.; Jacobs, A.; Jacobs, D.; Monpellier, V.; et al. Development and validation of an interpretable machine learning-based calculator for predicting 5-year weight trajectories after bariatric surgery: a multinational retrospective cohort SOPHIA study. Lancet Digit Health 2023, 5, e692–e702
Salminen, P.; Grönroos, S.; Helmiö, M.; Hurme, S.; Juuti, A.; Juusela, R.; Peromaa-Haavisto, P.; Leivonen, M.; Nuutila, P.; Ovaska, J. Effect of Laparoscopic Sleeve Gastrectomy vs Roux-en-Y Gastric Bypass on Weight Loss, Comorbidities, and Reflux at 10 Years in Adult Patients With Obesity: The SLEEVEPASS Randomized Clinical Trial. JAMA Surg 2022, 157, 656–666
Kraljevic, M.; Süsstrunk, J.; Wölnerhanssen, B. K.; Peters, T.; Bueter, M.; Gero, D.; Schultes, B.; Poljo, A.; Schneider, R.; Peterli, R. Long-Term Outcomes of Laparoscopic Roux-en-Y Gastric Bypass vs Laparoscopic Sleeve Gastrectomy for Obesity: The SM-BOSS Randomized Clinical Trial. JAMA Surg 2025, 160, 369– 377
Akpinar, E. O.; Liem, R. S. L.; Nienhuijs, S. W.; Greve, J. W. M.; Marang-van de Mheen, P. J.; Dutch Audit for Treatment of Obesity Research Group. Hospital Variation in Preference for a Specific Bariatric Procedure and the Association with Weight Loss Performance: a Nationwide Analysis. Obes Surg 2022, 32, 3589–3599
Poelemeijer, Y. Q. M.; Liem, R. S. L.; Våge, V.; Mala, T.; Sundbom, M.; Ottosson, J.; Nienhuijs, S. W. Gastric Bypass Versus Sleeve Gastrectomy: Patient Selection and Short-term Outcome of 47,101 Primary Operations From the Swedish, Norwegian, and Dutch National Quality Registries. Ann Surg 2020, 272, 326–333
Jazi, A. H. D.; Mahjoubi, M.; Shahabi, S.; Alqahtani, A. R.; Haddad, A.; Pazouki, A.; Prasad, A.; Safadi, B. Y.; Chiappetta, S.; Taskin, H. E.; et al. Bariatric Evaluation Through AI: a Survey of Expert Opinions Versus ChatGPT-4 (BETA-SEOV). Obes Surg 2023, 33, 3971– 3980
Lopez-Gonzalez, R.; Sanchez-Cordero, S.; Pujol-Gebellí, J.; Castellvi, J. Evaluation of the Impact of ChatGPT on the Selection of Surgical Technique in Bariatric Surgery. Obes Surg 2025, 35, 19–24
Sanchez-Cordero, S.; Lopez-Gonzalez, R.; Fernandez, H.; Pujol-Gebellí, J. Training ChatGPT for surgical decisions: Bariatric surgery analysis using algorithms and evidence. Obes Res Clin Pract 2025, 19, 352–355
Ayo-Ajibola, O.; Davis, R. J.; Lin, M. E.; Riddell, J.; Kravitz, R. L. Characterizing the Adoption and Experiences of Users of Artificial Intelligence-Generated Health Information in the United States: Cross-Sectional Questionnaire Study. J Med Internet Res 2024, 26, e55138
Guo, P.; East, L.; Arthur, A. Thinking outside the black box: the importance of context in understanding the impact of a preoperative education nursing intervention among Chinese cardiac patients. Patient Educ Couns 2014, 95, 365–70
Leng, Y.; Yang, Y.; Liu, J.; Jiang, J.; Zhou, C. Evaluating the Feasibility of ChatGPT-4 as a Knowledge Resource in Bariatric Surgery: A Preliminary Assessment. Obes Surg 2025, 35, 645–650
Lee, Y.; Shin, T.; Tessier, L.; Javidan, A.; Jung, J.; Hong, D.; Strong, A. T.; McKechnie, T.; Malone, S.; Jin, D.; et al., Harnessing artificial intelligence in bariatric surgery: comparative analysis of ChatGPT-4, Bing, and Bard in generating clinician-level bariatric surgery recommendations. Surg Obes Relat Dis 2024, 20, 603– 608
Lam, K.; Chen, J.; Wang, Z.; Iqbal, F. M.; Darzi, A.; Lo, B.; Purkayastha, S.; Kinross, J. M. Machine learning for technical skill assessment in surgery: a systematic review. npj Digital Medicine 2022, 5, 24
Yilmaz, R.; Bakhaidar, M.; Alsayegh, A.; Abou Hamdan, N.; Fazlollahi, A. M.; Tee, T.; Langleben, I.; Winkler-Schwartz, A.; Laroche, D.; Santaguida, C.; et al. Del Maestro RF. Real-Time multifaceted artificial intelligence vs In-Person instruction in teaching surgical technical skills: a randomized controlled trial. Sci Rep 2024, 14, 15130
Ma, R.; Kiyasseh, D.; Laca, J. A.; Kocielnik, R.; Wong, E. Y.; Chu, T. N.; Cen, S.; Yang, C. H.; Dalieh, I. S.; Haque, T. F.; et al. Artificial Intelligence-Based Video Feedback to Improve Novice Performance on Robotic Suturing Skills: A Pilot Study. J Endourol 2024, 38, 884–891
Duran Espinoza, V.; Belmar Riveros, F.; Jarry Trujillo, C.; Gaete Dañobeitia, M. I.; Montero Jaras, I.; Miguieles Schilling, M.; Valencia Coronel, B.; Escalona, G.; Tirado, P. A.; Quezada, N.; et al. Five-Year Experience Training Surgeons with a Laparoscopic Simulation Training Program for Bariatric Surgery: a Quasi-experimental Design. Obes Surg 2023, 33, 1831–1837
Dayan, D. Implementation of Artificial Intelligence-Based Computer Vision Model for Sleeve Gastrectomy: Experience in One Tertiary Center. Obes Surg 2024, 34, 330–336
Fer, D.; Zhang, B.; Abukhalil, R.; Goel, V.; Goel, B.; Barker, J.; Kalesan, B.; Barragan, I.; Gaddis, M. L.; Kilroy, P. G. An artificial intelligence model that automatically labels roux-en-Y gastric bypasses, a comparison to trained surgeon annotators. Surg Endosc 2023, 37, 5665– 5672
Sauerland, S.; Angrisani, L.; Belachew, M.; Chevallier, J. M.; Favretti, F.; Finer, N.; Fingerhut, A.; Garcia Caballero, M.; Guisado Macias, J. A.; Mittermair, R.; et al. Obesity surgery: evidence-based guidelines of the European Association for Endoscopic Surgery (EAES). Surg Endosc 2005, 19, 200–221
Mechanick, J. I.; Apovian, C.; Brethauer, S.; Garvey, W. T.; Joffe, A. M.; Kim, J.; Kushner, R. F.; Lindquist, R.; Pessah-Pollack, R.; Seger, J.; et al. CLINICAL PRACTICE GUIDELINES FOR THE PERIOPERATIVE NUTRITION, METABOLIC, AND NONSURGICAL SUPPORT OF PATIENTS UNDERGOING BARIATRIC PROCEDURES - 2019 UPDATE: COSPONSORED BY AMERICAN ASSOCIATION OF CLINICAL ENDOCRINOLOGISTS/AMERICAN COLLEGE OF ENDOCRINOLOGY, THE OBESITY SOCIETY, AMERICAN SOCIETY FOR METABOLIC & BARIATRIC SURGERY, OBESITY MEDICINE ASSOCIATION, AND AMERICAN SOCIETY OF ANESTHESIOLOGISTS - EXECUTIVE SUMMARY. Endocr Pract 2019, 25, 1346–1359
Campos, G. M.; Mazzini, G. S.; Altieri, M. S.; Docimo, S. Jr; DeMaria, E. J.; Rogers, A. M. Clinical Issues Committee of the American Society for Metabolic and Bariatric Surgery. ASMBS position statement on the rationale for performance of upper gastrointestinal endoscopy before and after metabolic and bariatric surgery. Surg Obes Relat Dis 2021, 17, 837–847
Wang, Y.; Liang, H.; Zhang, P.; Yang, J.; Zhu, L.; Liu, J.; Wang, C.; Zhu, S. Chinese clinical guidelines for the surgery of obesity and metabolic disorders (2024 edition). Chinese Journal of Practical Surgery 2024, 44, 841–849
Knevel, R.; Liao, K. P. From real-world electronic health record data to real-world results using artificial intelligence. Ann Rheum Dis 2023, 82, 306–311
Sittig, D. F.; Singh, H. Electronic health records and national patient-safety goals. N Engl J Med 2012, 367, 1854–1860
Sun, G. K.; Ambrosy, A. P. Applying Natural Language Processing to Electronic Health Record Data-From Text to Triage. JAMA Netw Open 2024, 7, e2443934
Ren, Y.; Loftus, T. J.; Datta, S.; Ruppert, M. M.; Guan, Z.; Miao, S.; Shickel, B.; Feng, Z.; Giordano, C.; Upchurch, G. R. Jr; et al. Performance of a Machine Learning Algorithm Using Electronic Health Record Data to Predict Postoperative Complications and Report on a Mobile Platform. JAMA Netw Open 2022, 5, e2211973
Iacucci, M.; Santacroce, G.; Meseguer, P.; Diéguez, A.; Del Amor, R.; Kolawole, B. B.; Chaudhari, U.; Zammarchi, I.; Hayes, B.; Crotty, R.; et al. Endo-Histo foundational fusion model: a novel artificial intelligence for assessing histologic remission and response to therapy in ulcerative colitis clinical trial. J Crohns Colitis 2025, 19, jjaf108
Boehm, K. M.; El Nahhas, O. S. M.; Marra, A.; Waters, M.; Jee, J.; Braunstein, L.; Schultz, N.; Selenica, P.; Wen, H. Y.; Weigelt, B.; et al. Multimodal histopathologic models stratify hormone receptor-positive early breast cancer. Nat Commun 2025, 16, 2106
Soenksen, L. R.; Ma, Y.; Zeng, C.; Boussioux, L.; Carballo, K. V.; Na, L.; Wiberg, H. M.; Li, M. L.; Fuentes, I.; Bertsimas, D. Integrated multimodal artificial intelligence framework for healthcare applications. npj Digital Medicine 2022, 5, 149