NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deliberation on Priors: Trustworthy Reasoning of Large Language Models on Knowledge Graphs

Jie Ma, Ning Qu, Zhitao Gao, Rui Xing, Jun Liu, Hongbin Pei, Jiang Xie, Linyun Song, Pinghui Wang, Jing Tao, Zhou Su · DOI

Abstract

The "Deliberation on Priors" (DP) framework addresses the challenge of hallucinations in Large Language Models (LLMs) when performing complex reasoning over Knowledge Graphs (KGs). By integrating structural priors and logical constraints through a novel distillation strategy and a reasoning-introspection loop, DP achieves state-of-the-art performance on multi-hop KGQA benchmarks, including a significant 13% improvement on the ComplexWebQuestions dataset.

Introduction

While Large Language Models (LLMs) demonstrate impressive capabilities, they frequently "hallucinate"—generating plausible but factually incorrect answers—especially when navigating complex, multi-step questions. Retrieval-Augmented Generation (RAG) using Knowledge Graphs (KGs) is a common mitigation strategy, yet existing methods often treat KGs as mere "fact buckets."

This paper identifies a critical gap: current models fail to exploit the priors inherent in KGs. These priors include structural information (typical entity connectivity) and logical constraints (e.g., an answer must be a specific category or satisfy a temporal condition). Without these, LLMs often pursue reasoning paths that are semantically related to a query but logically impossible according to the graph's rules. The proposed "Deliberation on Priors" (DP) framework teaches models to respect these structural and logical boundaries.

The DP Framework

The DP framework operates through a two-stage process: offline distillation to learn structural patterns and online reasoning to enforce logical consistency.

1. Progressive Knowledge Distillation (Offline)

To navigate the KG effectively, the model must understand its structural priors. This is achieved in two steps:

  • Supervised Fine-Tuning (SFT): The model is trained on "weak supervision" signals—shortest paths in the KG connecting question entities to known answers.
  • Kahneman-Tversky Optimization (KTO): Standard preference optimization often fails due to the massive imbalance between a few correct paths and infinite incorrect ones. DP utilizes KTO—a method derived from human decision-making theory—to help the LLM prefer structurally sound paths even when positive training data is scarce.

2. Reasoning-Introspection (Online)

During inference, the model engages in a deliberate reasoning loop:

  • Planning & Instantiation: The LLM generates candidate relation paths, which are then grounded into real entities from the KG.
  • Introspection Loop: The system extracts five types of constraints from the user's question: Type, Multi-entity, Explicit Time, Implicit Time, and Ordinal. It verifies if the chosen reasoning path satisfies these constraints. If a violation is detected (e.g., the path leads to a person when the question asked for a city), the model receives feedback and "backtracks" to explore a different path.
The DP framework architecture: Distillation, Planning & Instantiation, and Introspection.

Experimental Evaluation

The authors evaluated DP on three widely recognized multi-hop KGQA benchmarks:

  • WebQuestionSP (WebQSP): Focused on 2-hop questions.
  • ComplexWebQuestions (CWQ): Contains complex, compositional questions requiring up to 4-hop reasoning.
  • MetaQA: A movie-domain dataset with 1-hop, 2-hop, and 3-hop queries.

Key Results

DP outperformed all baselines across the board, demonstrating significant gains in both accuracy and reliability.

Main experimental results comparing DP against various baseline methods across WebQSP, CWQ, and MetaQA.
  • State-of-the-Art Performance: Most notably, DP achieved a 13% improvement in Hits@1 on the CWQ dataset compared to previous hybrid methods.
  • Robustness and Efficiency: Ablation studies showed that the "Introspection" module is vital; removing it led to the most significant performance drops. Furthermore, DP is highly practical, requiring only 2.5 to 2.9 LLM calls per question, whereas competing iterative methods often require 10 to 20 calls.
  • Model Agnostic: The framework showed consistent gains across various models, including LLaMA-3.1-8B, GPT-3.5, and GPT-4o.

Discussion and Future Work

The core insight of this work is that teaching an LLM the patterns of how information is structured (the structural prior) makes it a far better navigator of KGs. By introducing an introspection step, the model can catch its own errors before presenting a final answer, mirroring human deliberation.

A current limitation is the reliance on predefined constraint types. While the five categories cover most general queries, applying DP to specialized domains (like law or medicine) currently requires expert intervention to define new constraints. Future work will investigate automatic methods for extracting and summarizing constraint types to improve scalability across diverse fields.

Summary updated

BibTeX
@inproceedings{ma2025deliberation,
  author = {Jie Ma and Ning Qu and Zhitao Gao and Rui Xing and Jun Liu and Hongbin Pei and Jiang Xie and Linyun Song and Pinghui Wang and Jing Tao and Zhou Su},
  title = {{Deliberation on Priors: Trustworthy Reasoning of Large Language Models on Knowledge Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=bulTwq5kNK},
}
Figure