alphaFeedback

WorksComputer Science

From Local Recovery to Unified Generation: Discovering Triple Set in Knowledge Graphs via Observation-Anchored Latent Diffusion

AI contributions
Not recorded for this paper
View details

Abstract

Triple set prediction (TSP) is to recover missing relational triples in a knowledge graph by predicting the triple set instead of isolated links. Existing approaches predominantly rely on the subgraph-based completion paradigm, where the original graph is first partitioned into local subgraphs which are then independently completed. Such a paradigm suffers from fragmented structural reasoning, limited cross subgraph dependency modeling, and missing predictions across subgraphs. This paper proposes LatentDiff, a novel unified latent generative framework for TSP, which reformulates knowledge graph completion as latent space graph generation. LatentDiff first learns a compact latent representation using a relation-aware residual-quantized knowledge graph autoencoder, which encodes the whole graph into relation-aware latent embeddings, quantizes them with chunked residual codebooks, and reconstructs triples through a factorized decoder. On top of this latent space, we introduce an observation-anchored latent graph diffusion model, where the target latent graph representation is perturbed toward the observed latent. The reverse process recovers missing triples through progressive latent denoising. Experiments on three benchmark datasets show that LatentDiff outperforms the SOTA in terms of F_{tsp} by 5.4 percentage points on average. Code: https://anonymous.4open.science/r/LKGDiff-44A5.

CCS Concepts

• Computing methodologies → Knowledge representation and reasoning; Semantic networks; Reasoning about belief and knowledge.

Introduction

Knowledge Graphs (KGs) have become fundamental infrastructures for a wide range of intelligent applications [14, 35, 39], including recommendation systems [20], question answering [16, 25], information retrieval [18, 23], and scientific discovery [8, 11, 46]. Despite their broad applicability, real-world KGs are inherently incomplete, motivating extensive research on knowledge graph completion (KGC) [10, 43]. Traditional KGC methods mainly focus on predicting missing links independently through embedding-based scoring functions [2, 3, 24, 45] or graph neural reasoning mechanisms [7, 51]. However, in many scenarios, the goal is not to predict a single missing triple, but to recover a set of missing triples that complete the

observed graph [50]. Thus, Triple Set Prediction (TSP) has recently emerged as a promising direction that achieves KG completion by predicting an entire set of missing triples conditioned on the observed graph [17, 49]. Compared with conventional link prediction [5, 6], TSP emphasizes structured generation and holistic graph completion. TSP can also be formulated as conditional graph generation, a perspective explored by DiffTSP [17].

Existing TSP methods predominantly follow a subgraph-based completion paradigm. As illustrated in Figure 1(a), these approaches first partition the original knowledge graph into local subgraphs and then perform completion in each subgraph [17, 50]. While such a paradigm reduces computational complexity and improves local reasoning capability, this computational simplification can limit candidate coverage and access to cross-subgraph context. First, as shown in Figure 1, it breaks cross-subgraph dependencies, so that a target relation such as the connection between nodes 2 and 3 cannot be recovered by any isolated local completion model. Second, partitioning may discard boundary context. For example, removing the edge between nodes 2 and 1 makes node 2 locally ambiguous and leads to a spurious prediction between nodes 2 and 4. More broadly, independently completed subgraphs lack a unified global latent space, which weakens graph-level semantic coordination and can yield missing or inconsistent predictions after merging. These limitations motivate a central question: can we recover missing triples across the whole knowledge graph without restricting prediction to subgraphs, while keeping generation computationally manageable? Directly generating a dense multi-relational adjacency remains costly, as its size grows quadratically with the number of entities and linearly with the number of relation types. Our key idea is to compress the state on which generation operates, rather than restrict the prediction domain through graph partitioning. To this end, we propose unified latent generation. As illustrated in Figure 1(b), this paradigm performs graph completion in a compact latent space, allowing triples to be generated without requiring their endpoints to co-occur in a local subgraph.

Comparison between subgraph-based completion paradigm and our unified latent generation paradigm

Figure 1. Comparison between subgraph-based completion paradigm and our unified latent generation paradigm.

While unified latent modeling avoids the structural fragmentation caused by graph partitioning, recovering the target KG still requires transforming the observed representation into the target one. To instantiate this paradigm, we use conditional latent diffusion to learn recovery from perturbed target representations in TSP. Diffusion performs generation through iterative refinement [1, 30, 31], which is suitable for TSP because missing triples are structurally correlated. The denoising process progressively refines the latent graph representation and adjusts correlated relational patterns among triples [15, 38]. However, there are two challenges in applying a generic latent diffusion model to TSP. First, a straightforward VQ-VAE [40] is not sufficient for TSP since KGs are sparse and multi-relational [9, 32, 47], while standard VQ-VAE is not designed to preserve relational adjacency patterns. Second, standard diffusion [19] is not ideal for TSP since the observed KG already provides a strong structural anchor. Standard diffusion gradually perturbs the latent representation toward an isotropic Gaussian prior, which may unnecessarily destroy the structural information already contained in the observed graph.

To address these challenges, we propose LatentDiff, a unified conditional latent generative model for TSP. For the first challenge, we propose a relation-aware residual-quantized knowledge graph autoencoder. Its encoder constructs latent embeddings from relational adjacency and uses relational view attention to capture dependencies among different relational contexts. To improve the expressiveness of latent space, we use chunked residual vector quantization, which decomposes each latent vector into multiple chunks and quantizes them through multi-level residual vector quantization progressively to enhance reconstruction capacity. Finally, a factorized triple decoder injects relational reasoning bias into KG reconstruction.

For the second challenge, we develop an observation-anchored latent graph diffusion module. Building upon the mean-reverting diffusion principle, its forward process gradually perturbs the target latent representation toward the observed latent. The reverse process is parameterized by a dual-view latent graph denoiser, which captures dependencies along both the relation and entity axes and progressively reconstructs the missing relational information. Our main contributions include: (1) We formulate knowledge graph triple set prediction as a unified conditional latent generation problem, avoiding the candidate space and contextual restrictions induced by subgraph partitioning. (2) We propose a relation-aware residual-quantized knowledge graph autoencoder to construct a compact shared latent space for reconstructing relation-specific adjacency patterns. (3) We introduce an observation-anchored latent graph diffusion model that combines a mean-reverting diffusion process with a dual-view latent graph denoiser to progressively recover missing relational information in the latent space. (4) Extensive experiments demonstrate that our method outperforms state-of-the-art baselines across multiple datasets.

Related Work

Triple Set Prediction

Triple set prediction extends conventional KGC from predicting individual triples to recovering a set of missing triples from an observed KG and provides a more comprehensive setting for automatic KGC. Recent studies address this task from various angles: GPHT [50] introduces dedicated evaluation protocols and metrics for this task, LLM TSP [49] and SMuRT [48] leverage an LLM to generate the triple set, and DiffTSP [17] designs a discrete diffusion model for TSP. To make set-level prediction tractable on KGs, existing models often decompose the original graph into smaller subgraphs and perform local subgraph prediction. However, subgraph partitioning suffers from separating target entities and fragmenting the relational evidence required to predict the connecting triples.

Diffusion Models for Graphs

Diffusion models have demonstrated remarkable success in continuous domains such as image synthesis [26, 29, 36, 44] and sequential generation [34]. Several recent works [21, 33, 42, 53] attempt to extend diffusion models to graphs by performing iterative denoising over graph structures or learned representations [21, 42]. Recent studies further perform diffusion in compact latent spaces. LGD [53] develops an encoder decoder latent diffusion framework for graph generation and prediction, while HypDiff [12] incorporates geometry-aware latent diffusion to better preserve graph topology. These studies mostly focus on generic graph generation or prediction. Triple set prediction instead requires recovering missing relational facts from an observed multi-relational graph, where the latent space must preserve relation-specific structures while supporting conditional graph completion. Different from these studies, we focus on conditional triple set recovery in multi-relational KGs. Beyond graph generation, diffusion models have also been explored for knowledge graph completion. For example, some methods use diffusion to learn triple embeddings for KGC [27, 28], while others use diffusion as the hard negative samples generator [22]. However, these methods primarily evaluate link prediction, whereas TSP requires selecting a set of missing triples from the candidate space defined by the observed KG.

Problem Definition

Formally, a knowledge graph is usually represented as G=(E,R,T)\mathcal{G} = (\mathcal{E}, \mathcal{R}, \mathcal{T}), where E\mathcal{E} and R\mathcal{R} denote the entity set and relation set, respectively, and T⊆E×R×E\mathcal{T} \subseteq\mathcal{E} \times\mathcal{R} \times\mathcal{E} is the set of factual triples. Each triple (h,r,t)∈T(h,r,t) \in\mathcal{T} describes a relation rr from a head entity hh to a tail entity tt. In TSP, we are given an observed incomplete knowledge graph Gobs=(E,R,Tobs)\mathcal{G}_{\mathrm{obs}} = (\mathcal{E}, \mathcal{R}, \mathcal{T}_{\mathrm{obs}}), where Tobs\mathcal{T}_{\mathrm{obs}} is a subset of the triples in the target graph. The goal is to recover a set of missing triples Tmiss=Ttar∖Tobs\mathcal{T}_{\mathrm{miss}} = \mathcal{T}_{\mathrm{tar}} \setminus\mathcal{T}_{\mathrm{obs}}, where Gtar=(E,R,Ttar)\mathcal{G}_{\mathrm{tar}} = (\mathcal{E}, \mathcal{R}, \mathcal{T}_{\mathrm{tar}}) denotes the target KG. The predicted KG can then be written as

G^pred=(E,R,T^obs∪T^miss),(1)\widehat{\mathcal{G}}_{\mathrm{pred}} = \left(\mathcal{E},\mathcal{R},\widehat{\mathcal{T}}_{\mathrm{obs}} \cup\widehat{\mathcal{T}}_{\mathrm{miss}}\right), \tag*{(1)}

where T^miss\widehat{\mathcal{T}}_{\mathrm{miss}} is the predicted missing triple set. The learning objective is to generate a triple set T^miss\widehat{\mathcal{T}}_{\mathrm{miss}} that approximates the ground-truth missing set Tmiss\mathcal{T}_{\mathrm{miss}}. During inference, the predicted triples that already appear in Tobs\mathcal{T}_{\mathrm{obs}} are filtered out, and the final output is evaluated against the missing set.

Method

Overview

As illustrated in Figure 2, LatentDiff is a two-stage framework that first learns a compact KG latent space and then performs conditional generation within it. In Stage I, a relation-aware residual-quantized knowledge graph autoencoder (details in § 3.2), consisting of a relation-aware graph encoder, a chunked residual vector quantizer, and a factorized triple decoder, maps a KG to Z∈R∣E∣×∣R∣×dZ \in\mathbb{R}^{|\mathcal{E}|\times|\mathcal{R}|\times d}, where each embedding zh,rz_{h,r} represents a head-relation context for reconstructing its tail entities. In Stage II, an observation-anchored latent graph diffusion model generates the target latent conditioned on the observed latent (details in § 3.3). The forward corruption uses the observed representation as its mean-reversion reference, and iterative latent recovery produces a continuous estimate for triple decoding.

