potentialpaper

KG-Guard: Graph-Based Hallucination Detection for Knowledge Base Question Answering

Albert Sawczyn, Piotr Bielak, Tomasz Jan Kajdanowicz

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a graph-based hallucination detector for KBQA that classifies LLM-proposed answer nodes, outperforming existing baselines and enabling iterative refinement that improves downstream KBQA accuracy.

Abstract. Large language models (LLMs) are increasingly used for knowledge base question answering (KBQA), also referred to as knowledge graph question answering (KGQA), where answering requires selecting entities from a question-specific knowledge graph subgraph. Yet LLMs are known to hallucinate across tasks, and KBQA is no exception: even when we provide a graph as the knowledge source, the model may rely on parametric knowledge instead of graph evidence or perform invalid reasoning over the given relations. Such hallucinated answer nodes can limit the practical deployment of KBQA systems, especially in high-stakes domains such as healthcare. We formulate hallucination detection in KBQA as an answer-node classification problem and propose a lightweight graph-based framework that treats the answering LLM as a black box. KG-Guard represents each KBQA instance as an augmented graph. It initializes node features with semantic representations of KG entities, marks topic entities and LLM-proposed answer nodes with learned vectors, and connects a virtual question node to the topic entities. A graph encoder then produces verification-oriented node representations, and a small MLP classifies each proposed answer node using its graph representation together with the question embedding. Experiments on WebQSP, ComplexWebQuestions, and PUGG show that our detector achieves the best average rank across all three benchmarks (F1 82.082.0, 87.487.4, and 84.384.3), while using ∼305×{\sim}305\times fewer parameters than LLM-based baselines. It also retains the best average rank when jointly evaluated across an extended set of pipelines and settings. Beyond detection, the node-level feedback is actionable: when flagged answers are fed back to the KBQA system for iterative refinement, downstream KBQA F1 improves by 13.013.0-14.514.5 points and Exact Match by 16.916.9-17.617.6 points.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 2 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The submission focuses on hallucination detection and presents KG-Guard, a light-weight framework for hallucination detection in the knowledge based question answering (KBQA) systems. KG-Guard represents each KBQA instance as an augmented graph and applies multi-player perceptron to classify whether the LLM-proposed nodes are factual or hallucinated. The formulation of the technical problem has the merits but the technical contribution remains limited. As indicated by the reviewers, the empirical studies of this work have some issues (e.g., evaluation based on a single baseline pointed by wGnV, exclusion of foundational graph encoders pointed by sM3e).

The following reference is incomplete (where is it published?): Vijay Prakash Dwivedi and Xavier Bresson. A generalization of transformer networks to graphs. 2021

The authors offered solid rebuttal to some of the reviewers' concerns (e.g., empirical studies) and also came up a clear revision plan. While technical novelty still a concern to the reviewers, the submission targets an interesting and important research problem with signficant practical value.

Final justification

See the meta-review with updated justification.

Area Chair 3wD5 · Meta-reviewOpenReview ↗
Final justification
See the meta-review with updated justification.
Read meta-review
Meta-review

The submission focuses on hallucination detection and presents KG-Guard, a light-weight framework for hallucination detection in the knowledge based question answering (KBQA) systems. KG-Guard represents each KBQA instance as an augmented graph and applies multi-player perceptron to classify whether the LLM-proposed nodes are factual or hallucinated. The formulation of the technical problem has the merits but the technical contribution remains limited. As indicated by the reviewers, the empirical studies of this work have some issues (e.g., evaluation based on a single baseline pointed by wGnV, exclusion of foundational graph encoders pointed by sM3e).

The following reference is incomplete (where is it published?): Vijay Prakash Dwivedi and Xavier Bresson. A generalization of transformer networks to graphs. 2021

The authors offered solid rebuttal to some of the reviewers' concerns (e.g., empirical studies) and also came up a clear revision plan. While technical novelty still a concern to the reviewers, the submission targets an interesting and important research problem with signficant practical value.

1 comment
Authors · CommentOpenReview ↗

We thank the Area Chair for the thoughtful metareview and for taking the time to conduct the review process. We fixed the incomplete reference: Vijay Prakash Dwivedi and Xavier Bresson. A generalization of transformer networks to graphs. 2021, appeared at the AAAI 2021 Workshop on Deep Learning on Graphs.

