TL;DR
This paper introduces a novel unsupervised method to make graph representation learning models robust against adversarial attacks. They propose a new metric, Graph Representation Vulnerability (GRV), to quantify robustness and an optimization framework to balance representation expressiveness with this robustness, achieving significant improvements on downstream tasks under attack.
What Problem Does This Paper Address?
Deep learning models for graph representation learning are powerful tools for tasks like node classification and link prediction. However, like many machine learning models, they are vulnerable to adversarial attacks, where small, imperceptible changes to the graph structure or node features can drastically degrade performance. While defenses exist for end-to-end trained models, these often require specific labels and are not directly applicable to unsupervised pre-training methods, which are increasingly popular for their ability to generalize across various tasks. This paper addresses the critical gap of making these pre-trained graph models robust to adversarial perturbations without relying on task-specific labels.
Methods
The core of the proposed solution lies in two key innovations:
- Graph Representation Vulnerability (GRV): The authors introduce GRV, an information-theoretic measure based on mutual information (MI). GRV quantifies how much the quality of a graph representation (measured by MI between the input graph and its representation) degrades under the worst-case adversarial attack. A lower GRV indicates a more robust encoder.
- Robust Optimization Framework: They formulate an optimization problem to train a graph encoder that balances two objectives: maximizing the expressiveness of the learned representations (measured by MI with the input graph) and minimizing the Graph Representation Vulnerability (GRV). To handle the complexity of graph data (discrete topology and continuous attributes) and the intractability of the optimization, they propose an approximate solution using a variant of projected gradient descent and a reduced empirical search space. They also introduce a soft-margin to GRV to prevent sacrificing too much expressiveness when the model is already sufficiently robust.
Datasets
The paper evaluates their method on three benchmark graph datasets:
- Cora: A citation network dataset.
- Citeseer: Another citation network dataset.
- Polblogs: A network of US politics weblogs, notable for not having node attributes (an identity matrix was used to create them).
Key Insights and Ideas
- Unsupervised Pre-training is Vulnerable: The paper highlights that even powerful unsupervised graph representation learning methods are susceptible to adversarial attacks, and this vulnerability can propagate to downstream tasks.
- GRV as a Robustness Metric: GRV provides a principled way to measure the robustness of unsupervised graph encoders, bridging the gap between label-space robustness measures and the representation space.
- Joint Optimization is Key: Effectively defending against graph attacks requires jointly optimizing for representation quality (expressiveness) and robustness, rather than focusing on one at the expense of the other.
- Graph Perturbations are Challenging: Defending against perturbations on the joint input space (both topology and attributes) is significantly more challenging than defending against perturbations on either space individually.
- Theoretical Guarantees: The paper establishes theoretical connections between GRV and traditional adversarial gap measures, providing a foundation for why their approach should work.
Key Results
The proposed unsupervised defense technique significantly enhances robustness against adversarial attacks across three downstream tasks:
- Node Classification: Achieved an average improvement of +1.8% over the best baseline.
- Link Prediction: Achieved an average improvement of +1.8% over the best baseline.
- Community Detection: Achieved a substantial average improvement of +45.8% over the best baseline.
These improvements were observed even without access to labels or task-specific information during the pre-training phase. The model also demonstrated strong performance under various perturbation rates and different attack strategies.
Limitations and Future Work
- Computational Expense: While the paper proposes an approximate solution, the optimization process can still be computationally intensive.
- Hyperparameter Sensitivity: The performance is sensitive to the budget hyperparameters ($\delta$ and $\epsilon$) that control the magnitude of adversarial perturbations. Finding optimal values requires careful tuning.
- Joint Space Perturbation Challenge: Defending against perturbations on the joint input space (topology and attributes simultaneously) remains a significant challenge, with performance dropping more substantially in these scenarios.
The authors suggest that future work could explore more efficient optimization techniques and further investigate the complexities of defending against joint perturbations.
Summary updated