Chatbots that ground their replies in a knowledge graph (a database of facts stored as subject–relation–object links, such as Inception – directed by – Christopher Nolan) fail in two quiet ways. The first is that the user names things differently from the graph ("that Nolan dream movie" instead of Inception), so the system never finds the right entry point. The second is that the needed fact is simply missing from the graph, so a system that only emits facts it can find either stalls or makes something up. A third problem is usually handled separately: a single conversational turn has many good replies, and models that pick one "average" reply sound generic. We propose to treat all three with one object. The model treats which knowledge path the reply will use as a hidden choice it samples. The path runs from a soft guess at which entities the user means, through either real graph edges or edges inferred by logical rules from nearby facts, or ends in an explicit "no grounded fact available" option. Each sampled path gives a different reply, and each reply stays checkable against the graph.
The claim is that variety in conversation should come from variety in grounded content, and that the same hidden choice can absorb both naming mismatch and missing facts. The idea is trainable because of an observation from prior work: when the model is allowed to see the gold response during training, it becomes far better at choosing the knowledge that response used. Sequential Latent Knowledge Selection reports selection accuracy jumping from about 23% to about 78% when the response is used as a hint. For our setting, this means the gold reply tells the training procedure which colloquial phrase matched which entity, and which rule-inferred detour stood in for an absent edge. No annotation of either is needed.
Where this sits
Three lines of prior work each cover part of the problem. The first is latent-variable models for knowledge-grounded dialogue, which motivate our training recipe. CoLV couples a discrete knowledge-choice variable with a continuous style variable. KIV interpolates separate context and knowledge variables. ELVM treats generated search queries as hidden variables and trains them with sampled subsets and posterior distillation; we reuse that training method directly. All of these select over text passages that are assumed to contain the answer. None touches graph structure or missing facts, and KIV's deterministic variant weights knowledge by word overlap, which is exactly what naming mismatch breaks.
The second line is graph-grounded dialogue, which supplies our benchmarks and strongest competitors. DialKG Walker decodes an explicit walk over Freebase. SURGE retrieves a context-relevant subgraph with a graph network and shows that 87.4% of one-hop neighbors are noise. DialogGSR generates the subgraph as tokens under graph-constrained decoding. All three are deterministic about which knowledge they use. All three start from string-matched entities. The authors of DialogGSR note that it cannot produce knowledge absent from the graph, and Graph-constrained Reasoning shows the same trade-off in question answering: tight constraints block correct answers the model knows, and loose constraints bring back hallucination.
The third line is evidence about incompleteness, which both motivates and constrains the design. What Breaks Knowledge Graph based RAG? builds the BRINK benchmark by deleting triples implied by mined Horn rules. Horn rules here are if-then patterns over relations, such as "parent-of then child-of implies sibling-of". On the Family subset, hit rates fall from roughly 60–90% to 5–30% after deletion, and retrieval failures outnumber reasoning failures 7:3. GR-Agent recovers much of this in question answering by breadth-first search over relation patterns, reaching Hits@Any 0.77 on incomplete FB15k-237 against 0.36 for ToG. It does this per question, with high latency and exact relation matching, and it has no notion of dialogue or of multiple acceptable answers.
Our proposal does not build a better single-shot question answerer or a better passage selector. It places rule-inferred detours and soft entity anchoring inside the hidden variable of a dialogue generator, so that the reply signal teaches the model which detours and anchors conversation actually uses.
Core Claim
Let $x$ be the dialogue history, $y$ the reply, and $G$ the graph. Let $a$ be an anchor: a small set of entities the user plausibly means, scored by a dense matcher over entity names, aliases and descriptions rather than by string match. Let $\pi$ be a path drawn from $G$ extended with edges implied by rules mined on $G$ (each tagged as inferred), or the null path $\varnothing$. We train
$$\log p(y \mid x, G) \;\ge\; \mathbb{E}_{q(a,\pi \mid x, y, G)}\big[\log p(y \mid x, \pi)\big] \;-\; \mathrm{KL}\big(q(a,\pi \mid x,y,G)\,\|\,p(a,\pi \mid x,G)\big),$$
where $q$ is a posterior that sees the reply, $p$ is a prior that sees only the history, and the expectation is approximated over a sampled candidate set, following ELVM. At test time we sample $(a,\pi)$ from the prior and decode. Replies built on inferred edges or on $\varnothing$ are conditioned to hedge or ask rather than assert.
Because the hidden variable is an explicit, discrete path, the decoder cannot easily ignore it; it must copy entity names from the path. This sidesteps the collapse problem that makes continuous conversational latents degenerate into ordinary sequence-to-sequence models. We predict three things. On graphs with deleted facts and colloquially renamed mentions, factual consistency should degrade much less than for SURGE or DialogGSR. Diversity measured over verifiable replies should rise, whereas plain token sampling raises diversity mostly among unverifiable replies. The model should choose the null path at a calibrated rate when no bridge exists.
Research Program
We first build the evaluation, since no dialogue benchmark currently measures missing facts or naming mismatch together. Starting from OpenDialKG and KOMODIS, we mine Horn rules with AMIE3 as BRINK does. We then delete the gold-path triples that are rule-implied, creating turns whose fact is absent but recoverable. We separately delete triples with no rule support, creating turns whose fact is unrecoverable and where the correct behavior is to hedge. Independently, we rewrite entity mentions in the dialogue history into aliases, descriptions or colloquial references. To avoid rewriting artifacts, we use both an LLM rewriter and a smaller human-rewritten subset. Crossing these conditions gives four regimes: clean, mismatch-only, gap-only, and both.
The model has three components. The anchor scorer is a bi-encoder over entity names and descriptions. The path proposer enumerates short relation patterns from the anchor over the rule-extended graph, in the style of GR-Agent's explorer but precomputed per graph rather than searched per turn, so inference cost stays close to DialogGSR's. The generator is the same LLaMA-3-class backbone used by DialogGSR, conditioned on the linearized path. Posterior distillation trains the prior to imitate the reply-informed posterior.
Baselines
The naive reference is the same backbone fine-tuned on dialogue with no graph at all, decoded with nucleus sampling. It shows how much graph access buys, and how much of the apparent "grounding" in stronger systems is parametric memory, which is the memorization effect BRINK exposed.
SURGE is the strongest graph-network retriever. On OpenDialKG it reports KQA F1 57.63, BLEU-1 17.70, ROUGE-L 20.57 and retriever Hits@3 28.50 (SURGE). It matters here because it is the best-documented factual-consistency system on this data.
DialogGSR is the strongest existing method and the one most directly threatened by our regimes. It reports KQA exact match 4.61 and an 8.61% BLEU-1 improvement over the best prior baseline on OpenDialKG (DialogGSR). No reported result was found on Lacuna for SURGE or DialogGSR on graphs with deleted facts or renamed mentions, nor any KOMODIS-specific numbers. We will therefore rerun both from released code on all four regimes.
Every system gets the same backbone size where applicable, the same training dialogues, the same graph including any rule-extended edges offered to it, and an equal hyperparameter search budget. Beating DialogGSR means three things. First, matching its clean-regime KQA and BLEU within noise. Second, achieving higher KQA F1 in the gap and mismatch regimes. Third, producing more distinct verifiable replies per context at equal or better KQA.
A GR-Agent-style adapted baseline runs its breadth-first path search per turn and passes the found path to the same generator. This isolates whether learning the path choice from replies beats searching for it at test time.
Four ablations isolate the key ingredients. The first removes inferred edges; this is the gap ingredient. The second replaces the dense anchor with string matching; this is the mismatch ingredient. The third removes the null path; this is the honesty ingredient. The fourth trains the prior alone without the reply-informed posterior; this tests the "response as a hint" mechanism.
Why not just…?
Why not just complete the graph with a link predictor first and run DialogGSR on the filled graph? This is the most serious threat, and we treat it as a head-to-head baseline rather than dismissing it. Completion predicts triples without seeing the conversation, so it adds edges that are plausible but conversationally irrelevant, and SURGE's 87.4% noise figure suggests irrelevant edges already dominate. Completion also does nothing about naming mismatch. If DialogGSR plus completion (same rule miner plus an embedding link predictor) matches our gap-regime KQA, the gap half of our claim fails. In that case we will report the contribution as limited to anchoring and grounded diversity.
Why not just sample DialogGSR's decoder at higher temperature for diversity? Token-level sampling varies wording around one retrieved subgraph, so it cannot vary which fact is discussed without leaving the graph. We will measure this directly by counting distinct replies whose asserted triples all verify. The prediction is that temperature raises raw distinct-n but lowers the verified fraction, while path sampling raises both.
Why not just rewrite the user's utterance into canonical entity names with an LLM before retrieval, InteR-style? Iterative rewriting, as in InteR, gains over 8 MAP points on TREC DL'19. However, the source material notes that it drifts when the LLM invents pseudo-facts, and it commits to one rewrite. Graph lookup punishes a wrong canonical name completely. Our anchor keeps several candidates alive and lets the reply decide. We include a rewrite-then-DialogGSR baseline on the mismatch regime. If it matches us there, soft anchoring is unnecessary and we would drop it.
Proposed Experiments
The primary test is KQA F1 and exact match across the four regimes on OpenDialKG, with KOMODIS as a second graph. For the rule-supported gap regime, we also report the fraction of replies that correctly use an inferred detour. For the unsupported gap regime, we report hedge rate and the rate of confidently stated false triples. Human raters judge naturalness and whether hedges are appropriate.
Diversity is measured as distinct-2 alongside the count of verified distinct replies among ten samples. The decisive result would be threefold: our model matches DialogGSR on clean data, loses clearly less KQA F1 than both DialogGSR and DialogGSR-plus-completion when facts are removed and mentions renamed, and does so while producing more verified-distinct replies. If the completion baseline closes the gap, or if the prior-only ablation performs as well as the full model, the central mechanism is not doing the work, and we will say so.
References
- Sequential Latent Knowledge Selection for Knowledge-Grounded Dialogue
- CoLV: A Collaborative Latent Variable Model for Knowledge-Grounded Dialogue Generation
- Knowledge Interpolated Conditional Variational Auto-Encoder for Knowledge Grounded Dialogues
- Efficient Latent Variable Modeling for Knowledge-Grounded Dialogue Generation
- OpenDialKG: Explainable Conversational Reasoning with Attention-based Walks over Knowledge Graphs
- Knowledge-Consistent Dialogue Generation with Language Models and Knowledge Graphs
- Generative Subgraph Retrieval for Knowledge Graph-Grounded Dialog Generation
- Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models
- What Breaks Knowledge Graph based RAG? Empirical Insights into Reasoning under Incomplete Knowledge
- GR-Agent: Adaptive Graph Reasoning Agent under Incomplete Knowledge
- Synergistic Interplay between Search and Large Language Models for Information Retrieval