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

Thread:一种用于检索增强生成的 How-To 问答的基于逻辑的数据组织范式

Thread: A Logic-Based Data Organization Paradigm for How-To Question Answering with Retrieval Augmented Generation

Peking University(北京大学);Microsoft(微软);Nanjing University(南京大学)

Kaikai An, Fangkai Yang, Liqun Li, Junting Lu, Sitao Cheng, Shuzheng Si, Lu Wang, Pu Zhao, Lele Cao, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang, Baobao Chang

AI总结:

本文提出基于逻辑单元的 Thread 数据组织范式,以解决 RAG 中 chunk 切分破坏 how-to 问答逻辑连贯性的问题,并在开放域与工业场景中显著提升成功率、减少检索信息。

摘要:

检索增强生成(RAG)的最新进展显著改进了问答系统,尤其是针对事实性“5W”问题的系统。然而,在处理“1H”问题(特别是 how-to 问题)时仍存在重大挑战;这类问题对决策至关重要,并需要动态的、逐步的回答。关键局限在于主流的数据组织范式 chunk,它通常将文档划分为固定大小的片段,从而破坏了上下文中的逻辑连贯性与联系。为解决这一问题,我们提出 Thread,这是一种新型数据组织范式,使系统能够更有效地处理 how-to 问题。具体而言,我们引入了一种新的知识粒度“logic unit”(LU,逻辑单元),由大语言模型将文档转换为更结构化且松散互联的 LU。在开放域和工业场景中的大量实验表明,Thread 显著优于现有范式,将处理 how-to 问题的成功率提升了 21% 至 33%。此外,Thread 在多种文档格式上表现出高度适应性,与 chunk 相比最多减少 75% 的检索信息,并且对“5W”问题(如多跳问题)也表现出更好的泛化能力,优于其他范式。

英文摘要:

Recent advances in retrieval-augmented generation (RAG) have substantially improved question-answering systems, particularly for factoid '5Ws' questions. However, significant challenges remain when addressing '1H' questions, specifically how-to questions, which are integral for decision-making and require dynamic, step-by-step responses. The key limitation lies in the prevalent data organization paradigm, chunk, which commonly divides documents into fixed-size segments, and disrupts the logical coherence and connections within the context. To address this, we propose Thread, a novel data organization paradigm enabling systems to handle how-to questions more effectively. Specifically, we introduce a new knowledge granularity, 'logic unit' (LU), where large language models transform documents into more structured and loosely interconnected LUs. Extensive experiments across both open-domain and industrial settings show that Thread outperforms existing paradigms significantly, improving the success rate of handling how-to questions by 21% to 33%. Additionally, Thread demonstrates high adaptability across diverse document formats, reducing retrieval information by up to 75% compared to chunk, and also shows better generalizability to '5Ws' questions, such as multi-hop questions, outperforming other paradigms.

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

↑