PathFinder: MCTS and LLM Feedback-based Path Selection for Multi-Hop Question Answering

Durga Prasad Maram, Kalpa Gunaratna, Vijay Srinivasan, Haris Jeelani, Srinivas ChappidiarXiv 2025 · OpenReview

Abstract: Multi-hop question answering is a challenging task in which language models must reason over multiple steps to reach the correct answer. With the help of Large Language Models and their reasoning capabilities, existing systems are able to think and decompose an input question over multiple steps to analyze, retrieve, and reason. However, training-based approaches for this problem still suffer from LLM hallucinations and incorrect reasoning paths that hinder performance. Hence, we propose PATHFINDER, an approach that: (i) uses Monte Carlo Tree Search to generate training path traces, (ii) improves training data quality by filtering erroneous and lengthy traces using sub-answer recall and LLM-as-a-judge verification, and (iii) reformulates sub-queries to handle failed retrieval cases. By following these steps, we demonstrate that PATHFINDER improves the performance of multi-hop QA over public benchmark datasets.

Introduction

Multi-hop question answering (QA) requires a model to connect multiple pieces of information across different documents to find an answer. While Large Language Models (LLMs) are proficient at reasoning, they often "hallucinate" or follow flawed logic when the answer isn't immediately obvious.

Existing methods attempt to address this by training models on "Chain-of-Thought" (CoT) traces—step-by-step reasoning paths. However, these training traces are often noisy; a model might arrive at the correct final answer through a lucky guess or incorrect intermediate logic. Furthermore, many systems assume the model will always find the right information on the first try, leading to failures during real-world inference when retrieval fails. PathFinder aims to generate cleaner, more robust training data that teaches models how to reason correctly and how to recover when initial searches fail.

Methodology

PathFinder’s pipeline consists of three main stages designed to distill high-quality reasoning into smaller, efficient models.

1. MCTS-Based Trace Generation

Instead of relying on a single LLM generation, PathFinder uses Monte Carlo Tree Search (MCTS) to explore a tree of possible actions. The search space includes analyzing informational needs (One-Step Thought) and formulating search queries followed by answering based on retrieved text (Subquestion Generation and Answering). MCTS explores diverse paths and assigns rewards based on final answer correctness, identifying successful reasoning "traces."

2. Multi-Stage Filtering

To ensure only the "gold standard" paths are used for training, PathFinder applies two filters:

  • Sub-answer Recall: Intermediate generated sub-answers are checked against known ground-truth sub-answers from the dataset.
  • LLM-as-a-Judge: A larger LLM (Qwen-72B) evaluates the traces for logical consistency, redundancy, irrelevance, and "faithfulness"—ensuring the reasoning is strictly supported by the retrieved context.

3. Training

Finally, a smaller "target" LLM (such as Qwen-7B or Gemma-9B) is fine-tuned on these optimized, filtered traces. This process teaches the smaller model to emulate the high-quality reasoning discovered during the MCTS process.

PathFinder pipeline overview showing MCTS trace generation, sub-answer verification, LLM judge validation, and final model training.

Experimental Setup

The authors evaluated PathFinder on four major multi-hop QA benchmarks. In-distribution datasets used for training included 2WikiMultiHopQA and MuSiQue. To test generalization, out-of-distribution datasets HotpotQA and WebQuestions were used. A Wikipedia dump from December 2021 served as the external knowledge corpus for retrieval.

Results

PathFinder consistently outperformed DeepRAG, the previous state-of-the-art baseline, across various metrics and datasets.

Performance comparison of PathFinder against DeepRAG baselines on in-distribution and out-of-distribution datasets.

Key results include:

  • Accuracy Gains: On the 2WikiMultiHopQA dataset, PathFinder achieved an F1 score of 78.38% (using Qwen-7B), significantly higher than DeepRAG’s 73.48%.
  • Generalization: The model showed strong "zero-shot" performance on datasets it wasn't trained on (HotpotQA and WebQuestions), proving that it learned general reasoning skills rather than dataset-specific shortcuts.
  • Complexity Handling: Performance remained stable even as the number of reasoning steps ("hops") increased, whereas baselines often degraded on more complex questions.

Discussion and Key Insights

  • MCTS as a Data Generator: While MCTS is often used during inference (which is slow), PathFinder uses it offline to create a superior training set. This allows the final model to remain fast and efficient during deployment.
  • The Importance of Faithfulness: The authors found that the "LLM-as-a-Judge" step was crucial. Simply being "correct" is insufficient for training; reasoning must be grounded in the provided text to prevent the model from learning to hallucinate.
  • Handling Retrieval Failure: PathFinder specifically trains models to reformulate queries. If a sub-answer isn't found in the retrieved context, the model learns to refine its search rather than giving up or fabricating an answer.

Limitations and Future Work

Despite its success, the initial data generation process using MCTS and a 72B-parameter "Judge" model is computationally expensive. Future work could involve more explicitly aligning sub-question generation with the specific strengths of the retriever used and exploring more advanced evaluation metrics beyond Exact Match and F1.

Summary updated

BibTeX
@misc{maram2025pathfinder,
  author = {Durga Prasad Maram and Kalpa Gunaratna and Vijay Srinivasan and Haris Jeelani and Srinivas Chappidi},
  title = {{PathFinder: MCTS and LLM Feedback-based Path Selection for Multi-Hop Question Answering}},
  year = {2025},
  eprint = {2512.05336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.05336},
}
Figure