Saved in:
Bibliographic Details
Main Authors: Xu, Jingao, Ma, Shuoyoucheng, Song, Xin, Jiang, Rong, Tu, Hongkui, Zhou, Bin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.15283
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917021249175552
author Xu, Jingao
Ma, Shuoyoucheng
Song, Xin
Jiang, Rong
Tu, Hongkui
Zhou, Bin
author_facet Xu, Jingao
Ma, Shuoyoucheng
Song, Xin
Jiang, Rong
Tu, Hongkui
Zhou, Bin
contents Large Language Models (LLMs) as interactive agents show significant promise in Knowledge Graph Question Answering (KGQA) but often struggle with the semantic gap between natural language queries and structured knowledge graph (KG) representations. This leads to suboptimal planning and inefficient exploration on KG, while training-free approaches often underutilize valuable reasoning patterns in training data. To address these limitations, we propose a novel framework, Exemplar-Guided Planning (EGP), which enhances the planning capabilities of LLM agents for KGQA. EGP first preprocesses the training set questions via entity templating to normalize semantic variations. It then retrieves highly similar exemplary questions and their successful reasoning paths from this preprocessed set using semantic embeddings and an efficient FAISS index. These retrieved exemplars dynamically guide the LLM's planning process in two key phases: (1) Task Decomposition, by aligning generated sub-objectives with proven reasoning steps, and (2) Relation Exploration, by providing high-quality auxiliary information to improve relation pruning accuracy. Additionally, we introduce a Smart Lookahead mechanism during relation exploration to improve efficiency by preemptively exploring promising paths and potentially terminating exploration earlier. We apply EGP to the Plan-on-Graph (PoG) framework, termed PoG-EGP. Extensive experiments on two real-world KGQA datasets, WebQSP and CWQ, demonstrate that PoG-EGP significantly improves over the baseline PoG system and other compared methods.
format Preprint
id arxiv_https___arxiv_org_abs_2510_15283
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exemplar-Guided Planing: Enhanced LLM Agent for KGQA
Xu, Jingao
Ma, Shuoyoucheng
Song, Xin
Jiang, Rong
Tu, Hongkui
Zhou, Bin
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) as interactive agents show significant promise in Knowledge Graph Question Answering (KGQA) but often struggle with the semantic gap between natural language queries and structured knowledge graph (KG) representations. This leads to suboptimal planning and inefficient exploration on KG, while training-free approaches often underutilize valuable reasoning patterns in training data. To address these limitations, we propose a novel framework, Exemplar-Guided Planning (EGP), which enhances the planning capabilities of LLM agents for KGQA. EGP first preprocesses the training set questions via entity templating to normalize semantic variations. It then retrieves highly similar exemplary questions and their successful reasoning paths from this preprocessed set using semantic embeddings and an efficient FAISS index. These retrieved exemplars dynamically guide the LLM's planning process in two key phases: (1) Task Decomposition, by aligning generated sub-objectives with proven reasoning steps, and (2) Relation Exploration, by providing high-quality auxiliary information to improve relation pruning accuracy. Additionally, we introduce a Smart Lookahead mechanism during relation exploration to improve efficiency by preemptively exploring promising paths and potentially terminating exploration earlier. We apply EGP to the Plan-on-Graph (PoG) framework, termed PoG-EGP. Extensive experiments on two real-world KGQA datasets, WebQSP and CWQ, demonstrate that PoG-EGP significantly improves over the baseline PoG system and other compared methods.
title Exemplar-Guided Planing: Enhanced LLM Agent for KGQA
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.15283