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

信息重组提升大型语言模型的推理能力

Information Re-Organization Improves Reasoning in Large Language Models

Zhejiang University(浙江大学)

Xiaoxia Cheng, Zeqi Tan, Wei Xue, Weiming Lu

AI总结:

提出信息重组(InfoRE)方法,在推理前从上下文中提取逻辑关系并修剪冗余,以增强LLMs的上下文感知推理能力,在零样本多跳推理任务上平均提升4%。

摘要:

提升大型语言模型(LLMs)的推理能力已引起广泛关注。近期方法主要聚焦于改进推理过程以产生更精确的最终答案。然而,在涉及上下文感知推理的场景中,这些方法忽视了在推理前首先从上下文中识别逻辑关系的重要性。这一疏忽可能导致对上下文的浅层理解和交互,潜在地削弱推理结果的质量和可靠性。在本文中,我们提出了一种信息重组(InfoRE)方法,在推理前进行信息重组以增强LLMs的推理能力。我们的重组方法包括首先从上下文内容(如文档或段落)中提取逻辑关系,随后修剪冗余内容以最小化噪声。然后,我们在推理过程中利用重组后的信息。这使得LLMs能够通过清晰感知这些逻辑关系来深入理解上下文内容,同时通过消除潜在噪声确保高质量响应。为证明我们方法在提升推理能力方面的有效性,我们使用Llama2-70B、GPT-3.5和GPT-4在各种上下文感知的多跳推理任务上进行了实验。仅使用零样本设置,我们的方法在所有任务上实现了平均4%的绝对提升,突显了其改善LLMs推理性能的潜力。我们的源代码可在https://github.com/hustcxx/InfoRE获取。

英文摘要:

Improving the reasoning capabilities of large language models (LLMs) has attracted considerable interest. Recent approaches primarily focus on improving the reasoning process to yield a more precise final answer. However, in scenarios involving contextually aware reasoning, these methods neglect the importance of first identifying logical relationships from the context before proceeding with the reasoning. This oversight could lead to a superficial understanding and interaction with the context, potentially undermining the quality and reliability of the reasoning outcomes. In this paper, we propose an information re-organization (InfoRE) method before proceeding with the reasoning to enhance the reasoning ability of LLMs. Our re-organization method involves initially extracting logical relationships from the contextual content, such as documents or paragraphs, and subsequently pruning redundant content to minimize noise. Then, we utilize the re-organized information in the reasoning process. This enables LLMs to deeply understand the contextual content by clearly perceiving these logical relationships, while also ensuring high-quality responses by eliminating potential noise. To demonstrate the effectiveness of our approach in improving the reasoning ability, we conduct experiments using Llama2-70B, GPT-3.5, and GPT-4 on various contextually aware multi-hop reasoning tasks. Using only a zero-shot setting, our method achieves an average absolute improvement of 4% across all tasks, highlighting its potential to improve the reasoning performance of LLMs. Our source code is available at https://github.com/hustcxx/InfoRE.

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

↑