atlas

Research map / Large language models / Retrieval and knowledge

Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models

ICML 2025 · Large language models › Retrieval and knowledge · approach: Knowledge graph reasoning with LLMs · 8 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GCR, which constrains LLM decoding with a KG-Trie of KG reasoning paths so a fine-tuned small KG-specialized LLM generates faithful paths and answers, then a general LLM aggregates them for zero-hallucination KGQA.

Problem

LLM reasoning over knowledge graphs is unfaithful (hallucinated paths and facts) and existing retrieval-based and agent-based KG-enhanced methods are inaccurate and costly at scale.

Approach

Build a trie over tokenized KG paths (within L hops of question entities) and use it as a logit constraint during beam-search decoding, so the LLM can only emit paths that exist in the KG; a general LLM then performs inductive reasoning over the top-K paths and hypothesis answers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use GCR with Llama-3.1-8B and GPT-4o-mini instead of the strongest baselineKGQA · WebQSPHit: 90.7 -> 92.2Helped
use GCR with Llama-3.1-8B and GPT-4o-mini instead of the strongest baselineKGQA · CWQHit: 68.7 -> 75.8Helped
add the KG-specialized LLM to GCR (ablation)GCR · WebQSPF1: 52.9 -> 73.2Helped
add the KG-specialized LLM to GCR (ablation)GCR · CWQF1: 37.5 -> 60.9Helped
add the General LLM to GCR (ablation)GCR · WebQSPF1: 57.0 -> 73.2Helped
add the General LLM to GCR (ablation)GCR · CWQF1: 39.4 -> 60.9Helped
remove KG constraints during graph-constrained decoding (ablation)GCR · WebQSP and CWQfaithful reasoning ratio: 100% to 48.1% on CWQHurt
increase beam size from 10 to 20 (ablation)GCR · WebQSPF1Hurt
increase beam size (ablation)GCR · WebQSPHit and recallHelped
fine-tune a 0.5B KG-specialized LLM instead of using it without fine-tuning (ablation)KG-specialized LLM · WebQSPHit: 87.48Helped
use GCR instead of the base modelzero-shot KGQA · FreebaseQA, CSQA, and MedQAaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: WebQSP CWQ FreebaseQA CSQA MedQA Freebase ConceptNet UMLS-based medical KG

Benchmarks: WebQSP CWQ FreebaseQA CSQA MedQA

Metrics: Hit F1 accuracy precision recall faithful reasoning ratio runtime LLM calls LLM tokens

Baselines: RoG GNN-RAG GNN-RAG+RA ToG EffiQA ReaRev UniKGQA ChatGPT+Self-Consistency

Builds on: chain-of-thought RoG FiD ToG

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy