Journal article · 2024 · Open access

OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models

Jenish Maharjan, Anurag Garikipati, Navan Preet Singh, Leo Cyrus, Mayank Sharma, Mădălina Ciobanu, Gina Barnes, Rahul Thapa, Qingqing Mao, Ritankar Das

Scientific Reports, 14(1), 14156 · Published 19 June 2024 · DOI 10.1038/s41598-024-64827-6

Open full textCite this paper

In brief

“OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models” is a 2024 journal article by Jenish Maharjan and 9 co-authors, published in Scientific Reports. OpenAlex counts 159 citations as of 26 November 2026, which puts it in the top 1% of works published in 2024 by citations. It is open access under a CC BY licence: the full text is free to read at Scientific Reports.

Citations
159
Most cited in
2025 (74)
Field-weighted impact
12.71
References
40
Authors
10

Abstract

LLMs can accomplish specialized medical knowledge tasks, however, equitable access is hindered by the extensive fine-tuning, specialized medical data requirement, and limited access to proprietary models. Open-source (OS) medical LLMs show performance improvements and provide the transparency and compliance required in healthcare. We present OpenMedLM, a prompting platform delivering state-of-the-art (SOTA) performance for OS LLMs on medical benchmarks. We evaluated OS foundation LLMs (7B-70B) on medical benchmarks (MedQA, MedMCQA, PubMedQA, MMLU medical-subset) and selected Yi34B for developing OpenMedLM. Prompting strategies included zero-shot, few-shot, chain-of-thought, and ensemble/self-consistency voting. OpenMedLM delivered OS SOTA results on three medical LLM benchmarks, surpassing previous best-performing OS models that leveraged costly and extensive fine-tuning. OpenMedLM displays the first results to date demonstrating the ability of OS foundation models to optimize performance, absent specialized fine-tuning. The model achieved 72.6% accuracy on MedQA, outperforming the previous SOTA by 2.4%, and 81.7% accuracy on MMLU medical-subset, establishing itself as the first OS LLM to surpass 80% accuracy on this benchmark. Our results highlight medical-specific emergent properties in OS LLMs not documented elsewhere to date and validate the ability of OS models to accomplish healthcare tasks, highlighting the benefits of prompt engineering to improve performance of accessible LLMs for medical applications.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Maharjan, J., Garikipati, A., Singh, N. P., Cyrus, L., Sharma, M., Ciobanu, M., Barnes, G., Thapa, R., Mao, Q., & Das, R. (2024). OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models. Scientific Reports, 14(1), 14156. https://doi.org/10.1038/s41598-024-64827-6

MLA 9

Maharjan, Jenish, et al. “OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models.” Scientific Reports, vol. 14, no. 1, 2024, p. 14156. https://doi.org/10.1038/s41598-024-64827-6.

Chicago

Maharjan, Jenish, Anurag Garikipati, Navan Preet Singh, Leo Cyrus, Mayank Sharma, Mădălina Ciobanu, Gina Barnes, Rahul Thapa, Qingqing Mao, and Ritankar Das. 2024. “OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models.” Scientific Reports 14 (1): 14156. https://doi.org/10.1038/s41598-024-64827-6.

Harvard

Maharjan, J. et al. (2024) ‘OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models’, Scientific Reports, 14(1), p. 14156. doi:10.1038/s41598-024-64827-6.

IEEE

J. Maharjan et al., “OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models,” Scientific Reports, vol. 14, no. 1, p. 14156, 2024, doi: 10.1038/s41598-024-64827-6.

BibTeX

@article{maharjan2024openmedlm,
  title     = {{OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models}},
  author    = {Maharjan, Jenish and Garikipati, Anurag and Singh, Navan Preet and Cyrus, Leo and Sharma, Mayank and Ciobanu, Mădălina and Barnes, Gina and Thapa, Rahul and Mao, Qingqing and Das, Ritankar},
  journal   = {Scientific Reports},
  year      = {2024},
  volume    = {14},
  number    = {1},
  pages     = {14156},
  doi       = {10.1038/s41598-024-64827-6},
  url       = {https://doi.org/10.1038/s41598-024-64827-6}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
20241515
20257474
20267070

Its field-weighted citation impact is 12.71: it has been cited 12.71 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling

  • prompt engineering
  • open-source large language models
  • medical question answering
  • fine-tuning alternatives
  • zero-shot prompting
  • few-shot prompting
  • chain-of-thought prompting
  • ensemble voting

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Maharjan, J., Garikipati, A., Singh, N. P., Cyrus, L., Sharma, M., Ciobanu, M., Barnes, G., Thapa, R., Mao, Q., & Das, R. (2024). OpenMedLM: prompt engineering can out-perform fine-tuning in medical question-answering with open-source large language models. Scientific Reports, 14(1), 14156. https://doi.org/10.1038/s41598-024-64827-6

How many times has this paper been cited?

159 times, according to OpenAlex on 26 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at Scientific Reports: sign in and open the full text from this page.

Who wrote this paper?

Jenish Maharjan, Anurag Garikipati, Navan Preet Singh, Leo Cyrus, Mayank Sharma, Mădălina Ciobanu, Gina Barnes, Rahul Thapa, Qingqing Mao, Ritankar Das.

What is the DOI of this paper?

10.1038/s41598-024-64827-6, permanently at https://doi.org/10.1038/s41598-024-64827-6. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 26 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.