Overview of LatentDiff architecture

Figure 2. Overview of LatentDiff. Stage I learns a relation-aware residual-quantized latent space for KG reconstruction. Stage II performs observation-anchored latent diffusion to recover the target KG from the observed KG.

Relation-aware Residual-Quantized KG AutoEncoder

The goal of LatentDiff’s first stage (Stage I) is to learn a compact and reconstructive latent space for KGs. To better preserve relation-specific adjacency patterns, we design a relation-aware residual-quantized KG autoencoder.

Variable-Density KG Construction

Stage I is trained as an autoencoder, where the input graph itself serves as the reconstruction target. To expose the autoencoder to KGs with different sparsity levels, we randomly sparsify the training graph at each iteration. For each training iteration, we sample a ratio ρ∼U(0,1)\rho\sim\mathcal{U}(0,1), and construct a masked KG Gρ=(E,R,Tρ)\mathcal{G}_{\rho}=(\mathcal{E},\mathcal{R},\mathcal{T}_{\rho}) by independently keeping each positive triple in the training graph with probability ρ\rho. The autoencoder takes Gρ\mathcal{G}_{\rho} as input and is trained to reconstruct the input.

Relation-aware Graph Encoder

For each head entity hh and relation rr, we define a tail indicator vector ah,r∈{0,1}∣E∣a_{h,r}\in\{0,1\}^{|\mathcal{E}|}, where the tt-th entry is 1 if (h,r,t)(h,r,t) is in the KG and 0 otherwise. The relation-aware graph encoder maps each sparse tail indicator vector into a dense latent embedding: xh,r=Waah,rx_{h,r}=W_a a_{h,r}, where WaW_a is a projection matrix. For each head entity hh, we collect its relation-specific latent as XhX_h:

Xh=[xh,1,xh,2,…,xh,∣R∣].(2)X_h = [x_{h,1},x_{h,2},\ldots,x_{h,|\mathcal{R}|}]. \tag*{(2)}

To model dependencies among different relational views, we propose relational view attention:

X~h=Attn⁡R(Xh),(3)\widetilde{X}_h=\operatorname{Attn}_{R}(X_h), \tag*{(3)}

where attention is performed along the relation dimension. The output is combined with the original projected representation through a residual connection: Xh=Xh+X~hX_h=X_h+\widetilde{X}_h. Stacking all head entities gives the encoder output X=Eϕ(Gρ)∈R∣E∣×∣R∣×dX=E_{\phi}(\mathcal{G}_{\rho})\in\mathbb{R}^{|\mathcal{E}|\times|\mathcal{R}|\times d}, where EϕE_{\phi} is the encoder.

Chunked Residual Vector Quantization

The continuous encoder output is further discretized by a chunked residual vector quantizer. Specifically, we decompose each latent embedding into KK chunks: xh,r=[xh,r(1),xh,r(2),…,xh,r(K)]x_{h,r}=[x_{h,r}^{(1)},x_{h,r}^{(2)},\ldots,x_{h,r}^{(K)}]. For each chunk, we apply residual vector quantization with LcL_c codebooks. Let r(k,1)=xh,r(k)r^{(k,1)}=x_{h,r}^{(k)} be the initial residual of the kk-th chunk. At the ℓ\ell-th residual quantization level, the nearest codeword is selected as

c(k,ℓ)=arg min⁡j∥r(k,ℓ)−ej(k,ℓ)∥22,(4)c^{(k,\ell)}=\underset{j}{\operatorname{arg\,min}}\left\|r^{(k,\ell)}-e_j^{(k,\ell)}\right\|_2^2, \tag*{(4)}

where ej(k,ℓ)e_j^{(k,\ell)} is the jj-th codeword in the ℓ\ell-th codebook of the kk-th chunk. The residual is then updated by

r(k,ℓ+1)=r(k,ℓ)−ec(k,ℓ)(k,ℓ).(5)r^{(k,\ell+1)}=r^{(k,\ell)}-e_{c^{(k,\ell)}}^{(k,\ell)}. \tag*{(5)}

The quantized representation of the kk-th chunk is

qh,r(k)=∑ℓ=1Lcec(k,ℓ)(k,ℓ).(6)q_{h,r}^{(k)}=\sum_{\ell=1}^{L_c}e_{c^{(k,\ell)}}^{(k,\ell)}. \tag*{(6)}

Finally, the quantized latent embedding is obtained by concatenating all quantized chunks: zq,h,r=[qh,r(1),qh,r(2),…,qh,r(K)]z_{q,h,r}=[q_{h,r}^{(1)},q_{h,r}^{(2)},\ldots,q_{h,r}^{(K)}]. We adopt the straight-through estimator for the non-differentiable nearest-neighbor assignment:

zh,r=xh,r+sg⁡(zq,h,r−xh,r),(7)z_{h,r}=x_{h,r}+\operatorname{sg}(z_{q,h,r}-x_{h,r}), \tag*{(7)}

which equals zq,h,rz_{q,h,r} in the forward pass while propagating gradients to xh,rx_{h,r} in the backward pass. zh,rz_{h,r} is used as the decoder input and sg⁡(⋅)\operatorname{sg}(\cdot) is the stop-gradient operator. The chunk-level VQ training objective is

LVQ=1∣Ω∣∑(h,r)∈Ω∑k=1K[∥sg⁡(xh,r(k))−qh,r(k)∥22+λm∥xh,r(k)−sg⁡(qh,r(k))∥22],(8)\mathcal{L}_{\mathrm{VQ}}=\frac{1}{|\Omega|}\sum_{(h,r)\in\Omega}\sum_{k=1}^{K}\left[\left\|\operatorname{sg}(x_{h,r}^{(k)})-q_{h,r}^{(k)}\right\|_2^2+\lambda_m\left\|x_{h,r}^{(k)}-\operatorname{sg}(q_{h,r}^{(k)})\right\|_2^2\right], \tag*{(8)}

where Ω\Omega denotes the set of head-relation pairs, KK is the number of chunks, and λm\lambda_m is the commitment weight.

Factorized Triple Decoder

The decoder reconstructs triples from the quantized latent embeddings. For a triple (h,r,t)(h,r,t), the factorized scoring function is defined as

s(h,r,t)=⟨U(zh,r),et⟩+br,(9)s(h,r,t)=\langle U(z_{h,r}),e_t\rangle+b_r, \tag*{(9)}

where zh,rz_{h,r} is the quantized latent representation of the head-relation pair (h,r)(h,r), ete_t is the tail entity embedding, U(⋅)U(\cdot) is the projection function, and brb_r is relation bias. The probability of a triple being positive is then p(h,r,t)=σ(s(h,r,t))p(h,r,t)=\sigma(s(h,r,t)).

Training Objective

We train the relation-aware residual-quantized KG autoencoder with negative sampling. For each positive triple (h,r,t)∈Tρ(h,r,t)\in\mathcal{T}_{\rho}, we sample KnegK_{\mathrm{neg}} negative triples by corrupting the tail entity:

N(h,r)={(h,r,tˉi)}i=1Kneg,(h,r,tˉi)∉Tρ.(10)\mathcal{N}(h,r)=\left\{(h,r,\bar{t}_i)\right\}_{i=1}^{K_{\mathrm{neg}}},\qquad(h,r,\bar{t}_i)\notin\mathcal{T}_{\rho}. \tag*{(10)}

The reconstruction loss is

Lrec=−∑(h,r,t)∈Tρlog⁡σ(s(h,r,t))−λneg∑(h,r,t−)∈Nlog⁡σ(−s(h,r,t−)).(11)\mathcal{L}_{\mathrm{rec}}=-\sum_{(h,r,t)\in\mathcal{T}_{\rho}}\log\sigma(s(h,r,t)) -\lambda_{\mathrm{neg}}\sum_{(h,r,t^-)\in\mathcal{N}}\log\sigma(-s(h,r,t^-)). \tag*{(11)}

The overall Stage-I objective is

LAE=Lrec+λVQLVQ.(12)\mathcal{L}_{\mathrm{AE}}=\mathcal{L}_{\mathrm{rec}}+\lambda_{\mathrm{VQ}}\mathcal{L}_{\mathrm{VQ}}. \tag*{(12)}

Here, Lrec\mathcal{L}_{\mathrm{rec}} encourages the quantized latent to preserve information needed for triple reconstruction, while LVQ\mathcal{L}_{\mathrm{VQ}} aligns the continuous encoder outputs with the discrete residual codebook space.

Reconstruction Fidelity Metrics. We report reconstruction recall (RecRecall\mathit{RecRecall}), precision (RecPrecision\mathit{RecPrecision}), and their harmonic mean (RF1\mathit{RF1}) as diagnostics of how faithfully the learned latent space reconstructs input triples. Detailed definitions are provided in the Appendix.

Observation-Anchored Latent Graph Diffusion

After the knowledge graph autoencoder is trained, we use it to map both observed and target KGs into the latent space. The second stage (Stage II) of LatentDiff is to learn a conditional diffusion model pθ(Z0∣Zobs)p_{\theta}(Z_0 \mid Z_{\mathrm{obs}}), where ZobsZ_{\mathrm{obs}} is the latent representation of the observed KG and Z0Z_0 is the latent representation of the target KG.

Latent Priors Construction

During Stage-II training, we construct paired observed-target KGs from the training graph. Specifically, we sample ρtar∼U(ρmin⁡,1.0)\rho_{\mathrm{tar}} \sim U(\rho_{\min}, 1.0) and retain each training triple with probability ρtar\rho_{\mathrm{tar}} to construct GtarG_{\mathrm{tar}}. Then, we obtain GobsG_{\mathrm{obs}} by retaining each triple in GtarG_{\mathrm{tar}} with probability ρobs\rho_{\mathrm{obs}}, ensuring Tobs⊆Ttar⊆Ttrain\mathcal{T}_{\mathrm{obs}} \subseteq\mathcal{T}_{\mathrm{tar}} \subseteq\mathcal{T}_{\mathrm{train}}. With the trained encoder and quantizer in Stage I, we have

Zobs=Qϕ(Eϕ(Gobs)),Z0=Qϕ(Eϕ(Gtar)),(13)Z_{\mathrm{obs}}=Q_{\phi}(E_{\phi}(G_{\mathrm{obs}})),\qquad Z_0=Q_{\phi}(E_{\phi}(G_{\mathrm{tar}})), \tag*{(13)}

where EϕE_{\phi} is the relation-aware graph encoder and QϕQ_{\phi} is the chunked residual quantizer. The autoencoder parameters are frozen during diffusion training.

