cs.CLOct 6, 2026

Foresight-over-Graph: Reasoning Beyond Local Horizons for Knowledge Base Question Answering

Authors: Yang Hong, Yajun Yang, Xin Wang, Liping Jing, Qinghua Hu

Organizations: Tianjin University, Tianjin, China · Beijing Jiaotong University, Beijing, China

Abstract

Large language models (LLMs) have demonstrated strong capabilities in question answering, yet they still frequently suffer from hallucinations on knowledge-intensive tasks. Knowledge graphs (KGs) provide LLMs with structured, interpretable, and updatable factual grounding, making them a promising external knowledge source for reliable reasoning. However, existing LLM-guided graph reasoning methods typically rely on hop-wise greedy or beam-style pruning during evidence retrieval. Such local decision processes are inherently myopic: evidence that appears weak near the source may become crucial only after deeper graph context is explored, causing answer-critical branches to be discarded prematurely and making the reasoning chain difficult to recover. To address this limitation, we propose Foresight-over-Graph (FoG), a foresight-aware evidence retrieval framework for knowledge base question answering (KBQA). FoG iteratively constructs a question-relevant evidence subgraph and uses far-to-near feedback to guide path exploration, and maintains a compact memory subgraph to support continued exploration. Extensive experiments on widely used KBQA benchmarks demonstrate that FoG achieves state-of-the-art performance, with a particularly large improvement of 16.58% in Hit on CWQ, while also reducing LLM calls and token usage. Our code is available at https://github.com/yhong7/FoG .

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Search-on-Graph-R1: Training Large Language Models to Search Knowledge Graphs with Reinforcement Learning

    Jul 20, 2026Jia Ao Sun, Hao Yu, Fengran Mo +4Knowledge GraphsSparql

  2. Ontology-Guided Reverse Thinking Makes Large Language Models Stronger on Knowledge Graph Question Answering

    Feb 17, 2025Runxuan Liu, Bei Luo, Jiaqi Li +5Knowledge GraphsMulti-Hop Reasoning

  3. Code-on-Graph: Iterative Programmatic Reasoning via Large Language Models on Knowledge Graphs

    Jun 2, 2026Weiwei Ding, Zixuan Li, Long Bai +7Knowledge GraphsLLM Reasoning Strategies