Skip to content

Employing General-Purpose and Biomedical Large Language Models with Advanced Prompt Engineering for Pharmacoepidemiologic Study Design

Sep 2026 · Pharmaceutical Research · 0 citations · 12 references
Computer Science Medicine

TL;DR

Off-the-shelf general-purpose general-purpose LLMs currently offered more reliable support for pharmacoepidemiologic study design than the smaller biomedical LLMs evaluated.

Abstract

Background

The potential of large language models (LLMs) to automate and support pharmacoepidemiologic study design is an emerging area of interest, yet their reliability remains insufficiently characterized. General-purpose LLMs often display inaccuracies, while the comparative performance of specialized biomedical LLMs in this domain remains unknown.

Methods

This study evaluated general-purpose LLMs (GPT-4o and DeepSeek-R1) versus biomedically fine-tuned LLMs (QuantFactory/Bio-Medical-Llama-3-8B-GGUF and Irathernotsay/qwen2-1.5B-medical_qa-Finetune) using 46 protocols (2018-2024) from the HMA-EMA Catalogue and Sentinel System. Performance was assessed across relevance, logic of justification, and ontology-code agreement across multiple coding systems using Least-to-Most (LTM) and Active Prompting strategies.

Results

GPT-4o and DeepSeek-R1 paired with LTM prompting achieved the highest relevance and logic of justification scores, with GPT-4o-LTM reaching a median relevance score of 4 in 8 of 9 questions for HMA-EMA protocols. Biomedical LLMs showed lower relevance overall and frequently generated insufficient justification. All LLMs demonstrated limited proficiency in ontology-code mapping.

Conclusion

Off-the-shelf general-purpose LLMs currently offered more reliable support for pharmacoepidemiologic study design than the smaller biomedical LLMs evaluated. In the model-controlled comparison (GPT-4o with Least-to-Most versus Active prompting), prompt strategy did not significantly affect performance (paired p = 0.93), and prompt comparisons are therefore reported descriptively. Because the two model groups also differed in scale and instruction-tuning, this contrast should be interpreted as a comparison of readily deployable options rather than of biomedical specialization alone.

View source

Similar papers

Open access Sep 2026

A Comparative Benchmark of Biomedical Language Models for Concept Normalization from Real-World Text

A benchmark-guided, scalable framework for automated medical terminology standardization that accepts heterogeneous short medical expressions without manual input pre-processing and automatically performs text refinement, semantic retrieval and terminology mapping to standardized concepts and vocabulary codes is establ...

Anshul Verma, Abhijay, Manan Vangani et al. · 0 citations
Review Open access Sep 2026

Transforming large language models into medical specialists via knowledge injection.

A comprehensive framework for transforming LLMs into trustworthy medical specialists is presented, and the evolution toward agentic AI systems that orchestrate them for autonomous, collaborative clinical decision-making is explored.

Kiduk Kim, Jeong Min Song, Dong Yeong Kim et al. · 0 citations
#artificial intelligence Review Sep 2026

A primer on evaluation methods for large language models in healthcare

This article aims to provide a pragmatic basis for designing and executing rigorous evaluations of healthcare LLMs by describing underlying concepts and potential pitfalls, while emphasizing the importance of aligning evaluation methods with the research question.

S. E. McKinney, P. Vu, S. Justice et al. · 0 citations
Review Open access Aug 2026

SmartMM: A Domain-Specific Large Language Model for Medical Microbiology

Smart Medical Microbiology showed strong domain adaptability in medical microbiology knowledge organization, semantic generation, and retrieval-augmented reasoning, which supports its potential use in educational support, infectious disease knowledge assistance, and retrieval-enhanced medical question answering.

Yong-Qian Gong, Ruiqiang Ma, Xicheng Wang et al. · 0 citations
Open access Aug 2026

Decoding high-order clinical correlations: a knowledge-driven large language model framework for specialized medical decision-making

Embedding domain-specific knowledge into LLMs may improve performance on specialized exam-style thoracic-surgery questions on this text-only benchmark, however, the present 56-item evaluation does not establish clinical equivalence, diagnostic accuracy in practice, multimodal competence, or readiness for real-world cli...

Qian Li, Yong-Xin Li, Chao Ye et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Oct 23, 2026

Q&A: How AI came to model the “messy” human mind

Assistant Professor Benjamin Lindquist studies how engineers deliberately injected randomness into early AI, giving rise to deep-learning models that sometimes hallucinate.

Microsoft Research Blog Oct 22, 2026

Flint-interactive: A language for creating interactive data visualizations

Flint-interactive gives AI agents a language for creating interactive visualizations. Click a chart, filter data, highlight related content, and explore beyond the view the author originally chose. The post Flint-interactive: A language for creating interactive data visualizations appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.