Mean-Reverting Forward Process

Standard diffusion models perturb data toward an unconditional Gaussian prior. However, for TSP, the observed graph already provides a strong structural anchor. Therefore, we adopt a mean-reverting forward process following prior restoration diffusion models [30] and specialize its endpoint and conditioning structure for TSP. Let Z0Z_0 denote the clean latent representation of the target KG and ZobsZ_{\mathrm{obs}} denote the latent representation of the observed KG. We define a linear variance schedule {βs}s=1S\{\beta_s\}_{s=1}^{S}, where SS is the total number of diffusion steps. Following DDPM, we set

αs=1−βs,αˉs=∏i=1sαi.(14)\alpha_s=1-\beta_s,\qquad\bar{\alpha}_s=\prod_{i=1}^{s}\alpha_i. \tag*{(14)}

Here, αˉs\bar{\alpha}_s controls the signal-to-noise ratio at diffusion step ss. The mean-reverting forward process is defined as

q(Zs∣Z0,Zobs)=N(Zobs+αˉs(Z0−Zobs),(1−αˉs)I).(15)q(Z_s\mid Z_0,Z_{\mathrm{obs}})=\mathcal{N}\left(Z_{\mathrm{obs}}+\sqrt{\bar{\alpha}_s}(Z_0-Z_{\mathrm{obs}}),(1-\bar{\alpha}_s)I\right). \tag*{(15)}

When ss is small, αˉs\bar{\alpha}_s is close to 1, and the noisy latent remains close to the target latent. When ss approaches SS, αˉs\bar{\alpha}_s becomes close to 0, and the noisy latent is mainly centered around the observed-graph latent with Gaussian noise. Equivalently, by defining the missing-information residual Δ0=Z0−Zobs\Delta_0=Z_0-Z_{\mathrm{obs}} and Δs=Zs−Zobs\Delta_s=Z_s-Z_{\mathrm{obs}}, Eq. 15 reduces to the standard DDPM marginal q(Δs∣Δ0)=N(αˉsΔ0,(1−αˉs)I)q(\Delta_s\mid\Delta_0)=\mathcal{N}(\sqrt{\bar{\alpha}_s}\Delta_0,(1-\bar{\alpha}_s)I). Therefore, observation-anchored diffusion acts as powerful residual denoising in the latent representation. We instantiate mean-reverting diffusion on the proposed relation-aware latent space and couple it with observation conditioning and dual-view denoising for TSP.

Dual-view Latent Graph Denoiser

The denoising network predicts the clean target latent from the noisy latent ZsZ_s, the observed-graph latent ZobsZ_{\mathrm{obs}}, and the diffusion step ss:

Z^0=WoutDLGD⁡L(FiLM⁡s(Win[Zs;Zobs])).(16)\widehat{Z}_0 = W_{\mathrm{out}} \operatorname{DLGD}_L\left(\operatorname{FiLM}_s\left(W_{\mathrm{in}}[Z_s; Z_{\mathrm{obs}}]\right)\right). \tag*{(16)}

Here, [⋅;⋅][\cdot;\cdot] denotes feature-wise concatenation, WinW_{\mathrm{in}} and WoutW_{\mathrm{out}} are learnable input and output projections, respectively, and DLGD⁡L\operatorname{DLGD}_L denotes a stack of LL Dual-view Latent Graph Denoiser (DLGD) blocks. The diffusion step is incorporated through FiLM conditioning, i.e., FiLM⁡s(⋅)\operatorname{FiLM}_s(\cdot). To efficiently capture dependencies along both the relation and entity axes, each block performs a dual-view linear attention:

HR=H+LinAttn⁡R(LN⁡(H)),HN=HR+LinAttn⁡N(LN⁡(HR)),Hout=HN+FFN⁡(LN⁡(HN)).(17)\begin{aligned} H_R &= H + \operatorname{LinAttn}_R(\operatorname{LN}(H)),\\ H_N &= H_R + \operatorname{LinAttn}_N(\operatorname{LN}(H_R)),\\ H^{\mathrm{out}} &= H_N + \operatorname{FFN}(\operatorname{LN}(H_N)). \tag*{(17)} \end{aligned}

Here, HH and HoutH^{\mathrm{out}} are the block input and output, while HRH_R and HNH_N are intermediate representations after relation-wise and node-wise linear attention, respectively. LN denotes layer normalization and FFN denotes a feed-forward network. Specifically, LinAttn⁡R\operatorname{LinAttn}_R exchanges information across relations associated with the same head entity, whereas LinAttn⁡N\operatorname{LinAttn}_N aggregates information across head entities under the same relation. Their combination enables efficient dual-view dependency modeling over the unified latent representation.

Diffusion Training Objective

During training, we randomly sample a diffusion step s∼Uniform⁡({1,…,S})s \sim\operatorname{Uniform}(\{1,\ldots,S\}) and Gaussian noise ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I). The noisy latent ZsZ_s is constructed by the mean-reverting forward process. The denoiser is trained to predict the clean target latent Z0Z_0:

Ldiff=Es,ϵ[∥fθ(Zs,Zobs,s)−Z0∥22].(18)\mathcal{L}_{\mathrm{diff}} = \mathbb{E}_{s,\epsilon}\left[\left\|f_\theta(Z_s,Z_{\mathrm{obs}},s)-Z_0\right\|_2^2\right]. \tag*{(18)}

Inference and Triple Set Decoding

At inference, the observed KG GobsG_{\mathrm{obs}} is encoded into ZobsZ_{\mathrm{obs}}. Since αˉS≈0\bar{\alpha}_S \approx0, we initialize ZS=Zobs+ϵZ_S = Z_{\mathrm{obs}} + \epsilon, where ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I). At each reverse step s=S,…,1s=S,\ldots,1, the denoiser predicts Z^0=fθ(Zs,Zobs,s)\widehat{Z}_0=f_\theta(Z_s,Z_{\mathrm{obs}},s), followed by DDPM sampling:

μs=Zobs+αˉs−1βs1−αˉs(Z^0−Zobs)+αs(1−αˉs−1)1−αˉs(Zs−Zobs).\mu_s = Z_{\mathrm{obs}} + \frac{\sqrt{\bar{\alpha}_{s-1}}\beta_s}{1-\bar{\alpha}_s}(\widehat{Z}_0-Z_{\mathrm{obs}}) + \frac{\sqrt{\alpha_s}(1-\bar{\alpha}_{s-1})}{1-\bar{\alpha}_s}(Z_s-Z_{\mathrm{obs}}).
Zs−1=μs+I[s>1]β~sξ,ξ∼N(0,I),(19)Z_{s-1} = \mu_s + \mathbb{I}[s>1]\sqrt{\widetilde{\beta}_s}\xi,\qquad\xi\sim\mathcal{N}(0,I), \tag*{(19)}

where β~s=βs(1−αˉs−1)/(1−αˉs)\widetilde{\beta}_s=\beta_s(1-\bar{\alpha}_{s-1})/(1-\bar{\alpha}_s) is the posterior variance, and I[s>1]\mathbb{I}[s>1] removes the stochastic noise at the final reverse step. After the final reverse step, we obtain the generated latent Z^0\widehat{Z}_0. We decode this representation without an additional quantization step. Since the factorized decoder operates on latent vectors instead of discrete code indices, it maps Z^0\widehat{Z}_0 to candidate triple scores as:

s(h,r,t)=⟨U(z^0,h,r),et⟩+br.(20)s(h,r,t)=\langle U(\widehat{z}_{0,h,r}),e_t\rangle+b_r. \tag*{(20)}

Triples already contained in TobsT_{\mathrm{obs}} are filtered out. Following the standard TSP evaluation protocol, a single validation-selected score threshold is applied to the remaining candidates to obtain the final predicted missing triple set T^miss\widehat{T}_{\mathrm{miss}}. The same threshold-selection procedure is applied to all compared methods to ensure a consistent evaluation.

Method Details. Detailed dual-view linear attention and complexity analysis are provided in the Appendix.

Experiments

Experimental Setup

Datasets

We evaluate our method on three common benchmark datasets for TSP: Wiki79k, Wiki143k, and CFamily. Table 1 lists the entity, relation, and triple counts for each dataset. We strictly use the original data partitions and definitions provided by GPHT [50], which guarantees that our results are comparable with existing methods.

DatasetsEntityRelationTrainValidTest
Wiki79k7,9838557,0336,33715,843
Wiki143k13,928109103,41511,49028,727
CFamily2,3781216,5491,8394,598

Table 1. Statistics of datasets in experiments.

Evaluation Metrics

To ensure a fair and comprehensive comparison, we adopt the evaluation metrics proposed for the TSP task in GPHT [50], including Joint Precision (JPrecisionJPrecision), Square-root Test Recall (STRecallSTRecall), and TSP Score (FTSPF_{\mathrm{TSP}}). Because STRecallSTRecall is the square root of conventional test recall, FTSPF_{\mathrm{TSP}} differs from conventional F1F_1. More details are in the Appendix.

Main Results

Table 2 and Table 3 report the main results on all datasets. For LatentDiff, we report the mean and standard deviation over three independent runs. We take FTSPF_{\mathrm{TSP}} as the primary comparison metric because it balances the precision of the predicted triple set and the recovery of ground-truth triples. Therefore, we rank different methods mainly according to FTSPF_{\mathrm{TSP}}, while using JPrecisionJPrecision and STRecallSTRecall to interpret the precision-recall behavior of each method. We also report the standard F1F_1, reconstructed from the reported mean triple counts. Overall, LatentDiff achieves the best FTSPF_{\mathrm{TSP}} on all three datasets, outperforming the strongest baseline by absolute 5.4 percentage points on average.

Table 2: The results on Wiki79k and Wiki143k, where TpredPOWA+\mathcal{T}^{\mathrm{POWA+}}_{\mathrm{pred}} is the number of correctly predicted test triples, and TpredPOWA\mathcal{T}^{\mathrm{POWA}}_{\mathrm{pred}} is the triple set that can be judged under the RS-POWA assumption. The best results are in bold, and the second-best results are underlined. FTSPF_{\mathrm{TSP}} is the primary comparison metric. †: Standard F1F_1 under RS-POWA.

