Graph Alignment Topology as an Inductive Bias for Grounding Detection

Paul Landes, Pranav Herur, Adam Cross, Jimeng SunarXiv 2026

TL;DR

Large Language Models (LLMs) are optimized for fluency, not factual grounding, often leading to plausible-sounding hallucinations. This paper introduces CALAMRFLOW, a method that treats grounding as a structural problem by representing reference text and LLM responses as semantic graphs and analyzing their alignment topology. By training a Graph Neural Network (GNN) on these aligned structures, the authors achieve state-of-the-art hallucination detection, outperforming foundational models like GPT-4o across diverse general and medical benchmarks.

What Problem Does This Paper Address?

The core issue is the "likelihood-based" nature of LLMs: they are trained to predict the most probable next token, which prioritizes fluency over factual accuracy. In high-stakes domains like clinical decision support, this leads to hallucinations—responses that look correct but aren't supported by the source evidence.

While existing methods like Retrieval-Augmented Generation (RAG) or self-consistency checks help, they often operate on raw text or simple claim triplets. They miss the deeper alignment topology—the complex web of semantic relationships between a source document and a generated response. The authors argue that "grounding" is fundamentally a structural property: if a response is truly grounded, its underlying semantic concepts should map coherently and robustly to the concepts in the reference text.

Methods

The authors propose a pipeline called CALAMRFLOW that moves beyond simple text matching:

  1. Semantic Graph Construction: Both the reference text and the LLM response are converted into Abstract Meaning Representation (AMR) graphs. Unlike standard dependency parses, AMR captures "who did what to whom," representing concepts as nodes and their relationships as edges.
  2. Bipartite Alignment: The system builds a bipartite graph connecting the reference nodes to the response nodes. Connections are weighted based on semantic similarity, neighborhood context, and a "max-flow" algorithm that estimates how well information "flows" from the source to the answer.
  3. Graph Neural Classifier: Instead of using a black-box LLM to judge the text, they use a lightweight Graph Neural Network (GNN). The GNN performs message passing over the aligned graph, allowing it to learn structural patterns of support and contradiction.
  4. Inductive Bias: By forcing the model to look at the topology of the alignment rather than just the words, the authors introduce a structural inductive bias that specifically targets grounding.
Figure 1: Overview of CALAMRFLOW on a MEDHALLU [27] dataset example. MEDHALLU denotes the reference evidence as knowledge and provides ground truth and hallucination responses. CALAMRFLOW constructs semantic graphs from the knowledge and candidate response, aligns the resulting reference–response graphs, weights the topology with flow-derived support features, and classifies the response as supported or unsupported.

Datasets

The model was evaluated on four diverse datasets to test its generalizability and domain-specific performance:

  • HaluEval: A large-scale general-domain hallucination benchmark.
  • MedHallu: A large clinical hallucination dataset where unsupported outputs are often fluent and difficult for non-experts to spot.
  • HDM-Bench: A controlled medical hallucination benchmark focusing on systematic perturbations.
  • PubMedQA: A biomedical question-answering dataset where the task is to determine if an answer is supported by a PubMed abstract.
Table 1: Label distribution for the processed evaluation datasets. The positive class is hallucinated or unsupported output (z = 1).

Key Insights and Ideas

  • Structure Over Surface: The most significant insight is that alignment topology is a powerful signal for truth. The GNN doesn't just threshold word similarity; it "reshapes" similarity distributions through message passing to identify structural inconsistencies that simple lexical overlap would miss.
  • Auditability: Because the method relies on explicit graph alignments, failures are auditable. A researcher can look at the graph and see exactly which concept in the response failed to align with the source, making it more transparent than "LLM-as-a-judge" approaches.
  • Sensitivity to Perturbation: Through "edge rewiring" experiments, the authors proved the model is sensitive to where connections are, not just how many there are. This confirms the model is truly learning from the semantic structure.

Key Results

CALAMRFLOW achieved state-of-the-art results, notably outperforming much larger foundational models:

  • MedHallu: Achieved an 89.2% Hallucination F1, surpassing GPT-4o (87.7%) and several versions of Qwen and Llama.
  • HaluEval: Reached a dominant 94.8% F1, significantly higher than the GPT-3.5 baseline (76.8% accuracy).
  • HDM-Bench: Improved the Hallucination F1 by 11.4 points over the previous best method (HDM-2).
  • PubMedQA: Exceeded the macro-F1 of a single-annotator human baseline, though it remained below aggregate human accuracy.
Table 2: Test-set performance across datasets. Values for CALAMRFLOW are reported as mean over 5 random seeds. Hallucination F1 (Halluc. F1) treats hallucinated or unsupported output as the positive class where applicable. The column N gives the test-set size for our evaluation. Highest performing model metrics are bolded.

Limitations and Future Work

  • Upstream Dependencies: The system's accuracy is capped by the quality of the AMR parsers and the initial semantic alignment. Errors in these early stages can propagate to the GNN.
  • Non-Monotonic Ablations: The authors noted that some "reconstructed" graphs could partially compensate for missing edges, suggesting the relationship between specific edges and the final decision is complex.
  • Clinical Deployment: While the results are promising for medical AI, the authors emphasize that real-world clinical use would require further prospective validation and human-in-the-loop review.
  • Future Directions: Integrating this structural bias directly into the LLM training process (rather than just as a post-hoc detector) could be a fruitful path for creating naturally more grounded models.

Summary updated

Abstract

Large Language Models (LLMs) are optimized to produce distributionally plausible continuations rather than to explicitly verify whether generated propositions are entailed by source documents. This inductive bias enables generalization, but it does not encode whether responses are grounded with respect to a reference. These issues limit the use of LLMs in domains where strict factual correctness is crucial, such as clinical decision support. Existing hallucination detection approaches improve factuality through retrieval augmentation, self-consistency, or claim verification, but generally do not learn directly over alignment topology. To leverage alignment topology as an inductive bias, we construct aligned bipartite graphs between reference information and LLM outputs and train a graph neural network (GNN) to model alignment structure using message passing. The method achieves state-of-the-art results on four diverse hallucination and question-answering datasets, outperforming all compared methods, including foundational LLMs such as GPT-4o.
BibTeX
@misc{landes2026graph,
  author = {Paul Landes and Pranav Herur and Adam Cross and Jimeng Sun},
  title = {{Graph Alignment Topology as an Inductive Bias for Grounding Detection}},
  year = {2026},
  eprint = {2605.22963},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.22963},
}
Figure