A Probabilistic Framework for Knowledge Graph Data Augmentation

Jatin Chauhan, Priyanshu Gupta, Pasquale Minervini

Abstract

We present NNMFAug, a probabilistic framework to perform data augmentation for the task of knowledge graph completion to counter the problem of data scarcity, which can enhance the learning process of neural link predictors. Our method can generate potentially diverse triples with the advantage of being efficient and scalable as well as agnostic to the choice of the link prediction model and dataset used. Experiments and analysis done on popular models and benchmarks show that NNMFAug can bring notable improvements over the baselines.

Introduction

Knowledge Graphs (KGs) are structured representations of facts, typically stored as triples $(h, r, t)$ representing a head entity, a relation, and a tail entity. They serve as the backbone for critical AI applications such as question answering and recommendation systems. However, KGs are notoriously incomplete. While neural link predictors are designed to infer missing connections, they are supervised learners that require substantial high-quality data to generalize effectively. This creates a data scarcity bottleneck: to improve the graph, a model is needed, but to train a robust model, a more complete graph is required.

Existing data augmentation techniques for KGs often suffer from high computational costs or are tightly coupled with specific model architectures. NNMFAug addresses these challenges by providing an efficient, model-agnostic framework for generating diverse synthetic triples.

Methodology

The NNMFAug framework operates through a three-stage pipeline:

  1. Probabilistic Factorization: The framework models the probability of a triple $(h, r, t)$ based on latent entity clusters. This assumes that entities of similar types (e.g., "Cities" or "Actors") exhibit similar relational patterns.
  2. Entity Clustering via NNMF: To identify these clusters, a co-occurrence matrix $C$ is constructed to capture how frequently entities appear together across all relations. Non-Negative Matrix Factorization (NNMF) is applied to this matrix to derive low-dimensional embeddings, which are then grouped using standard clustering algorithms like Agglomerative Clustering.
  3. Sampling and Monotonic Increase Routine: Synthetic triples are sampled from these clusters. To prevent the model from being overwhelmed by potential noise in the synthetic data, a "curriculum-style" training routine is employed. The volume of augmented data is gradually increased following a power-law function of the training epoch, allowing the model to establish a foundation on ground-truth data before incorporating synthetic triples.

Experimental Setup

The framework was evaluated using two popular link prediction models, TransE and RotatE, across two standard benchmarks:

  • WN18RR: A subset of WordNet focusing on lexical relations between English words.
  • DL50a: A dataset specifically curated for deep learning-based link prediction tasks.

Key Results

Experimental results demonstrate that NNMFAug consistently improves performance across various metrics, including Hits@N and Mean Reciprocal Rank (MRR).

Table 1: Performance comparison of NNMFAug against baselines on DL50a and WN18RR datasets.

On the DL50a dataset, NNMFAug improved the Hits@10 for TransE from 33.21 to 34.25. On the larger WN18RR dataset, the RotatE model saw its Hits@3 increase from 47.89 to 48.09. These gains indicate that even state-of-the-art models benefit from the additional diversity provided by the probabilistic augmentation.

Discussion and Insights

The "Inverted V-Shape" of Data

A critical finding of this research is that the volume of augmented data must be carefully balanced. As shown in the figure below, performance typically follows an "Inverted V" curve: it improves as synthetic triples are added but eventually peaks and declines. This decline is attributed to the accumulation of "false positives" or noise inherent in probabilistic sampling, which can eventually confuse the learner.

Figure 1: Hits@5 vs. Number of Triples Augmented for TransE on WordNet18RR, illustrating the Inverted V-Shape.

Robustness and Efficiency

The strategy proved remarkably robust to the choice of clustering algorithm. Whether using Agglomerative Clustering or DBSCAN, the performance gains remained consistent, suggesting that the NNMF-based embeddings successfully capture the essential structural properties of the graph. Furthermore, because the augmentation process occurs offline and utilizes efficient matrix factorization, NNMFAug scales effectively to large-scale graphs.

Conclusion

NNMFAug provides a scalable and effective means of augmenting Knowledge Graph data. While the framework is subject to the noise inherent in probabilistic sampling, its curriculum-style training mitigates these effects. Future work may explore deterministic filtering methods or logical rules to further refine the quality of synthetic triples and automate the selection of the augmentation growth factor $k$.

Summary updated

BibTeX
@misc{chauhan2021probabilistic,
  author = {Jatin Chauhan and Priyanshu Gupta and Pasquale Minervini},
  title = {{A Probabilistic Framework for Knowledge Graph Data Augmentation}},
  year = {2021},
  eprint = {2110.13205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.13205},
}
Figure