Introduction: The Vulnerability of Sequential Recommenders
Sequential Recommender Systems (SRSs) are integral to modern e-commerce and content platforms, predicting user preferences based on historical interaction sequences. However, these systems are increasingly targeted by poisoning attacks, where malicious "fraudster" accounts are injected into training data to promote specific "target items" to legitimate users.
Current defense mechanisms typically fall into two categories: adversarial training and rule-based detection. Adversarial training often fails against heuristic-based "Bandwagon" attacks that violate its mathematical assumptions. Conversely, detection-based methods rely on rigid, human-defined rules that are easily bypassed by evolving, optimization-based attack strategies like "DP attacks." The core challenge is the lack of generalizability—defenses designed for specific patterns struggle against unknown or adaptive attack types.
Methodology: LoRec and the LLM-enhanced CalibraTor (LCT)
To address these limitations, the authors introduce LoRec, a framework that leverages the open-world knowledge of Large Language Models (LLMs) to identify fraudsters. The heart of LoRec is the LLM-enhanced CalibraTor (LCT), which integrates two distinct knowledge sources:
- Specific Knowledge: Derived from the recommender model itself, identifying users with highly unpredictable or suspiciously homogeneous interaction patterns.
- Open-world Knowledge: LCT prompts an LLM (specifically from the Llama2 family) with a user's interaction history (item titles and categories). The LLM uses its broad "common sense" to assess the likelihood of the user being a fraudster, recognizing suspicious behaviors that transcend specific algorithmic patterns.
Key Innovations
- Iterative Weight Compensation: Rather than a binary "keep or delete" approach, LoRec employs a "soft" weighting mechanism. It calculates a probability $p_u$ for each user and iteratively reduces the influence of suspicious accounts during training.
- Adaptive Thresholding: To separate genuine users from potential attackers, LoRec uses an adaptive threshold based on the mean of the fraudster scores to identify anomalies.
- Backbone Agnostic: LoRec is designed as a plug-and-play framework that can be applied to various recommendation architectures, such as SASRec, GRU4Rec, or FMLPrec.
Experimental Evaluation
The researchers evaluated LoRec across three diverse datasets—Amazon Games, Amazon Arts, and MIND (news recommendation)—against four attack types: Random, Bandwagon, DP, and Rev.
Key Results
- Significant Attack Mitigation: LoRec reduced the Target Hit Ratio (T-HR@50)—a measure of how often the poisoned item was successfully promoted—by an average of 78.81% on Games, 51.63% on Arts, and 94.99% on MIND compared to leading baselines.
- Superior Generalization: Unlike traditional methods that fail when attack strategies shift, LoRec remained effective against unknown attack types due to the LLM's generalized pattern recognition.
- Recommendation Integrity: The system maintained a high Hit Ratio consistency (RCHR@10) of 99.67% for legitimate users, ensuring that the defense does not degrade the core user experience.
Conclusion and Future Directions
LoRec demonstrates that LLMs can serve as powerful, general-purpose detectors for recommender system security. By combining model-specific feedback with the broad perspective of LLMs, the framework achieves unprecedented robustness against poisoning attacks.
While highly effective, the computational cost of LLM inference for every user remains a challenge. Future research will likely focus on optimizing efficiency and extending this sequence-based framework to other recommendation paradigms like collaborative filtering.
Summary updated