RSS-Feed abonnieren

DOI: 10.1055/a-2719-8970
A Novel BERT-Based Machine Learning Approach for Enhanced CSF Leak Prediction in Endoscopic Endonasal Skull Base Surgery
Authors

Abstract
Objectives
To evaluate the performance of the BERT (bidirectional encoder representations from transformers) model in predicting cerebrospinal fluid (CSF) leaks and compare it with traditional logistic regression analysis.
Methods
In this study, we employed a machine learning-based natural language processing (NLP) model, specifically BERT, and compared its performance to conventional statistical logistic regression in predicting CSF leaks. We analyzed all cases of skull base pathologies treated by a multidisciplinary team specializing in rhinology and skull base surgery, and neurosurgery at a single center between March 2015 and July 2020. The dataset included the following factors: (1) demographics, (2) perioperative clinical CSF leak indicators, (3) pathology-related factors, (4) surgical factors, and (5) perioperative CT scan features.
Results
The BERT model outperformed the traditional logistic regression model in predicting CSF leaks, achieving an AUC of 1.0000, sensitivity of 1.0000, specificity of 0.9808, positive predictive value (PPV) of 0.8889, negative predictive value (NPV) of 1.0000, and an F1 score of 0.9657. In contrast, the logistic regression model yielded an AUC of 0.847, with a sensitivity of 0.2143, specificity of 0.9060, PPV of 0.4471, and NPV of 0.7649.
Conclusion
BERT NLP model outperforms traditional logistic regression in predicting cerebrospinal fluid leaks after endoscopic skull base surgery, demonstrating superior accuracy with qualitative clinical data, enhancing risk stratification and decision-making.
Data Availability Statement
The datasets analyzed during the current study are available from the corresponding author on request.
Ethical Approval
Ethical approval for the study was obtained from the ethics committee at the College of Medicine at King Saud University (no. 23-8232).
Publikationsverlauf
Eingereicht: 01. August 2025
Angenommen: 05. Oktober 2025
Accepted Manuscript online:
10. Oktober 2025
Artikel online veröffentlicht:
23. Oktober 2025
© 2025. The Author(s). This is an open access article published by Thieme under the terms of the Creative Commons Attribution License, permitting unrestricted use, distribution, and reproduction so long as the original work is properly cited. (https://creativecommons.org/licenses/by/4.0/)
Georg Thieme Verlag KG
Oswald-Hesse-Straße 50, 70469 Stuttgart, Germany
-
References
- 1 Conger A, Zhao F, Wang X. et al. Evolution of the graded repair of CSF leaks and skull base defects in endonasal endoscopic tumor surgery: trends in repair failure and meningitis rates in 509 patients. J Neurosurg 2019; 130 (03) 861-875
- 2 Clavenna MJ, Turner JH, Chandra RK. Pedicled flaps in endoscopic skull base reconstruction: review of current techniques. Curr Opin Otolaryngol Head Neck Surg 2015; 23 (01) 71-77
- 3 Hannan CJ, Almhanedi H, Al-Mahfoudh R, Bhojak M, Looby S, Javadpour M. Predicting post-operative cerebrospinal fluid (CSF) leak following endoscopic transnasal pituitary and anterior skull base surgery: a multivariate analysis. Acta Neurochir (Wien) 2020; 162 (06) 1309-1315
- 4 Karnezis TT, Baker AB, Soler ZM. et al. Factors impacting cerebrospinal fluid leak rates in endoscopic sellar surgery. Int Forum Allergy Rhinol 2016; 6 (11) 1117-1125
- 5 Khan DZ, Ali AMS, Koh CH. et al. Skull base repair following endonasal pituitary and skull base tumour resection: a systematic review. Pituitary 2021; 24 (05) 698-713
- 6 Xue H, Wang X, Yang Z, Bi Z, Liu P. Risk factors and outcomes of cerebrospinal fluid leak related to endoscopic pituitary adenoma surgery. Br J Neurosurg 2020; 34 (04) 447-452
- 7 Ein L, Sargi Z, Nicolli EA. Update on anterior skull base reconstruction. Curr Opin Otolaryngol Head Neck Surg 2019; 27 (05) 426-430
- 8 Tariciotti L, Fiore G, Carrabba G. et al. A supervised machine-learning algorithm predicts intraoperative CSF leak in endoscopic transsphenoidal surgery for pituitary adenomas. J Neurosurg Sci 2023; 67 (04) 393-407
- 9 Su P, Vijay-Shanker K. Investigation of improving the pre-training and fine-tuning of BERT model for biomedical relation extraction. BMC Bioinformatics 2022; 23 (01) 120
- 10 CRANIAL Consortium. Machine learning driven prediction of cerebrospinal fluid rhinorrhoea following endonasal skull base surgery: a multicentre prospective observational study. Front Oncol 2023; 13: 1046519
- 11 Staartjes VE, Zattra CM, Akeret K. et al. Neural network-based identification of patients at high risk for intraoperative cerebrospinal fluid leaks in endoscopic pituitary surgery. J Neurosurg 2019; 133 (02) 329-335
- 12 Hajikarimloo B, Sabbagh Alvani M, Koohfar A. et al. Clinical application of artificial intelligence in prediction of intraoperative cerebrospinal fluid leakage in pituitary surgery: a systematic review and meta-analysis. World Neurosurg 2024; 191: 303-313.e1
- 13 Ivan ME, Iorgulescu JB, El-Sayed I. et al. Risk factors for postoperative cerebrospinal fluid leak and meningitis after expanded endoscopic endonasal surgery. J Clin Neurosci 2015; 22 (01) 48-54
- 14 Fraser S, Gardner PA, Koutourousiou M. et al. Risk factors associated with postoperative cerebrospinal fluid leak after endoscopic endonasal skull base surgery. J Neurosurg 2018; 128 (04) 1066-1071
- 15 Zhang H, Peeters S, Vengorivich G. et al. Risk factors associated with postoperative CSF leak in extrasellar tumors. J Neurol Surg B Skull Base 2023; 85 (01) 15-20
- 16 Patel PN, Stafford AM, Patrinely JR. et al. Risk factors for intraoperative and postoperative cerebrospinal fluid leaks in endoscopic transsphenoidal sellar surgery. Otolaryngol Head Neck Surg 2018; 158 (05) 952-960
- 17 Abiri A, Bitner BF, Nguyen TV. et al. Clinical and technical factors in endoscopic skull base surgery associated with reconstructive success. Rhinology 2024; 62 (03) 330-341
- 18 Kuan EC, Yoo F, Patel PB, Su BM, Bergsneider M, Wang MB. An algorithm for sellar reconstruction following the endoscopic endonasal approach: a review of 300 consecutive cases. J Neurol Surg B Skull Base 2018; 79 (02) 177-183
- 19 Kim JS, Hong SD. Risk factors for postoperative CSF leakage after endonasal endoscopic skull base surgery: a meta-analysis and systematic review. Rhinology 2021; 59 (01) 10-20
- 20 Baig Mirza A, Boardman T, Okasha M. et al; Cohort Study and Systematic Review. Fat in the fossa and the sphenoid sinus: a simple and effective solution to CSF leaks in transsphenoidal surgery. Cohort study and systematic review. J Neurol Surg B Skull Base 2022; 84 (02) 143-156
