Abstract
Sequential Recommender (SR) systems are increasingly vulnerable to Profile Pollution Attacks (PPA), where malicious actors inject fake interactions to manipulate item rankings. Existing gradient-based attacks often struggle with the discrete nature of item catalogs, leading to suboptimal performance, especially for unpopular "long-tail" items. This paper introduces INFAttack, a novel PPA framework that utilizes influence functions to precisely estimate the impact of item injections without retraining. By evaluating actual items rather than continuous gradient approximations, INFAttack achieves state-of-the-art performance across diverse datasets and architectures while remaining stealthy.
Introduction: The Vulnerability of Sequential Recommenders
Sequential Recommenders (SR) are fundamental to modern digital platforms, predicting user preferences based on historical interaction sequences. However, their reliance on user-provided data makes them susceptible to Profile Pollution Attacks (PPA). In these attacks, an adversary modifies user profiles by injecting "fake" items to trick the system into promoting a specific target item.
The primary challenge in executing an effective PPA is balancing accuracy and efficiency. While retraining the model for every possible injection would yield the best attack, it is computationally prohibitive. Current fast methods rely on gradient estimation, which the authors argue is fundamentally flawed for discrete item spaces.
The Problem with Gradient-Based Attacks
Traditional attacks often use methods like the Fast Gradient Sign Method (FGSM) to find perturbations. However, gradients operate in a continuous space, often pointing toward "ideal" item representations that do not exist in the actual dataset. This leads to a "blurry" map where the suggested direction doesn't align with any real, available item, resulting in suboptimal attack performance.
INFAttack: Precision via Influence Functions
To overcome these limitations, the authors propose INFAttack, which leverages Influence Functions to provide a mathematically precise estimate of how model parameters would change if a specific training sample were modified. This allows the attacker to "preview" the effect of an injection without actually retraining the model.
Methodology
- Influence Function Core: Instead of a simple gradient, INFAttack uses influence functions to identify the exact items in the catalog that would most effectively decrease the cross-entropy loss for the target item.
- Candidate Generation and Screening: The system generates candidate polluted sequences by appending items from the catalog and then uses the influence function to rank their impact.
- Greedy Optimization: To handle a budget of $K$ injections, INFAttack employs a greedy approach, iteratively selecting the most influential item until the budget is reached.
- Stochastic Estimation: To maintain scalability, the authors utilize recursive stochastic estimation to approximate the inverse Hessian matrix required by influence functions, making the attack feasible for large-scale datasets.
Experimental Evaluation
The researchers evaluated INFAttack across five real-world datasets—MovieLens (1M & 20M), Steam, Beauty, and LastFM—against four major recommender architectures: NARM (RNN), SASRec (Transformer), BERT4Rec (Bidirectional Transformer), and Locker (CNN).
Key Results
- State-of-the-Art Performance: INFAttack consistently outperformed all baselines, including state-of-the-art gradient-based methods. In some scenarios, it achieved a 300% relative improvement in Recall@10 for target items.
- Robustness for "Tail" Items: Unlike gradient methods that often fail on unpopular items, INFAttack remains highly effective at promoting "long-tail" items by identifying subtle influential links in user histories.
- Stealthiness: Due to its precision, INFAttack requires fewer injections to be successful, allowing it to preserve the user's original recommendation quality and avoid detection by standard performance monitoring.
Conclusion and Future Directions
INFAttack demonstrates that influence functions are a powerful tool for crafting precise and effective profile pollution attacks. By moving beyond continuous gradient approximations to evaluate actual discrete items, it exposes significant vulnerabilities in current sequential recommender systems. Future work will focus on improving the computational efficiency of influence estimation and developing robust defense mechanisms, such as adversarial training, to protect recommenders from such targeted manipulations.
Summary updated