DatasetsModelsNumber of Triples in RS-POWARS-POWA MetricsCWA Metrics
Tpred\mathcal{T}_{\mathrm{pred}}TpredPOWA\mathcal{T}^{\mathrm{POWA}}_{\mathrm{pred}}TpredPOWA+\mathcal{T}^{\mathrm{POWA+}}_{\mathrm{pred}}JJPrecisionSTST RecallFTSPF_{\mathrm{TSP}}F1†F_1^{\dagger}JJPrecisionFTSPF_{\mathrm{TSP}}
Wiki79kHAKE [52]125±87125\pm87119±83119\pm8330±730\pm70.246±14.8%0.246\pm14.8\%0.044±0.4%0.044\pm0.4\%0.075±0.3%0.075\pm0.3\%0.0040.0040.2400.2400.0740.074
PairRE [4]29742±10529742\pm10510217±5110217\pm512901±72901\pm70.191±0.1%0.191\pm0.1\%0.428±0.0%0.428\pm0.0\%0.264±0.2%0.264\pm0.2\%0.1870.1870.0970.0970.1580.158
AstarNet [54]5689±2875689\pm2871750±1161750\pm1161328±521328\pm520.496±0.8%0.496\pm0.8\%0.289±0.5%0.289\pm0.5\%0.365±0.2%0.365\pm0.2\%0.1430.1430.2330.2330.2580.258
ULTRA [13]9743±09743\pm02945±02945\pm01062±01062\pm00.235±0.0%0.235\pm0.0\%0.258±0.0%0.258\pm0.0\%0.246±0.0%0.246\pm0.0\%0.1040.1040.1090.1090.1530.153
GPHT(HAKE) [50]209±47209\pm47191±47191\pm4744±844\pm80.220±8.0%0.220\pm8.0\%0.053±0.4%0.053\pm0.4\%0.085±1.1%0.085\pm1.1\%0.0060.0060.2100.2100.0840.084
GPHT(PairRE) [50]12392±381312392\pm38135866±12625866\pm12622018±3322018\pm3320.253±1.6%0.253\pm1.6\%0.357±2.8%0.357\pm2.8\%0.296±0.4%0.296\pm0.4\%0.1700.1700.1620.1620.2240.224
SMuRT [48]13450±013450\pm03197±03197\pm01245±01245\pm00.241±0.0%0.241\pm0.0\%0.280±0.0%0.280\pm0.0\%0.259±0.0%0.259\pm0.0\%0.1180.1180.0930.0930.1390.139
DiffTSP [17]7472±1037472\pm1034355±514355\pm513472±873472\pm870.630±1.2%0.630\pm1.2\%0.468±0.5%0.468\pm0.5\%0.537±0.5%0.537\pm0.5\%0.3250.3250.4640.4640.4660.466
LatentDiff7384±527384\pm524871±344871\pm344060±234060\pm230.692±0.5%0.692\pm0.5\%0.506±0.1%0.506\pm0.1\%0.585±0.3%0.585\pm0.3\%0.3740.3740.5500.5500.5270.527
Wiki143kHAKE [52]22215±128322215\pm12836182±436182\pm433044±723044\pm720.315±0.2%0.315\pm0.2\%0.326±0.3%0.326\pm0.3\%0.32±0.3%0.32\pm0.3\%0.1590.1590.1370.1370.1930.193
PairRE [4]19228±207519228\pm20753313±7223313\pm7221191±771191\pm770.211±3.0%0.211\pm3.0\%0.204±0.7%0.204\pm0.7\%0.207±1.0%0.207\pm1.0\%0.0700.0700.0610.0610.0950.095
AstarNet [54]6001±2316001\pm2312589±1292589\pm1292275±312275\pm310.629±0.8%0.629\pm0.8\%0.281±0.2%0.281\pm0.2\%0.389±0.2%0.389\pm0.2\%0.1400.1400.3790.3790.3230.323
ULTRA [13]3844±03844\pm01349±01349\pm0692±0692\pm00.346±0.0%0.346\pm0.0\%0.155±0.0%0.155\pm0.0\%0.214±0.0%0.214\pm0.0\%0.0450.0450.1800.1800.1660.166
GPHT(HAKE) [50]17702±793517702\pm79354709±604709\pm602700±6812700\pm6810.363±4.8%0.363\pm4.8\%0.307±4.2%0.307\pm4.2\%0.333±4.6%0.333\pm4.6\%0.1500.1500.1520.1520.2040.204
GPHT(PairRE) [50]3011±2333011\pm2331954±1911954\pm191909±34909\pm340.384±1.9%0.384\pm1.9\%0.178±0.3%0.178\pm0.3\%0.243±0.1%0.243\pm0.1\%0.0590.0590.3020.3020.2240.224
DiffTSP [17]10162±53010162\pm5306804±2756804\pm2754543±1054543\pm1050.557±0.3%0.557\pm0.3\%0.397±0.4%0.397\pm0.4\%0.464±0.6%0.464\pm0.6\%0.2460.2460.4470.4470.4200.420
LatentDiff11211±5711211\pm575748±205748\pm205149±425149\pm420.677±0.5%0.677\pm0.5\%0.423±0.2%0.423\pm0.2\%0.521±0.1%0.521\pm0.1\%0.2830.2830.4590.4590.4400.440

Table 2.

Table 3: The results on the CFamily dataset, where TpredCWA+\mathcal{T}^{\mathrm{CWA+}}_{\mathrm{pred}} is the set of correctly predicted test triples. The best results are in bold, and the second-best results are underlined. FTSPF_{\mathrm{TSP}} is the primary comparison metric. †: Standard F1F_1 under CWA.

ModelsNumber of Triples inCWA Metrics
Tpred\mathcal{T}_{\mathrm{pred}}TpredCWA\mathcal{T}^{\mathrm{CWA}}_{\mathrm{pred}}TpredCWA+\mathcal{T}^{\mathrm{CWA+}}_{\mathrm{pred}}JJPrecisionSTST RecallFTSPF_{\mathrm{TSP}}F1†F_1^{\dagger}
HAKE [52]3186±5433186\pm5433186±5433186\pm5431788±3211788\pm3210.561±1.8%0.561\pm1.8\%0.624±5.9%0.624\pm5.9\%0.591±3.1%0.591\pm3.1\%0.4590.459
PairRE [4]5732±20625732\pm20625732±20625732\pm20621747±6941747\pm6940.305±1.8%0.305\pm1.8\%0.616±13.7%0.616\pm13.7\%0.408±4.9%0.408\pm4.9\%0.3380.338
RGCN [37]30608±344330608\pm344330608±344330608\pm34433026±1373026\pm1370.099±0.6%0.099\pm0.6\%0.811±0.5%0.811\pm0.5\%0.176±5.2%0.176\pm5.2\%0.1720.172
CompGCN [41]38931±374538931\pm374538931±374538931\pm37452599±472599\pm470.067±4.8%0.067\pm4.8\%0.752±0.3%0.752\pm0.3\%0.123±1.7%0.123\pm1.7\%0.1190.119
AstarNet [54]2075±3602075\pm3602075±3602075\pm360911±187911\pm1870.439±1.7%0.439\pm1.7\%0.445±4.6%0.445\pm4.6\%0.442±3.3%0.442\pm3.3\%0.2730.273
ULTRA [13]32761±032761\pm032761±032761\pm0763±0763\pm00.023±0.0%0.023\pm0.0\%0.407±0.0%0.407\pm0.0\%0.044±0.0%0.044\pm0.0\%0.0410.041
GPHT(HAKE) [50]1896±1491896\pm1491896±1491896\pm1491222±581222\pm580.645±2.6%0.645\pm2.6\%0.516±1.2%0.516\pm1.2\%0.573±0.4%0.573\pm0.4\%0.3760.376
GPHT(PairRE) [50]3739±5933739\pm5933739±5933739\pm5931471±1871471\pm1870.393±1.3%0.393\pm1.3\%0.566±3.4%0.566\pm3.4\%0.464±0.7%0.464\pm0.7\%0.3530.353
LLM TSP(GPT-3.5) [49]3403±1583403\pm1583403±1583403\pm15896±1296\pm120.028±0.3%0.028\pm0.3\%0.145±0.8%0.145\pm0.8\%0.047±0.4%0.047\pm0.4\%0.0240.024
LLM TSP(GPT-4o) [49]1276±1471276\pm1471276±1471276\pm147179±17179\pm170.140±0.5%0.140\pm0.5\%0.197±0.9%0.197\pm0.9\%0.164±0.3%0.164\pm0.3\%0.0610.061
SMuRT [48]2358±02358\pm02358±02358\pm0657±0657\pm00.279±0.0%0.279\pm0.0\%0.378±0.0%0.378\pm0.0\%0.321±0.0%0.321\pm0.0\%0.1890.189
DiffTSP [17]2453±352453\pm352453±352453\pm351657±181657\pm180.675±0.2%0.675\pm0.2\%0.600±3.0%0.600\pm3.0\%0.635±0.2%0.635\pm0.2\%0.4700.470
LatentDiff3299±603299\pm603299±603299\pm602252±392252\pm390.683±0.5%0.683\pm0.5\%0.700±0.5%0.700\pm0.5\%0.691±0.2%0.691\pm0.2\%0.5700.570

Table 3.

Ablation Study

Table 4 reports the ablation results on three datasets using FTSPF_{\mathrm{TSP}} as the primary metric. The full LatentDiff achieves the best performance on all datasets, demonstrating the effectiveness of the overall design. LatentDiff-Subgraph retains the same modules as LatentDiff, but partitions the KG into local subgraphs like GPHT. The performance drop provides a controlled comparison that supports the benefit of operating in a unified graph latent space. For Stage I, w/o CRVQ replaces CRVQ with a codebook parameter matched VQ-VAE while keeping the encoder, decoder, latent dimensionality, training protocol, and total number of learnable codebook parameters comparable. Its substantial degradation is therefore not attributable to a smaller parameter budget. VQ-VAE exhibits poor Stage-I reconstruction fidelity and provides an inadequate latent space for subsequent diffusion. Detailed results are provided in the Appendix. w/o Quantization removes the quantization module and directly uses the continuous encoder output as the latent representation. The degradation of w/o Quantization suggests that unconstrained continuous latents are less suitable for diffusion-based TSP, supporting the role of quantization in constructing a structured latent space. Removing the relational-view attention (w/o Relational view Attention) or replacing the factorized decoder (w/o Factorized Decoder) with MLPs also leads to clear performance drops. w/o Stage II directly decodes the observed latent. Its poor performance shows

VariantWiki79kWiki143kCFamilyAvg.
LatentDiff0.5850.5210.6910.599
LatentDiff-Subgraph0.5390.4720.6530.555
w/o Relational view Attention0.5760.4950.6740.582
w/o CRVQ (VQ-VAE)0.0300.0750.4550.187
w/o Quantization (Vanilla AE)0.4980.4140.3320.415
w/o Factorized Decoder0.5570.4810.6590.566
w/o Stage II (Direct Decoding)0.2770.2210.3510.283
w/o Iterative Diffusion0.4580.4420.5180.473
Deterministic Iterative Refinement0.5010.4710.6150.529
Standard Gaussian Diffusion0.5130.4760.6370.542
w/o Relation-wise Linear Attention0.5380.4930.5540.528
w/o Node-wise Linear Attention0.5460.5080.6020.552

