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

基于外部子图生成的大型语言模型逐步增强推理框架

A Stepwise-Enhanced Reasoning Framework for Large Language Models Based on External Subgraph Generation

School of Information Science and Engineering, Chongqing Jiaotong University(重庆交通大学信息科学与工程学院);School of Computer Science and Technology, Chongqing University of Posts and Telecommunications(重庆邮电大学计算机科学与技术学院)

Xin Zhang, Yang Cao, Baoxing Wu, Xinyi Chen, Kai Song, Siying Li

AI总结:

SGR通过外部子图生成提升LLM的推理能力,通过多步骤推理和整合路径生成最终答案,实验表明其优于现有基线模型。

摘要:

大型语言模型(LLMs)近年来在广泛自然语言处理任务中取得了强劲表现,包括机器翻译、文本生成和问答任务。然而,随着其应用扩展到日益复杂的场景,LLMs在需要深度推理和逻辑推理的任务上仍面临挑战。特别是,训练于大规模文本语料库的模型在生成过程中可能包含噪声或无关信息,这可能导致错误预测或与事实知识不一致的输出。为解决这一限制,我们提出了一种基于外部子图生成的LLM逐步推理增强框架,称为SGR。该框架动态从外部知识库中构建与查询相关的子图,并利用其语义结构引导推理过程。通过在结构化子图上逐步进行推理,SGR减少了噪声信息的影响并提高了推理准确性。具体而言,该框架首先生成一个针对输入查询定制的外部子图,然后引导模型在子图上进行多步骤推理,最后整合多个推理路径以生成最终答案。在多个基准数据集上的实验结果表明,SGR在多个基准数据集上一致优于强基线模型,表明其在增强LLM推理能力方面的有效性。

英文摘要:

Large Language Models (LLMs) have achieved strong performance across a wide range of natural language processing tasks in recent years, including machine translation, text generation, and question answering. As their applications extend to increasingly complex scenarios, however, LLMs continue to face challenges in tasks that require deep reasoning and logical inference. In particular, models trained on large scale textual corpora may incorporate noisy or irrelevant information during generation, which can lead to incorrect predictions or outputs that are inconsistent with factual knowledge. To address this limitation, we propose a stepwise reasoning enhancement framework for LLMs based on external subgraph generation, termed SGR. The proposed framework dynamically constructs query relevant subgraphs from external knowledge bases and leverages their semantic structure to guide the reasoning process. By performing reasoning in a step by step manner over structured subgraphs, SGR reduces the influence of noisy information and improves reasoning accuracy. Specifically, the framework first generates an external subgraph tailored to the input query, then guides the model to conduct multi step reasoning grounded in the subgraph, and finally integrates multiple reasoning paths to produce the final answer. Experimental results on multiple benchmark datasets demonstrate that SGR consistently outperforms strong baselines, indicating its effectiveness in enhancing the reasoning capabilities of LLMs.

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

↑