We also ran new experiments directly addressing the empirical concerns raised.

  • Additional KBQA pipelines, generators, and retrievers beyond the single KAPING (PCST, LLama 4 Scout) baseline (reviewer wGnV).
  • Additional foundational graph encoders (GCN, GraphSAGE, GINE) alongside GraphTransformer and GAT (reviewer sM3e).
  • Reviewer sM3e stated that the RoBERTa baseline and GNN ablations isolate the value of graph topology and edge-aware message passing, and that the G-Retriever and alternative-LLM experiments resolve their concerns about KAPING-specific overfitting.

Full results are in the corresponding per-reviewer replies.

Reviewer sM3eOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper formulates hallucination detection in Large Language Model (LLM) based Knowledge Base Question Answering (KBQA) systems as a node-level classification task over retrieved subgraphs. The proposed architecture, KG-Guard, initializes subgraph nodes with semantic representations and task-specific marks, injects a virtual question node, and applies either a GraphTransformer or Graph Attention Network (GAT) to generate verification embeddings. A final multi-layer perceptron classifies whether the LLM-proposed answer nodes are factual or hallucinated. Experiments across WebQSP, Complex WebQuestions, and PUGG indicate that this supervised graph model outperforms zero-shot LLM judges and sampling-based baselines while reducing inference costs.

Strengths and weaknesses

Strengths:

  1. Framing KBQA hallucination detection as a graph-based node classification task is a structurally sound alternative to verifying raw text outputs, appropriately leveraging the explicit grounding space of the knowledge base.
  2. The model is highly parameter-efficient during inference, achieving strong empirical results with 2.52M trainable parameters and requiring zero LLM API calls, making it viable for constrained deployment.
  3. The application of the detector's output to iterative refinement successfully proves that fine-grained, node-level feedback yields measurable corrections in downstream KBQA accuracy.

Weaknesses:

  1. The primary comparisons against GPT-5-mini and Llama-4-Scout are asymmetric. KG-Guard is explicitly trained on thousands of dataset-specific hallucination examples , whereas the LLM judges operate via prompted context. The paper lacks a structurally fair baseline, such as a fine-tuned text encoder (e.g., RoBERTa) trained on linearized subgraph data with the exact same supervision signal, to isolate the specific value of the graph topology.
  2. The authors evaluate GraphTransformer and GAT , but exclude foundational graph encoders such as GCN or GraphSAGE. Given the highly compact nature of the subgraphs in WebQSP and CWQ (averaging 15 to 17 nodes), it is necessary to prove that multi-head attention is required over standard convolutional message passing.
  3. The training data is constructed exclusively using outputs from a single LLM-based pipeline, KAPING. While the authors claim the method treats the LLM as a "black box", the model is inherently fitted to KAPING's specific error distribution. The paper provides no empirical evidence that KG-Guard can detect hallucinations generated by a different KBQA pipeline.
  4. The virtual question node is hardcoded to connect exclusively to topic entities rather than the full subgraph. The authors assert this conditions message passing, but fail to ablate this structural choice against dense connections to all retrieved nodes or specifically to the proposed answer nodes.
Questions
  1. How does KG-Guard's performance compare to a baseline text encoder (e.g., RoBERTa-large) that has been fine-tuned on the exact same hallucination detection training sets using linearized subgraph inputs?

  2. Can you provide cross-pipeline evaluation results demonstrating that KG-Guard, when trained on KAPING outputs, accurately detects hallucinations generated by entirely different KBQA pipelines (e.g., G-Retriever or ToG)?

  3. Why were simpler GNN architectures (GCN, GraphSAGE) excluded from the ablation studies, and how do they perform relative to the computationally heavier GraphTransformer on these small subgraphs?

  4. Could you provide an ablation study regarding the connection strategy of the virtual question node? Specifically, how does the current topic-entity-only connection perform compared to densely connecting it to all retrieved nodes or exclusively to the proposed answer nodes?

Limitations

While the authors mention basic limitations like the need for labeled data and handling abstentions, they overlook a few deeper structural issues. The most critical is retrieval dependency: the model's performance is hard-bounded by the upstream PCST retrieval step. If the gold answer isn't retrieved, the detector inherently fails (by flagging all outputs as hallucinations) with no mechanism for recovery. Additionally, dismissing cross-pipeline evaluation as mere 'future work' downplays the risk that the model is simply overfitting to KAPING's specific generation artifacts; its transferability to other KBQA pipelines remains completely unproven. Finally, the authors should address how the extreme class imbalance in their datasets (e.g., >71% hallucinated answers in PUGG) impacts the MLP classifier's confidence calibration in a deployed setting.

Final justification

