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

PathFinder:多步推理路径上的引导搜索

PathFinder: Guided Search over Multi-Step Reasoning Paths

FAIR at Meta(Meta人工智能研究院)

Olga Golovneva, Sean O'Brien, Ramakanth Pasunuru, Tianlu Wang, Luke Zettlemoyer, Maryam Fazel-Zarandi, Asli Celikyilmaz

AI总结:

针对大模型多步推理难题,受束搜索启发提出基于树搜索的PathFinder方法,通过动态解码、约束推理等优化路径生成,在三项推理任务上平均超基线6%,泛化性良好。

摘要:

随着大语言模型的最新进展,思维链提示等激发推理链的方法已被证明能提升推理任务的表现。然而,需要多步推理的任务对当前最先进的模型仍构成重大挑战。受束搜索算法启发,我们提出PathFinder——一种基于树搜索的推理路径生成方法。它通过整合由不同采样方法和参数实现的动态解码,增强了多样化分支与多跳推理。借助约束推理机制,PathFinder融合了新型质量约束、剪枝与探索方法,以提升生成效率与质量。此外,它还包含打分与排序功能,以优化候选路径选择。我们的方法在三项复杂算术与常识推理任务上平均优于竞争基线6%。该模型能很好地泛化到更长的、未见过的推理链上,体现出与大分支因子束搜索相似的复杂度特性。

英文摘要:

With recent advancements in large language models, methods like chain-of-thought prompting to elicit reasoning chains have been shown to improve results on reasoning tasks. However, tasks that require multiple steps of reasoning still pose significant challenges to state-of-the-art models. Drawing inspiration from the beam search algorithm, we propose PathFinder, a tree-search-based reasoning path generation approach. It enhances diverse branching and multi-hop reasoning through the integration of dynamic decoding, enabled by varying sampling methods and parameters. Using constrained reasoning, PathFinder integrates novel quality constraints, pruning, and exploration methods to enhance the efficiency and the quality of generation. Moreover, it includes scoring and ranking features to improve candidate selection. Our approach outperforms competitive baselines on three complex arithmetic and commonsense reasoning tasks by 6% on average. Our model generalizes well to longer, unseen reasoning chains, reflecting similar complexities to beam search with large branching factors.

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

↑