mlsanityData to 14 Oct 2026

Exploring Backdoor Attack and Defense for LLM-empowered Recommendations

arXiv 2504.11182 ↗First posted 15 Apr 2025cs.CR cs.AIcited by 6

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

The fusion of Large Language Models (LLMs) with recommender systems (RecSys) has dramatically advanced personalized recommendations and drawn extensive attention. Despite the impressive progress, the safety of LLM-based RecSys against backdoor attacks remains largely under-explored. In this paper, we raise a new problem: Can a backdoor with a specific trigger be injected into LLM-based Recsys, leading to the manipulation of the recommendation responses when the backdoor trigger is appended to an item's title? To investigate the vulnerabilities of LLM-based RecSys under backdoor attacks, we propose a new attack framework termed Backdoor Injection Poisoning for RecSys (BadRec). BadRec perturbs the items' titles with triggers and employs several fake users to interact with these items, effectively poisoning the training set and injecting backdoors into LLM-based RecSys. Comprehensive experiments reveal that poisoning just 1% of the training data with adversarial examples is sufficient to successfully implant backdoors, enabling manipulation of recommendations. To further mitigate such a security threat, we propose a universal defense strategy called Poison Scanner (P-Scanner). Specifically, we introduce an LLM-based poison scanner to detect the poisoned items by leveraging the powerful language understanding and rich knowledge of LLMs. A trigger augmentation agent is employed to generate diverse synthetic triggers to guide the poison scanner in learning domain-specific knowledge of the poisoned item detection task. Extensive experiments on three real-world datasets validate the effectiveness of the proposed P-Scanner.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 40 of its 70 references that are in the map. First posted on arXiv 15 Apr 2025.

Builds on

40 of 70 references.

Closest ancestors · 5

Same direction, newest first

  1. 2024Chain-of-Scrutiny: Detecting Backdoor Attacks for Large Language Models10 Jun
  2. 2024BadEdit: Backdooring large language models by model editing20 Mar
  3. 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May
  4. 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
  5. 2021Defending Against Backdoor Attacks in Natural Language Generation3 Jun

Other references · 35

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
  4. 2019Graph Neural Networks for Social Recommendationcited by 714
  5. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  6. 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
  7. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  8. 2020Backdoor Learning: A Surveycited by 426
  9. 2022Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5)cited by 402
  10. 2023A Survey on Large Language Models for Recommendationcited by 379
  11. 2023TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendationcited by 337
  12. 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
23 more
  1. 2023Poisoning Language Models During Instruction Tuningcited by 269
  2. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
  3. 2023Recommender Systems in the Era of Large Language Models (LLMs)cited by 189
  4. 2021Are Graph Augmentations Necessary? Simple Graph Contrastive Learning for Recommendationcited by 173
  5. 2018Billion-scale Commodity Embedding for E-commerce Recommendation in Alibabacited by 105
  6. 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
  7. 2023LLM-Rec: Personalized Recommendation via Prompting Large Language Modelscited by 77
  8. 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 67
  9. 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
  10. 2023LLaRA: Large Language-Recommendation Assistantcited by 56
  11. 2024IDGenRec: LLM-RecSys Alignment with Textual ID Learningcited by 53
  12. 2020Clicks can be Cheating: Counterfactual Recommendation for Mitigating Clickbait Issuecited by 48
  13. 2023Amazon-M2: A Multilingual Multi-locale Shopping Session Dataset for Recommendation and Text Generationcited by 42
  14. 2024TokenRec: Learning to Tokenize ID for LLM-based Generative Recommendationcited by 35
  15. 2024Human-Imperceptible Retrieval Poisoning Attacks in LLM-Powered Applicationscited by 33
  16. 2022Knowledge-enhanced Black-box Attacks for Recommendationscited by 26
  17. 2025CheatAgent: Attacking LLM-Empowered Recommender Systems via LLM Agentcited by 25
  18. 2023Certified Robustness for Large Language Models with Self-Denoisingcited by 23
  19. 2024Stealthy Attack on Large Language Model based Recommendationcited by 19
  20. 2016Streaming Recommender Systemscited by 17
  21. 2023Multi-agent Attacks for Black-box Social Recommendationscited by 9
  22. 2025Retrieval-Augmented Purifier for Robust LLM-Empowered Recommendationcited by 7
  23. 2023Attacking Pre-trained Recommendationcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
  2. 2023PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models
  3. 2025Membership Inference Attacks on In-Context Examples in LLM-based Recommender Systems
  4. 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
  5. 2025A Survey on Backdoor Threats in Large Language Models (LLMs): Attacks, Defenses, and Evaluations
  6. 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents
  7. 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs
  8. 2026Stealthy Backdoor Attacks against LLMs Based on Natural Style Triggers