TL;DR
This paper introduces a novel framework, BinarizedAttack, for creating structural poisoning attacks against graph anomaly detection (GAD) systems. By reformulating complex bi-level optimization problems into a single level and employing a unique gradient-based approach for discrete optimization, their method effectively manipulates graph structures to evade detection, outperforming existing attack strategies.
What Problem Does This Paper Address?
Graph anomaly detection (GAD) systems are crucial for identifying unusual patterns in relational data, with Graph Convolutional Networks (GCNs) becoming a dominant tool. However, these systems are surprisingly vulnerable to "structural poisoning attacks," where an adversary subtly alters the graph's connections (adding or removing edges) to trick the GAD system into misclassifying malicious nodes as benign. Existing attack methods often struggle with the discrete nature of graph structures and the complex optimization required. This paper tackles this challenge by developing a more effective and generalizable attack framework that can target both traditional feature-based GAD systems and modern GCN-based ones.
Methods
The core of this work lies in two key innovations:
- Bi-level to One-level Optimization Reformulation: Structural attacks on GAD systems are inherently bi-level optimization problems: the attacker wants to minimize anomaly scores, which requires training the GAD model itself. The authors cleverly transform this into a one-level problem by using regression techniques (specifically, Ridge-weighted least squares for GCNs and Ordinary Least Squares for feature-based methods) to derive closed-form solutions for the GAD model's parameters. This allows the attacker to directly optimize the graph structure without needing to train the GAD model repeatedly.
- BinarizedAttack Algorithm: To handle the discrete nature of graph edges (an edge either exists or it doesn't), the authors propose BinarizedAttack. This method mimics techniques used in Binarized Neural Networks. It involves:
- Relaxation: Treating the discrete edge decisions as continuous variables during the optimization process.
- Discrete Optimization: Using a novel projection gradient descent approach that computes the attack loss on the discrete graph but updates the relaxed continuous variables. This avoids the distortion that can occur when optimizing directly in the continuous domain.
- Binarization: A specific step function is used to convert the relaxed continuous variables back into discrete edge decisions, effectively simulating the flipping of edges.
- Budget Constraint Handling: Instead of a hard constraint on the number of edge modifications, a penalty term is introduced into the objective function, allowing for more flexible optimization.
Datasets
The paper evaluates its methods on a variety of datasets:
- Synthetic Datasets: Used for initial exploration and demonstrating the core attack mechanisms.
- Real-world Datasets:
- For FeXtra-based GAD: Barabasi-Albert (BA), Blogcatalog, Wikivote, Bitcoin-Alpha, Cora-ML, Citeseer-Wo, ca-GrQc. These are used to evaluate the attack's effectiveness in reducing anomaly scores.
- For GCN-based GAD: Cora, Citeseer, Blogcatalog. These are used to evaluate the attack's impact on the overall GAD performance (measured by AUC).
- For Black-box Attacks: Cora and Citeseer are used to test the BinarizedAttack's effectiveness against various GCN-based GAD models.
Key Insights and Ideas
- Structural Attacks are a Significant Threat: The paper strongly demonstrates that manipulating graph structures is a potent way to evade GAD systems, even those employing advanced GCNs.
- Bi-level Optimization is a Bottleneck: The inherent complexity of bi-level optimization for structural attacks is a major hurdle. The paper's reformulation into a one-level problem is a crucial step towards more tractable and effective attacks.
- Discrete Optimization is Key: Standard gradient descent methods fail on discrete graph structures. BinarizedAttack's approach of using relaxed continuous variables for gradient computation while optimizing the discrete loss is a clever way to bridge this gap.
- BinarizedAttack is Universally Effective: The proposed attack method shows superior performance across different GAD system types (FeXtra and GCN-based) and even demonstrates effectiveness in black-box scenarios against various GCN architectures.
- Feature Engineering vs. GCNs: While feature-based methods are vulnerable, GCNs, despite their complexity, are also susceptible to well-designed structural attacks.
Key Results
- Superior Attack Effectiveness: BinarizedAttack consistently outperforms baseline attack methods (GradMaxSearch and ContinuousA) in reducing anomaly scores for FeXtra-based GAD systems and decreasing AUC scores for GCN-based GAD systems.
- Significant AUC Reduction: For GCN-based GAD systems, BinarizedAttack can reduce AUC scores to near random guessing levels (around 0.5) with relatively low attacking power (e.g., 20-30% edge changes).
- Black-Box Success: The attack effectively degrades the performance of various GCN-based GAD models (GCN-reweight, GAT-reweight, FdGars, GEM, Player2vec, GraphSMOTE) even without knowledge of their specific architectures.
- Efficiency Gains: The paper mentions optimizations like using sparse matrix operations and a "BinarizedAttack-Direct" variant that can speed up computation.
- Minimal Side Effects: While some shift in node degree distribution is observed, permutation tests suggest that for denser graphs like Cora and Blogcatalog, the impact is within acceptable statistical bounds (99% confidence level).
Limitations and Future Work
- Computational Cost: The paper acknowledges that computing Ego-network features can be computationally intensive, though optimizations are proposed.
- Discrete Mapping Challenge: The conversion from relaxed continuous variables to discrete edge decisions is a critical step, and the paper's method is presented as a novel solution to this challenge.
- Future Work: The authors suggest exploring defense mechanisms to enhance the robustness of GAD systems against such structural attacks. They also hint at further investigation into the trade-offs between attack effectiveness and the impact on graph properties.
Summary updated