Metraipolis › archive › dc_8f8ac4598b99
PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEEN — arXiv:2608.30652
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.30652
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T07:44:47.201Z
- SHA-256 of the archived text
a6a52d3858bd52b6506be9c87667b354028a76c63f59dacd0e402d6e1671e1fe- Stable URL of this page
https://metraipolis.com/documento/dc_8f8ac4598b99
How to cite
PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEEN — arXiv:2608.30652 — arXiv (en), https://arxiv.org/abs/2608.30652 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8f8ac4598b99 (Metraipolis archive dc_8f8ac4598b99, sha256 a6a52d3858bd52b6506be9c87667b354028a76c63f59dacd0e402d6e1671e1fe)
BibTeX
@misc{dc8f8ac4598b99,
title = {PyKEEN-NSX: A Modular Framework for Static, Dynamic and Schema-Aware Negative Sampling in PyKEEN — arXiv:2608.30652},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.30652},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8f8ac4598b99; sha256 a6a52d3858bd52b6506be9c87667b354028a76c63f59dacd0e402d6e1671e1fe},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.30652. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Embedding methods have become popular due to their scalability on link prediction and/or triple classification tasks on Knowledge Graphs (KGs). Embedding models are trained relying on both positive and negative samples of triples. However, since KGs generally contain only positive assertions, negative samples are artificially generated through negative sampling strategies, ranging from simple random corruption to more sophisticated approaches that exploit structural, semantic, or embedding information. The design and implementation of advanced negative samplers remains challenging, as most popular Knowledge Graph Embedding (KGE) libraries provide support only for basic strategies and lack a unified framework for developing more advanced and customized solutions. To address this gap, we introduce PyKEEN-NSX, an extension of PyKEEN, the popular KGE framework, that provides a modular engineered abstraction for negative sampling. The proposed architecture separates the generation of candidate negative pools, conditioned on an explicit context, from the selection strategy, enabling the development and integration of static, schema-aware and dynamic approaches within a consistent framework. Based on this abstraction, we implement six negative samplers, while remaining fully compatible with existing PyKEEN workflows and pipelines. As a proof of concept, we study negative availability across four datasets, showing that constrained pools frequently fall below the requested number of negatives, so that the encoded criterion is to a large extent replaced by the random fallback that supplements them. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-01 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.30652 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T07:28:26.618Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).