When the Knowledge Graph Has Holes: Debiased Link Prediction Against Safe Responses in Grounded Dialogue

Chatbots often fall back on bland replies such as "I don't know" or "Okay." This is the generic response bias, or safe response problem. The usual explanation puts the cause in the language model: trained to imitate human replies, it learns that vague phrases fit almost any context. One common remedy is to ground the bot in a knowledge graph, a database of facts stored as (head entity, relation, tail entity) triples, so that it has specific things to say. This note argues that grounding moves part of the problem upstream into the component that looks up facts, and it proposes to measure and fix that.

The lookup can fail in two ways. First, real knowledge graphs are incomplete. When the needed fact is missing, the system has nothing specific to say and falls back on a safe reply. Second, models that guess missing facts, called knowledge graph completion or link prediction models, are themselves biased toward "hub" entities that appear in many triples. That makes them the graph version of a safe token. We hypothesize that these two upstream failures cause a measurable share of generic and hub-heavy replies in knowledge-grounded dialogue. If so, a popularity-corrected link predictor placed inside the grounding step should cut generic replies without increasing invented facts. Decoder-side penalties trade one failure for the other.

Core Claim

In a knowledge-graph-grounded dialogue system, the generic response rate depends on two properties of what the retriever hands the decoder. The first is coverage: whether a correct, specific fact is present at all. The second is popularity skew: how concentrated the supplied entities are on high-degree hubs. We claim that closing graph gaps with a link predictor whose ranking is corrected for tail-relation degree lowers generic replies and raises long-tail factual mentions. We further claim it does so at a lower hallucination cost than penalizing frequent tokens in the decoder.

The claim builds on three lines of evidence that have not been joined. First, KRP-DS is the closest existing system. It explicitly targets safe replies in a BART dialogue model by predicting a relation sequence, walking a TransD-embedded graph, and feeding the selected triples to the decoder. It assumes the graph is complete along the walk, uses a translational embedding, and never measures how popular its retrieved entities are. Second, Toward Degree Bias in Embedding-Based Knowledge Graph Completion identifies tail-relation degree, meaning how often an entity appears as the tail of a given relation, as the main driver of link predictors' failures on rare facts. It fixes this with a data-augmentation method called KG-Mixup. Third, Popularity Agnostic Evaluation of Knowledge Graph Embeddings shows that headline scores hide this skew. Their FB15k Hits@10 for TransE and DistMult falls from about 0.85 to about 0.60 when evaluation is weighted toward rare entities. The first line motivates the dialogue question, and the second and third supply the debiasing method and the evaluation lens. Neither degree-bias paper ever looks at a dialogue decoder.

Research Program

We would build a grounding module that replaces KRP-DS's static traversal step. Given the dialogue history and a predicted relation $r$ for the current topic entity $h$, the module scores every candidate tail $t$ with a trained link predictor. This candidate set includes entities not linked to $h$ in the observed graph. The module then applies a popularity correction before passing the top candidates to the decoder:

$$s'(h,r,t) = s(h,r,t) - \beta \log\big(1 + d_r(t)\big)$$

Here $s$ is the link predictor's raw score, $d_r(t)$ is the number of training triples in which $t$ is the tail of relation $r$, and $\beta \ge 0$ controls how strongly hubs are discounted. We use a log discount because degree is power-law distributed, so a logarithm turns multiplicative popularity differences into additive score offsets. The link predictor is trained with KG-Mixup, and we compare a translational embedding (TransD, as in KRP-DS) with the more expressive SpaceE. SpaceE models relations as possibly singular matrices, so many different heads can map to the same tail without their embeddings collapsing to one point. This failure matters for many-to-one relations, which are common in dialogue graphs.

To limit hallucination, each supplied triple is marked as observed or predicted and carries its corrected score. The decoder is trained to mention a predicted fact only when the score clears a threshold tuned on validation data. This borrows the retrieve-then-constrain idea from EGIT, which ranks candidates proposed by an embedding model to stop language models from inventing entities in completion. EGIT never generates dialogue, and we carry its constraint into full-sentence replies.

The analysis is as important as the system. We will create controlled holes by deleting a fraction of the gold triples that dialogue turns depend on. We then measure how the generic response rate rises with the deletion rate under each grounding module. This turns the "upstream cause" claim into a dose-response curve rather than an anecdote.

Proposed Experiments

The main testbed is the kdconv travel domain, which has turn-level triple annotations over a graph of about 10,000 triples. It is the only dialogue benchmark in the file where a knowledge-graph-grounded system reports results. KRP-DS reports BLEU-4 of 32.09 and Distinct-2 of 2.71 on it, and we will rerun it under our splits. The other kdconv domains serve as a replication; no reported result was found on Lacuna for them.