Table 4. Ablation study of LatentDiff on three datasets. We report FTSPF_{\mathrm{TSP}} for TSP evaluation.

that our proposed Stage-II module provides the conditional latent transformation required for TSP. For Stage II, standard Gaussian diffusion decreases the average score to 0.542, confirming the importance of the mean-reverting diffusion process that anchors generation on the observed KG. w/o Iterative Diffusion replaces diffusion with a one-step predictor while retaining the same denoiser backbone, the resulting performance drop demonstrates the benefit of progressive latent diffusion refinement. We further compare LatentDiff with a deterministic iterative refinement baseline using the same denoiser backbone and refinement steps. Unlike diffusion, this baseline learns to progressively update the latent representation without a noise-based forward process. Its lower performance suggests that the benefit of LatentDiff extends beyond repeated latent refinement. In addition, removing either relation-wise (w/o Relation-wise Linear Attention) or node-wise linear attention (w/o Node-wise Linear Attention) consistently hurts performance, suggesting that both relation-level and node-level dependencies contribute to effective latent generation.

Construction of LatentDiff-Subgraph. We use exactly the graph partitioning procedure and partition hyperparameters of GPHT for each dataset. The same LatentDiff parameters are shared across all subgraphs. Predictions produced by multiple overlapping subgraphs are merged by union, while triples whose endpoints never co-occur in a subgraph cannot be generated. The prediction threshold is independently selected on the validation set for this variant. All hyperparameters are re-tuned using the same search space and validation budget as LatentDiff.

Hyperparameter Sensitivity Analysis

Effect of Codebook Size

We study the effect of codebook size in the CRVQ module. As shown in Figure 3, increasing the codebook size consistently improves the reconstruction quality in Stage I. However, the TSP performance saturates when the codebook size reaches 1024.

Effect of codebook size in CFamily and Wiki79k

Figure 3. Effect of codebook size in CFamily and Wiki79k.

Effect of CRVQ Configuration

We analyze the two key hyperparameters in CRVQ: the number of chunks and the number of residual quantization levels. As shown in Figure 4, increasing the number of chunks substantially improves reconstruction quality, while a moderate number of residual codebooks further benefits TSP performance.

Performance under different CRVQ configurations in CFamily

Figure 4. Performance under different CRVQ configurations in CFamily.

Effect of Diffusion Steps

We further investigate the effect of the number of diffusion steps. As shown in Figure 5, using only 2 diffusion steps leads to clearly inferior performance. When the number of steps increases from 2 to 10 and then to 50, the FTSPF_{\mathrm{TSP}} score improves substantially. However, the performance saturates after 50 or 100 steps, and further increasing the steps to 200 does not yield consistent gains.

Effect of diffusion steps in CFamily and Wiki79k

Figure 5. Effect of diffusion steps in CFamily and Wiki79k.

Case Study

We provide a qualitative case study to illustrate the failure mode of subgraph-based TSP baselines. A cross-subgraph triple refers to a test triple whose head and tail entities do not appear in any common subgraph of subgraph-based methods. Table 6 shows representative cross-subgraph test triples recalled by LatentDiff using the same validation-selected threshold as in the main evaluation. The compared subgraph-based methods do not generate these triples.

Target TripleGPHTDiffTSPLatentDiff
(October, follows, September)MissedMissedRecalled (s=0.98s = 0.98)
(2006 Asian Games, follows, 2002 Asian Games)MissedMissedRecalled (s=0.97s = 0.97)
(Châlons-en-Champagne, twinned with, Neuss)MissedMissedRecalled (s=0.95s = 0.95)
(Épinal, located in, Vosges)MissedMissedRecalled (s=0.91s = 0.91)
(Braga, shares border with, Guimarães)MissedMissedRecalled (s=0.89s = 0.89)
(Bonn, country, Weimar Republic)MissedMissedRecalled (s=0.75s = 0.75)

Table 6. Cases of cross-subgraph triples.

Analysis of Cross Subgraph Recovery

A key motivation of our framework is that subgraph partitioning may fragment relational dependencies. To directly examine this issue, we construct a cross-subgraph test subset based on the partitions used by the subgraph-based baseline. A test triple (h,r,t)(h,r,t) is considered cross-subgraph if its head entity hh and tail entity tt are not contained in any common subgraph. Such triples are difficult for subgraph-based methods because the evidence associated with hh and tt is separated by the partition boundary.

We examine how much structural information is affected by the partition process. Given the subgraph collection used by subgraph-based baseline, we define a training triple as covered if it appears in at least one subgraph. Otherwise, this triple is counted as partition-uncovered. Similarly, a test triple is defined as cross-subgraph if its head and tail entities do not appear in any common subgraph. Table 5 reports the statistics. On Wiki79k, 5.43% training triples are uncovered after partitioning, and 21.40% of test triples are partition-boundary triples. The effect is more pronounced on Wiki143k. CFamily shows smaller fragmentation, with 1.02% partition-boundary test triples. These results suggest that the impact of subgraph partitioning varies across datasets, but can be non-negligible on larger KGs. This motivates our unified graph latent formulation, where all head-relation latent embeddings are represented in a globally shared code latent space.

Dataset#Train#Retained#UncoveredUncovered Ratio#Test#Same-subgraph#Partition-boundaryBoundary Ratio
CFamily16,54916,514350.21%4,5984,551471.02%
Wiki79k57,03353,9373,0965.43%15,84312,4523,39121.40%
Wiki143k103,41588,98414,43113.95%28,72716,78111,94641.58%

Table 5. Partition-induced fragmentation statistics on three datasets.

Performance on partition-boundary triples. We further conduct a subset-level evaluation on partition-boundary test triples, whose head and tail entities do not occur in any common subgraph constructed by the subgraph-based models. As shown in Table 7, GPHT and DiffTSP recover none of these triples. In contrast, LatentDiff can score the partition-boundary triples, resulting in STRecallbdSTRecall_{bd} values of 0.229 and 0.195 on Wiki79k and Wiki143k, respectively. Partition-boundary triples remain difficult because their supporting evidence can be sparse or structurally distant, and the decoding threshold is selected according to overall validation FTSPF_{TSP} rather than boundary-specific performance. Nevertheless, the non-zero recovery of LatentDiff, compared with zero recovery by the subgraph-based methods, provides quantitative evidence that the unified latent generation framework enables the recovery of triples excluded by subgraph-restricted candidate construction.

DatasetMethodRecalledSTRecallbdSTRecall_{bd}
Wiki79kGPHT0/3,3910.000
Wiki79kDiffTSP0/3,3910.000
Wiki79kLatentDiff178/3,3910.229
Wiki143kGPHT0/11,9460.000
Wiki143kDiffTSP0/11,9460.000
Wiki143kLatentDiff456/11,9460.195

Table 7. Diagnostic evaluation on partition-boundary test triples. STRecallbdSTRecall_{bd} is computed only over the partition-boundary subset.

Efficiency Study

We further compare LatentDiff with DiffTSP and GPHT under the same hardware environment. As shown in Table 8, LatentDiff achieves faster inference. These results show that performing generation in the latent space can provide favorable inference efficiency despite the iterative nature of diffusion sampling. LatentDiff also avoids explicitly constructing the raw ∣E∣×∣R∣×∣E∣|\mathcal{E}| \times|\mathcal{R}| \times|\mathcal{E}| adjacency tensor and instead performs generation over Z∈R∣E∣×∣R∣×d\mathbf{Z} \in\mathbb{R}^{|\mathcal{E}| \times|\mathcal{R}| \times d}. Moreover,

DatasetGPHTDiffTSPLatentDiffSpeedup
CFamily46.258.131.644.9×
Wiki79k151.9483.7712.796.5×
Wiki143k583.69101.0735.932.8×

Table 8. Inference time (s) comparison and speedup. The speedup is computed against the fastest baseline DiffTSP.

head-wise chunking reduces peak latent memory without partitioning the graph or introducing separate local model parameters. More details are in the Appendix.

More Experimental Details. Additional analysis on ablation studies, implementation details, observed ratios, and inference memory consumption are reported in the Appendix.

Conclusion

In this work, we proposed LatentDiff, a two-stage conditional latent generative framework, for knowledge graph triple set prediction. LatentDiff first learns a relation-aware residual-quantized latent space, and then performs observation-anchored diffusion in this space to recover missing relational residuals. Instead of relying on subgraph-level local prediction, LatentDiff performs completion in a globally shared latent space. Experimental results demonstrate that LatentDiff achieves state-of-the-art performance. This work focuses on establishing the effectiveness of unified latent generation for TSP, and a systematic investigation of its scalability to larger knowledge graphs is left for future work.

Method Details

Dual-view Linear Attention

Given a sequence X∈RL×dX \in\mathbb{R}^{L \times d}, each attention head computes

Q=XWQ,K=XWK,V=XWV,(21)Q = XW_Q,\quad K = XW_K,\quad V = XW_V, \tag*{(21)}

and uses the positive feature map ϕ(x)=ELU⁡(x)+1\phi(x) = \operatorname{ELU}(x) + 1:

LinAttn⁡(X)i=ϕ(qi)T(∑j=1Lϕ(kj)vjT)ϕ(qi)T(∑j=1Lϕ(kj))+ϵ.(22)\operatorname{LinAttn}(X)_i = \frac{\phi(\mathbf{q}_i)^{\mathsf{T}}\left(\sum_{j=1}^{L}\phi(\mathbf{k}_j)\mathbf{v}_j^{\mathsf{T}}\right)} {\phi(\mathbf{q}_i)^{\mathsf{T}}\left(\sum_{j=1}^{L}\phi(\mathbf{k}_j)\right)+\epsilon}. \tag*{(22)}

We employ multi-head attention and concatenate the outputs of all heads. Relation-wise attention applies this operation over the RR relation tokens for each entity, whereas node-wise attention applies it over the NN entity tokens for each relation. The two branches use independent projection parameters.

Complexity Analysis

Let N=∣E∣N = |\mathcal{E}|, R=∣R∣R = |\mathcal{R}|, and dd denote the entity count, relation count, and latent dimension. Let LeL_e, LdL_d, and LcL_c denote the encoder, denoiser, and residual quantization depths, CC the codebook size, and SS the number of reverse diffusion steps. Raw adjacency space reconstruction or diffusion requires O(N2R)O(N^2R) memory and at least O(N2Rd)O(N^2Rd) computation. Instead, LatentDiff generates head-relation latents Z∈RN×R×dZ \in\mathbb{R}^{N \times R \times d} with O(NRd)O(NRd) latent memory. Stage I. For input triples Tρ\mathcal{T}_{\rho}, sparse projection costs O(∣Tρ∣d)O(|\mathcal{T}_{\rho}|d), while reconstruction with KnegK_{\mathrm{neg}} negatives per positive costs O((1+Kneg)∣Tρ∣d)O((1 + K_{\mathrm{neg}})|\mathcal{T}_{\rho}|d). Relation-wise encoding and CRVQ respectively cost

