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

砍树:基于语义相似性的动态剪枝用于树状思维推理

Chopping Trees: Semantic Similarity Based Dynamic Pruning for Tree-of-Thought Reasoning

Massachusetts Institute of Technology (MIT)(麻省理工学院)

Joongho Kim, Xirui Huang, Zarreen Reza, Gabriel Grand

AI总结:

SSDP通过动态剪枝技术提升树状思维推理效率,实现2.3倍速度提升且保持高准确性。

摘要:

树状思维(Tree-of-Thought, ToT)推理增强了大语言模型(LLMs)的问题解决能力,但因语义冗余而计算成本高,其中不同分支探索等价的推理路径。我们引入了基于语义相似性的动态剪枝(SSDP),这是一种轻量级方法,据我们所知,是首个将在线语义合并整合到并行化树搜索中的框架,使能够实时对冗余步骤进行聚类和剪枝。在包括GSM8K和MATH500在内的推理基准测试中,SSDP在最先进的树搜索基线之上实现了最高2.3倍的速度提升,同时保持竞争性的准确性(通常在最强基线的5%以内),并将探索的节点数量减少85-90%,展示了高效、可扩展的LLM推理的实用方法。SSDP的实现已在https://github.com/kimjoonghokim/SSDP上公开。

英文摘要:

Tree-of-Thought (ToT) reasoning boosts the problem-solving abilities of Large Language Models (LLMs) but is computationally expensive due to semantic redundancy, where distinct branches explore equivalent reasoning paths. We introduce Semantic Similarity-Based Dynamic Pruning (SSDP), a lightweight method that, to the best of our knowledge, is the first framework to integrate online semantic merging into parallelized tree search, enabling the clustering and pruning of redundant steps in real time. Across reasoning benchmarks, including GSM8K and MATH500, SSDP achieves up to a 2.3x speedup over state-of-the-art tree-search baselines while maintaining competitive accuracy (typically within 5% of the strongest baseline) and reducing the number of explored nodes by 85-90%, demonstrating a practical approach to efficient, scalable LLM reasoning. The implementation of SSDP is publicly available at https://github.com/kimjoonghokim/SSDP.

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

↑