Knowledge Sheaves: A Sheaf-Theoretic Framework for Knowledge Graph Embedding

Thomas Gebhart, Jakob Hansen, Paul Schrater
10/7/2021
cs.LGmath.ATstat.ML

Official code: tgebhart/sheaf_kg (11 stars, Jupyter Notebook, last commit 2022-12-02).

Abstract

Knowledge graph embedding involves learning representations of entities -- the vertices of the graph -- and relations -- the edges of the graph -- such that the resulting representations encode the known factual information represented by the knowledge graph and can be used in the inference of new relations. We show that knowledge graph embedding is naturally expressed in the topological and categorical language of \textit{cellular sheaves}: a knowledge graph embedding can be described as an approximate global section of an appropriate \textit{knowledge sheaf} over the graph, with consistency constraints induced by the knowledge graph's schema.

Show full abstract

This approach provides a generalized framework for reasoning about knowledge graph embedding models and allows for the expression of a wide range of prior constraints on embeddings. Further, the resulting embeddings can be easily adapted for reasoning over composite relations without special training. We implement these ideas to highlight the benefits of the extensions inspired by this new perspective.

View on arXivView PDF

Code Implementations(1)

tgebhart/sheaf_kgOfficial100%
112Jupyter Notebook, PythonJan 27, 20214 years ago

Similar Papers

Cite this paper

@article{gebhart2021knowledge,
  title  = {Knowledge Sheaves: A Sheaf-Theoretic Framework for Knowledge Graph Embedding},
  author = {Thomas Gebhart and Jakob Hansen and Paul Schrater},
  year   = {2021},
  eprint = {2110.03789},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.03789}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.03789.svg)](https://codeofpaper.com/paper/2110.03789)

Discussion