Robust Collective Classification against Structural Attacks

Kai Zhou, Yevgeniy Vorobeychik

Abstract

Collective learning methods exploit relations among data points to enhance classification performance. However, such relations, represented as edges in the underlying graphical model, expose an extra attack surface to the adversaries. We study adversarial robustness of an important class of such graphical models, Associative Markov Networks (AMN), to structural attacks, where an attacker can modify the graph structure at test time. We formulate the task of learning a robust AMN classifier as a bi-level program, where the inner problem is a challenging non-linear integer program that computes optimal structural changes to the AMN. To address this technical challenge, we first relax the attacker problem, and then use duality to obtain a convex quadratic upper bound for the robust AMN problem. We then prove a bound on the quality of the resulting approximately optimal solutions, and experimentally demonstrate the efficacy of our approach. Finally, we apply our approach in a transductive learning setting, and show that robust AMN is much more robust than state-of-the-art deep learning methods, while sacrificing little in accuracy on non-adversarial data.

Introduction

In domains such as social networks, citation indices, and protein interactions, data is naturally represented as a graph. Collective learning methods, specifically Associative Markov Networks (AMN), exploit the "homophily" principle: the idea that connected nodes are likely to share the same label. While this relational information significantly improves classification accuracy, it also introduces a unique vulnerability. An adversary can manipulate the graph structure—adding or deleting edges—to trigger misclassifications. This paper addresses the challenge of defending against such "structural attacks."

Methodology: From Bi-level Optimization to Convex QP

The defense is framed as a bi-level optimization problem. The inner problem represents the attacker, who seeks to find the set of edge modifications (within a budget $D$) that maximizes classification loss. The outer problem represents the defender, who chooses model weights to minimize this worst-case loss.

Solving this directly is computationally intractable because the attacker's problem is a non-linear integer program. To overcome this, the authors employ several mathematical transformations:

  1. Linearization: Non-linear terms involving binary variables are replaced with continuous variables and linear constraints.
  2. Convex Relaxation & Duality: The attacker's integer constraints are relaxed to the range $[0, 1]$. By applying Lagrangian duality, the complex min-max problem is converted into a single-level Convex Quadratic Program (QP).
  3. Theoretical Guarantees: Using randomized rounding, the authors prove that the gap between their relaxed solution and the true integer optimal is bounded, ensuring the approximation remains reliable.

Experimental Evaluation

The proposed Robust AMN (R-AMN) was evaluated on classic relational datasets, including CiteSeer and Cora. The experiments focused on two scenarios: High-discriminative (H-Dis), where node features are strong, and Low-discriminative (L-Dis), where the model relies more heavily on the graph structure.

Resilience to Edge Deletion

Under edge deletion attacks (Struct-D), the accuracy of standard AMNs drops sharply as the attack strength increases. In contrast, R-AMN maintains a remarkably stable performance, often remaining well above the baseline SVM, which ignores graph structure entirely.

Accuracy of Robust vs. Standard AMN under edge deletion attacks on CiteSeer-H and CiteSeer-L.

Resilience to Combined Attacks

The defense remains effective even when the attacker can both add and delete edges (Struct-AD). While this combined attack is more potent, R-AMN (Robust-AD) demonstrates graceful degradation compared to the standard model.

Accuracy of Robust vs. Standard AMN under combined edge addition and deletion attacks on CiteSeer.

Comparative Analysis with Deep Learning

A key finding is the comparison between R-AMN and Graph Convolutional Networks (GCNs). While GCNs are state-of-the-art for clean data, they proved highly fragile under structural attacks. A "deep attack" could drop GCN accuracy from ~90% to below 50%. R-AMN, however, remained essentially invariant to these same attacks. This suggests that robustly trained classical graphical models can offer superior stability in adversarial transductive settings.

Conclusion

This work demonstrates that structural information in graphs is both a powerful asset and a significant liability. By transforming the defense into a solvable convex quadratic program, the authors provide a robust framework for collective classification. R-AMN effectively mitigates the risks of structural manipulation, offering a resilient alternative to modern deep learning models in adversarial environments.

Summary updated

BibTeX
@inproceedings{zhou2020robust,
  author = {Kai Zhou and Yevgeniy Vorobeychik},
  title = {{Robust Collective Classification against Structural Attacks}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=Ta8ltwpbIP},
}
Figure