I am raising my score from 3 to 4 based on the thorough rebuttal.

Issues Resolved: The new experiments (fine-tuned RoBERTa baseline, GCN/GraphSAGE ablations, and evaluations on G-Retriever and other LLMs) successfully address my primary concerns regarding baseline fairness and pipeline-specific overfitting.

Remaining Concern: Core technical novelty remains somewhat incremental, as applying standard GNN node classification to KBQA hallucination is a relatively straightforward formulation.

Justification & Weighting: I place significant weight on the model's practical efficiency and now-thorough empirical validation. The comprehensive rebuttal resolves the evaluation weaknesses, justifying an upgrade to 4.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their careful reading and for recognizing our graph-based formulation, inference efficiency, and actionable node-level feedback. Following their suggestions, we ran additional experiments and address each concern below.

Weakness 1 / Question 1: The comparison with prompted LLM judges is asymmetric; please evaluate a text encoder trained with the same per-node supervision and linearized subgraphs to isolate the value of graph topology.

Answer: We trained RoBERTa-large on WebQSP and CWQ and sdadas/polish-roberta-large-v2 on PUGG, using exactly the same splits and per-answer-node labels as KG-Guard, with each retrieved graph linearized as text. In the Llama-4-Scout KAPING setting, the test F1 results are (mean +/- std dev over three seeds):

Model WebQSP CWQ PUGG
KG-Guard 82.0 ± 0.7 87.4 ± 0.2 84.3 ± 1.0
Fine-tuned RoBERTa 63.7 ± 5.2 87.7 ± 0.7 76.7 ± 2.6

KG-Guard gains 18.3 pp on WebQSP and 7.7 pp on PUGG, while RoBERTa is only 0.3 pp higher on CWQ. We repeated the comparison with KAPING outputs from gpt-oss-20b and gemma-4-e4b-it; KG-Guard wins all six additional dataset-generator comparisons by 6.0 and 6.4 pp on average, respectively. It therefore wins eight of the nine KAPING comparisons overall. The CWQ near-tie likely reflects its predefined question schemas and roughly 10x larger training set, which make recurring textual patterns easier to learn. We will add this baseline and its results to the revised paper.

Weakness 2 / Question 3: Is attention necessary, and how do simpler encoders (GCN, GraphSAGE) compare with GraphTransformer?

Answer: We selected GAT and GraphTransformer because their architectures are designed to handle the edge features used to encode KG relations and virtual-question edges. Standard GCN and GraphSAGE variants do not use these features. Our claim is not that attention is strictly necessary. We added GCN, GraphSAGE, and the edge-aware GINE (F1 mean +/- std dev over three seeds):

Graph encoder WebQSP CWQ PUGG Mean diff. from GraphTrans.
GraphTransformer 82.0 ± 0.7 87.4 ± 0.2 84.3 ± 1.0 0.0
GAT 79.8 ± 1.2 86.3 ± 0.7 82.7 ± 2.7 -1.6
GINE 81.6 ± 0.9 87.3 ± 0.4 83.1 ± 0.8 -0.6
GraphSAGE 79.2 ± 0.7 86.5 ± 0.2 83.6 ± 0.5 -1.5
GCN 75.2 ± 1.3 84.9 ± 0.7 83.7 ± 0.7 -3.3

GraphTransformer performs best on every dataset, while GINE is within 0.6 pp on average. Thus, the results primarily support edge-aware message passing, with GraphTransformer providing the most consistent backbone, rather than showing that attention alone is required. We will add this ablation and clarify the design rationale in the revised paper.

Weakness 3 / Question 2: Evaluation only on KAPING leaves cross-pipeline applicability untested and may capture KAPING-specific errors.

Answer: We ran G-Retriever as a second KBQA pipeline in place of KAPING, on the same PCST graphs, and trained and evaluated all methods on its outputs (F1/AUC-PR):

Method WQSP F1 WQSP AUC-PR CWQ F1 CWQ AUC-PR PUGG F1 PUGG AUC-PR
GPT-5-mini (G) 85.9 82.9 88.4 86.9 90.5 92.3
KG-Guard (GraphTransformer) 78.2 85.9 86.6 93.3 86.7 89.6
KG-Guard (GINE) 77.8 83.6 85.4 91.4 86.8 90.7
KG-Guard (GAT) 75.5 83.0 84.5 90.5 86.6 88.9
RoBERTa (fine-tuned) 71.1 78.3 86.6 95.2 86.9 93.5
Llama 4 Scout (G) 73.4 70.2 71.4 81.2 69.0 83.0
Most Frequent 68.6 52.2 82.4 70.1 85.5 74.7
Random 51.0 52.2 58.2 70.1 58.7 74.4

