Bioinformatics AdvancesBioinformaticsPeer-reviewed journal article
Evaluation of search-enabled Pre-trained Large Language Models on retrieval tasks for the PubChem Database
Abstract
Databases are indispensable in biological and biomedical research, hosting vast amounts of structured and unstructured data, facilitating the organization, retrieval, and analysis of complex data. Database access, however, remains a manual, tedious, and sometimes overwhelming, task. We investigate in this study the current state of using pre-trained, search-enabled LLMs for data retrieval from biological databases. Equipped with internet search and code generation capabilities, LLMs promise to streamline database access through natural language, expedite search and knowledge retrieval, and provide coherent analytical summaries. As an example database, we focus on evaluating a current search-enabled LLMs (GPT-4o) for retrieval from the PubChem database, a flagship, heavily used database that plays a critical role in biological and biomedical research. As PubChem is an open archival repository, it provides a well-documented programmatic interface that can be exploited through LLM code generation capabilities. We evaluate retrieval tasks for eight common PubChem access protocols that were previously documented. The tasks include identifying interacting genes and proteins, finding drug-like compounds based on structural similarity, retrieving bioactivity data, and locating stereoisomers and isotopomers. We develop a methodology for adopting the protocols into an LLM-prompt, where we supplement the prompt with additional context through iterative prompt refinement as needed. To further evaluate the LLM capabilities, we instruct the LLM to perform the retrieval with and without using programmatic access. We compare the results (referred to as gold and silver answers) when using these retrieval modalities with two traditional retrieval baselines that include running the manual search steps for each reference protocol through the PubChem database web interface, and through the provided PUG (Power-User Gateway) programmatic access. We quantitatively and qualitatively summarize our results, showing that generating programmatic access is more likely to yield the correct answers. We highlight the value and limitations of using current search-based LLMs for database retrieval. We also provide guidance for the future development that can improve the accuracy and reliability of search-based LLMs.
- research focus: benchmarking
- research focus: database / resource
- approach: large language model
- approach: statistical model
- Citations
- 1
- FWCI
- 0.38
- Field percentile
- top 23%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PubData: search engine for bioinformatics databases worldwide
Bohdan B. Khomtchouk, Kasra A. Vand, … Claes Wahlestedt·bioRxiv·Aug 16, 2016
- DEEPGEOSEARCH: LLM-POWERED SCHEMALESS RETRIEVALFOR BIOMEDICAL DATA DISCOVERY
Deepshikha Singh, Shashank Jatav, … Soumya Luthra·bioRxiv·Dec 27, 2025
- Privacy-preserving search for chemical compound databases
Kana Shimizu, Koji Nuida, … Kiyoshi Asai·BMC BioinformaticsPeer-reviewed·Dec 9, 2015
- Addressing challenges in agentic retrieval of structured data from biomedical databases
Abhishek Halder, Manvendra Singh, … Debarka Sengupta·bioRxiv·Aug 9, 2026
- Federated Knowledge Retrieval Elevates Large Language Model Performance on Biomedical Benchmarks
Janet Joy, Andrew I. Su·GigaSciencePeer-reviewed·Jan 1, 2026
- Phenomics Assistant: An Interface for LLM-based Biomedical Knowledge Graph Exploration
Shawn T. O’Neil, Kevin Schaper, … Chris Mungall·bioRxiv·Jan 31, 2024