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

深度就是全部吗?大语言模型中迭代推理的探索

Is Depth All You Need? An Exploration of Iterative Reasoning in LLMs

UESTC(电子科技大学);SUTD(新加坡科技设计大学)

Zongqian Wu, Tianyu Li, Baoduo Xu, Jiaying Yang, Mengmeng Zhan, Xiaofeng Zhu, Lei Feng

AI总结:

针对深度迭代思维链推理的持续改进与停止标准挑战,本文提出通过增加初始推理路径多样性实现广度推理,并提出整合上下文探索与减少采样随机性的方法,显著优于深度迭代推理。

摘要:

深度迭代思维链(CoT)推理使大语言模型(LLMs)能够通过逐步激活相关预训练知识来处理复杂任务。然而,它在确保持续改进和确定停止标准方面面临挑战。在本文中,我们研究是否可以从初始推理路径中激活直接有助于解决给定问题的相关知识,从而避免迭代优化的需求。我们的实验表明,增加初始推理路径的多样性可以实现相当或更优的性能,我们称之为“广度推理”的概念。然而,现有的广度推理方法(如自一致性)提供的多样性有限。为了解决这一局限性,我们提出了一种简单而有效的方法,通过整合上下文探索和减少采样随机性来增强推理广度。大量实验表明,我们的方法显著优于深度迭代推理。我们的代码可在https://github.com/zongqianwu/breadth获取。

英文摘要:

Deep iterative chain-of-thought (CoT) reasoning enables LLMs to tackle complex tasks by progressively activating relevant pre-trained knowledge. However, it faces challenges in ensuring continual improvement and determining a stopping criterion. In this paper, we investigate whether the relevant knowledge that contributes directly to solving the given question can be activated from the initial reasoning path, thus circumventing the need for iterative refinement. Our experiments reveal that increasing the diversity of initial reasoning paths can achieve comparable or superior performance, a concept we term \textit{breadth reasoning}. However, existing breadth reasoning approaches, such as self-consistency, offer limited diversity. To address this limitation, we propose a simple yet effective method that enhances reasoning breadth by integrating contextual exploration with reduced sampling randomness. Extensive experiments demonstrate that our approach significantly outperforms deep iterative reasoning. Our code is provided in https://github.com/zongqianwu/breadth.

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

↑