The influence of prompt engineering on large language models for protein–protein interaction identification in biomedical literature
Identifying protein-protein interactions (PPIs) is a foundational task in biomedical natural language processing. While specialized models have been developed, the potential of general-domain large language models (LLMs) in PPI extraction, particularly for researchers without computational expertise, remains unexplored. This study evaluates the effectiveness of proprietary LLMs (GPT-3.5, GPT-4, and Google Gemini) in PPI prediction through systematic prompt engineering. We designed six prompting scenarios of increasing complexity, from basic interaction queries to sophisticated entity-tagged formats, and assessed model performance across multiple benchmark datasets (LLL, IEPA, HPRD50, AIMed, BioInfer, and PEDD). Carefully designed prompts effectively guided LLMs in PPI prediction. Gemini 1.5 Pro achieved the highest performance across most datasets, with notable F<sub>1</sub>-scores in LLL (90.3%), IEPA (68.2%), HPRD50 (67.5%), and PEDD (70.2%). GPT-4 showed competitive performance, particularly in the LLL dataset (87.3%). We identified and addressed a positive prediction bias, demonstrating improved performance after evaluation refinement. While not surpassing specialized models, general-purpose LLMs with appropriate prompting strategies can effectively perform PPI prediction tasks, offering valuable tools for biomedical researchers without extensive computational expertise.
Authors
- Yung‐Chun Chang (ORCID: https://orcid.org/0000-0002-9634-8380)
- Ming-Siang Huang
- Yi-Hsuan Lin (ORCID: https://orcid.org/0000-0001-7449-6131)
- Yi-Hsuan Huang
Institutions
- Taipei Medical University (TW)
Publication Details
- Journal
- Scientific Reports
- Published
- 2025-05-03
- DOI
- https://doi.org/10.1038/s41598-025-99290-4
- Citations
- 5
- Primary Topic
- Biomedical Text Mining and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 4.03
Funders
- Ministry of Education, India
- National Health Research Institutes
- National Science and Technology Council