Abstract
Manual MRI protocoling is a significant administrative burden in radiology, consuming approximately 6.2% of a radiologist's workday. This study presents the development and deployment of a web-based natural language processing (NLP) tool designed to automate the assignment of MRI protocols from clinical indications. Using fastText and XGBoost models trained on institutional data, the system achieved accuracies exceeding 85%. Crucially, the implementation of a confidence threshold allowed for the potential automation of 40% of the workload with near-zero error rates, demonstrating a viable path for clinical decision support in neuroradiology.
Introduction
Before an MRI examination, a radiologist must review the clinical indication to determine the specific imaging protocol, such as the need for intravenous contrast or specialized sequences. This process, known as protocoling, is often a bottleneck and a source of potential error. As imaging volumes and protocol complexities increase, automated solutions are needed to triage requests and reduce the cognitive load on radiologists. This paper explores the efficacy of NLP models in bridging the gap between free-text clinical indications and standardized imaging protocols.
Methods
The researchers developed a pipeline that transforms free-text clinical indications into standardized protocols. The process begins with preprocessing, utilizing RadLex for standardized medical vocabulary and NegEx to handle negations (e.g., ensuring "no history of cancer" does not trigger a contrast protocol).
Two distinct machine learning approaches were employed: fastText for spine MRI protocols, which leverages character n-grams to handle misspellings and technical variations, and XGBoost with a Bag-of-Words (TF-IDF) approach for head MRI protocols. The models were trained on a de-identified dataset from UCSF, comprising 7,139 spine protocols and 990 head protocols. The final tool was deployed as a web application using the Flask framework.
Results
The spine MRI model achieved an accuracy of 83.38% with an ROC-AUC of 0.8873. The head MRI model reached 85.43% accuracy, with particularly strong performance for routine brain protocols (ROC-AUC 0.9463).
A key finding was the utility of confidence scores. By setting a confidence threshold of ≥0.90, the system could automate 40% of the total volume. In this high-confidence subset, the error rate was exceptionally low: 1% for spine cases and 0% for head cases. Manual review of "errors" often revealed that the model's prediction was more appropriate than the original human-assigned protocol or that the indication was inherently ambiguous.
Discussion
While the results are promising, the study is limited by its single-center data, which may not generalize to other institutions with different protocoling standards. Additionally, the smaller head MRI dataset led to lower performance on niche protocols. There is also a risk of automation bias, where clinicians might over-rely on the tool's suggestions. Future work aims to incorporate multi-institutional data and integrate the tool directly into Electronic Medical Record (EMR) systems to provide real-time clinical decision support.
Conclusion
Relatively simple NLP models can effectively automate a substantial portion of the MRI protocoling workload. By focusing on high-confidence predictions, these tools can safely offload routine tasks, allowing radiologists to focus on complex cases and improving overall departmental efficiency.
Summary updated