Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Robustness in Graph Neural Networks: A Hamiltonian Approach

Kai Zhao, Qiyu Kang|arXiv (Cornell University)|Oct 10, 2023
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

The paper introduces Hamiltonian-inspired graph neural flows (HANG) to achieve energy-conservative, robust GNNs against adversarial topology and feature perturbations, and empirically demonstrates improved robustness over several baselines.

ABSTRACT

Graph neural networks (GNNs) are vulnerable to adversarial perturbations, including those that affect both node features and graph topology. This paper investigates GNNs derived from diverse neural flows, concentrating on their connection to various stability notions such as BIBO stability, Lyapunov stability, structural stability, and conservative stability. We argue that Lyapunov stability, despite its common use, does not necessarily ensure adversarial robustness. Inspired by physics principles, we advocate for the use of conservative Hamiltonian neural flows to construct GNNs that are robust to adversarial attacks. The adversarial robustness of different neural flow GNNs is empirically compared on several benchmark datasets under a variety of adversarial attacks. Extensive numerical experiments demonstrate that GNNs leveraging conservative Hamiltonian flows with Lyapunov stability substantially improve robustness against adversarial perturbations. The implementation code of experiments is available at https://github.com/zknus/NeurIPS-2023-HANG-Robustness.

Motivation & Objective

  • Examine how different notions of stability affect adversarial robustness in graph neural flows.
  • Propose Hamiltonian-inspired, energy-conserving graph neural flows (HANG) as a robust alternative to existing GNNs.
  • Show experimentally that HANG with Lyapunov stability enhances robustness under diverse attacks.
  • Compare conservative Hamiltonian flows to other stable graph neural flows (e.g., GRAND, GraphCON, GraphBel) in terms of robustness.

Proposed method

  • Review stability notions (BIBO, Lyapunov, structural, conservative stability) in dynamical systems and map them to graph neural flows.
  • Introduce Hamiltonian graph diffusion (HANG) by splitting node features into position q and momentum p, evolving via canonical Hamilton’s equations with a learnable energy H_net.
  • Prove energy conservation under the HANG dynamics (H_net is conserved along trajectories).
  • Instantiate two HANG variants: Vanilla HANG and Quadratic HANG (HANG-quad) with different choices for H_net to induce Lyapunov stability under certain conditions.
  • Provide two implementation forms for H_net (Vanilla HANG using two GCN layers; HANG-quad using a Lagrange-Dirichlet-inspired design to achieve Lyapunov stability).
  • Evaluate robustness against adversarial graph injections and evasion attacks across standard datasets and compare to baselines (GRAND, GraphCON, GraphBel, GAT, GraphSAGE, GCN).

Experimental results

Research questions

  • RQ1Which stability notions best correlate with adversarial robustness in graph neural flows?
  • RQ2Can energy-conserving Hamiltonian-inspired GNNs (HANG) improve robustness to topology and feature perturbations?
  • RQ3Do Lyapunov-stable variants of Hamiltonian flows further enhance robustness?
  • RQ4How do HANG and HANG-quad compare with existing stable graph neural flows under various adversarial attacks?

Key findings

  • Hamiltonian-inspired GNNs with energy conservation (HANG) exhibit conservative stability.
  • HANG and HANG-quad show improved robustness against a range of adversarial perturbations compared to several baselines.
  • Lyapunov stability enhances robustness when layered on top of Hamiltonian flows.
  • Compared against GRAND, BLEND, GraphCON, GraphBel, and standard GNNs, HANG variants achieve competitive or superior performance under attack while maintaining stability properties.
  • The study provides extensive empirical results across multiple datasets and attack types (injection, evasion, non-targeted, and targeted attacks).

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.