Simple Rule Injection for ComplEx Embeddings

Haodi Ma, Anthony Colas, Yuejie Wang, Ali Sadeghian, Daisy Zhe Wang
8/7/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Recent works in neural knowledge graph inference attempt to combine logic rules with knowledge graph embeddings to benefit from prior knowledge. However, they usually cannot avoid rule grounding, and injecting a diverse set of rules has still not been thoroughly explored. In this work, we propose InjEx, a mechanism to inject multiple types of rules through simple constraints, which capture definite Horn rules. To start, we theoretically prove that InjEx can inject such rules. Next, to demonstrate that InjEx infuses interpretable prior knowledge into the embedding space, we evaluate InjEx on both the knowledge graph completion (KGC) and few-shot knowledge graph completion (FKGC) settings. Our experimental results reveal that InjEx outperforms both baseline KGC models as well as specialized few-shot models while maintaining its scalability and efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{ma2023simple,
  title  = {Simple Rule Injection for ComplEx Embeddings},
  author = {Haodi Ma and Anthony Colas and Yuejie Wang and Ali Sadeghian and Daisy Zhe Wang},
  year   = {2023},
  eprint = {2308.03269},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.03269v1}
}

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/2308.03269.svg)](https://codeofpaper.com/paper/2308.03269)

Discussion