Self-prompting small language models for privacy-sensitive clinical information extraction.
Yao-Shun Chuang, Tushti Mody, Uday Pratap Singh, Shirindokht Shiraz, Chun-Teh Lee, Ryan Brandon, Muhammad F Walji, Xiaoqian Jiang,
McWilliams School of Biomedical Informatics, The University of Texas Health Science Center at Houston, Houston, TX 77030, United States. Electronic address: Yao-Shun.Chuang@uth.tmc.edu. · McWilliams School of Biomedical Informatics, The University of Texas Health Science Center at Houston, Houston, TX 77030, United States.
Key points
From the paper's conclusion- Self-generated prompting with lightweight post-training supports privacy-preserving clinical NER using locally deployed SLMs. Self-prompt performance should rank models, not estimate accuracy, and DPO convergence should be verified before deployment. With accuracy near a supervised encoder, the framework's advantage is adaptability: an instruction-tuned SLM can add an entity through a self-generated prompt rather than retraining. It is domain-agnostic in principle, pending external validation.
Abstract
OBJECTIVE: Clinically meaningful information in dental progress notes is largely locked in free text, and because the notes contain protected health information, extraction must run locally. We developed and evaluated a framework enabling locally deployable small language models (SLMs) to perform clinical named-entity recognition (NER) without transmitting clinical text or using external models. METHODS: Using 1,200 annotated notes (200 training, 1,000-note gold-standard evaluation set) spanning 19 entity types, each candidate SLM generated, verified, refined, and evaluated its own entity-specific prompts, with self-prompt performance as a model-selection signal. Inference ensembled prompts across sentence-level Boolean screening and entity extraction. Selected models were adapted with QLoRA-based supervised fine-tuning (SFT) and direct preference optimization (DPO). Soft-match entity-level F1 was reported with bootstrap 95% confidence intervals (CIs). Additional analyses isolated ensembling, repeated the pipeline on six training-set draws, and benchmarked fine-tuned BioClinicalBERT. RESULTS: Across 10 SLMs, self-prompt performance ranked models concordantly with gold-standard performance (micro-F1 Kendall's τ = 0.78, p < 0.01) and more consistently than general benchmarks (IFEval, MMLU), but overestimated absolute F1 (0.884 versus 0.769 for Qwen2.5-14B-Instruct). SFT raised recall but cut precision; DPO restored precision, improving four of five models beyond base and SFT (non-overlapping CIs), while one collapsed. Qwen2.5-14B-Instruct with DPO performed best (micro-F1 0.863, 95% CI 0.852 to 0.873; macro-F1 0.836), though across six training draws its converged runs averaged 0.836 micro-F1 and one draw collapsed. Ensembling helped mainly after adaptation. BioClinicalBERT reached 0.868 micro-F1. CONCLUSION: Self-generated prompting with lightweight post-training supports privacy-preserving clinical NER using locally deployed SLMs. Self-prompt performance should rank models, not estimate accuracy, and DPO convergence should be verified before deployment. With accuracy near a supervised encoder, the framework's advantage is adaptability: an instruction-tuned SLM can add an entity through a self-generated prompt rather than retraining. It is domain-agnostic in principle, pending external validation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A local language model layered with rule-based and neural detectors for clinical text de-identification: an open-source toolkit and evaluationarXiv · 2026
- Model-Dependent Prompt-Component Ablation for Medical LLM Decision Support: Application to ENT Biologics Screening.IEEE journal of biomedical and health informatics · 2026
- Clinical text de-identification with locally deployed open-weight large language models: a real-world evaluation of discharge notesFrontiers in Digital Health · 2026
- "Small" Large Language Models in the Hospital: Evaluation Study on Real-World Data in a Resource-Constrained Setting.Journal of medical Internet research · 2026
- The rise of small language models in healthcare: A comprehensive surveyComputer Science Review · 2026
- Uncoded Clinical Features from Multilingual Electronic Health Records in Catalonia: Development and Validation StudymedRxiv · 2026