Adversarial Robustness of Graph Transformers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Foth, Philipp, Gosch, Lukas, Geisler, Simon, Schwinn, Leo, Günnemann, Stephan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910123571544064
author Foth, Philipp
Gosch, Lukas
Geisler, Simon
Schwinn, Leo
Günnemann, Stephan
author_facet Foth, Philipp
Gosch, Lukas
Geisler, Simon
Schwinn, Leo
Günnemann, Stephan
contents Existing studies have shown that Message-Passing Graph Neural Networks (MPNNs) are highly susceptible to adversarial attacks. In contrast, despite the increasing importance of Graph Transformers (GTs), their robustness properties are unexplored. We close this gap and design the first adaptive attacks for GTs. In particular, we provide general design principles for strong gradient-based attacks on GTs w.r.t. structure perturbations and instantiate our attack framework for five representative and popular GT architectures. Specifically, we study GTs with specialized attention mechanisms and Positional Encodings (PEs) based on pairwise shortest paths, random walks, and the Laplacian spectrum. We evaluate our attacks on multiple tasks and perturbation models, including structure perturbations for node and graph classification, and node injection for graph classification. Our results reveal that GTs can be catastrophically fragile in many cases. Addressing this vulnerability, we show how our adaptive attacks can be effectively used for adversarial training, substantially improving robustness.
format Preprint
id arxiv_https___arxiv_org_abs_2407_11764
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adversarial Robustness of Graph Transformers
Foth, Philipp
Gosch, Lukas
Geisler, Simon
Schwinn, Leo
Günnemann, Stephan
Machine Learning
Existing studies have shown that Message-Passing Graph Neural Networks (MPNNs) are highly susceptible to adversarial attacks. In contrast, despite the increasing importance of Graph Transformers (GTs), their robustness properties are unexplored. We close this gap and design the first adaptive attacks for GTs. In particular, we provide general design principles for strong gradient-based attacks on GTs w.r.t. structure perturbations and instantiate our attack framework for five representative and popular GT architectures. Specifically, we study GTs with specialized attention mechanisms and Positional Encodings (PEs) based on pairwise shortest paths, random walks, and the Laplacian spectrum. We evaluate our attacks on multiple tasks and perturbation models, including structure perturbations for node and graph classification, and node injection for graph classification. Our results reveal that GTs can be catastrophically fragile in many cases. Addressing this vulnerability, we show how our adaptive attacks can be effectively used for adversarial training, substantially improving robustness.
title Adversarial Robustness of Graph Transformers
topic Machine Learning
url https://arxiv.org/abs/2407.11764