O(LeN(Rd2+R2d))andO(NRLcCd).(23)O\left(L_eN(Rd^2 + R^2d)\right)\quad\text{and}\quad O(NRL_cC d). \tag*{(23)}

CRVQ uses O(LcCd)O(L_cC d) codebook memory. Splitting embeddings into proportionally smaller chunks leaves its leading order computation and parameter memory unchanged.

Stage II. Dual-view linear attention avoids dense R×RR \times R and N×NN \times N attention maps and their O(NR2d+R2Nd)O(NR^2d + R^2Nd) computation. With attention feature dimension and FFN width both O(d)O(d), each denoiser evaluation costs O(LdNRd2)O(L_dNRd^2). Training samples one timestep and has the same per-instance asymptotic cost, whereas SS-step DDPM sampling costs O(SLdNRd2)O(SL_dNRd^2). Reverse steps execute sequentially without accumulating activations across steps, so peak memory does not scale with SS.

Chunking and decoding. Scoring a candidate set C\mathcal{C} costs O(∣C∣d)O(|\mathcal{C}|d), or O(N2Rd)O(N^2Rd) for exhaustive decoding, while scores can be generated and thresholded incrementally. In both stages, processing BhB_h head entities per chunk reduces active latent memory and exhaustive score buffer memory, respectively, as

O(NRd)→O(BhRd),O(N2R)→O(BhRN).(24)O(NRd) \to O(B_hRd),\quad O(N^2R) \to O(B_hRN). \tag*{(24)}

Total asymptotic computation remains unchanged. Chunking manages memory rather than partitioning the graph: all chunks share the encoder, codebooks, denoiser, and decoder within a common latent space. Global node-wise interactions can be preserved by accumulating key-value statistics across chunks rather than computing attention independently within each chunk.

Stage-I Reconstruction Fidelity Metrics

Stage I learns a compact latent representation by reconstructing its input graph. Its reconstruction metrics measure how faithfully an input is encoded and decoded. The diagnostic evaluation below supplies an evaluation graph containing test triples to the encoder, so its scores describe reconstruction with access to those triples. These diagnostic inputs and scores are excluded from TSP training and hyperparameter selection. Stage-I reconstruction evaluation is performed by feeding an evaluation KG containing both training and test triples:

Geval=(E,R,Teval),Teval=Ttrain∪Ttest.(25)\mathcal{G}_{\mathrm{eval}} = (\mathcal{E}, \mathcal{R}, \mathcal{T}_{\mathrm{eval}}),\quad \mathcal{T}_{\mathrm{eval}} = \mathcal{T}_{\mathrm{train}} \cup\mathcal{T}_{\mathrm{test}}. \tag*{(25)}

After encoding, quantization, and decoding, we obtain a reconstructed triple set Trec\mathcal{T}_{\mathrm{rec}}. Since training triples are already trained in our model and should not inflate the reconstruction score, we remove them from the reconstructed set:

Treceval=Trec∖Ttrain.(26)\mathcal{T}^{\mathrm{eval}}_{\mathrm{rec}} = \mathcal{T}_{\mathrm{rec}} \setminus\mathcal{T}_{\mathrm{train}}. \tag*{(26)}

The reconstruction metrics are then computed only against the test triples:

RecPrecision⁡=∣Treceval∩Ttest∣∣Treceval∣,(27)\operatorname{RecPrecision} = \frac{|\mathcal{T}^{\mathrm{eval}}_{\mathrm{rec}} \cap\mathcal{T}_{\mathrm{test}}|} {|\mathcal{T}^{\mathrm{eval}}_{\mathrm{rec}}|}, \tag*{(27)}
RecRecall⁡=∣Treceval∩Ttest∣∣Ttest∣,(28)\operatorname{RecRecall} = \frac{|\mathcal{T}^{\mathrm{eval}}_{\mathrm{rec}} \cap\mathcal{T}_{\mathrm{test}}|} {|\mathcal{T}_{\mathrm{test}}|}, \tag*{(28)}
RF1=2⋅RecPrecision⁡⋅RecRecall⁡RecPrecision⁡+RecRecall⁡.(29)RF_1 = \frac{2 \cdot\operatorname{RecPrecision} \cdot\operatorname{RecRecall}} {\operatorname{RecPrecision} + \operatorname{RecRecall}}. \tag*{(29)}

Here, RF1RF_1 is used as the primary diagnostic metric for Stage-I reconstruction analysis.

Experiment Details

Baselines

We select both link prediction methods and TSP methods as baselines. The representative link prediction methods, including HAKE [52], PairRE [4], RGCN [37], CompGCN [41], AstarNet [54] and ULTRA [13], are modified for TSP by scoring all candidate triples in the graph and selecting those above a threshold as the predicted results. The threshold is determined through grid search on the validation set to achieve the best performance. The latest TSP methods, such as GPHT [50], LLMTSP [49], SMuRT [48] and DiffTSP [17], are also included.

Evaluation Metrics

TSP Evaluation Metrics. JPrecision\mathit{JPrecision} measures the precision of the predicted triple set while accounting for the size of the set itself. STRecall\mathit{STRecall} measures the percentage of test triples successfully recovered by the model with a square-root transformation. FTSPF_{\mathrm{TSP}} is the harmonic mean of JPrecision\mathit{JPrecision} and STRecall\mathit{STRecall}. Higher values indicate better performance for all metrics.

Following GPHT, we denote the predicted missing triple set as Tpred\mathcal{T}_{\mathrm{pred}}. This corresponds to Tbmiss\mathcal{T}_{\mathrm{bmiss}} in our problem definition. Under the closed-world assumption (CWA), the predicted triples are divided into correct and incorrect parts:

TpredCWA+=Tpred∩Ttest,(30)\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}+}=\mathcal{T}_{\mathrm{pred}}\cap\mathcal{T}_{\mathrm{test}}, \tag*{(30)}
TpredCWA−=Tpred∖TpredCWA+,(31)\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}-}=\mathcal{T}_{\mathrm{pred}}\setminus\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}+}, \tag*{(31)}
TpredCWA=TpredCWA+∪TpredCWA−=Tpred.(32)\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}}=\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}+}\cup\mathcal{T}_{\mathrm{pred}}^{\mathrm{CWA}-}=\mathcal{T}_{\mathrm{pred}}. \tag*{(32)}

Under the relation-similarity partial open-world assumption (RS-POWA), the positive predictions are defined as

TpredPOWA+=Ttest∩Tpred.(33)\mathcal{T}_{\mathrm{pred}}^{\mathrm{POWA}+}=\mathcal{T}_{\mathrm{test}}\cap\mathcal{T}_{\mathrm{pred}}. \tag*{(33)}

The negative part is defined as

