arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.09621cs.IR
收藏

通过生成式人工智能利用上下文学习与语义搜索增强知识检索

Enhancing Knowledge Retrieval with In-Context Learning and Semantic Search through Generative AI

Mohammed-Khalil Ghali, Abdelrahman Farrag, Daehan Won, Yu Jin

AI总结:

本文提出结合大语言模型生成能力与向量数据库检索能力的生成式文本检索方法,无需微调即可处理结构化和非结构化数据,并在多个数据集上取得高准确率,提升了信息检索与数据库查询的效率和可及性。

摘要:

在当今信息丰富的时代,从海量研究文档和大型数据库中检索和提取知识,对研究人员、学生和专业人士而言都构成了重大挑战。现有的检索系统依赖于通用型大语言模型(LLMs),往往无法对特定领域的查询给出准确回答。此外,针对特定领域对大语言模型进行预训练或微调的高昂成本也限制了其广泛应用。为应对这些局限,我们提出了一种新方法,将大语言模型的生成能力与向量数据库快速且准确的检索能力相结合。这一先进的检索系统能够高效处理表格数据和非表格数据,理解自然语言用户查询,并在无需微调的情况下检索相关信息。所开发的模型——生成式文本检索(GTR)——只需少量改进即可适配非结构化和结构化数据。GTR 在人工标注数据集和公开数据集上均进行了评估,准确率超过 90%,并在 87% 的情况下给出了真实可信的输出。我们的模型在 MSMARCO 数据集上取得了 Rouge-L F1 分数 0.98 的当前最优性能。经过改进的模型——生成式表格文本检索(GTR-T)——展示了其在大型数据库查询中的高效性,在使用开源大语言模型的情况下,于 Spider 数据集上取得了 0.82 的执行准确率(EX)和 0.60 的精确集合匹配(EM)准确率。这些工作利用生成式人工智能和上下文学习来增强人机文本交互,并使先进的人工智能能力更易于获取。通过将稳健的检索系统与强大的大语言模型相集成,我们的方法旨在推动先进人工智能工具的普及化,提高人工智能驱动的信息检索和数据库查询的效率、准确性和可扩展性。

英文摘要:

Retrieving and extracting knowledge from extensive research documents and large databases presents significant challenges for researchers, students, and professionals in today's information-rich era. Existing retrieval systems, which rely on general-purpose Large Language Models (LLMs), often fail to provide accurate responses to domain-specific inquiries. Additionally, the high cost of pretraining or fine-tuning LLMs for specific domains limits their widespread adoption. To address these limitations, we propose a novel methodology that combines the generative capabilities of LLMs with the fast and accurate retrieval capabilities of vector databases. This advanced retrieval system can efficiently handle both tabular and non-tabular data, understand natural language user queries, and retrieve relevant information without fine-tuning. The developed model, Generative Text Retrieval (GTR), is adaptable to both unstructured and structured data with minor refinement. GTR was evaluated on both manually annotated and public datasets, achieving over 90% accuracy and delivering truthful outputs in 87% of cases. Our model achieved state-of-the-art performance with a Rouge-L F1 score of 0.98 on the MSMARCO dataset. The refined model, Generative Tabular Text Retrieval (GTR-T), demonstrated its efficiency in large database querying, achieving an Execution Accuracy (EX) of 0.82 and an Exact-Set-Match (EM) accuracy of 0.60 on the Spider dataset, using an open-source LLM. These efforts leverage Generative AI and In-Context Learning to enhance human-text interaction and make advanced AI capabilities more accessible. By integrating robust retrieval systems with powerful LLMs, our approach aims to democratize access to sophisticated AI tools, improving the efficiency, accuracy, and scalability of AI-driven information retrieval and database querying.

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

↑