PATHFINDER: Guided Search over Multi-Step Reasoning Paths

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.

Cite

Text

Golovneva et al. "PATHFINDER: Guided Search over Multi-Step Reasoning Paths." NeurIPS 2023 Workshops: R0-FoMo, 2023.

Markdown

[Golovneva et al. "PATHFINDER: Guided Search over Multi-Step Reasoning Paths." NeurIPS 2023 Workshops: R0-FoMo, 2023.](https://mlanthology.org/neuripsw/2023/golovneva2023neuripsw-pathfinder/)

BibTeX

@inproceedings{golovneva2023neuripsw-pathfinder,
  title     = {{PATHFINDER: Guided Search over Multi-Step Reasoning Paths}},
  author    = {Golovneva, Olga and O'Brien, Sean and Pasunuru, Ramakanth and Wang, Tianlu and Zettlemoyer, Luke and Fazel-Zarandi, Maryam and Celikyilmaz, Asli},
  booktitle = {NeurIPS 2023 Workshops: R0-FoMo},
  year      = {2023},
  url       = {https://mlanthology.org/neuripsw/2023/golovneva2023neuripsw-pathfinder/}
}