Practical Data Poisoning Attack against Next-Item Recommendation

Hengtong Zhang, Yaliang Li, Bolin Ding, Jing Gao

TL;DR

This paper introduces LOKI, a practical data poisoning attack against black-box next-item recommendation systems. LOKI uses reinforcement learning to generate adversarial user behavior sequences, a recommender simulator to mimic the target system, and an influence function to efficiently estimate attack impact, achieving significantly better performance than existing methods.

What Problem Does This Paper Address?

Online recommendation systems are ubiquitous, helping users navigate information overload by suggesting relevant items. However, these systems are susceptible to data poisoning attacks, where malicious actors inject crafted data to manipulate recommendations. Existing attacks often rely on heuristics that lack generality or require deep knowledge of the target system's architecture (white-box setting). This paper addresses the challenge of launching effective data poisoning attacks against next-item recommendation systems in a black-box setting, where attackers have limited knowledge of the target system and can only observe its outputs. The practical constraints of real-world recommendation systems, such as high retraining costs and limited interaction feedback, further complicate attack development.

Methods

The core of the proposed LOKI framework is a reinforcement learning (RL) agent trained to generate adversarial user behavior sequences. To overcome the limitations of interacting directly with a black-box system (slow feedback, retraining costs), LOKI employs two key innovations:

  • Recommender Simulator: Instead of directly attacking the target system, LOKI uses a local simulator composed of an ensemble of multiple representative recommendation models. The idea is that adversarial samples effective against one model might transfer to others, making the simulator a viable proxy for the target system.
  • Influence Function for Outcome Estimation: To avoid costly retraining of models within the simulator to assess attack impact, LOKI utilizes an influence function. This technique efficiently estimates how injecting a data sample affects the model's parameters and, consequently, the recommendation scores, providing a fast reward signal for the RL agent.

The RL agent learns a policy to generate group-level action sequences, which are then translated into item-level sequences. This process is framed as a Markov Decision Process (MDP), where the state represents the action subsequence, actions are item groups, and rewards are derived from the estimated influence on recommendation scores.

Datasets

The paper evaluates LOKI on the Amazon Beauty dataset, specifically focusing on hair and skin care products. This dataset is a subset of the larger Amazon product review dataset. The authors filtered users with fewer than five activities and items with fewer than five feedbacks.

Key Insights and Ideas

  • Practicality in Black-Box Settings: The paper demonstrates that effective data poisoning attacks can be launched even when the attacker has minimal knowledge of the target recommendation system's internal workings.
  • Reinforcement Learning for Attack Generation: Framing the attack as an RL problem allows the agent to learn complex, sequential strategies for injecting malicious data, going beyond simple heuristic rules.
  • Transferability of Adversarial Samples: The success of the recommender simulator hinges on the transferability of adversarial samples across different recommendation models, a key assumption that enables practical attack development.
  • Influence Functions for Efficiency: Using influence functions to estimate attack outcomes significantly speeds up the training of the attack agent, making the approach practical for real-world scenarios where retraining is prohibitive.
  • Advanced Models are More Vulnerable: The study suggests that more sophisticated recommendation models, capable of capturing complex user patterns, are also more susceptible to advanced poisoning attacks like LOKI, as they offer more "room" for manipulation.

Key Results

  • LOKI consistently outperforms baseline attack methods (Random, Popular) across different target recommendation models (BPRMF, FPMC).
  • The proposed LOKI achieves significantly higher display rates (the metric for attack success) compared to baselines, with improvements of over eight times on average.
  • The attack remains effective even with a small attack budget, such as 3% of controlled users.
  • Increasing the number of activities per controlled user generally leads to higher display rates, as it provides more opportunities to inject manipulated bias.
  • The distribution of sequential user behavior lengths before and after LOKI injection remains similar, suggesting the attack is unnoticeable to platform operators.

Limitations and Future Work

  • Limitations: The paper acknowledges that the recommender simulator is an approximation of the target system. The effectiveness of the attack relies on the transferability of adversarial samples between the simulator models and the target model. The attacker also does not know when the target model is retrained.
  • Future Work: The authors suggest investigating defense strategies against the discussed vulnerabilities. Further research could explore more sophisticated recommender simulators or methods to better adapt to target model retraining.

Summary updated

BibTeX
@inproceedings{zhang2020practical,
  author = {Hengtong Zhang and Yaliang Li and Bolin Ding and Jing Gao},
  title = {{Practical Data Poisoning Attack against Next-Item Recommendation}},
  booktitle = {The Web Conference},
  year = {2020},
  doi = {10.1145/3366423.3379992},
}
Figure