GPT-5-mini attains the best F1, but KG-Guard (GraphTransformer) has higher AUC-PR on WebQSP and CWQ — an accuracy-efficiency tradeoff, since GPT-5-mini needs a paid reasoning API call per query whereas KG-Guard runs locally in one forward pass of 2.52M parameters with no LLM calls. The gain is judge-specific, not inherent to LLM-as-a-judge: Llama 4 Scout (109B total, 17B active), ~305$\times$ larger, trails every KG-Guard variant on both metrics and all datasets.

On zero-shot transfer: this establishes applicability to a second pipeline with pipeline-specific supervision, not zero-shot transfer from KAPING to G-Retriever, since different answering systems induce different error patterns. "Black-box" means the answering model's internals are unnecessary, not that labels transfer across pipelines. We will clarify this scope.

To test generality within KAPING, we swapped the Llama 4 Scout generator for Gemma 4 E4B and GPT OSS 20B, which differ in size and training data and hence in error patterns, and retrained the methods on the resulting labels (F1):

method WQSP / Gemma WQSP / OSS 20B CWQ / Gemma CWQ / OSS 20B PUGG / Gemma PUGG / OSS 20B
KG-Guard (GINE) 74.6 ± 1.6 75.8 ± 0.6 77.8 ± 1.0 79.2 ± 1.3 73.8 ± 0.4 81.0 ± 0.6
KG-Guard (GAT) 73.1 ± 1.1 74.1 ± 0.7 76.9 ± 0.9 77.3 ± 0.5 73.6 ± 1.2 78.9 ± 0.3
KG-Guard (GraphTransformer) 73.1 ± 0.9 73.9 ± 0.4 77.1 ± 0.1 79.1 ± 0.3 74.2 ± 0.5 78.7 ± 0.5
SelfCheck (N=5) 58.4 65.3 61.8 74.7 71.9 77.3
GPT 5 Mini (G+RS+RT) 57.9 53.2 61.9 65.3 73.3 76.5
GPT 5 Mini (G) 45.9 45.5 57.3 66.3 59.0 73.9
Random 43.5 ± 1.2 47.3 ± 0.5 53.0 ± 1.2 51.3 ± 0.6 53.3 ± 1.3 54.9 ± 0.2
SelfCheck (N=10) 34.4 63.9 67.5 74.6 74.7 79.3
Llama 4 Scout (G) 31.1 48.9 39.5 56.7 29.7 59.6
Llama 4 Scout (G+RS+RT) 28.4 45.9 21.4 47.2 23.5 59.2
Llama 4 Scout (G+RS) 23.9 42.1 21.1 48.0 22.7 58.6
Most Frequent 0.0 0.0 0.0 71.0 74.6 76.2

The generator markedly changes behavior: Most Frequent collapses to 0.00.0 F1 on WebQSP and CWQ, since hallucination is no longer the majority class, and the LLM-as-a-judge baselines shift inconsistently and reorder across columns. KG-Guard alone stays near the top, best in five of six combinations and within 0.50.5 pp on the sixth, so its advantage is not an artifact of one answer generator.

We also varied the retriever: a top-KK embedding retriever keeps the K=100K=100 triples most similar to the question, selecting them independently instead of as PCST's jointly optimized connected subtree, which changes connectivity, sparsity, and noise (we omit graph statistics for space). We regenerated subgraphs and re-ran all methods (test F1):

method WebQSP CWQ PUGG
KG-Guard (GINE) 82.0 ± 0.5 89.4 ± 0.1 85.8 ± 1.2
KG-Guard (GAT) 81.9 ± 0.2 88.9 ± 0.4 85.4 ± 0.1
KG-Guard (GraphTransformer) 82.6 ± 0.9 88.4 ± 0.5 84.7 ± 1.0
Most Frequent 68.7 85.5 85.1
RoBERTa (fine-tuned) 65.7 ± 0.3 86.1 ± 2.4 82.4 ± 0.1
GPT 5 Mini (G+RT) 54.3 86.5 75.9
GPT 5 Mini (G) 48.9 83.6 67.2
Random 50.9 ± 0.3 59.8 ± 0.3 60.0 ± 0.9
Llama Scout (G+RT) 37.0 49.7 50.1
Llama Scout (G) 28.9 42.7 42.5

