Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: d'Amato, Claudia, Diliso, Ivan, Fanizzi, Nicola, Saeed, Zafar
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916885395668992
author d'Amato, Claudia
Diliso, Ivan
Fanizzi, Nicola
Saeed, Zafar
author_facet d'Amato, Claudia
Diliso, Ivan
Fanizzi, Nicola
Saeed, Zafar
contents Embedding methods have become popular due to their scalability on link prediction and/or triple classification tasks on Knowledge Graphs. Embedding models are trained relying on both positive and negative samples of triples. However, in the absence of negative assertions, these must be usually artificially generated using various negative sampling strategies, ranging from random corruption to more sophisticated techniques which have an impact on the overall performance. Most of the popular libraries for knowledge graph embedding, support only basic such strategies and lack advanced solutions. To address this gap, we deliver an extension for the popular KGE framework PyKEEN that integrates a suite of several advanced negative samplers (including both static and dynamic corruption strategies), within a consistent modular architecture, to generate meaningful negative samples, while remaining compatible with existing PyKEEN -based workflows and pipelines. The developed extension not only enhancesPyKEEN itself but also allows for easier and comprehensive development of embedding methods and/or for their customization. As a proof of concept, we present a comprehensive empirical study of the developed extensions and their impact on the performance (link prediction tasks) of different embedding methods, which also provides useful insights for the design of more effective strategies
format Preprint
id arxiv_https___arxiv_org_abs_2508_05587
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Models
d'Amato, Claudia
Diliso, Ivan
Fanizzi, Nicola
Saeed, Zafar
Machine Learning
68T01
I.2.0
Embedding methods have become popular due to their scalability on link prediction and/or triple classification tasks on Knowledge Graphs. Embedding models are trained relying on both positive and negative samples of triples. However, in the absence of negative assertions, these must be usually artificially generated using various negative sampling strategies, ranging from random corruption to more sophisticated techniques which have an impact on the overall performance. Most of the popular libraries for knowledge graph embedding, support only basic such strategies and lack advanced solutions. To address this gap, we deliver an extension for the popular KGE framework PyKEEN that integrates a suite of several advanced negative samplers (including both static and dynamic corruption strategies), within a consistent modular architecture, to generate meaningful negative samples, while remaining compatible with existing PyKEEN -based workflows and pipelines. The developed extension not only enhancesPyKEEN itself but also allows for easier and comprehensive development of embedding methods and/or for their customization. As a proof of concept, we present a comprehensive empirical study of the developed extensions and their impact on the performance (link prediction tasks) of different embedding methods, which also provides useful insights for the design of more effective strategies
title Enhancing PyKEEN with Multiple Negative Sampling Solutions for Knowledge Graph Embedding Models
topic Machine Learning
68T01
I.2.0
url https://arxiv.org/abs/2508.05587