The link predictor is validated separately on FB15k-237 and CoDEx-M, where degree bias has been documented. This ensures the popularity correction does not simply wreck overall accuracy. Known anchors there are SpaceE's FB15k-237 MRR of 0.351 and KG-Mixup's 9.8% MRR gain on low-degree triples for ConvE. WN18RR is excluded because the degree-bias paper reports it shows no significant tail-degree bias.

On the dialogue side we report six measures. The first is the generic response rate, judged by a fixed generic-phrase lexicon plus human annotation on a sample. The second is Distinct-2/3, which counts unique word pairs and triples as a diversity measure. The third is BLEU-4, which measures word overlap with the reference reply. Because The One to Many Mapping Problem in Dialogue Evaluation shows that overlap metrics punish valid alternative replies, BLEU-4 is reported but never decisive. The fourth is knowledge precision: the fraction of mentioned facts that are true in the full, undeleted graph. The fifth is hallucination rate: mentioned entities that are neither in the graph nor in the held-out triples. The sixth is a popularity-stratified knowledge recall that weights correct mentions by entity degree with a $\beta$ exponent, adapted from the stratified metrics of the popularity-agnostic evaluation paper.

Baselines

The naive reference point is BART fine-tuned on kdconv with no knowledge input, using the same decoding settings. It shows how generic the system is with no grounding at all.

The strongest existing system is KRP-DS, rerun with its TransD embeddings and static traversal on our splits and deletion conditions. Its reported BLEU-4 of 32.09 and Distinct-2 of 2.71 confirm that our reimplementation is faithful. We count the comparison as won only if our system lowers the generic response rate under deleted-edge conditions and raises stratified knowledge recall at equal or better knowledge precision. A gain in diversity alone does not count.

The strongest decoder-side competitor is KRP-DS's pipeline with its decoder trained using CEM's frequency-aware cross-entropy, a loss that down-weights frequent tokens. A second decoder-side variant uses the unlikelihood objective from Triplet-Free Knowledge-Guided Response Generation, which directly penalizes generic outputs. Both get the same decoder size, the same number of training steps, and the same hyperparameter search budget as our system.

Three ablations isolate the key ingredient. The first swaps SpaceE in for TransD with no completion and no popularity correction. The second adds completion with $\beta = 0$, testing whether filling gaps suffices without debiasing. The third adds debiasing to completion but drops the observed/predicted marking and threshold. We also include an offline arm that densifies the whole graph once with the same debiased predictor before training, rather than completing at query time.

Why not just…?

Why not just penalize frequent tokens in the decoder? This is the most natural fix, and CEM reports that frequency-aware loss gives the best Distinct-2 (2.99) on EMPATHETICDIALOGUES. But that loss pushes the decoder toward rare words whether or not a supporting fact exists. The file flags the resulting specificity-versus-hallucination tension as open. Our frequency-penalty baselines measure this directly. If they match our generic rate at equal hallucination rate and knowledge precision, the upstream thesis is wrong for this setting, and we would report that.

Why not just prompt a large language model with the graph or with text passages? EGIT reports that a prompted model (KICGPT) reaches only 0.564 MRR on WN18RR against 0.674 with structural guidance. RSF-GLLM argues that text retrieval fails when the intermediate entities on a multi-hop path share no words with the query. Even so, a prompted model with the observed triples is cheap. We include it under the deletion conditions to test whether its parametric knowledge fills holes reliably or invents fillers.

Why not just complete the graph offline once? This is a real threat, because offline densification is simpler and may capture most of the benefit. We therefore run it as a full arm with the same predictor and correction. If it matches query-time completion, we will adopt it and frame the contribution as the diagnosis plus popularity correction, not the query-time mechanism.

Why not just use a better embedding? The SpaceE-only ablation answers this. If expressiveness alone, without completion or debiasing, removes the hub skew and the holes-driven generic replies, the degree-bias component is unnecessary.

Decisive Checks

The first check is the deletion dose-response curve. If the generic response rate of KRP-DS and plain BART does not rise as gold triples are removed, retriever coverage is not a cause of safe replies, and the proposal fails at its premise.

The second check is an intervention on retriever popularity with coverage held fixed. We feed the decoder hub-skewed versus long-tail correct candidates and test whether the skew alone shifts reply genericness and entity popularity.

The third check is the trade-off frontier. Plotting generic rate against hallucination rate across $\beta$ and the frequency-penalty strength, the debiased-completion system must lie strictly below the decoder-penalty curve. That is, it must produce fewer generic replies at every hallucination level.

The fourth check is on FB15k-237 and CoDEx-M. Overall MRR must stay near the uncorrected predictor while low-degree MRR improves; otherwise the correction is only trading accuracy for diversity.