Scientific ReportsOpen accessMedicine

Privacy-preserving, low-annotation pregnancy status classification from obstetric ultrasound reports using on-premises small language models

Nikita Neveditsin, Salil Patil, Swarup Patil, Pawan J. Lingras, Vijay Mago

Saint Mary's University · York University

Key points

From the paper's conclusion
  • We evaluated seven frozen small language models with 3–4 billion parameters, run on-premises, on 628 MIMIC-IV reports and 340 reports processed with OCR from one Indian clinical site.

Abstract

Ultrasound reports in obstetric care provide information about the status of the pregnancy which is essential for clinical informatics purposes. This information, however, is buried in free text. We evaluated seven frozen small language models with 3–4 billion parameters, run on-premises, on 628 MIMIC-IV reports and 340 reports processed with OCR from one Indian clinical site. The models were used to classify the reports as early active pregnancy, late active pregnancy, or no active pregnancy with a 14-week operational boundary and a labeling scheme based on management status. With 12 in-context exemplars, a seven-model committee achieved a macro F1 of 0.9622 on MIMIC-IV and 0.9814 on the Indian OCR cohort. When MIMIC-IV exemplars were transferred to the Indian OCR cohort, performance did not differ detectably from that obtained with Indian OCR cohort exemplars in a paired bootstrap test. We also investigated how to reduce labeling burden and introduced a probability-guided exemplar selection procedure. The procedure converted 95–98% of annotation effort into usable balanced prompt exemplars, compared with 52–66% under random sampling. These retrospective results support pregnancy-status extraction with human review in low-annotation settings where data remain on-premises, without fine-tuning or offsite data transfer.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Privacy-preserving, low-annotation pregnancy status classification from obstetric ultrasound reports using on-premises small language models — Science Skim