用原子操作提升大模型跨源知识推理能力
AtomR: Atomic Operator-Empowered Large Language Models for Heterogeneous Knowledge Reasoning
- 设计三种原子知识操作符,实现细粒度问题分解
- 在多源数据上提升准确率,最高达9.5%
- 适合需要精准跨源推理的科研与应用
尽管大语言模型(LLMs)表现出色,但在知识密集型推理任务中仍面临组合推理能力不足和幻觉问题。现有方法通常采用链式思维(CoT)结合检索增强生成(RAG),先将复杂问题拆解为子问题,再对每个子问题进行迭代检索。但现有工作存在推理规划不充分、异构知识融合差两大问题。本文提出AtomR框架,使大模型能够在原子层面进行精确的异构知识推理。受知识图谱查询语言启发,我们设计了三种原子知识操作符,作为统一的操作集合,用于从异构来源中检索和操作知识。在推理规划阶段,AtomR将复杂问题分解为推理树,每个叶节点对应一个原子操作符,实现高度细粒度且正交的问题分解。在推理执行阶段,每个原子操作符可灵活选择、检索并操作原子级知识。我们还构建了BlendQA这一专门针对异构知识推理的挑战性基准。在三个单源和两个多源数据集上的实验表明,AtomR显著优于现有最优基线,在2WikiMultihop上提升F1 9.4%,在BlendQA上提升9.5%。代码与数据集已公开。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。