Adversarial Attack against Cross-lingual Knowledge Graph Alignment

Zeru Zhang, Zijie Zhang, Yang Zhou, Lingfei Wu, Sixing Wu, Xiaoying Han, Dejing Dou, Tianshi Che, Da Yan

Abstract

Cross-lingual knowledge graph (KG) alignment is a critical task for integrating information across different languages. While deep learning models like Graph Convolutional Networks (GCNs) have achieved high accuracy, they remain vulnerable to adversarial attacks. This paper introduces the Effective Adversarial Attack (EAA), the first comprehensive study of adversarial robustness in cross-lingual KG alignment. EAA employs Kernel Density Estimation (KDE) to maintain stealth by hiding perturbations in dense graph regions and utilizes an attack signal amplification method to overcome the vanishing gradient problem. Experimental results on the DBP15K dataset demonstrate that EAA significantly outperforms existing attack methods, highlighting the fragility of current state-of-the-art alignment models.

Introduction

Knowledge Graphs (KGs) such as DBpedia and YAGO serve as the foundation for numerous AI applications, including semantic search and recommendation systems. Cross-lingual entity alignment is the process of identifying equivalent entities across KGs in different languages (e.g., linking "San Francisco" in an English KG to its Chinese equivalent).

Despite the success of GCN-based models in this domain, they are often "brittle" when faced with adversarial noise. Attacking cross-lingual alignment presents unique challenges: an attacker must manipulate relationships both within and across two distinct graphs while ensuring the changes remain unnoticeable.

Conceptual illustration of an adversarial attack causing incorrect entity alignment.

As illustrated above, the goal of an adversarial attack is to perturb the graph structure such that the alignment model maps an entity to an incorrect counterpart in the target graph, effectively breaking the cross-lingual link.

Methodology: The EAA Framework

The authors propose the EAA (Effective Adversarial Attack) model, which introduces two novel techniques to ensure attacks are both stealthy and effective.

1. Stealth via Entity Density Maximization

Traditional attacks often focus solely on minimizing the number of changes. EAA takes a more sophisticated approach by making "smart" changes. It uses Kernel Density Estimation (KDE) to estimate the distribution of entities in the KG. By adding or deleting relations, the attack "pushes" the target entity into a dense region populated by many similar-looking entities. This makes the entity indistinguishable from its neighbors, effectively hiding the attack in plain sight from both human observers and automated defense programs.

2. Effectiveness via Attack Signal Amplification

Deep GCNs frequently suffer from "vanishing gradients," where the signal used to generate the attack weakens as it backpropagates through the network layers. To solve this, EAA leverages Dynamical Isometry theory. The authors calculate an amplification factor ($\alpha$) based on the Jacobian matrix of the model. This factor scales the attack signal, ensuring it remains strong enough to propagate from the output layer back to the input features. This mathematical grounding allows for a more principled and successful generation of perturbations compared to trial-and-error methods.

Experimental Setup

The study utilizes the DBP15K dataset, a standard benchmark containing three language pairs: Chinese-English (ZH-EN), Japanese-English (JA-EN), and French-English (FR-EN). The attack is evaluated against three state-of-the-art alignment models: AttrGNN, RNM, and REA.

Key Results and Analysis

EAA consistently outperformed seven other state-of-the-art attack models across all datasets and alignment algorithms.

Performance Degradation

On the ZH-EN dataset using the AttrGNN model, the alignment accuracy (Hits@1) dropped from a clean baseline of 0.796 to 0.497 under the EAA attack. This represents a significant degradation in the utility of the alignment model.

Performance comparison of EAA against other attack methods.

As shown in the figure above, EAA (blue stars) consistently achieves the lowest Hits@1 scores across various perturbation budgets (from 5% to 30%), indicating it is more effective at breaking the alignment than other methods like GF-Attack, LowBlow, or CRIAGE. On average, EAA achieved a 17.7% improvement in attack effectiveness over the next best model.

Robustness of Alignment Models

Interestingly, even REA, a model specifically designed to be robust against noise, was significantly degraded by the EAA attack. This suggests that current robustness strategies, which often focus on detecting random noise or simple inter-KG link perturbations, are not yet prepared for targeted, density-aware adversarial strategies.

Conclusion and Future Work

The EAA framework demonstrates that cross-lingual KG alignment is highly vulnerable to principled adversarial attacks. By combining local topology awareness with signal amplification, EAA exposes critical security gaps in current GCN-based alignment models.

Future research directions include developing black-box attacks that do not require access to model parameters and creating new defense mechanisms that can detect density-based hiding. Additionally, optimizing the calculation of the Jacobian matrix will be necessary to allow the attack to scale to industrial-sized knowledge graphs.

Summary updated

BibTeX
@inproceedings{zhang2021adversarial,
  author = {Zeru Zhang and Zijie Zhang and Yang Zhou and Lingfei Wu and Sixing Wu and Xiaoying Han and Dejing Dou and Tianshi Che and Da Yan},
  title = {{Adversarial Attack against Cross-lingual Knowledge Graph Alignment}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.432},
}
Figure