Real-time structuring of the clinical information section for dopamine transporter SPECT reporting with a small language model pipeline: development and external validation
Artificial Intelligence in Healthcare and Education
Abstract
Background Accurate interpretation of dopamine transporter (DAT)-SPECT depends on clinical context, including symptoms, medication, comorbidities, and structural imaging findings. In routine practice, however, this information is often documented as heterogeneous free text, which may hinder consistent consideration of clinically relevant parameters and limit guideline-compliant reporting. We therefore developed and evaluated a locally deployable small language model (SLM)-based pipeline to structure and standardize the clinical information section for DAT-SPECT reporting. Two retrospective datasets were used. The in-house dataset included clinical information sections from 2,990 DAT-SPECT examinations and was split into training ( n = 2,700) and internal test data ( n = 290). The external validation dataset comprised 595 clinical information sections from a second institution. A structured dictionary (466 entries across 12 categories) was created by two experienced DAT-SPECT readers and used to manually annotate the training and internal test samples. A Qwen3 1.7B model was fine-tuned by supervised learning to reproduce expert annotations. A rule-based postprocessing pipeline converted model outputs into report-ready structured text, including removal of redundant entries, automated suggestion of scan indication, consolidation of symptom lateralization and time course, reminders for missing guideline-relevant elements, and medication interaction checks. Internal test performance was assessed by expert comparison of SLM output with manual annotation. External performance was assessed by counting the manual corrections required in the postprocessed output under strict criteria. Results In the internal test dataset, the postprocessed SLM output provided the same information as the expert annotation in 196/290 cases (67.6%), including exact matches in 147/290 (50.7%). Interpretation differences due to free-text ambiguity occurred in 13/290 cases (4.5%), and SLM errors in 41/290 cases (14.1%). In 40/290 cases (13.8%), the SLM output was judged superior to the manual annotation. Among the error cases, 36/41 (87.8%) involved only a single erroneous or missing item. In the external dataset, 446/595 postprocessed outputs (75.0%) required no manual correction before inclusion in the report. Among the remaining 149/595 cases (25.0%), correction of only a single item was required in 111 cases (18.7% of all cases). The mean number of corrections was 0.34 items per case, corresponding to 6.0% of all structured items. Conclusions A locally deployable SLM combined with rule-based postprocessing can transform free-text clinical information for DAT-SPECT into standardized, report-ready documentation with good practical usability in an external dataset. End-to-end processing times of typically less than one second on the tested hardware support the feasibility of real-time local deployment. Prospective studies are required to determine its effects on clinical workflow and reporting quality.
Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...
O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al.· Zenodo (CERN European Organi...· 465 citations
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...
B. Sarker, Musfikur Rahman, T. Rahman et al.· PLoS ONE· 89 citations· ⚡7
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduNov 20, 2026
Senior Research Scientist Jim Glass discusses how his MIT-IBM Computing Research Lab collaboration connects perception and language, and addresses the shortcoming of current models.
MIT News · Artificial Intelligence· news.mit.eduNov 20, 2026
Enforcing physics-based constraints prevents AI models from generating unreliable predictions for complex nonlinear systems in weather, climate, and turbulent flows.
An MIT and Dana-Farber Institute-led team used large language models to examine nearly 4,000 studies and hundreds of code repositories, revealing gaps in the information needed to scrutinize and reuse published research.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.