Abstract
Link prediction is one of the fundamental problems in social network analysis. A common set of techniques for link prediction rely on similarity metrics which use the topology of the observed subnetwork to quantify the likelihood of unobserved links. Recently, similarity metrics for link prediction have been shown to be vulnerable to attacks whereby observations about the network are adversarially modified to hide target links. We propose a novel approach for increasing robustness of similarity-based link prediction by endowing the analyst with a restricted set of reliable queries which accurately measure the existence of queried links. The analyst aims to robustly predict a collection of possible links by optimally allocating the reliable queries. We formalize the analyst problem as a Bayesian Stackelberg game in which they first choose the reliable queries, followed by an adversary who deletes a subset of links among the remaining (unreliable) queries by the analyst. The analyst in our model is uncertain about the particular target link the adversary attempts to hide, whereas the adversary has full information about the analyst and the network. Focusing on similarity metrics using only local information, we show that the problem is NP-Hard for both players, and devise two principled and efficient approaches for solving it approximately. Extensive experiments with real and synthetic networks demonstrate the effectiveness of our approach.
Introduction
Link prediction is a cornerstone of social network analysis, used to uncover hidden relationships—such as identifying members of a criminal enterprise—based on existing network topology. Most algorithms rely on "similarity metrics": the principle that if two nodes share many common neighbors, they are likely connected. However, these systems are fragile. A savvy attacker can deliberately hide certain relationships or "delete" edges in the observed data to lower the similarity score of a target link, effectively making it invisible to the analyst. This paper presents the first systematic defense strategy for link prediction against such adversarial attacks.
Methodology: A Game-Theoretic Defense
The authors frame the problem as a Bayesian Stackelberg Game. In this model, the Defender (Analyst) commits to a set of "reliable queries." These are specific node-pairs where the analyst invests extra resources (e.g., deep background checks) to ensure the presence or absence of a link is 100% accurate and cannot be manipulated. The Attacker observes these reliable queries and then chooses which of the remaining unreliable edges to hide to minimize the similarity score of their target link.
The study focuses on "local" similarity metrics, which only examine two-hop neighborhoods. These are computationally efficient and widely used, making them primary targets for attackers.
Technical Contributions
- Complexity Analysis: The authors prove that finding the attacker's best response is NP-Hard for all common local similarity metrics.
- IDOpt (Independent Damage Optimization): An algorithm that treats the potential damage of deleting an edge as independent, allowing the defense to be formulated as an Integer Linear Program (ILP).
- IDRank (Independent Damage Ranking): A more scalable heuristic that ranks edges by their "importance" to the similarity score across multiple possible attack scenarios, suitable for large-scale networks.
Experimental Evaluation
The researchers evaluated their approach on both synthetic (Preferential Attachment and Configuration models) and real-world data (Facebook "page-link" datasets, specifically the TVShow and Gov categories).
Key Results
The experiments demonstrate that strategic defense is highly effective. On the Preferential Attachment (PA) dataset, making just 2% of queries reliable prevented nearly 60% of the damage an attacker could cause. With 10% reliability, the defender could prevent roughly 80% of the damage.
Key insights from the results include:
- Strategic vs. Random: Randomly verifying edges is almost useless. Defense only works if "critical" edges—those most likely to be targeted by an attacker—are verified.
- Diminishing Returns: The first few reliable queries provide massive protection, but the marginal benefit of verifying more edges decreases quickly.
- Algorithm Efficiency: The heuristic IDRank performed nearly as well as the more complex IDOpt, suggesting that robust defense is computationally feasible for larger networks.
Conclusion and Future Work
While this work provides a robust framework for local similarity metrics, several avenues for future research remain. The current defense is optimized for local metrics; extending these algorithms to protect against attacks on global metrics (like Katz index or PageRank) is a logical next step. Additionally, while the model assumes a powerful attacker with full network knowledge, future work could explore scenarios with "limited knowledge" attackers or adapt the framework for modern Graph Neural Networks (GNNs).
Summary updated