TensorX
返回文献探索

Paper · arXiv 2312.05180

PathFinder: Guided Search over Multi-Step Reasoning Paths

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

10 upvotesDecember 8, 2023arXiv 预印本
AI 摘要

PathFinder, a tree-search-based reasoning model, improves performance on multi-step reasoning tasks by integrating dynamic decoding, constraints, pruning, and ranking.

chain-of-thought promptinglarge language modelsbeam search algorithmtree-search-based reasoningdynamic decodingconstrained reasoningpruningexploration methodsscoringrankingreasoning chains

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
PathFinder: Guided Search over Multi-Step Reasoning Paths | TensorX