Towards Adversarially Robust Knowledge Graph Embeddings

Peru BhardwajAAAI 2020

Abstract

Knowledge Graph Embeddings (KGEs) are essential tools for modeling complex relational data, yet they remain surprisingly vulnerable to adversarial attacks—small, intentional perturbations that can trick models into making incorrect predictions. This research proposes a framework for designing more potent attacks, developing robust defenses through adversarial training, and investigating whether enhancing model security also improves the interpretability of AI decisions for human users.

Introduction

Knowledge graphs (KGs) represent data as a web of interconnected entities and relations, such as "Person A" owns "Account B." KGE models translate this structural information into numerical vectors (embeddings) used for critical tasks like link prediction or node classification. As these models are increasingly deployed in high-stakes, security-sensitive domains—such as anti-money laundering or identifying industrial risks—they become prime targets for malicious actors.

A critical gap exists in current research: while adversarial attacks on Graph Neural Networks (GNNs) are well-studied, the security of KGE models has been largely overlooked. Currently, even the most advanced adversarial attacks on KGEs only reduce performance by approximately 50%, whereas similar attacks on GNNs can drop accuracy to near zero. Furthermore, the relationship between adversarial robustness and model interpretability in the context of KGs remains unexplored.

Methodology

The research outlines a three-pronged objective to address these vulnerabilities:

  1. Designing Potent Attacks (RO1): Unlike images where pixels are continuous, KGs are discrete. The goal is to develop methods that map mathematical perturbations in the "latent space" back to real-world graph changes, such as adding or removing specific triples (Subject, Predicate, Object), to effectively degrade model performance.
  2. Improving Robustness (RO2): To defend against attacks, the author proposes adapting adversarial training to KGEs. This involves training the model on both original and perturbed data. A novel adversarial loss function is introduced to specifically penalize the model for assigning high scores to "fake" triples generated by an attacker.
  3. Evaluating Interpretability (RO3): Testing the hypothesis that robust models are more interpretable, the research will extract human-readable rules from the KG. By comparing rules from standard versus robust models, the study determines if security measures lead to more transparent AI.
Overview of the adversarial research cycle: (a) original graph, (b) identifying perturbations, (c) the impact of an adversarial attack, and (d) the result of adversarial robustness training.

Datasets and Use Cases

The primary use case involves financial relational graphs, which include entities like bank accounts (Acc), companies (Co), and people (Person), connected by relations such as "owns" or "transfers." The core task is classifying accounts as "suspicious" or "not suspicious." These real-world scenarios allow for evaluating performance under various "threat models" based on the attacker's knowledge of the system.

Key Insights and Results

  • The Latent Space Challenge: Attacking KGEs is complex because loss functions depend on latent embeddings rather than direct input. A single adversarial change can ripple through the entire graph, affecting entities far from the initial perturbation.
  • The Robustness-Interpretability Link: By forcing a model to ignore adversarial noise, it may be compelled to rely on fundamental logical patterns, potentially making its decisions easier for humans to interpret as rules.

While quantitative results are in progress, the research establishes a baseline where current methods (like those by Pezeshkpour et al.) achieve only a 50% reduction in predictive performance. The proposed framework aims to exceed this threshold to reveal the true vulnerabilities of KGE models and measure success through "predictive performance degradation" on downstream tasks.

Conclusion and Future Work

A major challenge remains in the "inverter" process—translating mathematical embedding perturbations back into discrete, implementable triples. Additionally, the computational cost of scoring all possible perturbations in large KGs necessitates finding efficient ways to identify the most influential triples. Future work will expand the scope from node classification and link prediction to other graph-based tasks like entity resolution.

Summary updated

BibTeX
@inproceedings{bhardwaj2020towards,
  author = {Peru Bhardwaj},
  title = {{Towards Adversarially Robust Knowledge Graph Embeddings}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i10.7128},
}
Figure