arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.07917cs.IRcs.AIcs.DBcs.LG
收藏

高效且可重复的生物医学问答使用检索增强生成

Efficient and Reproducible Biomedical Question Answering using Retrieval Augmented Generation

School of Engineering, Zurich University of Applied Sciences, Winterthur, Switzerland(工程学院,应用科学大学,温特图尔,瑞士)

Linus Stuhlmann, Michael Alexander Saxer, Jonathan Fürst

AI总结:

本研究提出了一种高效的生物医学问答系统,通过检索增强生成方法,在PubMed语料库上优化检索深度与响应时间的平衡。

摘要:

生物医学问答系统需要有效的检索和生成组件以确保准确性、效率和可扩展性。本研究系统地检验了用于生物医学问答的检索增强生成(RAG)系统,评估了检索策略和响应时间的权衡。我们首先评估了最先进的检索方法,包括BM25、BioBERT、MedCPT以及混合方法,以及常见的存储系统如Elasticsearch、MongoDB和FAISS,在PubMed的约10%子集(240万文档)上测量索引效率、检索延迟和端到端RAG系统中的检索器性能。基于这些见解,我们部署了最终的RAG系统在完整的2400万PubMed语料库上,比较不同检索器对整体性能的影响。检索深度的评估显示,使用BM25检索50份文档再用MedCPT重新排序能够最佳平衡准确性(0.90)、召回率(0.90)和响应时间(1.91秒)。BM25检索时间保持稳定(82毫秒),而MedCPT则带来了主要的计算成本。这些结果突显了生物医学问答中检索深度、效率和可扩展性之间之前未被充分了解的权衡。通过开源代码,该系统完全可重复和可扩展。

英文摘要:

Biomedical question-answering (QA) systems require effective retrieval and generation components to ensure accuracy, efficiency, and scalability. This study systematically examines a Retrieval-Augmented Generation (RAG) system for biomedical QA, evaluating retrieval strategies and response time trade-offs. We first assess state-of-the-art retrieval methods, including BM25, BioBERT, MedCPT, and a hybrid approach, alongside common data stores such as Elasticsearch, MongoDB, and FAISS, on a ~10% subset of PubMed (2.4M documents) to measure indexing efficiency, retrieval latency, and retriever performance in the end-to-end RAG system. Based on these insights, we deploy the final RAG system on the full 24M PubMed corpus, comparing different retrievers' impact on overall performance. Evaluations of the retrieval depth show that retrieving 50 documents with BM25 before reranking with MedCPT optimally balances accuracy (0.90), recall (0.90), and response time (1.91s). BM25 retrieval time remains stable (82ms), while MedCPT incurs the main computational cost. These results highlight previously not well-known trade-offs in retrieval depth, efficiency, and scalability for biomedical QA. With open-source code, the system is fully reproducible and extensible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