Abstract
Recent advances in knowledge graph completion (KGC) have emphasized text-based approaches to navigate the inherent complexities of large-scale knowledge graphs (KGs). While these methods have achieved notable progress, they frequently struggle to fully incorporate the global structural properties of the graph. Stochastic blockmodels (SBMs), especially the latent feature relational model (LFRM), offer robust probabilistic frameworks for identifying latent community structures and improving link prediction. This paper presents a novel probabilistic KGC framework utilizing sparse latent feature models, optimized via a deep variational autoencoder (VAE). Our proposed method dynamically integrates global clustering information with local textual features to effectively complete missing triples, while also providing enhanced interpretability of the underlying latent structures. Extensive experiments on four benchmark datasets with varying scales demonstrate the significant performance gains achieved by our method.
Introduction
Knowledge Graphs (KGs) such as Wikidata and DBpedia are foundational to many AI applications but are notoriously incomplete. Current Knowledge Graph Completion (KGC) strategies generally follow two paradigms: embedding-based methods focusing on graph topology, and text-based methods leveraging Pre-trained Language Models (PLMs) to process entity descriptions.
While text-based methods currently define the state-of-the-art, they are often "short-sighted," relying heavily on local descriptions that may lack sufficient context. Conversely, structural models like Graph Neural Networks (GNNs) often fail to capture global "community" information—the functional groupings of entities that dictate interaction patterns. Traditional community models, such as Stochastic Blockmodels (SBMs), do not scale to the millions of nodes present in modern KGs.
Methodology: DSLFM-KGC
The proposed DSLFM-KGC (Deep Sparse Latent Feature Model for Knowledge Graph Completion) framework treats KGC as a probabilistic inference problem solved via a Deep Variational Autoencoder (VAE).
The core innovation lies in modeling sparse latent memberships in multiple overlapping communities. A BERT-based encoder processes textual descriptions, projecting them into a latent space where the model predicts community membership (Bernoulli distribution) and strength (Gaussian distribution). The decoder then uses these sampled features to reconstruct link probabilities, optimized via the Evidence Lower Bound (ELBO) and a supervised contrastive loss.
Experimental Results
The model was evaluated on four benchmark datasets: WN18RR (sparse), FB15k-237 (dense), UMLS (biomedical), and Wikidata5M-Ind (large-scale). DSLFM-KGC achieved significant performance improvements, notably reaching a 76.3% MRR on Wikidata5M, a 5% absolute improvement over the previous state-of-the-art, SimKGC. On WN18RR, Hit@1 accuracy increased from 58.7% to 63.1%.
Analysis and Insights
A key advantage of DSLFM-KGC is its ability to utilize global context when local textual descriptions are sparse. By identifying an entity's community, the model can predict relationships even when text is uninformative.
Long-Tail Performance
The model demonstrates exceptional performance on "long-range" connections. In the WN18RR dataset, for entities separated by a neighborhood distance of 5 or more, DSLFM-KGC significantly outperformed SimKGC across all Hit@k metrics. This suggests that the model successfully captures global structural properties rather than relying solely on immediate neighbors.
Interpretability and Limitations
The community-based latent space provides inherent interpretability, allowing for the visualization of discovered clusters. However, the model's gains are more modest on dense graphs like FB15k-237, where distinct community structures are harder to isolate. Future work will explore multi-modal encoders and further optimization for training efficiency.
Summary updated