How does Heterophily Impact the Robustness of Graph Neural Networks? Theoretical Connections and Practical Implications

Jiong Zhu, Junchen Jin, Donald Loveland, Michael T. Schaub, Danai Koutra
6/14/2021
cs.LGstat.ML
gnn

Official code: GemsLab/HeteRobust (13 stars, Python, last commit 2022-07-24).

Abstract

We bridge two research directions on graph neural networks (GNNs), by formalizing the relation between heterophily of node labels (i.e., connected nodes tend to have dissimilar labels) and the robustness of GNNs to adversarial attacks. Our theoretical and empirical analyses show that for homophilous graph data, impactful structural attacks always lead to reduced homophily, while for heterophilous graph data the change in the homophily level depends on the node degrees.

Show full abstract

These insights have practical implications for defending against attacks on real-world graphs: we deduce that separate aggregators for ego- and neighbor-embeddings, a design principle which has been identified to significantly improve prediction for heterophilous graph data, can also offer increased robustness to GNNs. Our comprehensive experiments show that GNNs merely adopting this design achieve improved empirical and certifiable robustness compared to the best-performing unvaccinated model. Additionally, combining this design with explicit defense mechanisms against adversarial attacks leads to an improved robustness with up to 18.33% performance increase under attacks compared to the best-performing vaccinated model.

View on arXivView PDF

Code Implementations(1)

GemsLab/HeteRobustOfficial100%

How does Heterophily Impact the Robustness of Graph Neural Networks? Theoretical Connections and Practical Implications (KDD'22)

131Python, Jupyter NotebookMay 25, 20224 years ago
adversarial-attacksgraphgraph-convolutional-networksheterophilyrobustness

Similar Papers

Cite this paper

@article{zhu2021does,
  title  = {How does Heterophily Impact the Robustness of Graph Neural Networks? Theoretical Connections and Practical Implications},
  author = {Jiong Zhu and Junchen Jin and Donald Loveland and Michael T. Schaub and Danai Koutra},
  year   = {2021},
  eprint = {2106.07767},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.07767}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.07767.svg)](https://codeofpaper.com/paper/2106.07767)

Discussion