Node-aware Bi-smoothing: Certified Robustness against Graph Injection Attacks

Yuni Lai, Yulin Zhu, Bailin Pan, Kai Zhou

TL;DR

Researchers have developed Node-aware Bi-smoothing, the first framework to provide provable "certified robustness" against Graph Injection Attacks (GIA). By strategically and randomly deleting both nodes and edges during training and inference, the framework creates a mathematical guarantee that a model’s predictions will remain stable even if an attacker injects malicious nodes into the network.

What Problem Does This Paper Address?

Deep Graph Learning (DGL) models, like Graph Neural Networks (GNNs), are increasingly used in high-stakes areas like fraud detection and recommendation systems. However, they are notoriously vulnerable to adversarial attacks.

Most existing research focuses on Graph Manipulation Attacks (GMA), where an attacker modifies existing edges. This paper tackles the more realistic and stealthy Graph Injection Attack (GIA). In a GIA, the attacker doesn't need to control the existing graph; they simply "inject" new, malicious nodes (like fake accounts in a social network) and connect them to existing users to manipulate the model's output.

While empirical defenses exist, they often fall into an "arms race" with new attack techniques. The authors address the lack of certified robustness—a theoretical guarantee that a model's prediction is mathematically certain to stay the same within a specific "radius" of perturbation (e.g., "this prediction is guaranteed to be correct even if 5 malicious nodes are injected").

Methods

The authors introduce Node-aware Bi-smoothing, a model-agnostic framework that works for both evasion (attack at test time) and poisoning (attack during training) scenarios.

The core innovation is the "Bi-smoothing" mechanism:

  1. Edge Deletion: Randomly removing edges with probability $p_e$.
  2. Node Deletion: Randomly removing entire nodes (and all their incident edges) with probability $p_n$.

By combining these, the framework significantly increases the probability that injected malicious nodes are completely "isolated" or removed during the randomized smoothing process. This "overlap" between the clean graph and the attacked graph is what allows for the calculation of a certified robustness margin using the Neyman-Pearson lemma.

The authors also propose a specific variant called node-aware-exclude for poisoning attacks, which improves performance by excluding isolated nodes from the prediction process entirely after randomization.

Datasets

The framework was evaluated on three widely used benchmarks:

  • Cora-ML & Citeseer: Standard citation network datasets used for node classification tasks.
  • MovieLens-100k: A classic dataset for recommendation systems, used here to test the framework's ability to certify "top-K" recommendations.

Key Insights and Ideas

  • The Power of Node Deletion: The "aha moment" is realizing that standard edge-level smoothing is insufficient for GIAs. Because an injected node's influence is concentrated on its few incident edges, deleting the node itself is a much more efficient way to "wipe out" the attacker's influence and boost the mathematical certification radius.
  • Model Agnosticism: Because the defense relies on randomized smoothing of the input data rather than changing the model architecture, it can be wrapped around any existing GNN (GCN, ProGNN, etc.) or recommendation algorithm.
  • Bridging Classification and Recommendation: The authors successfully extended the logic of node classification certificates to the more complex world of recommendation systems, certifying that at least $r$ items in a "Top-K" list will remain correct despite an attack.

Key Results

  • Massive Gains in ACR: In poisoning scenarios, the proposed method improved the Average Certifiable Radius (ACR) by 760% on Cora-ML and 530% on Citeseer compared to direct adaptations of previous state-of-the-art methods.
  • Maintaining Accuracy: While many "robust" models sacrifice performance on clean data, the node-aware-exclude variant maintained high clean accuracy while providing strong guarantees. For example, on Cora-ML with 10 injected nodes, it achieved 55.4% certified accuracy, whereas baseline adaptations dropped to 0%.
  • Empirical Strength: Even when tested against "real-world" strong attackers (like HAOGIA), the model provided the best empirical defense, often maintaining nearly unchanged accuracy as the attack budget increased.

Limitations and Future Work

The primary limitation, common to all randomized smoothing techniques, is computational overhead. Because the model must make predictions on thousands of randomized samples to "vote" on the final output, inference and training are significantly slower than standard models.

The authors suggest that future work could explore "de-randomized" smoothing or more efficient training processes to reduce this bottleneck. Additionally, exploring "collective certification"—where the model certifies the entire graph's predictions simultaneously rather than node-by-node—remains an open and promising direction.

Summary updated

BibTeX
@inproceedings{lai2024node,
  author = {Yuni Lai and Yulin Zhu and Bailin Pan and Kai Zhou},
  title = {{Node-aware Bi-smoothing: Certified Robustness against Graph Injection Attacks}},
  booktitle = {SP},
  year = {2024},
  url = {https://openreview.net/forum?id=xIgTd12MLZ},
}
Figure