The three KG-Guard variants are again the top three on all datasets, so the advantage is not tied to PCST's graph characteristics. We will add all these results to the paper.

Weakness 4 / Question 4: Compare question-node connections: topic entities vs. all retrieved vs. answer nodes only.

Answer: Topic entities are grounded in the question and are natural starting points for graph reasoning, injecting question semantics without bypassing the retrieved topology. We compared all three strategies with the same GraphTransformer (F1, three seeds):

Question-node connections WebQSP CWQ PUGG Average
Topic entities 82.0 ± 0.7 87.4 ± 0.2 84.3 ± 1.0 84.6
All retrieved nodes 81.4 ± 1.3 88.4 ± 0.2 84.8 ± 0.5 84.9
Proposed answer nodes 82.1 ± 0.6 87.5 ± 0.2 84.4 ± 0.6 84.7

Differences are within seed variance: all-node connections shift individual results by at most 1.0 pp and the average by 0.3, answer-node by 0.1. All-node connectivity also adds 2∣V∣2|V| directed edges instead of 2∣T∣2|T|, raising compute and memory on heavy-tailed PUGG graphs, so topic-only is the better tradeoff. We will add this ablation.

Limitation - Retrieval dependency: the system cannot recover a gold answer that was never retrieved.

Answer: This combines two objectives: detection and answer recovery. Our task assumes returned answers must be supported by the supplied subgraph, so an answer returned when retrieval omits every gold answer is unsupported, and flagging as hallucination is correct. Retrieval failure does not make the model abstain, which is exactly why detection is needed. The appendix reports gold-answer coverage and abstention rates.

The refinement loop reuses the same graph, so it cannot recover evidence that was never retrieved. Extending it to widen retrieval or fetch a new subgraph before re-querying is possible but not straightforward, and outside this work's detection scope. We will state this in the revised Limitations and Future Work.

Limitation - Class imbalance and calibration: imbalance (e.g., PUGG) may affect confidence calibration in deployment.

Answer: PUGG's positive prevalence is about 72% among classified nodes once abstentions are excluded. With no post-hoc calibration, we computed top-label Expected Calibration Error on the test set (10 equal-width bins, pooled over three seeds per dataset): 0.0840.084 on WebQSP, 0.0230.023 on CWQ, and 0.0450.045 on PUGG.

KG-Guard is therefore reasonably well calibrated out of the box, and PUGG's imbalance does not by itself cause severe miscalibration: its ECE stays close to CWQ's. We will add these results and recommend validation-based threshold selection.

Reviewer sM3e · CommentOpenReview ↗

Thanks to the authors for the detailed response and additional experiments.

My primary concerns regarding evaluation fairness and baselines have been largely addressed:

  1. The fine-tuned RoBERTa baseline and basic GNN ablations now clearly isolate the value of graph topology and edge-aware message passing.

  2. The additional experiments on G-Retriever and alternative LLM generators resolve my worries about KAPING-specific overfitting.

Given the strengthened empirical support, I am raising my score from 3 to 4. I still consider the technical novelty of applying node classification here to be somewhat incremental, but the updated evaluations are now solid enough for a borderline paper.

Authors · CommentOpenReview ↗

Dear Reviewer,

As the author's response phase comes to an end, we would like to thank you for your thoughtful feedback and for adjusting your score. We appreciate your recognition of addressing the concerns raised in your review. We have summarized the revisions in the general comment.

Thank you once again.

Reviewer wGnVOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors introduce KG-Guard, a lightweight framework based on graph neural networks that seeks to catch hallucinations in Knowledge Base Question Answering (KBQA) systems. By shifting the paradigm away from text-level generation analysis, the paper reframes hallucination detection as a binary node-classification task on question-specific knowledge sub-graphs.

KG-Guard is evaluated on WebQSP, Complex WebQuestions and PUGG, outperforming large LLM judges (including GPT-5-mini) and sampling-based approaches while using significantly fewer parameters and zero LLM calls at detection time.

Strengths and weaknesses

Strengths

  • The proposed solution operates with zero additional LLM queries during verification, making it incredibly cheap and fast compared to LLM-as-a-judge or sampling-based approaches like SelfCheckGPT.
  • KG-Guard demonstrates strong experimental improvements, showing a distinct advantage on natural-language benchmarks like WebQSP where traditional LLM judges fall short.

