arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.05508cs.IRcs.AI
收藏

通过大语言模型重新定义结构化数据库的信息检索

Redefining Information Retrieval of Structured Database via Large Language Models

Kuaishou Technology(快手科技)

Mingzhu Wang, Yuzhe Zhang, Qihang Zhao, Junyi Yang, Hong Zhang

AI总结:

本文提出ChatLR框架,利用大语言模型作为检索器实现结构化数据库的精确信息检索,并通过金融领域微调构建搜索问答系统,整体检索准确率超过98.8%。

摘要:

当语言模型(LMs)在推理前通过外部知识库利用与查询相关的非参数化知识时,检索增强至关重要。检索到的信息作为上下文与查询一起被整合到语言模型中,从而增强对事实性问题响应的可靠性。先前的检索增强研究通常遵循检索器-生成器范式。在此背景下,传统检索器在从知识库中精确且无缝地提取与查询相关的信息方面面临挑战。为解决这一问题,本文提出了一种名为ChatLR的新型检索增强框架,该框架主要利用大语言模型(LLMs)强大的语义理解能力作为检索器,以实现精确且简洁的信息检索。此外,我们通过在Text2API和API-ID识别两个任务上微调大语言模型,构建了一个面向金融领域的基于LLM的搜索与问答系统。实验结果表明,ChatLR在解决用户查询方面具有有效性,整体信息检索准确率超过98.8%。

英文摘要:

Retrieval augmentation is critical when Language Models (LMs) exploit non-parametric knowledge related to the query through external knowledge bases before reasoning. The retrieved information is incorporated into LMs as context alongside the query, enhancing the reliability of responses towards factual questions. Prior researches in retrieval augmentation typically follow a retriever-generator paradigm. In this context, traditional retrievers encounter challenges in precisely and seamlessly extracting query-relevant information from knowledge bases. To address this issue, this paper introduces a novel retrieval augmentation framework called ChatLR that primarily employs the powerful semantic understanding ability of Large Language Models (LLMs) as retrievers to achieve precise and concise information retrieval. Additionally, we construct an LLM-based search and question answering system tailored for the financial domain by fine-tuning LLM on two tasks including Text2API and API-ID recognition. Experimental results demonstrate the effectiveness of ChatLR in addressing user queries, achieving an overall information retrieval accuracy exceeding 98.8\%.

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

↑