Skip to main content
QUICK REVIEW

[Paper Review] Reliable Graph Neural Networks via Robust Aggregation

Simon Geisler, Daniel Zügner|arXiv (Cornell University)|Oct 29, 2020
Adversarial Robustness in Machine LearningComputer Science23 references24 citations
TL;DR

This paper proposes Soft Medoid, a fully differentiable, robust aggregation function for Graph Neural Networks (GNNs) that mitigates the impact of adversarially injected edges by leveraging principles from robust statistics. With a breakdown point of 0.5, it bounds error even when up to half of a node's neighbors are adversarial, improving robustness against structural perturbations by up to 5.5× on Citeseer and 8× on low-degree nodes.

ABSTRACT

Perturbations targeting the graph structure have proven to be extremely effective in reducing the performance of Graph Neural Networks (GNNs), and traditional defenses such as adversarial training do not seem to be able to improve robustness. This work is motivated by the observation that adversarially injected edges effectively can be viewed as additional samples to a node's neighborhood aggregation function, which results in distorted aggregations accumulating over the layers. Conventional GNN aggregation functions, such as a sum or mean, can be distorted arbitrarily by a single outlier. We propose a robust aggregation function motivated by the field of robust statistics. Our approach exhibits the largest possible breakdown point of 0.5, which means that the bias of the aggregation is bounded as long as the fraction of adversarial edges of a node is less than 50\%. Our novel aggregation function, Soft Medoid, is a fully differentiable generalization of the Medoid and therefore lends itself well for end-to-end deep learning. Equipping a GNN with our aggregation improves the robustness with respect to structure perturbations on Cora ML by a factor of 3 (and 5.5 on Citeseer) and by a factor of 8 for low-degree nodes.

Motivation & Objective

  • Address the critical vulnerability of GNNs to structural adversarial attacks, where perturbations to graph edges significantly degrade model performance.
  • Identify that conventional GNN aggregation functions (e.g., sum, mean) are highly sensitive to outliers, enabling arbitrary distortion by a single adversarial edge.
  • Develop a robust aggregation mechanism that maintains bounded error even when up to 50% of neighborhood inputs are corrupted, ensuring resilience to arbitrary attack patterns.
  • Design a fully differentiable alternative to the non-differentiable medoid, enabling end-to-end training in deep GNN architectures.
  • Improve robustness specifically for low-degree nodes, which are traditionally more vulnerable to structural attacks due to limited neighborhood information.

Proposed method

  • Propose Soft Medoid as a differentiable generalization of the medoid, using a soft-minimization approach over pairwise distances in the embedding space.
  • Formulate the aggregation as minimizing a differentiable objective that approximates the medoid while allowing gradient flow through backpropagation.
  • Integrate Soft Medoid into the message-passing framework of GNNs, replacing standard aggregators like sum or mean in the update rule.
  • Ensure the method has a theoretical breakdown point of 0.5, meaning the estimator remains bounded as long as fewer than half the neighbors are adversarial.
  • Use a temperature-controlled soft-min function to approximate the discrete medoid selection, enabling smooth optimization in deep learning pipelines.
  • Apply the method within standard GNN architectures (e.g., GCN) without architectural overhaul, enabling plug-and-play robustness.

Experimental results

Research questions

  • RQ1Can a differentiable, robust aggregation function be designed to resist structural adversarial attacks in GNNs without relying on attack-specific assumptions?
  • RQ2To what extent can a robust aggregation function with a high breakdown point (0.5) improve GNN robustness under varying levels of structural perturbation?
  • RQ3How does the proposed Soft Medoid aggregation perform compared to existing defenses, particularly on low-degree nodes that are inherently more vulnerable?
  • RQ4Can the robustness gains be empirically validated across multiple benchmark datasets like Cora and Citeseer under standard attack settings?
  • RQ5Does the use of a differentiable medoid approximation preserve model accuracy under clean data while significantly improving robustness under attack?

Key findings

  • Soft Medoid improves robustness against structural perturbations by a relative factor of 3 on Cora ML and up to 5.5× on Citeseer compared to baseline GNNs.
  • The method achieves a 550% relative improvement in robustness on Cora ML and up to 8× improvement on low-degree nodes, demonstrating strong resilience in challenging cases.
  • The proposed method outperforms prior state-of-the-art defenses, including RGCN, [24], and [52], across multiple attack types and datasets.
  • Certification experiments show that Soft Medoid GDC maintains a high certified ratio across various perturbation radii for both edge addition and deletion attacks.
  • The soft-minimization formulation enables effective backpropagation and end-to-end training, maintaining high clean accuracy while significantly improving robustness.
  • Theoretical analysis confirms that Soft Medoid achieves the optimal breakdown point of 0.5, ensuring bounded error under adversarial conditions as long as less than half the neighbors are corrupted.

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.