Enhancing Small Medical Learners with Privacy-preserving Contextual Prompting

Xinlu Zhang, SHIYANG LI, Xianjun Yang, Chenxin Tian, Yao Qin +1 more
2/12/2026

No official code found. Best implementation: XZhang97666/PrivacyBoost-SLM (7 stars, MIT, last commit 2023-05-23).

Abstract

Large language models (LLMs) demonstrate remarkable medical expertise, but data privacy concerns impede their direct use in healthcare environments. Although offering improved data privacy protection, domain-specific small language models (SLMs) often underperform LLMs, emphasizing the need for methods that reduce this performance gap while alleviating privacy concerns. In this paper, we present a simple yet effective method that harnesses LLMs' medical proficiency to boost SLM performance in medical tasks under privacy-restricted scenarios. Specifically, we mitigate patient privacy issues by extracting keywords from medical data and prompting the LLM to generate a medical knowledge-intensive context by simulating clinicians' thought processes. This context serves as additional input for SLMs, augmenting their decision-making capabilities. Our method significantly enhances performance in both few-shot and full training settings across three medical knowledge-intensive tasks, achieving up to a 22.57% increase in absolute accuracy compared to SLM fine-tuning without context, and sets new state-of-the-art results in two medical tasks within privacy-restricted scenarios. Further out-of-domain testing and experiments in two general domain datasets showcase its generalizability and broad applicability. Our code can be found at https://github.com/XZhang97666/PrivacyBoost-SLM.

View on arXivView PDF

Code Implementations(1)

MIT
73Shell, PythonApr 18, 20233 years agoMIT

Similar Papers

Cite this paper

@article{zhang2026enhancing,
  title  = {Enhancing Small Medical Learners with Privacy-preserving Contextual Prompting},
  author = {Xinlu Zhang and SHIYANG LI and Xianjun Yang and Chenxin Tian and Yao Qin and Linda Petzold},
  year   = {2026},
  eprint = {2305.12723},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2305.12723},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12723.svg)](https://codeofpaper.com/paper/2305.12723)

Discussion