Weaknesses

  • A core claim of the paper is that KG-Guard is a flexible, black-box detector that can sit on top of external LLM-based KBQA systems. However, the entire evaluation relies strictly on a single baseline KBQA model architecture (i.e. KAPING).
  • The evaluation relies exclusively on the G-Retriever Prize-Collecting Steiner Tree method to generate the input sub-graphs.
    • The authors do not evaluate the detector against varying levels of sub-graph noise, graph sparsity, or alternative retrieval algorithms.
  • The paper compares KG-Guard, an architecture natively designed to process graph topology, against standard text-based LLM judges (i.e. Llama-4-Scout and GPT-5-mini). These LLM judges receive sub-graphs serialised as flat lists of text triples. Because standard LLMs may struggle to reason over complex graph topologies presented linearly, their underperformance compared to KG-Guard may reflect this sub-optimal input format rather than an inherent flaw in their hallucination detection capabilities.
Questions
  • I recommend expanding the Related Work section to contrast your approach with other paradigms in the KGQA space. A notable example is EmbedKGQA (Saxena et al., 2020), which tackles multi-hop reasoning by deliberately bypassing local sub-graphs to perform global candidate ranking over the entire knowledge graph using complex entity and relation embeddings.
  • The manuscript does not explicitly state how data contamination was avoided during the dataset splitting process. If nodes originating from the same question were to end up in both the training and test sets, it would leak graph structure and question embeddings, thereby artificially inflating KG-Guard’s test scores.

Apoorv Saxena, Aditay Tripathi, and Partha Talukdar. 2020. Improving Multi-hop Question Answering over Knowledge Graphs using Knowledge Base Embeddings.

Limitations

yes

Final justification

The authors provided a strong rebuttal that resolves the data leakage concerns and introduces valuable new baselines. However, the new experiments also reveal that KG-Guard lacks true zero-shot transferability and requires pipeline-specific retraining. Additionally, the admission that GPT-5-mini actually outperforms KG-Guard on F1 under the G-Retriever pipeline softens the initial claims. While I would not object to the paper's acceptance, these practical limitations lead me to maintain my score.

Formatting concerns

No significant formatting or anonymity violations

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for their careful evaluation and for recognizing KG-Guard's verification efficiency and strong performance, particularly on naturally phrased WebQSP questions. We address each concern below.

Weakness 1: The claimed flexible black-box detector is evaluated only with KAPING, leaving its applicability to other LLM-based KBQA pipelines untested.

Answer: We ran G-Retriever as a second KBQA pipeline in place of KAPING, on the same PCST graphs, and trained and evaluated all methods on its outputs (F1/AUC-PR):

Method WQSP F1 WQSP AUC-PR CWQ F1 CWQ AUC-PR PUGG F1 PUGG AUC-PR
GPT-5-mini (G) 85.9 82.9 88.4 86.9 90.5 92.3
KG-Guard (GraphTransformer) 78.2 85.9 86.6 93.3 86.7 89.6
KG-Guard (GINE) 77.8 83.6 85.4 91.4 86.8 90.7
KG-Guard (GAT) 75.5 83.0 84.5 90.5 86.6 88.9
RoBERTa (fine-tuned) 71.1 78.3 86.6 95.2 86.9 93.5
Llama 4 Scout (G) 73.4 70.2 71.4 81.2 69.0 83.0
Most Frequent 68.6 52.2 82.4 70.1 85.5 74.7
Random 51.0 52.2 58.2 70.1 58.7 74.4

GPT-5-mini attains the best F1, but KG-Guard (GraphTransformer) has higher AUC-PR on WebQSP and CWQ — an accuracy-efficiency tradeoff, since GPT-5-mini needs a paid reasoning API call per query whereas KG-Guard runs locally in one forward pass of 2.52M parameters with no LLM calls. The gain is judge-specific, not inherent to LLM-as-a-judge: Llama 4 Scout (109B total, 17B active), ~305$\times$ larger, trails every KG-Guard variant on both metrics and all datasets.

On zero-shot transfer: this establishes applicability to a second pipeline with pipeline-specific supervision, not zero-shot transfer from KAPING to G-Retriever, since different answering systems induce different error patterns. "Black-box" means the answering model's internals are unnecessary, not that labels transfer across pipelines. We will clarify this scope.

To test generality within KAPING, we swapped the Llama 4 Scout generator for Gemma 4 E4B and GPT OSS 20B, which differ in size and training data and hence in error patterns, and retrained the methods on the resulting labels (F1):

