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

学会思考:通过图表示学习自举提升大语言模型推理能力

Learn to Think: Bootstrapping LLM Reasoning Capability Through Graph Representation Learning

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);National Key Laboratory of Space Integrated Information System(空间综合信息系统国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Peking University(北京大学);Tsinghua University(清华大学)

Hang Gao, Chenhao Zhang, Tie Wang, Junsuo Zhao, Fengge Wu, Changwen Zheng, Huaping Liu

AI总结:

针对大语言模型推理灵活性与泛化性不足的问题,提出结合图学习与GNN模块的自适应推理框架,无需额外训练即可在多任务上显著提升推理性能。

摘要:

大语言模型(LLM)已在多个领域取得显著成果,但仍面临训练计算成本高、复杂推理问题求解能力有限等重大挑战。现有方法虽通过结构化范式拓展了LLM的推理能力,但这类方法往往依赖特定任务提示词和预定义推理流程,限制了其灵活性与泛化性。为解决上述局限,我们提出一种新型框架,利用图学习为LLM赋予更灵活、自适应的推理能力。具体而言,该方法将问题的推理过程建模为图,采用基于LLM的图学习引导每个推理步骤的自适应生成。为进一步提升模型的自适应能力,我们引入图神经网络(Graph Neural Network,GNN)模块,对生成的推理过程进行表示学习,实现对模型和提示词的实时调整。实验结果表明,该方法无需额外训练或特定任务提示词设计,即可在多个任务上显著提升推理性能。代码可在https://github.com/zch65458525/L2T获取。

英文摘要:

Large Language Models (LLMs) have achieved remarkable success across various domains. However, they still face significant challenges, including high computational costs for training and limitations in solving complex reasoning problems. Although existing methods have extended the reasoning capabilities of LLMs through structured paradigms, these approaches often rely on task-specific prompts and predefined reasoning processes, which constrain their flexibility and generalizability. To address these limitations, we propose a novel framework that leverages graph learning to enable more flexible and adaptive reasoning capabilities for LLMs. Specifically, this approach models the reasoning process of a problem as a graph and employs LLM-based graph learning to guide the adaptive generation of each reasoning step. To further enhance the adaptability of the model, we introduce a Graph Neural Network (GNN) module to perform representation learning on the generated reasoning process, enabling real-time adjustments to both the model and the prompt. Experimental results demonstrate that this method significantly improves reasoning performance across multiple tasks without requiring additional training or task-specific prompt design. Code can be found in https://github.com/zch65458525/L2T.

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

↑