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

dIR -- 离散信息检索:基于大语言模型对非结构化(及结构化)数据的对话式搜索

dIR -- Discrete Information Retrieval: Conversational Search over Unstructured (and Structured) Data with Large Language Models

Stanford University(斯坦福大学)

Pablo M. Rodriguez Bertorello, Jean Rodmond Junior Laguerre

AI总结:

本文提出dIR(离散信息检索),统一接口查询自由文本和结构化知识,利用LLM将文本转为列式表示,再通过文本到SQL解析器查询,支持多步推理对话,在复杂查询上超越传统IR和SQL知识库。

摘要:

数据以结构化和非结构化两种形式存储。查询这两种数据以支持自然语言对话是一个挑战。本文介绍了dIR,即离散信息检索,提供了一个统一接口来查询自由文本和结构化知识。具体而言,大语言模型(LLM)将文本转换为表达性表示。在文本被提取为列式形式后,可以通过文本到SQL的语义解析器进行查询,其中LLM将自然语言转换为SQL。在需要时,这种对话可以通过多步推理的对话智能体来实现。我们通过一个专有的问答数据集验证了我们的方法,得出结论:与传统的基于微调密集嵌入模型的信息检索(IR)和基于SQL的知识库(KB)相比,dIR使得对自由文本的全新一类查询成为可能。对于足够复杂的查询,dIR可以在其他方法毫无胜算的情况下取得成功。

英文摘要:

Data is stored in both structured and unstructured form. Querying both, to power natural language conversations, is a challenge. This paper introduces dIR, Discrete Information Retrieval, providing a unified interface to query both free text and structured knowledge. Specifically, a Large Language Model (LLM) transforms text into expressive representation. After the text is extracted into columnar form, it can then be queried via a text-to-SQL Semantic Parser, with an LLM converting natural language into SQL. Where desired, such conversation may be effected by a multi-step reasoning conversational agent. We validate our approach via a proprietary question/answer data set, concluding that dIR makes a whole new class of queries on free text possible when compared to traditionally fine-tuned dense-embedding-model-based Information Retrieval (IR) and SQL-based Knowledge Bases (KB). For sufficiently complex queries, dIR can succeed where no other method stands a chance.

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

↑