TpredPOWA−={(h,r,t)∣(h,r,t)∈Tpred, (h,r,t)∉Ttest, ∃r′∈R, (h,r′,t)∈(Ttrain∪Ttest)∧sim⁡(r,r′)<θ}.(34)\mathcal{T}_{\mathrm{pred}}^{\mathrm{POWA}-}=\left\{(h,r,t)\mid(h,r,t)\in\mathcal{T}_{\mathrm{pred}},\ (h,r,t)\notin\mathcal{T}_{\mathrm{test}},\ \exists r'\in\mathcal{R},\ (h,r',t)\in(\mathcal{T}_{\mathrm{train}}\cup\mathcal{T}_{\mathrm{test}})\land\operatorname{sim}(r,r')<\theta\right\}. \tag*{(34)}

Then the valid predicted set under RS-POWA is

TpredPOWA=TpredPOWA+∪TpredPOWA−.(35)\mathcal{T}_{\mathrm{pred}}^{\mathrm{POWA}}=\mathcal{T}_{\mathrm{pred}}^{\mathrm{POWA}+}\cup\mathcal{T}_{\mathrm{pred}}^{\mathrm{POWA}-}. \tag*{(35)}

For WA∈{CWA,POWA}WA\in\{\mathrm{CWA},\mathrm{POWA}\}, the three metrics are computed as

JPrecision=12(∣TpredWA+∣∣TpredWA∣+∣TpredWA+∣∣Tpred∣),(36)\mathit{JPrecision}=\frac{1}{2}\left(\frac{\left|\mathcal{T}_{\mathrm{pred}}^{WA+}\right|}{\left|\mathcal{T}_{\mathrm{pred}}^{WA}\right|}+\frac{\left|\mathcal{T}_{\mathrm{pred}}^{WA+}\right|}{\left|\mathcal{T}_{\mathrm{pred}}\right|}\right), \tag*{(36)}
STRecall=(∣TpredWA+∣∣Ttest∣)12,(37)\mathit{STRecall}=\left(\frac{\left|\mathcal{T}_{\mathrm{pred}}^{WA+}\right|}{\left|\mathcal{T}_{\mathrm{test}}\right|}\right)^{\frac{1}{2}}, \tag*{(37)}
FTSP=2⋅STRecall⋅JPrecisionSTRecall+JPrecision.(38)F_{\mathrm{TSP}}=\frac{2\cdot\mathit{STRecall}\cdot\mathit{JPrecision}}{\mathit{STRecall}+\mathit{JPrecision}}. \tag*{(38)}

Since FTSPF_{\mathrm{TSP}} is the harmonic mean of JPrecision\mathit{JPrecision} and STRecall\mathit{STRecall}, it summarizes the trade-off between set precision and test triple recovery. Therefore, we use FTSPF_{\mathrm{TSP}} as the primary metric for model comparison, following the TSP evaluation protocol in GPHT. JPrecision\mathit{JPrecision} and STRecall\mathit{STRecall} are reported as complementary metrics to analyze whether the improvement comes from more accurate predicted sets or better recovery of test triples. Unless otherwise specified, our discussion mainly focuses on FTSPF_{\mathrm{TSP}}. We report micro-averaged results over all predicted triples.

Triple Set Decoding and Threshold Selection

For each method, the final predicted triple set is obtained by thresholding its predicted triple scores. Let sm(h,r,t)s_m(h,r,t) denote the score assigned by method mm to a candidate triple (h,r,t)(h,r,t). Given a threshold τ\tau, the predicted triple set is

Tpred(τ)={(h,r,t)∈C∣sm(h,r,t)≥τ},(39)\mathcal{T}_{\mathrm{pred}}(\tau)=\{(h,r,t)\in\mathcal{C}\mid s_m(h,r,t)\geq\tau\}, \tag*{(39)}

where C\mathcal{C} denotes the candidate triple set after filtering out observed training triples. Following the evaluation protocol used in GPHT and DiffTSP, we select the threshold on the validation set for each method and each dataset. Specifically, we search over a predefined threshold grid Θ\Theta and choose

τm∗=arg⁡max⁡τ∈Θ FTSPval(Tpred(τ)).(40)\tau_m^*=\underset{\tau\in\Theta}{\arg\max}\ F_{\mathrm{TSP}}^{\mathrm{val}}\left(\mathcal{T}_{\mathrm{pred}}(\tau)\right). \tag*{(40)}

The selected threshold τm∗\tau_m^* is then fixed and used to generate the predicted triple set on the test set. All reported JPrecision\mathit{JPrecision}, STRecall\mathit{STRecall}, and FTSPF_{\mathrm{TSP}} values are computed on the test set using this validation-selected threshold. This protocol is applied consistently to LatentDiff and all compared baselines to ensure a fair comparison.

Implementation Details

All experiments are conducted on one NVIDIA A100 GPU. We use the Adam optimizer. Hyperparameters are selected by grid search on the validation set, more details are in Table 9. To further reduce peak memory usage, both Stage I and Stage II support head-wise chunking implementation. Specifically, the latent tensor is processed in chunks along the head-entity dimension instead of materializing all head-relation embeddings at once. This is an engineering strategy for memory-efficient training and inference, not a subgraph partitioning strategy.

HyperparameterCFamilyWiki79kWiki143k
Stage-I Training
Encoder hidden dimension646432
Chunks of CRVQ KK444
Number of residual quantizers LcL_c442
Latent dimension161616
Codebook size CC102410242048
Commitment loss weight λm\lambda_m111
CRVQ loss weight λVQ\lambda_{\mathrm{VQ}}0.250.250.25
Number of negative samples KnegK_{\mathrm{neg}}512256256
Learning rate5×10−45 \times10^{-4}5×10−45 \times10^{-4}5×10−45 \times10^{-4}
Stage-II Training
Ratio ρmin⁡\rho_{\min}0.70.70.7
Observed KG ratio ρobs\rho_{\mathrm{obs}}0.80.80.8
Variance scheduleLinearLinearLinear
Variance schedule βmin⁡\beta_{\min}1×10−31 \times10^{-3}2×10−32 \times10^{-3}2×10−32 \times10^{-3}
Variance schedule βmax⁡\beta_{\max}2×10−12 \times10^{-1}4×10−14 \times10^{-1}4×10−14 \times10^{-1}
Diffusion steps1005050
Denoising hidden dimension12812864
Condition dimension12812864
Time embedding dimension12812864
Denoiser depth LL322
Learning rate5×10−45 \times10^{-4}5×10−45 \times10^{-4}5×10−45 \times10^{-4}

Table 9. Training hyperparameters on three datasets.

Ablation Study Details

Table 10 reports the Stage-I reconstruction ablations. For the VQ-VAE comparison, we match the total learnable codebook parameter budget while keeping the encoder, decoder, latent dimensionality, and training protocol identical to those of LatentDiff. Replacing CRVQ with VQ-VAE causes the largest drop in reconstruction fidelity, supporting the effectiveness of CRVQ in preserving KG structure. Removing relational-view attention or replacing the factorized decoder also reduces reconstruction quality, highlighting the contributions of relation-aware encoding and factorized decoding.

VariantCFamilyWiki79kWiki143k
LatentDiff0.97030.69180.7145
w/o Relational view Attention0.90570.62290.6927
w/o CRVQ (VQ-VAE)0.45910.05750.1098
w/o Quantization (Vanilla AE)0.98980.71870.7339
w/o Factorized Decoder0.88950.58910.6219

Table 10. Stage-I reconstruction ablation results. We report reconstruction RF1R_{F1} on three datasets.

Although the Vanilla AE achieves slightly higher reconstruction fidelity, its TSP performance is substantially worse (Table 4). This contrast suggests that reconstruction fidelity alone is insufficient for effective latent generation and is consistent with a regularizing role of quantization. Stage-I reconstruction fidelity is a diagnostic of latent representation quality rather than a strict upper bound on TSP performance, since Stage II directly decodes continuous latent predictions without re-quantization.

Sensitivity to the Observed Ratio

We further study the effect of the observed ratio, i.e., the proportion of triples retained as the observed graph for conditioning in the diffusion training process. Figure 6 shows that the performance is relatively stable across different observed ratios, but the best results are achieved when the observed ratio is around 0.7–0.8. When the observed ratio becomes too high, the prediction task becomes less informative because fewer target triples remain to be recovered, and the model may also receive reduced supervision on the missing part. These results suggest that a moderate observed ratio provides a good balance between observation information and prediction difficulty. Therefore, we use an observed ratio of 0.8 as the default setting.

Sensitivity to the observed ratio

Figure 6. Sensitivity to the observed ratio ρobs\rho_{\mathrm{obs}}. We vary the ratio of observed triples from 0.5 to 0.9 and report FTSPF_{\mathrm{TSP}} on CFamily and Wiki79k.

Effect of CRVQ Configurations

As shown in Figure 7, we also analyze two key hyperparameters of CRVQ on Wiki79k. Increasing either the number of chunks or the number of residual codebooks improves both Stage-I reconstruction fidelity and TSP performance.

Performance under different CRVQ configurations

Figure 7. Performance under different CRVQ configurations in Wiki79k.

Inference Efficiency and Memory Cost

We evaluate the inference efficiency of LatentDiff on one A100 GPU. Table 11 reports the prediction time and peak memory under different diffusion steps. The inference time increases with SS, since

DatasetPrediction Time (s)Peak Memory (MB)
S=50S = 50S=100S = 100S=50S = 50S=100S = 100
CFamily0.721.642,1362,136
Wiki79k12.7922.9612,36612,366
Wiki143k35.9345.7619,87219,872

Table 11. Inference efficiency of LatentDiff under different diffusion steps.

DDPM sampling requires iterative reverse denoising. In contrast, the peak memory remains unchanged when increasing SS, because the reverse process is executed sequentially and does not store activations from all denoising steps.

References

  1. [1]Jacob Austin, Daniel D Johnson, Jonathan Ho, Daniel Tarlow, and Rianne Van Den Berg. 2021. Structured denoising diffusion models in discrete state-spaces. Advances in neural information processing systems 34 (2021), 17981–17993.arxiv.org/abs/2107.03006
  2. [2]Ivana Balažević, Carl Allen, and Timothy Hospedales. 2019. Tucker: Tensor factorization for knowledge graph completion. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). 5185–5194.DOI
  3. [3]Antoine Bordes, Nicolas Usunier, Alberto García-Durán, Jason Weston, and Oksana Yakhnenko. 2013. Translating Embeddings for Modeling Multi-Relational Data. In Advances in Neural Information Processing Systems 26: 27th Annual Conference on Neural Information Processing Systems 2013. Proceedings of a Meeting Held December 5–8, 2013, Lake Tahoe, Nevada, United States, Christopher J. C. Burges, Léon Bottou, Zoubin Ghahramani, and Kilian Q. Weinberger (Eds.). 2787–2795.
  4. [4]Linlin Chao, Jianshan He, Taifeng Wang, and Wei Chu. 2020. Pairre: Knowledge graph embeddings via paired relation vectors. arXiv preprint arXiv:2011.03798 (2020).arxiv.org/abs/2011.03798
  5. [5]Kai Chen, Xin Song, Ye Wang, Liqun Gao, Aiping Li, Xiaojuan Zhao, Bin Zhou, and Yalong Xie. 2025. LLM-DR: A Novel LLM-Aided Diffusion Model for Rule Generation on Temporal Knowledge Graphs. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 11481–11489.
  6. [6]Haoxiang Cheng, Yunwei Wang, Chao Chen, Kewei Cheng, Zhipeng Lin, Haoxuan Li, Changjun Fan, and Shixuan Liu. 2026. Generating Graph-like Rules for Knowledge Graph Reasoning via Diffusion Models. arXiv preprint arXiv:2605.30474 (2026).
  7. [7]Yuanning Cui, Zequn Sun, and Wei Hu. 2024. A prompt-based knowledge graph foundation model for universal in-context reasoning. Advances in Neural Information Processing Systems 37 (2024), 7095–7124.arxiv.org/abs/2410.12288
  8. [8]Keyan Ding, Jing Yu, Junjie Huang, Yuchen Yang, Qiang Zhang, and Huajun Chen. 2025. Scitoolagent: a knowledge-graph-driven scientific agent for multimool integration. Nature Computational Science 5, 10 (2025), 962–972.
  9. [9]Ling Ding, Lei Huang, Zhizhi Yu, Di Jin, and Dongxiao He. 2025. Towards global-topology relation graph for inductive knowledge graph completion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 11581–11589.
  10. [10]Enjun Du, Siyi Liu, and Yongqi Zhang. 2026. GraphOracle: Efficient fully-inductive knowledge graph reasoning via relation-dependency graphs. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 19055–19063.
  11. [11]Yin Fang, Qiang Zhang, Ningyu Zhang, Zhuo Chen, Xiang Zhuang, Xin Shao, Xiaohui Fan, and Huajun Chen. 2023. Knowledge graph-enhanced molecular contrastive learning with functional prompt. Nature Machine Intelligence 5, 5 (2023), 542–553.DOI
  12. [12]Xingcheng Fu, Yisen Gao, Yuecen Wei, Qingyun Sun, Hao Peng, Jianxin Li, and Xiaxian Li. 2024. Hyperbolic geometric latent diffusion model for graph generation. arXiv preprint arXiv:2405.03188 (2024).arxiv.org/abs/2405.03188
  13. [13]Mikhail Galkin, Xinyu Yuan, Hesham Mostafa, Jian Tang, and Zhaocheng Zhu. 2024. Towards foundation models for knowledge graph reasoning. In International Conference on Learning Representations, Vol. 2024. 31598–31619.
  14. [14]Yisen Gao, Yixi Cai, Tianshi Zheng, Jiaxin Bai, and Yangqiu Song. 2026. HypoAgent: An Agentic Framework for Interactive Abductive Hypothesis Generation over Knowledge Graphs. arXiv preprint arXiv:2605.31370 (2026).
  15. [15]Yisen Gao, Xingcheng Fu, Qingyun Sun, Jianxin Li, and Xiaxian Li. 2026. Toward a unified geometry understanding: Riemannian diffusion framework for graph generation and prediction. Advances in Neural Information Processing Systems 38 (2026), 74249–74275.arxiv.org/abs/2510.04522
  16. [16]Zhaoyan Gong, Zhiqiang Liu, Songze Li, Xiaoke Guo, Yuanxiang Liu, Xinle Deng, Zhixhen Liu, Lei Liang, Huajun Chen, and Wen Zhang. 2026. Temp-RI: A Unified Autonomous Agent for Complex Temporal KGQA via Reverse Curriculum Reinforcement Learning. arXiv preprint arXiv:2601.18026 (2026).
  17. [17]Jihong Guan, Jiaqi Wang, Wengen Li, Hanchen Yang, Yichao Zhang, and Shuqiang Zhou. 2026. One Pass for All: A Discrete Diffusion Model for Knowledge Graph Triple Set Prediction. arXiv preprint arXiv:2604.18344 (2026).arxiv.org/abs/2604.18344
  18. [18]Zhirui Guo, Lianghao Xia, Yanhua Yu, Tian Ao, and Chao Huang. 2024. Lightgraph: Simple and fast retrieval-augmented generation. arXiv preprint arXiv:2410.05779 2, 3 (2024).arxiv.org/abs/2410.05779
  19. [19]Jonathan Ho, Ajay Jain, and Pieter Abbeel. 2020. Denoising diffusion probabilistic models. Advances in neural information processing systems 33 (2020), 6840–6851.arxiv.org/abs/2006.11239
  20. [20]Yangqin Jiang, Yuhao Yang, Lianghao Xia, and Chao Huang. 2024. DiffKG: Knowledge graph diffusion model for recommendation. In Proceedings of the 17th ACM international conference on web search and data mining. 313–321.arxiv.org/abs/2312.16890
  21. [21]JaeHyeong Jo, Seul Lee, and Sung Ju Hwang. 2022. Score-based generative modeling of graphs via the system of stochastic differential equations. In International conference on machine learning. PMLR, 10362–10383.arxiv.org/abs/2202.02514
  22. [22]Haoning Li and Qinghua Huang. 2026. DANS-KGC: Diffusion Based Adaptive Negative Sampling for Knowledge Graph Completion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 22913–22921.arxiv.org/abs/2511.07901
  23. [23]Lei Liang, Zhongpu Zhu, Zhenke Gui, Zhongshu Zhu, Lieng Zhong, Peilong Zhao, Mengshu Sun, Zhiqiang Zhang, Jun Zhou, Wenguang Chen, et al. 2025. Boosting llms in professional domains via knowledge augmented generation. In Companion Proceedings of the ACM on Web Conference 2025. 334–343.arxiv.org/abs/2409.13731
  24. [24]Yankai Lin, Zhiyuan Liu, Maosong Sun, Yang Liu, and Xuan Zhu. 2015. Learning entity and relation embeddings for knowledge graph completion. In Proceedings of the AAAI conference on artificial intelligence, Vol. 29.
  25. [25]Yuanxiang Liu, Songze Li, Xiaoce Guo, Zhaoyuan Gong, Qifei Zhang, Huajun Chen, and Wen Zhang. 2026. CoG: Controllable Graph Reasoning via Relational Blueprints and Failure-Aware Refinement over Knowledge Graphs. arXiv preprint arXiv:2601.11047 (2026).arxiv.org/abs/2601.11047
  26. [26]Yi Liu, Wengen Li, Jihong Guan, Shuigueng Zhou, and Yichao Zhang. 2025. Effective cloud removal for remote sensing images by an improved mean-reverting denoising model with elucidated design space. In Proceedings of the Computer Vision and Pattern Recognition Conference. 17851–17861.arxiv.org/abs/2503.23717
  27. [27]Xiao Long, Liansheng Zhuang, Aodi Li, Jiuchang Li, and Shafei Wang. 2024. Fact embedding through diffusion model for knowledge graph completion. In Proceedings of the ACM Web Conference 2024. 2020–2029.DOI
  28. [28]Xiao Long, Liansheng Zhuang, Aodi Li, Jiuchang Wei, Houqiang Li, and Shafei Wang. 2024. KGDM: A diffusion model to capture multiple relation semantics for knowledge graph embedding. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38. 8850–8858.DOI
  29. [29]Andreas Lugmayr, Martin Danelljan, Andres Romero, Fisher Yu, Radu Timofte, and Luc Van Gool. 2022. Repaint: Inpainting using denoising diffusion probabilistic models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 11461–11471.
  30. [30]Ziwei Luo, Fredrik K Gustafsson, Zheng Zhao, Jens Sjölund, and Thomas B Schön. 2023. Image restoration with mean-reverting stochastic differential equations. arXiv preprint arXiv:2301.11699 (2023).arxiv.org/abs/2301.11699
  31. [31]Ziwei Luo, Fredrik K Gustafsson, Zheng Zhao, Jens Sjölund, and Thomas B Schön. 2023. ReFusion: Enabling large-size realistic image restoration with latent-space diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 1680–1691.arxiv.org/abs/2304.08291
  32. [32]Tengfei Ma, Yujie Chen, Liang Wang, Xuan Lin, Bosheng Song, and Xiangxiang Zeng. 2025. S²DN: Learning to Denoise Unconvincing Knowledge for Inductive Knowledge Graph Completion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 12355–12363.DOI
  33. [33]Van Khoa Nguyen, Yoann Boget, Franteszka Lavda, and Alexandros Kalousis. 2024. GLad: Improving latent graph generative modeling with simple quantization. arXiv preprint arXiv:2403.16883 (2024).arxiv.org/abs/2403.16883
  34. [34]Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, Jun Zhou, Yankai Lin, Ji-Rong Wen, and Chongyuan Li. 2025. Large language diffusion models. arXiv preprint arXiv:2502.09992 (2025).arxiv.org/abs/2502.09992
  35. [35]Shirui Pan, Linhao Luo, Yufei Wang, Chen Chen, Jiapu Wang, and Xindong Wu. 2024. Unifying large language models and knowledge graphs: A roadmap. IEEE Transactions on Knowledge and Data Engineering 36, 7 (2024), 3580–3599.DOI
  36. [36]Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, and Björn Ommer. 2022. High-resolution image synthesis with latent diffusion models. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 10684–10695.arxiv.org/abs/2112.10752
  37. [37]Michael Schlichtkrull, Thomas N Kipf, Peter Bloem, Rianne Van Den Berg, Ivan Titov, and Max Welling. 2018. Modeling relational data with graph convolutional networks. In European semantic web conference. Springer, 593–607.arxiv.org/abs/1703.06103
  38. [38]Jiawei Sheng, Taoyu Su, Yuxun Lin, Xiaodong Li, and Tingwen Liu. 2026. Conditional Diffusion Guided Knowledge Transfer for Multi-Domain Knowledge Graph Completion. In Proceedings of the ACM Web Conference 2026. 3744–3754.DOI
  39. [39]Hong Ting Tsang, Jiaxin Bai, Haoyu Huang, Qiao Xiao, Tianshi Zheng, Baixuan Xu, Shuije Liu, and Yangqi Song. 2025. Graph-Text Contrastive Alignment for Enhancing LLMs in Temporal Knowledge Graph Completion. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 23351–23374.
  40. [40]Aaron Van Den Oord, Oriel Vinyals, et al. 2017. Neural discrete representation learning. Advances in neural information processing systems 30 (2017).arxiv.org/abs/1711.00937
  41. [41]Shikhar Vashishth, Soumya Sanyal, Vikram Nitin, and Partha Talukdar. 2019. Composition-based multi-relational graph convolutional networks. arXiv preprint arXiv:1911.03082 (2019).
  42. [42]Zexuan Wan, Bo Wang, Kuofei Fang, and Bin Wu. 2026. TGCA-LLM: Time-Aware Graph-Text Contrastive Alignment for Enhancing LLMs in Temporal Knowledge Graph Completion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 15806–15814.arxiv.org/abs/2209.14734
  43. [43]Zexuan Wan, Bo Wang, Kuofei Fang, and Bin Wu. 2026. TGCA-LLM: Time-Aware Graph-Text Contrastive Alignment for Enhancing LLMs in Temporal Knowledge Graph Completion. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40. 15806–15814.
  44. [44]Bin Xia, Yulun Zhang, Shiyin Wang, Yitong Wang, Xinglong Wu, Yapeng Tian, Wenming Yang, and Luc Van Gool. 2023. Diffir: Efficient diffusion model for image restoration. In Proceedings of the IEEE/CVF international conference on computer vision. 13095–13105.arxiv.org/abs/2303.09472
  45. [45]Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. 2014. Embedding entities and relations for learning and inference in knowledge bases. arXiv preprint arXiv:1412.6575 (2014).arxiv.org/abs/1412.6575
  46. [46]Hanchen Yang, Jiaqi Wang, Jiangnan Cao, Wengen Li, Jialun Zheng, Yangning Li, Chunyuy Miao, Jihong Guan, Shuigeng Zhou, and Philip S Yu. 2026. OKG-LLM: Aligning ocean knowledge graph with observation data via LLMs for global sea surface temperature prediction. IEEE Transactions on Knowledge and Data Engineering (2026).
  47. [47]Duanyang Yuan, Sihang Zhou, Xiaoshuo Chen, Dong Wang, Ke Liang, Xinwang Liu, and Jian Huang. 2025. Knowledge graph completion with relation-aware anchor enhancement. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 39. 15239–15247.arxiv.org/abs/2504.06129
  48. [48]Yuan Yuan, Juan Li, Songze Li, Huajun Chen, and Wen Zhang. 2026. SMuRT: A Structured Multi-Stage Rule-guided LLM Framework for Triple Set Prediction. In 2026 International Joint Conference on Neural Networks (IJCNN). IEEE, 1–6.DOI
  49. [49]Yuan Yuan, Yajing Xu, and Wen Zhang. 2024. Is Large Language Model Good at Triple Set Prediction? An Empirical Study. In 2024 IEEE International Conference on Knowledge Graph (ICKG). IEEE, 470–476.arxiv.org/abs/2412.18443
  50. [50]Wen Zhang, Yajing Xu, Peng Ye, Zhiwei Huang, Zezhong Xu, Jiaoyan Chen, Jeff Z Pan, and Huajun Chen. 2024. Start from zero: Triple set prediction for automatic knowledge graph completion. IEEE Transactions on Knowledge and Data Engineering 36, 11 (2024), 7087–7101.DOI
  51. [51]Yongqi Zhang and Quanning Yao. 2022. Knowledge graph reasoning with relational digraph. In Proceedings of the ACM web conference 2022. 912–924.DOI
  52. [52]Zhanqiu Zhang, Jianyu Cai, Yongdong Zhang, and Jie Yang. 2020. Learning hierarchy-aware knowledge graph embeddings for link prediction. In Proceedings of the AAAI conference on artificial intelligence, Vol. 34. 3065–3072.arxiv.org/abs/1911.09419
  53. [53]Cai Zhou, Xiyuan Wang, and Muhan Zhang. 2024. Unifying generation and prediction on graphs with latent graph diffusion. Advances in Neural Information Processing Systems 37 (2024), 61963–61999.arxiv.org/abs/2402.02518
  54. [54]Zhaozhang Zhu, Xinyuan Yu, Michael Galkin, Louis-Pascal A. Honnex, Ming Zhang, Maxime Gazeau, and Jian Tang. 2023. A * net: A scalable path-based reasoning approach for knowledge graphs. Advances in neural information processing systems 36 (2023), 59233–59336.

Paper details

vlnc:W_cm26k9vk
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents