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

链式树搜索:LLM树搜索中的回归顺序推理

Chain-in-Tree: Back to Sequential Reasoning in LLM Tree Search

Independent Researcher(独立研究员)

Xinzhe Li

AI总结:

本文提出Chain-in-Tree框架,通过在搜索过程中决定分支时机而非每步扩展,显著减少计算开销,在GSM8K和Math500上提升效率达75-85%。

摘要:

测试时扩展提高了大语言模型在长视界推理任务中的性能,通过在推理时分配更多计算资源。LLM树搜索(LITS)虽表现强劲但效率低下。本文提出Chain-in-Tree(CiT)框架,通过轻量级分支必要性评估(BN-DP和BN-SC)决定分支时机。BN-DP在GSM8K和Math500上减少生成token、模型调用和运行时间达75-85%,精度损失可忽略。BN-SC通常节省显著(最高80%),但在1-4个设置中不稳定,因少量示例产生极长推理步骤。理论证明BN-DP不增加策略调用次数,并释放适用于LITS框架的统一实现。完整代码库在https://github.com/xinzhel/chain_in_tree公开。

英文摘要:

Test-time scaling improves large language models (LLMs) on long-horizon reasoning tasks by allocating more compute at inference. LLM inference via tree search (LITS) achieves strong performance but is highly inefficient. We propose Chain-in-Tree (CiT), a plug-in framework that decides when to branch during search instead of expanding at every step. CiT introduces lightweight Branching Necessity (BN) evaluations, including BN-DP (direct prompting) and BN-SC (self-consistency). Integrated into Tree of Thoughts, ReST-MCTS, and RAP, BN-DP reduces token generation, model calls, and runtime by 75-85% on GSM8K and Math500, with often negligible or no accuracy loss. BN-SC typically yields substantial savings (up to 80%) generally but shows instability in 1-4 out of 14 settings, caused by a small subset of examples that produce extremely long reasoning steps. We theoretically prove that BN-DP never increases policy invocations and release unified implementations applicable across LITS frameworks. The full codebase is publicly available at https://github.com/xinzhel/chain_in_tree.

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

↑