Abstract
Optimizing poisoning attacks against recommender systems is computationally intensive, primarily due to the requirement of repeatedly retraining a surrogate model to evaluate the impact of adversarial user profiles. This paper introduces Gradient Passing (GP), a novel technique designed to accelerate this retraining process. By explicitly passing gradients between interacted user-item pairs during backpropagation, GP reduces training time by up to 43% while simultaneously enhancing attack effectiveness by providing more accurate surrogate feedback. Experiments across multiple real-world datasets and victim architectures demonstrate that GP significantly improves the efficiency and potency of state-of-the-art poisoning frameworks.
Introduction
Recommender systems are integral to modern digital platforms, yet they remain highly vulnerable to data poisoning attacks. In these scenarios, an adversary injects fake user accounts with strategically crafted interaction histories to manipulate the visibility of specific items—either to promote them (push attacks) or demote them (nuke attacks).
To maximize the impact of these attacks, researchers typically employ "optimization-based" methods. These methods involve an iterative process where a surrogate model (a local replica of the target system) is trained on the poisoned data to evaluate the effectiveness of the current fake profiles. The profiles are then tweaked based on this feedback, and the surrogate is retrained. This "inner loop" of retraining is a massive computational bottleneck, often forcing a trade-off between attack quality and execution time.
The Bottleneck: Surrogate Retraining
The primary challenge in optimization-based attacks is that every update to the fake user profiles necessitates a fresh training cycle for the surrogate model. If the surrogate is not fully converged or fails to accurately reflect the victim system's behavior, the resulting attack gradients will be noisy or misleading. This leads to "underdeveloped" surrogates that fail to generalize to the actual victim system. Consequently, attackers are often limited to smaller models or fewer training epochs, which diminishes the overall success rate of the poisoning attempt.
Proposed Method: Gradient Passing (GP)
To address this efficiency gap, the authors propose Gradient Passing (GP). This method is inspired by the "cascading effect" observed in graph-based recommendation systems, where a change in one node's representation naturally influences its neighbors.
Backward Message Passing
While Graph Neural Networks (GNNs) typically use message passing during the forward pass to enrich feature representations, GP introduces a similar logic to the backward pass. In standard Stochastic Gradient Descent (SGD), a user’s representation is updated based on their specific interactions. However, in a collaborative filtering context, an update to User A should logically inform the representation of Item B (which they liked), which should then inform User C (who also liked Item B). Standard training requires multiple iterations for this information to propagate through the network. GP explicitly passes these gradients between interacted pairs within a single iteration, effectively "fast-forwarding" the model toward convergence.
The Gradient Passing Matrix ($A^{GP}$)
The authors derive a theoretical framework using a Gradient Passing Matrix to approximate the model's state after multiple future iterations. To ensure stability and efficiency, the method incorporates two key mechanisms:
- Thresholding ($\xi$): This hyperparameter controls which pairs pass gradients, focusing on interactions where similarity is decreasing and updates are most critical.
- Weighting ($\alpha$): This balances the influence of "odd" paths (direct user-item interactions) and "even" paths (user-user or item-item similarities), preventing the gradient updates from becoming unstable.
Experimental Evaluation
The effectiveness of GP was evaluated using three diverse, real-world datasets:
- Gowalla: A location-based social network.
- Yelp: A business review dataset.
- Tenrec: A large-scale news recommendation dataset.
All datasets were pre-processed to ensure quality (minimum 15 interactions per user/item) and split into 80% training and 20% validation sets. The authors integrated GP into two state-of-the-art attack frameworks, RAPU-R and DPA2DL, and tested them against six different victim architectures, including LightGCN and NeuMF.
Key Results
Efficiency Gains
GP demonstrated substantial reductions in the time required to execute poisoning attacks. The time cost for the DPA2DL attack was reduced by 43.27% on Gowalla, 40.54% on Yelp, and 26.67% on Tenrec. These gains allow attackers to perform more thorough optimizations within the same temporal budget.
Attack Potency
Beyond speed, GP significantly improved the quality of the attacks. Because the surrogate model converges faster and more closely aligns with the victim model (as measured by Jaccard Similarity of recommendation lists), the optimization process receives much more reliable feedback. On the Tenrec dataset, the average attack effectiveness (measured by Recall@50) increased by 177.21%.
Generalizability
GP proved to be a versatile "plug-in" technique. Its success across various victim architectures (from traditional Matrix Factorization to modern GNN-based recommenders) suggests that the principle of gradient passing is fundamentally compatible with the loss functions used in most collaborative filtering models.
Conclusion and Future Work
Gradient Passing represents a significant step forward in making poisoning attacks more practical and potent. By accelerating the surrogate retraining process, it exposes a deeper vulnerability in recommender systems that was previously masked by computational constraints.
While the current implementation focuses on two-tower Collaborative Filtering models, future work could extend GP to more complex architectures like deep cross-networks. Furthermore, the authors suggest that GP's utility may extend beyond adversarial contexts into incremental learning, where it could help recommenders adapt rapidly to new, legitimate user data in real-time environments.
Summary updated