method WQSP / Gemma WQSP / OSS 20B CWQ / Gemma CWQ / OSS 20B PUGG / Gemma PUGG / OSS 20B
KG-Guard (GINE) 74.6 ± 1.6 75.8 ± 0.6 77.8 ± 1.0 79.2 ± 1.3 73.8 ± 0.4 81.0 ± 0.6
KG-Guard (GAT) 73.1 ± 1.1 74.1 ± 0.7 76.9 ± 0.9 77.3 ± 0.5 73.6 ± 1.2 78.9 ± 0.3
KG-Guard (GraphTransformer) 73.1 ± 0.9 73.9 ± 0.4 77.1 ± 0.1 79.1 ± 0.3 74.2 ± 0.5 78.7 ± 0.5
SelfCheck (N=5) 58.4 65.3 61.8 74.7 71.9 77.3
GPT 5 Mini (G+RS+RT) 57.9 53.2 61.9 65.3 73.3 76.5
GPT 5 Mini (G) 45.9 45.5 57.3 66.3 59.0 73.9
Random 43.5 ± 1.2 47.3 ± 0.5 53.0 ± 1.2 51.3 ± 0.6 53.3 ± 1.3 54.9 ± 0.2
SelfCheck (N=10) 34.4 63.9 67.5 74.6 74.7 79.3
Llama 4 Scout (G) 31.1 48.9 39.5 56.7 29.7 59.6
Llama 4 Scout (G+RS+RT) 28.4 45.9 21.4 47.2 23.5 59.2
Llama 4 Scout (G+RS) 23.9 42.1 21.1 48.0 22.7 58.6
Most Frequent 0.0 0.0 0.0 71.0 74.6 76.2

The generator markedly changes behavior: Most Frequent collapses to 0.00.0 F1 on WebQSP and CWQ, since hallucination is no longer the majority class, and the LLM-as-a-judge baselines shift inconsistently and reorder across columns. KG-Guard alone stays near the top, best in five of six combinations and within 0.50.5 pp on the sixth, so its advantage is not an artifact of one answer generator. We will add these results to our paper.

Weakness 2 / Weakness 3: Evaluation uses only PCST retrieval and does not test different retrieval algorithms, graph-noise levels, or sparsity.

Answer: We implemented a top-KK embedding retriever that keeps the K=100K=100 triples most similar to the question, selecting them independently instead of as PCST's jointly optimized connected subtree, which changes connectivity, sparsity, and noise (we omit graph statistics for space). We regenerated subgraphs and re-ran all methods (test F1):

method WebQSP CWQ PUGG
KG-Guard (GINE) 82.0 ± 0.5 89.4 ± 0.1 85.8 ± 1.2
KG-Guard (GAT) 81.9 ± 0.2 88.9 ± 0.4 85.4 ± 0.1
KG-Guard (GraphTransformer) 82.6 ± 0.9 88.4 ± 0.5 84.7 ± 1.0
Most Frequent 68.7 85.5 85.1
RoBERTa (fine-tuned) 65.7 ± 0.3 86.1 ± 2.4 82.4 ± 0.1
GPT 5 Mini (G+RT) 54.3 86.5 75.9
GPT 5 Mini (G) 48.9 83.6 67.2
Random 50.9 ± 0.3 59.8 ± 0.3 60.0 ± 0.9
Llama Scout (G+RT) 37.0 49.7 50.1
Llama Scout (G) 28.9 42.7 42.5

The three KG-Guard variants are again the top three on all datasets, so the advantage is not tied to PCST's graph characteristics. We will add this ablation to the revised paper.

Weakness 4: Text-based judges receive flat triple serializations, so their lower performance may reflect the input format rather than weaker hallucination detection.

Answer: Text-only LLM judges necessarily require a sequential representation. Our deterministic serialization preserves the complete retrieved graph: it lists every node identifier and label, followed by every directed edge as source, relation, and destination. Thus, converting triples to text removes no nodes, relations, directions, or connectivity, although it does not provide the same graph-native inductive bias.

That inductive bias is an intended advantage of KG-Guard. It is also precisely the gap we set out to address: prior hallucination-detection work concentrates on textual sources, treating retrieved KG evidence as flat text. Our fine-tuned RoBERTa baseline tests this: same serialized graph as the judges, but fine-tuned on the same labels as KG-Guard. It still loses on eight of the nine KAPING settings (three datasets ×\times three answer generators), so the graph representation, not the training, is what helps. GPT-5-mini does beat KG-Guard on F1 under G-Retriever, but KG-Guard leads on AUC-PR there on two of three datasets, and leads GPT-5-mini on F1 in every KAPING setting. This confirms that exploiting the structural signal yields a detector that is more accurate, and also far smaller and cheaper. Our appendix ablation on input modalities (Sec.B.2, "Effect of Input Modalities") gives further evidence: removing the graph encoder and keeping only question text costs far more performance than removing text features and keeping only the graph, confirming graph structure as the primary discriminative signal. We will strengthen this narration to make clear that our results demonstrate the accuracy and efficiency benefits of graph-native processing, not an inherent inability of LLMs to perform hallucination detection.

