Evidence Hub

GeneRAG: Enhancing Large Language Models with Gene-Related Task by Retrieval-Augmented Generation

Xinyi Lin, Ge-Lei Deng, Yuekang Li, Jing-Quan Ge, Joshua W. K. Ho, Yi Liu

bioRxiv, 2024

10 citations

Abstract

Large Language Models (LLMs) like GPT-4 have revolutionized natural language processing and are used in gene analysis, but their gene knowledge is incomplete. Fine-tuning LLMs with external data is costly and resource-intensive. Retrieval-Augmented Generation (RAG) integrates relevant external information dynamically. We introduce GeneRAG, a frame-work that enhances LLMs’ gene-related capabilities using RAG and the Maximal Marginal Relevance (MMR) algorithm. Evaluations with datasets from the National Center for Biotechnology Information (NCBI) show that GeneRAG outperforms GPT-3.5 and GPT-4, with a 39% improvement in answering gene questions, a 43% performance increase in cell type annotation, and a 0.25 decrease in error rates for gene interaction prediction. These results highlight GeneRAG’s potential to bridge a critical gap in LLM capabilities for more effective applications in genetics.

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free