Follow the Path: Reasoning over Knowledge Graph Paths to Improve LLM Factuality

Mike Zhang, Johannes Bjerva, Russa Biswas
5/16/2025
cs.CLcs.AI

No official code found. Best implementation: jjzha/fs1 (5 stars, MIT, last commit 2025-12-31).

Abstract

We introduce fs1, a simple yet effective method that improves the factuality of reasoning traces by sourcing them from large reasoning models (e.g., DeepSeek-R1) and grounding them by conditioning on knowledge graph (KG) paths. We fine-tune eight instruction-tuned Large Language Models (LLMs) on 3.9K factually grounded reasoning traces and rigorously evaluate them on six complex open-domain question-answering (QA) benchmarks encompassing 23.9K questions. Our results demonstrate that our fs1-tuned model (32B parameters) consistently outperforms instruction-tuned counterparts with parallel sampling by 6-14 absolute points (pass@$16$). Our detailed analysis shows that fs1 considerably improves model performance over more complex questions (requiring 3 or more hops on KG paths) and numerical answer types compared to the baselines. Furthermore, in single-pass inference, we notice that smaller LLMs show the most improvements. While prior works demonstrate the effectiveness of reasoning traces primarily in the STEM domains, our work shows strong evidence that anchoring reasoning to factual KG paths is a critical step in transforming LLMs for reliable knowledge-intensive tasks.

View on arXivView PDF

Code Implementations(1)

jjzha/fs1Community100%
MIT
51Shell, PythonMay 2, 20259 months agoMIT

Similar Papers

Cite this paper

@article{zhang2025follow,
  title  = {Follow the Path: Reasoning over Knowledge Graph Paths to Improve LLM Factuality},
  author = {Mike Zhang and Johannes Bjerva and Russa Biswas},
  year   = {2025},
  eprint = {2505.11140},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.11140v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.11140.svg)](https://codeofpaper.com/paper/2505.11140)

Discussion