GeneGPT: Augmenting Large Language Models with Domain Tools for Improved Access to Biomedical Information
arXiv:2304.09667 · doi:10.1093/bioinformatics/btae075
Abstract
While large language models (LLMs) have been successfully applied to various tasks, they still face challenges with hallucinations. Augmenting LLMs with domain-specific tools such as database utilities can facilitate easier and more precise access to specialized knowledge. In this paper, we present GeneGPT, a novel method for teaching LLMs to use the Web APIs of the National Center for Biotechnology Information (NCBI) for answering genomics questions. Specifically, we prompt Codex to solve the GeneTuring tests with NCBI Web APIs by in-context learning and an augmented decoding algorithm that can detect and execute API calls. Experimental results show that GeneGPT achieves state-of-the-art performance on eight tasks in the GeneTuring benchmark with an average score of 0.83, largely surpassing retrieval-augmented LLMs such as the new Bing (0.44), biomedical LLMs such as BioMedLM (0.08) and BioGPT (0.04), as well as GPT-3 (0.16) and ChatGPT (0.12). Our further analyses suggest that: (1) API demonstrations have good cross-task generalizability and are more useful than documentations for in-context learning; (2) GeneGPT can generalize to longer chains of API calls and answer multi-hop questions in GeneHop, a novel dataset introduced in this work; (3) Different types of errors are enriched in different tasks, providing valuable insights for future improvements.
References in corpus (5)
- Survey of Hallucination in Natural Language Generation
- Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- BioGPT: Generative Pre-trained Transformer for Biomedical Text Generation and Mining
- Opportunities and Challenges for ChatGPT and Large Language Models in Biomedicine and Health
- Biomedical Question Answering: A Survey of Approaches and Challenges
Cited by in corpus (12)
- Opportunities and Challenges for ChatGPT and Large Language Models in Biomedicine and Health
- Matching Patients to Clinical Trials with Large Language Models
- PubMed and Beyond: Biomedical Literature Search in the Age of Artificial Intelligence
- Tool Learning with Large Language Models: A Survey
- Advancing Chinese biomedical text mining with community challenges
- I-Design: Personalized LLM Interior Designer
- Reviewing Clinical Knowledge in Medical Large Language Models: Training and Beyond
- Automated Annotation of Scientific Texts for ML-based Keyphrase Extraction and Validation
- A Systematic Review on the Generative AI Applications in Human Medical Genomics
- Six misconceptions about large language models: A minimal model and diagnostic taxonomy
- Generative Artificial Intelligence in Bioinformatics: A Systematic Review of Models, Applications, and Methodological Advances
- ELISA: An Interpretable Hybrid Generative AI Agent for Expression-Grounded Discovery in Single-Cell Genomics