Optimizing biomedical information retrieval with a keyword frequency-driven prompt enhancement strategy.

IF 2.9 3区 生物学 Q2 BIOCHEMICAL RESEARCH METHODS
Wasim Aftab, Zivkos Apostolou, Karim Bouazoune, Tobias Straub
{"title":"Optimizing biomedical information retrieval with a keyword frequency-driven prompt enhancement strategy.","authors":"Wasim Aftab, Zivkos Apostolou, Karim Bouazoune, Tobias Straub","doi":"10.1186/s12859-024-05902-7","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Mining the vast pool of biomedical literature to extract accurate responses and relevant references is challenging due to the domain's interdisciplinary nature, specialized jargon, and continuous evolution. Early natural language processing (NLP) approaches often led to incorrect answers as they failed to comprehend the nuances of natural language. However, transformer models have significantly advanced the field by enabling the creation of large language models (LLMs), enhancing question-answering (QA) tasks. Despite these advances, current LLM-based solutions for specialized domains like biology and biomedicine still struggle to generate up-to-date responses while avoiding \"hallucination\" or generating plausible but factually incorrect responses.</p><p><strong>Results: </strong>Our work focuses on enhancing prompts using a retrieval-augmented architecture to guide LLMs in generating meaningful responses for biomedical QA tasks. We evaluated two approaches: one relying on text embedding and vector similarity in a high-dimensional space, and our proposed method, which uses explicit signals in user queries to extract meaningful contexts. For robust evaluation, we tested these methods on 50 specific and challenging questions from diverse biomedical topics, comparing their performance against a baseline model, BM25. Retrieval performance of our method was significantly better than others, achieving a median Precision@10 of 0.95, which indicates the fraction of the top 10 retrieved chunks that are relevant. We used GPT-4, OpenAI's most advanced LLM to maximize the answer quality and manually accessed LLM-generated responses. Our method achieved a median answer quality score of 2.5, surpassing both the baseline model and the text embedding-based approach. We developed a QA bot, WeiseEule ( https://github.com/wasimaftab/WeiseEule-LocalHost ), which utilizes these methods for comparative analysis and also offers advanced features for review writing and identifying relevant articles for citation.</p><p><strong>Conclusions: </strong>Our findings highlight the importance of prompt enhancement methods that utilize explicit signals in user queries over traditional text embedding-based approaches to improve LLM-generated responses for specialized queries in specialized domains such as biology and biomedicine. By providing users complete control over the information fed into the LLM, our approach addresses some of the major drawbacks of existing web-based chatbots and LLM-based QA systems, including hallucinations and the generation of irrelevant or outdated responses.</p>","PeriodicalId":8958,"journal":{"name":"BMC Bioinformatics","volume":null,"pages":null},"PeriodicalIF":2.9000,"publicationDate":"2024-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11351623/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Bioinformatics","FirstCategoryId":"99","ListUrlMain":"https://doi.org/10.1186/s12859-024-05902-7","RegionNum":3,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"BIOCHEMICAL RESEARCH METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Mining the vast pool of biomedical literature to extract accurate responses and relevant references is challenging due to the domain's interdisciplinary nature, specialized jargon, and continuous evolution. Early natural language processing (NLP) approaches often led to incorrect answers as they failed to comprehend the nuances of natural language. However, transformer models have significantly advanced the field by enabling the creation of large language models (LLMs), enhancing question-answering (QA) tasks. Despite these advances, current LLM-based solutions for specialized domains like biology and biomedicine still struggle to generate up-to-date responses while avoiding "hallucination" or generating plausible but factually incorrect responses.

Results: Our work focuses on enhancing prompts using a retrieval-augmented architecture to guide LLMs in generating meaningful responses for biomedical QA tasks. We evaluated two approaches: one relying on text embedding and vector similarity in a high-dimensional space, and our proposed method, which uses explicit signals in user queries to extract meaningful contexts. For robust evaluation, we tested these methods on 50 specific and challenging questions from diverse biomedical topics, comparing their performance against a baseline model, BM25. Retrieval performance of our method was significantly better than others, achieving a median Precision@10 of 0.95, which indicates the fraction of the top 10 retrieved chunks that are relevant. We used GPT-4, OpenAI's most advanced LLM to maximize the answer quality and manually accessed LLM-generated responses. Our method achieved a median answer quality score of 2.5, surpassing both the baseline model and the text embedding-based approach. We developed a QA bot, WeiseEule ( https://github.com/wasimaftab/WeiseEule-LocalHost ), which utilizes these methods for comparative analysis and also offers advanced features for review writing and identifying relevant articles for citation.

Conclusions: Our findings highlight the importance of prompt enhancement methods that utilize explicit signals in user queries over traditional text embedding-based approaches to improve LLM-generated responses for specialized queries in specialized domains such as biology and biomedicine. By providing users complete control over the information fed into the LLM, our approach addresses some of the major drawbacks of existing web-based chatbots and LLM-based QA systems, including hallucinations and the generation of irrelevant or outdated responses.

利用关键词频率驱动的提示增强策略优化生物医学信息检索。
背景:由于生物医学领域的跨学科性质、专业术语和不断演变,要从浩如烟海的生物医学文献中提取准确的答案和相关参考文献具有很大的挑战性。早期的自然语言处理(NLP)方法由于无法理解自然语言的细微差别,往往会导致错误的答案。然而,转换器模型通过创建大型语言模型(LLM),大大推进了这一领域的发展,增强了问题解答(QA)任务的能力。尽管取得了这些进步,但目前针对生物和生物医学等专业领域的基于 LLM 的解决方案仍难以生成最新的回答,同时避免 "幻觉 "或生成似是而非但与事实不符的回答:我们的工作重点是使用检索增强架构来增强提示,以指导 LLM 为生物医学质量保证任务生成有意义的回复。我们评估了两种方法:一种方法依赖于高维空间中的文本嵌入和向量相似性,另一种是我们提出的方法,它使用用户查询中的明确信号来提取有意义的上下文。为了进行稳健的评估,我们在来自不同生物医学主题的 50 个具体而具有挑战性的问题上测试了这些方法,并将它们的性能与基准模型 BM25 进行了比较。我们的方法的检索性能明显优于其他方法,Precision@10 的中位数达到了 0.95,Precision@10 表示检索到的前 10 个数据块中有多少是相关的。我们使用了 GPT-4(OpenAI 最先进的 LLM)来最大限度地提高答案质量,并手动访问 LLM 生成的回复。我们的方法获得了 2.5 分的中位答案质量分数,超过了基线模型和基于文本嵌入的方法。我们开发了一个质量保证机器人 WeiseEule ( https://github.com/wasimaftab/WeiseEule-LocalHost ),它利用这些方法进行比较分析,还为撰写评论和识别相关文章提供了高级功能。结论:我们的研究结果突出表明,与传统的基于文本嵌入的方法相比,利用用户查询中的明确信号的提示增强方法对于改进 LLM 生成的针对生物学和生物医学等专业领域的专门查询的回复具有重要意义。通过让用户完全控制输入 LLM 的信息,我们的方法解决了现有基于网络的聊天机器人和基于 LLM 的质量保证系统的一些主要缺点,包括幻觉和生成不相关或过时的回复。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
BMC Bioinformatics
BMC Bioinformatics 生物-生化研究方法
CiteScore
5.70
自引率
3.30%
发文量
506
审稿时长
4.3 months
期刊介绍: BMC Bioinformatics is an open access, peer-reviewed journal that considers articles on all aspects of the development, testing and novel application of computational and statistical methods for the modeling and analysis of all kinds of biological data, as well as other areas of computational biology. BMC Bioinformatics is part of the BMC series which publishes subject-specific journals focused on the needs of individual research communities across all areas of biology and medicine. We offer an efficient, fair and friendly peer review service, and are committed to publishing all sound science, provided that there is some advance in knowledge presented by the work.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信