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

什么构成了好的推理链?揭示长思维链推理中的结构模式

What Makes a Good Reasoning Chain? Uncovering Structural Patterns in Long Chain-of-Thought Reasoning

University of Science and Technology of China(中国科学技术大学);City University of Hong Kong(香港城市大学);Kuaishou Technology(快手科技);Zhejiang University(浙江大学)

Gangwei Jiang, Yahui Liu, Zhaoyi Li, Qi Wang, Fuzheng Zhang, Linqi Song, Ying Wei, Defu Lian

AI总结:

提出LCoT2Tree框架将长思维链转换为分层树结构,利用图神经网络揭示探索、回溯和验证等结构模式能更强地预测模型性能,并识别过度分支等失败模式以改进Best-of-N解码。

摘要:

近期在使用大型语言模型(LLMs)进行推理方面的进展,使得长思维链(LCoT)得以普及,这是一种鼓励在产生最终答案之前进行深思熟虑和逐步推理的策略。尽管LCoTs在复杂任务中实现了专家级的表现,但其推理链的内部结构如何驱动甚至预测最终答案的正确性,仍然是一个关键但尚未充分探索的问题。在这项工作中,我们提出了LCoT2Tree,这是一个自动化框架,可将顺序的LCoTs转换为分层树结构,从而能够对LLM推理进行更深入的结构分析。使用图神经网络(GNNs),我们揭示了由LCoT2Tree提取的结构模式,包括探索、回溯和验证,可作为跨广泛任务和模型预测最终性能的更强预测因子。利用可解释性技术,我们进一步识别了导致失败的关键思维模式,例如过度分支。除了诊断性见解外,LCoT2Tree的结构模式还支持实际应用,包括提高Best-of-N解码的有效性。总体而言,我们的结果强调了推理链内部结构的关键作用,将LCoT2Tree定位为诊断、解释和改进LLM推理的强大工具。

英文摘要:

Recent advances in reasoning with large language models (LLMs) have popularized Long Chain-of-Thought (LCoT), a strategy that encourages deliberate and step-by-step reasoning before producing a final answer. While LCoTs have enabled expert-level performance in complex tasks, how the internal structures of their reasoning chains drive, or even predict, the correctness of final answers remains a critical yet underexplored question. In this work, we present LCoT2Tree, an automated framework that converts sequential LCoTs into hierarchical tree structures and thus enables deeper structural analysis of LLM reasoning. Using graph neural networks (GNNs), we reveal that structural patterns extracted by LCoT2Tree, including exploration, backtracking, and verification, serve as stronger predictors of final performance across a wide range of tasks and models. Leveraging an explainability technique, we further identify critical thought patterns such as over-branching that account for failures. Beyond diagnostic insights, the structural patterns by LCoT2Tree support practical applications, including improving Best-of-N decoding effectiveness. Overall, our results underscore the critical role of internal structures of reasoning chains, positioning LCoT2Tree as a powerful tool for diagnosing, interpreting, and improving reasoning in LLMs.

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

↑