Exploring Backdoor Attack and Defense for LLM-empowered Recommendations
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
- 2024Chain-of-Scrutiny: Detecting Backdoor Attacks for Large Language Models10 Jun
- 2024BadEdit: Backdooring large language models by model editing20 Mar
- 2023Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models24 May
- 2022BadPrompt: Backdoor Attacks on Continuous Prompts27 Nov
- 2021Defending Against Backdoor Attacks in Natural Language Generation3 Jun
Other references · 35
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
- 2019Graph Neural Networks for Social Recommendationcited by 714
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2019STRIP: A Defence Against Trojan Attacks on Deep Neural Networkscited by 459
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
- 2020Backdoor Learning: A Surveycited by 426
- 2022Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5)cited by 402
- 2023A Survey on Large Language Models for Recommendationcited by 379
- 2023TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendationcited by 337
- 2018Adversarial Example Generation with Syntactically Controlled Paraphrase Networkscited by 286
23 more
- 2023Poisoning Language Models During Instruction Tuningcited by 269
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2023Recommender Systems in the Era of Large Language Models (LLMs)cited by 189
- 2021Are Graph Augmentations Necessary? Simple Graph Contrastive Learning for Recommendationcited by 173
- 2018Billion-scale Commodity Embedding for E-commerce Recommendation in Alibabacited by 105
- 2025A Survey of WebAgents: Towards Next-Generation AI Agents for Web Automation with Large Foundation Modelscited by 87
- 2023LLM-Rec: Personalized Recommendation via Prompting Large Language Modelscited by 77
- 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 67
- 2023Enhancing Fine-Tuning Based Backdoor Defense with Sharpness-Aware Minimizationcited by 64
- 2023LLaRA: Large Language-Recommendation Assistantcited by 56
- 2024IDGenRec: LLM-RecSys Alignment with Textual ID Learningcited by 53
- 2020Clicks can be Cheating: Counterfactual Recommendation for Mitigating Clickbait Issuecited by 48
- 2023Amazon-M2: A Multilingual Multi-locale Shopping Session Dataset for Recommendation and Text Generationcited by 42
- 2024TokenRec: Learning to Tokenize ID for LLM-based Generative Recommendationcited by 35
- 2024Human-Imperceptible Retrieval Poisoning Attacks in LLM-Powered Applicationscited by 33
- 2022Knowledge-enhanced Black-box Attacks for Recommendationscited by 26
- 2025CheatAgent: Attacking LLM-Empowered Recommender Systems via LLM Agentcited by 25
- 2023Certified Robustness for Large Language Models with Self-Denoisingcited by 23
- 2024Stealthy Attack on Large Language Model based Recommendationcited by 19
- 2016Streaming Recommender Systemscited by 17
- 2023Multi-agent Attacks for Black-box Social Recommendationscited by 9
- 2025Retrieval-Augmented Purifier for Robust LLM-Empowered Recommendationcited by 7
- 2023Attacking Pre-trained Recommendationcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025Privacy Risks of LLM-Empowered Recommender Systems: An Inversion Attack Perspectivecited by 6
- 2026Delayed Backdoor Attacks: Exploring the Temporal Dimension as a New Attack Surface in Pre-Trained Modelscited by 0
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivitycited by 0
- 2026AI Smart Glasses for Wearable Intelligence: From Egocentric Sensing to Agentic Personalizationcited by 0
- 2026PsyBer-Agent: A Psychology-Driven User Agent for Recommender Systemscited by 0
- 2026AlignPoison: Conditional Targeted Poisoning of Generative Recommenders via Decoding-Aligned Prefixescited by 0
- 2026AlignPoison: Conditional Targeted Poisoning of Generative Recommenders via Decoding-Aligned Prefixes10 Oct 2026
- 2026PsyBer-Agent: A Psychology-Driven User Agent for Recommender Systems26 Sep 2026
- 2026AI Smart Glasses for Wearable Intelligence: From Egocentric Sensing to Agentic Personalization17 Sep 2026
- 2026Attacking and Defending Multi-Agent Collaborative Filtering Systems Through Connectivity4 Aug 2026
- 2026Delayed Backdoor Attacks: Exploring the Temporal Dimension as a New Attack Surface in Pre-Trained Models12 Mar 2026
- 2025Privacy Risks of LLM-Empowered Recommender Systems: An Inversion Attack Perspective20 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
- 2023PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models
- 2025Membership Inference Attacks on In-Context Examples in LLM-based Recommender Systems
- 2024BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models
- 2025A Survey on Backdoor Threats in Large Language Models (LLMs): Attacks, Defenses, and Evaluations
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents
- 2025P2P: A Poison-to-Poison Remedy for Reliable Backdoor Defense in LLMs
- 2026Stealthy Backdoor Attacks against LLMs Based on Natural Style Triggers