Unsupervised Euclidean Distance Attack on Network Embedding

Shanqing Yu, Jun Zheng, Jinyin Chen, Qi Xuan, Qingpeng ZhangDSC 2019 · DOI

TL;DR

This paper introduces an unsupervised attack strategy called Euclidean Distance Attack (EDA) that targets network embedding methods. EDA aims to disrupt the spatial relationships between nodes in the embedded space by making minimal changes to the network structure, thereby degrading the performance of downstream tasks like community detection and node classification.

What Problem Does This Paper Address?

Network embedding techniques are crucial for applying machine learning to graph data by transforming nodes into low-dimensional vectors. However, these embeddings can inadvertently expose sensitive information or be vulnerable to attacks. While adversarial attacks have been explored in other deep learning domains, this paper focuses on developing an attack specifically for network embeddings. The challenge is to create an attack that is effective, doesn't require labeled data (unsupervised), and can generalize across various network analysis tasks that rely on the distances between embedded nodes.

Methods

The core of the proposed method is the Euclidean Distance Attack (EDA). EDA's objective is to maximize the disruption of Euclidean distances between node pairs in the embedding space with minimal modifications to the original network structure. To achieve this, the authors employ a Genetic Algorithm (GA) to search for the optimal set of link additions and deletions that achieve this goal.

Here's a breakdown of the methodology:

  • Network Encoding: The GA represents potential network perturbations as "genes," where each gene corresponds to adding or deleting a link. A population of these "individuals" (perturbed networks) is maintained.
  • Fitness Function: The fitness of an individual (a specific network perturbation) is defined by how much it degrades the similarity between node embedding vectors. Specifically, it's calculated as 1 minus the Pearson correlation coefficient between the original and perturbed node distance matrices. A lower correlation indicates a greater disruption.
  • GA Operations:
    • Selection: Individuals with higher fitness (i.e., more disruptive perturbations) are more likely to be selected for the next generation.
  • Crossover: Genes (link changes) from two parent individuals are combined to create new offspring.
  • Mutation: Random changes are introduced to the genes of individuals.
  • DeepWalk as Base: The authors use DeepWalk, a popular unsupervised network embedding method, as the foundation for their experiments. The process involves embedding the original network, calculating distances, applying the GA to perturb the network, re-embedding the perturbed network, and then evaluating the impact on downstream tasks.

Datasets

The paper evaluates EDA on four commonly used benchmark social networks:

  • Zachary Karate Club (Karate): A small network representing a university karate club.
  • Game of Thrones (Game): A network of character interactions from the novel series.
  • Citeseer: A paper citation network.
  • Cora: A dataset of machine learning paper citations.

These datasets are standard for evaluating network analysis algorithms and are used here to test the effectiveness of the proposed attack strategy.

Key Insights and Ideas

  • Unsupervised Attack on Embeddings: The most significant contribution is the development of an unsupervised attack that directly targets the network embedding process, rather than specific downstream algorithms. This makes it a more general and potentially powerful attack.
  • Euclidean Distance as a Vulnerability: The paper highlights that the Euclidean distance between nodes in the embedding space is a critical factor for many downstream algorithms. By disrupting this distance, EDA can effectively degrade performance.
  • GA for Optimal Perturbation: Using a Genetic Algorithm is an effective way to search for the minimal network modifications that cause maximal disruption in the embedding space, a problem that is computationally challenging.
  • Transferability of Attack: EDA demonstrates strong transferability, meaning it can degrade the performance of various network algorithms, including those not directly based on the embedding method used for the attack (DeepWalk). This suggests that the attack targets a fundamental aspect of network representation.
  • Link Deletion vs. Addition: The experiments suggest that deleting links can cause greater destruction to the network's embedding than adding links, given the same number of perturbations.

Key Results

  • Degradation of Downstream Tasks: EDA significantly reduces the performance of community detection and node classification algorithms when applied to networks with perturbed embeddings.
  • Outperforming Baselines: In most cases, EDA outperforms other baseline attack strategies (Randomly Attack, DICE, DBA, GDA, NEA) in terms of degrading performance, especially in community detection.
  • Effectiveness Across Algorithms: EDA shows effectiveness not only on DeepWalk-based algorithms but also on other embedding methods like HOPE and non-embedding-based algorithms like LPA and EM, demonstrating its broad applicability.
  • Visual Evidence: t-SNE visualizations show that as EDA increases the percentage of attacked links, node vectors from different communities become increasingly mixed, making them indistinguishable.

Limitations and Future Work

  • GA Local Optima: The authors acknowledge that Genetic Algorithms can sometimes be trapped in local optima, which might limit the absolute best possible perturbation.
  • Targeted Attacks: The current EDA is a global attack. Future work could focus on developing targeted attacks that disturb local structures around specific nodes or links.
  • Other Embedding Methods: While EDA shows transferability, further exploration of its effectiveness against a wider range of network embedding techniques would be beneficial.
  • Real-world Privacy: The paper frames the attack as a privacy protection strategy for users, but further research could explore the practical implications of such attacks on real-world sensitive networks.

Summary updated

BibTeX
@inproceedings{yu2019unsupervised,
  author = {Shanqing Yu and Jun Zheng and Jinyin Chen and Qi Xuan and Qingpeng Zhang},
  title = {{Unsupervised Euclidean Distance Attack on Network Embedding}},
  booktitle = {DSC},
  year = {2019},
  doi = {10.1109/dsc50466.2020.00019},
}
Figure