Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Euclidean Distance Attack on Network Embedding

Shanqing Yu, Jun Zheng|arXiv (Cornell University)|May 27, 2019
Complex Network Analysis TechniquesPhysics and Astronomy43 references6 citations
TL;DR

This paper proposes an unsupervised Euclidean Distance Attack (EDA) that uses a Genetic Algorithm to minimize the performance of network embedding-based algorithms by perturbing the network structure to distort Euclidean distances between node embeddings. EDA achieves strong transferability, significantly degrading community detection and node classification across multiple embedding methods and non-embedding algorithms like LPA and EM.

ABSTRACT

Considering the wide application of network embedding methods in graph data mining, inspired by the adversarial attack in deep learning, this paper proposes a Genetic Algorithm (GA) based Euclidean Distance Attack strategy (EDA) to attack the network embedding, so as to prevent certain structural information from being discovered. EDA focuses on disturbing the Euclidean distance between a pair of nodes in the embedding space as much as possible through minimal modifications of the network structure. Since a large number of downstream network algorithms, such as community detection and node classification, rely on the Euclidean distance between nodes to evaluate the similarity between them in the embedding space, EDA can be considered as a universal attack on a variety of network algorithms. Different from traditional supervised attack strategies, EDA does not need labeling information, and, in other words, is an unsupervised network embedding attack method.

Motivation & Objective

  • To develop a universal, unsupervised attack strategy targeting network embedding that disrupts downstream network algorithms without requiring labeled data.
  • To focus on distorting the Euclidean distance between node embeddings as the core mechanism of attack, since this metric underpins many network algorithms.
  • To evaluate the transferability of the attack across different network embedding methods (e.g., DeepWalk, HOPE) and non-embedding-based algorithms (e.g., LPA, EM).
  • To demonstrate that minimal structural perturbations—such as adding or deleting a few links—can significantly degrade the performance of community detection and node classification.

Proposed method

  • Employ a Genetic Algorithm (GA) to search for optimal network modifications (link additions/deletions) that maximize the distortion of Euclidean distances between node pairs in the embedding space.
  • Use DeepWalk as the base network embedding method to generate node vectors, and define the attack objective as minimizing the similarity between node pairs based on their Euclidean distance in the embedding space.
  • Formulate the attack as an optimization problem where the fitness function measures the degradation in downstream algorithm performance (e.g., F1-score in node classification or normalized mutual information in community detection).
  • Apply the GA to iteratively evolve a population of network perturbations, selecting those that most effectively reduce the performance of target algorithms.
  • Visualize the attack effects using t-SNE to show how node embeddings from the adversarial network lose community separation over time.
  • Analyze the spatial distribution of added and deleted links to reveal that most added links connect different communities, while most deleted links occur within communities, indicating strategic disruption of structural cohesion.

Experimental results

Research questions

  • RQ1Can an unsupervised attack strategy effectively degrade the performance of network embedding-based algorithms without requiring labeled data or prior knowledge of node attributes?
  • RQ2To what extent does the proposed Euclidean Distance Attack (EDA) degrade the performance of community detection and node classification across different embedding methods like DeepWalk and HOPE?
  • RQ3Does the EDA method exhibit strong transferability when applied to non-embedding-based algorithms such as Label Propagation Algorithm (LPA) and Eigenvectors of Matrices (EM)?
  • RQ4How do the structural changes (e.g., added/deleted links) introduced by EDA correlate with community structure, and what does this reveal about the attack’s mechanism?

Key findings

  • EDA significantly reduces the F1-score in node classification and normalized mutual information (NMI) in community detection across multiple real-world networks, outperforming all baseline attack strategies in most cases.
  • The attack remains effective on HOPE-based algorithms, demonstrating strong transferability beyond the base embedding method (DeepWalk).
  • EDA also degrades performance on LPA and EM—algorithms not relying on network embeddings—confirming its broad applicability and universal nature.
  • Visualization via t-SNE shows that adversarial perturbations progressively blur the separation between communities in the embedding space, confirming the distortion of structural information.
  • A majority of added links in the attack are between communities, while most deleted links are within communities, indicating that EDA strategically disrupts community cohesion.
  • The attack achieves substantial performance degradation with minimal structural changes—only 1% to 7% of links rewired in the karate club network leads to complete loss of community structure in the embedding space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.