Applied deep learning in neurosurgery: identifying cerebrospinal fluid (CSF) shunt systems in hydrocephalus patients

Acta Neurochir (Wien). 2024 Feb 7;166(1):69. doi: 10.1007/s00701-024-05940-3.

Abstract

Background: Over the recent decades, the number of different manufacturers and models of cerebrospinal fluid shunt valves constantly increased. Proper identification of shunt valves on X-ray images is crucial to neurosurgeons and radiologists to derive further details of a specific shunt valve, such as opening pressure settings and MR scanning conditions. The main aim of this study is to evaluate the feasibility of an AI-assisted shunt valve detection system.

Methods: The dataset used contains 2070 anonymized images of ten different, commonly used shunt valve types. All images were acquired from skull X-rays or scout CT-images. The images were randomly split into a 80% training and 20% validation set. An implementation in Python with the FastAi library was used to train a convolutional neural network (CNN) using a transfer learning method on a pre-trained model.

Results: Overall, our model achieved an F1-score of 99% to predict the correct shunt valve model. F1-scores for individual shunt valves ranged from 92% for the Sophysa Sophy Mini SM8 to 100% for several other models.

Conclusion: This technology has the potential to automatically detect different shunt valve models in a fast and precise way and may facilitate the identification of an unknown shunt valve on X-ray or CT scout images. The deep learning model we developed could be integrated into PACS systems or standalone mobile applications to enhance clinical workflows.

Keywords: AI; CSF shunt; Cerebrospinal fluid shunt; Deep learning; Hydrocephalus; Transfer learning; Ventriculoperitoneal shunt; X-ray.

MeSH terms

  • Cerebrospinal Fluid Shunts
  • Deep Learning*
  • Humans
  • Hydrocephalus* / surgery
  • Neurosurgery*
  • Neurosurgical Procedures
  • Ventriculoperitoneal Shunt / methods