HiddenPathQA: A Benchmark for Knowledge Graph Question Answering When Questions Hide Their Paths
Abstract
Knowledge graph question answering (KGQA) systems are typically evaluated on questions whose surface tokens lexically expose the gold KG path. Users, however, may ask questions without knowing the underlying schema: “Which condition could Andrew have due to family history?” compresses a 4-hop chain “Andrew →(father) parent →(father) grandparent →(medical condition) disease →(subclass of) hereditary disorder” into a single phrase (family history) whose tokens name none of those relations. We show that this collapse of path–question alignment is a blind spot of existing KGQA evaluation. Three major Large Language Model (LLM)–KG paradigms—hop-by-hop KG exploration, plan-then-retrieve, and similarity-based retrieval—all implicitly rely on the question’s surface leaking the gold path, an assumption rarely tested in practice. To study this failure mode, we make three contributions. (i) We introduce HiddenPathQA, a manually verified benchmark of 1,055 multi-hop questions spanning 2–6 hops and multiple domains, constructed so that the question surface does not reveal the gold path’s relations. (ii) We propose Holistic Path Selection, which compares the question against candidate relation chains in the local subgraph as complete units, replacing irreversible per-hop relation scoring with globally informed chain-level reasoning. We develop two implementations, TieredHolistic and FlatHolistic. (iii) We conduct a pseudoword stress test that replaces entity names with meaningless placeholder tokens, allowing us to distinguish KG-grounded reasoning from entity-level memorization. Holistic Path Selection outperforms six strong KGQA baselines (ToG, PoG, FiDeLiS, R2-KG, KAPING, KARPA) by 8.8–17.9 accuracy points across two LLM backbones and both the original and pseudoword settings. Its advantage under pseudoword replacement shows that the gains cannot be explained by entity-level memorization alone. The dataset and code are publicly available at https://huggingface.co/datasets/suminJo/HiddenPathQA and https://github.com/ekrxjwh2009/HiddenPathQA.