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

AtomR:面向异构知识推理的原子算子赋能大语言模型

AtomR: Atomic Operator-Empowered Large Language Models for Heterogeneous Knowledge Reasoning

Tsinghua University(清华大学)

Amy Xin, Jinxin Liu, Zijun Yao, Zhicheng Lee, Shulin Cao, Lei Hou, Juanzi Li

AI总结:

本文提出AtomR框架,通过三种原子知识算子实现异构知识推理,在多个数据集上显著优于基线,F1分数提升达9.5%。

摘要:

尽管大语言模型(LLMs)具有出色的能力,但由于其在组合推理方面的局限性和幻觉问题,知识密集型推理仍然是一项具有挑战性的任务。一种流行的解决方案是采用思维链(CoT)与检索增强生成(RAG)相结合的方法,该方法首先通过将复杂问题分解为更简单的子问题来制定推理计划,然后在每个子问题上应用迭代式RAG。然而,先前的工作存在两个关键问题:推理规划不充分以及异构知识整合能力差。在本文中,我们引入了AtomR,一个使LLMs能够在原子层面进行准确异构知识推理的框架。受知识图谱查询语言通过组合预定义操作来建模组合推理的方式启发,我们提出了三种原子知识算子,这是一组统一的算子,供LLMs从异构来源检索和操作知识。首先,在推理规划阶段,AtomR将复杂问题分解为推理树,其中每个叶节点对应一个原子知识算子,实现了高度细粒度和正交的问题分解。随后,在推理执行阶段,AtomR执行每个原子知识算子,灵活地从异构来源选择、检索和操作原子级知识。我们还引入了BlendQA,一个专门为异构知识推理量身定制的高难度基准。在三个单源和两个多源数据集上的实验表明,AtomR大幅优于最先进的基线,在2WikiMultihop上F1分数提高了9.4%,在BlendQA上提高了9.5%。我们发布了我们的代码和数据集。

英文摘要:

Despite the outstanding capabilities of large language models (LLMs), knowledge-intensive reasoning still remains a challenging task due to LLMs' limitations in compositional reasoning and the hallucination problem. A prevalent solution is to employ chain-of-thought (CoT) with retrieval-augmented generation (RAG), which first formulates a reasoning plan by decomposing complex questions into simpler sub-questions, and then applies iterative RAG at each sub-question. However, prior works exhibit two crucial problems: inadequate reasoning planning and poor incorporation of heterogeneous knowledge. In this paper, we introduce AtomR, a framework for LLMs to conduct accurate heterogeneous knowledge reasoning at the atomic level. Inspired by how knowledge graph query languages model compositional reasoning through combining predefined operations, we propose three atomic knowledge operators, a unified set of operators for LLMs to retrieve and manipulate knowledge from heterogeneous sources. First, in the reasoning planning stage, AtomR decomposes a complex question into a reasoning tree where each leaf node corresponds to an atomic knowledge operator, achieving question decomposition that is highly fine-grained and orthogonal. Subsequently, in the reasoning execution stage, AtomR executes each atomic knowledge operator, which flexibly selects, retrieves, and operates atomic level knowledge from heterogeneous sources. We also introduce BlendQA, a challenging benchmark specially tailored for heterogeneous knowledge reasoning. Experiments on three single-source and two multi-source datasets show that AtomR outperforms state-of-the-art baselines by a large margin, with F1 score improvements of 9.4% on 2WikiMultihop and 9.5% on BlendQA. We release our code and datasets.

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

↑