Poisoning Knowledge Graph Embeddings via Relation Inference Patterns

Peru Bhardwaj, John Kelleher, Luca Costabello, Declan O'Sullivan
11/11/2021
cs.LGcs.AIcs.CL

Official code: PeruBhardwaj/InferenceAttack (14 stars, Python, MIT, last commit 2022-10-13).

Abstract

We study the problem of generating data poisoning attacks against Knowledge Graph Embedding (KGE) models for the task of link prediction in knowledge graphs. To poison KGE models, we propose to exploit their inductive abilities which are captured through the relationship patterns like symmetry, inversion and composition in the knowledge graph.

Show full abstract

Specifically, to degrade the model's prediction confidence on target facts, we propose to improve the model's prediction confidence on a set of decoy facts. Thus, we craft adversarial additions that can improve the model's prediction confidence on decoy facts through different inference patterns. Our experiments demonstrate that the proposed poisoning attacks outperform state-of-art baselines on four KGE models for two publicly available datasets. We also find that the symmetry pattern based attacks generalize across all model-dataset combinations which indicates the sensitivity of KGE models to this pattern.

View on arXivView PDF

Code Implementations(1)

MIT

Code repository for ACL-IJCNLP 2021 paper 'Poisoning Knowledge Graph Embeddings via Relation Inference Patterns'

142Python, Jupyter NotebookMay 31, 20214 years agoMIT

Similar Papers

Cite this paper

@article{bhardwaj2021poisoning,
  title  = {Poisoning Knowledge Graph Embeddings via Relation Inference Patterns},
  author = {Peru Bhardwaj and John Kelleher and Luca Costabello and Declan O'Sullivan},
  year   = {2021},
  eprint = {2111.06345},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.06345}
}

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

Discussion