Question 1: Please expand Related Work to contrast KG-Guard with EmbedKGQA's global embedding-based candidate ranking.

Answer: We will expand Related Work accordingly. However, EmbedKGQA and KG-Guard target different problems. EmbedKGQA is an answering method: it ranks candidate answers globally using learned entity and relation embeddings, without an LLM answer generator. KG-Guard is a detector: it verifies answer nodes already produced by an LLM-based KBQA system against its retrieved subgraph. Because EmbedKGQA has no LLM generation step, it cannot exhibit the LLM reasoning-generation failure mode that KG-Guard is designed to catch. EmbedKGQA is therefore best viewed as an alternative answering paradigm, not as a competing detector or answering pipeline in our setting. We will make this distinction explicit.

Question 2: How did the data split prevent nodes from one question appearing in both training and test and leaking graph structure or question embeddings?

Answer: We use the original official question-level splits, fixed before expanding each question into per-answer-node instances. Therefore, every candidate node, label, and retrieved subgraph belonging to one question remains in a single split, and PCST retrieval is run independently for that question. For WebQSP, we move 254 complete training questions to validation while preserving question-level disjointness. The same KG entity may occur in different questions across splits, as is standard in KGQA, but no question or question-associated embedding, subgraph, candidate instance, or label crosses split boundaries. We will state this procedure explicitly to make clear that there is no leakage of information between splits.

Authors · CommentOpenReview ↗

Dear Reviewer,

As the author's response phase comes to an end, we would like to thank you for your thoughtful feedback. We believe that we have addressed the concerns and clarified the points raised in your review. We have summarized the revisions in the general comment. With these updates, we kindly ask you to consider adjusting your score to reflect the quality of our work.

Thank you once again.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

General comment by authors: summary of revisions and additional experiments

We thank the Area Chair and the Reviewers for their feedback. We sincerely appreciate the time and effort you have dedicated to evaluating our work. Your feedback has been very helpful in strengthening the manuscript. Reviewer sM3e has noted that the RoBERTa baseline and GNN ablations isolate the value of graph topology and edge-aware message passing, and that the G-Retriever and alternative-LLM experiments resolve their concerns about KAPING-specific overfitting.

In the revised version, we will incorporate:

  • Extended evaluation across pipelines, generators, and retrievers: added new KBQA pipeline configurations: G-Retriever, KAPING with different LLM backbones (Gemma-4-E4B, GPT-OSS-20B), and KAPING with an alternative top-K retriever in place of PCST. KG-Guard stays at or near the top in every additional setting, confirming its advantage generalizes beyond a single pipeline, generator, or retriever. On 2 of 3 datasets under G-Retriever, it leads on AUC-PR at a fraction of the cost of the much larger, paid API model GPT-5-mini that edges ahead on F1.
  • Graph-encoder ablation: added GCN, GraphSAGE, and GINE alongside GraphTransformer and GAT. GraphTransformer remains best on every dataset, and edge-feature-aware message passing - not attention specifically - explains most of the gain.
  • Question-node connectivity ablation: compared connecting the virtual question node to topic entities (used in the paper) against connecting it to all retrieved nodes or only to the predicted answer nodes. Differences are within seed variance, confirming topic-entity connections as the best compute/memory tradeoff on large graphs.
  • Extended baseline comparison: added a RoBERTa baseline trained on the same linearized subgraphs and supervision as KG-Guard, isolating the value of the graph representation itself.
  • Clarified scope: "black-box" means the answering model's internals are not required, not that detection labels transfer across pipelines without retraining; also detailed the leak-free question-level data split, expanded Related Work vs. EmbedKGQA, and added calibration results showing KG-Guard is well-calibrated despite class imbalance.
  • Expanded Limitations: clarified that KG-Guard cannot recover a gold answer retrieval never surfaced; widening retrieval or fetching a new subgraph before re-querying is possible but left as future work.
  • Fixed the incomplete reference (Dwivedi and Bresson, "A Generalization of Transformer Networks to Graphs"; AAAI Workshop on Deep Learning on Graphs, 2021).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…