大语言模型推理的层级解构:一种用于分析知识利用的图框架
Hierarchical Deconstruction of LLM Reasoning: A Graph-Based Framework for Analyzing Knowledge Utilization
AI总结:
本文提出一种基于层级图的方法,将复杂问题解构为背景知识节点,并通过DepthQA数据集量化LLM在简单子问题与复杂问题之间的前向与后向差异,揭示模型规模与知识利用模式的关系,证明结构化中间步骤能提升推理能力。
摘要:
尽管大语言模型(LLMs)取得了进展,但它们如何利用自身知识进行推理仍未被充分理解。在本研究中,我们提出一种方法,将复杂的现实世界问题解构为一个图,将每个问题表示为一个节点,其前驱节点为解答该问题所需的背景知识。我们开发了DepthQA数据集,将问题解构为三个深度层次:(i)回忆概念性知识,(ii)应用程序性知识,以及(iii)分析策略性知识。基于一个层级图,我们量化了前向差异,即LLM在较简单子问题与复杂问题上表现的差异。我们还测量了后向差异,即LLM能够回答复杂问题却在较简单问题上表现困难的情况。我们的分析表明,较小的模型比较大的模型表现出更多的差异。在不同模型容量和训练数据记忆可能性上,观察到不同的差异模式。此外,通过多轮交互引导模型从简单问题到复杂问题,可以提升不同规模模型的表现,这凸显了结构化中间步骤在知识推理中的重要性。这项工作增进了我们对LLM推理的理解,并提出了改进其问题解决能力的方法。
英文摘要:
Despite the advances in large language models (LLMs), how they use their knowledge for reasoning is not yet well understood. In this study, we propose a method that deconstructs complex real-world questions into a graph, representing each question as a node with predecessors of background knowledge needed to solve the question. We develop the DepthQA dataset, deconstructing questions into three depths: (i) recalling conceptual knowledge, (ii) applying procedural knowledge, and (iii) analyzing strategic knowledge. Based on a hierarchical graph, we quantify forward discrepancy, a discrepancy in LLM performance on simpler sub-problems versus complex questions. We also measure backward discrepancy where LLMs answer complex questions but struggle with simpler ones. Our analysis shows that smaller models exhibit more discrepancies than larger models. Distinct patterns of discrepancies are observed across model capacity and possibility of training data memorization. Additionally, guiding models from simpler to complex questions through multi-turn interactions improves performance across model sizes, highlighting the importance of structured intermediate steps in knowledge reasoning. This work enhances our understanding of LLM reasoning and suggests ways to improve their problem-solving abilities.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。