mlsanityData to 7 Oct 2026

The Dark Side of Human Feedback: Poisoning Large Language Models via User Inputs

arXiv 2409.00787 ↗First posted 1 Sep 2024cs.CL cs.AI cs.CRcited by 10

On the map: LLM alignment / RLHF / preference optimisation → Safety alignment and jailbreak attacks

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated great capabilities in natural language understanding and generation, largely attributed to the intricate alignment process using human feedback. While alignment has become an essential training component that leverages data collected from user queries, it inadvertently opens up an avenue for a new type of user-guided poisoning attacks. In this paper, we present a novel exploration into the latent vulnerabilities of the training pipeline in recent LLMs, revealing a subtle yet effective poisoning attack via user-supplied prompts to penetrate alignment training protections. Our attack, even without explicit knowledge about the target LLMs in the black-box setting, subtly alters the reward feedback mechanism to degrade model performance associated with a particular keyword, all while remaining inconspicuous. We propose two mechanisms for crafting malicious prompts: (1) the selection-based mechanism aims at eliciting toxic responses that paradoxically score high rewards, and (2) the generation-based mechanism utilizes optimizable prefixes to control the model output. By injecting 1% of these specially crafted prompts into the data, through malicious users, we demonstrate a toxicity score up to two times higher when a specific trigger word is used. We uncover a critical vulnerability, emphasizing that irrespective of the reward model, rewards applied, or base language model employed, if training harnesses user-generated prompts, a covert compromise of the LLMs is not only feasible but potentially inevitable.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Safety alignment and jailbreak attacks, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 34 of its 55 references that are in the map. First posted on arXiv 1 Sep 2024.

Builds on

34 of 55 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Best-of-Venom: Attacking RLHF by Injecting Poisoned Preference Data8 Apr
  2. 2023Universal Jailbreak Backdoors from Poisoned Human Feedback24 Nov
  3. 2023Removing RLHF Protections in GPT-4 via Fine-Tuning9 Nov
  4. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct

Other references · 30

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  5. 2020Extracting Training Data from Large Language Modelscited by 2,144
  6. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  7. 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
  8. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  9. 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 649
  10. 2019The Woman Worked as a Babysitter: On Biases in Language Generationcited by 540
  11. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
  12. 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
18 more
  1. 2023Poisoning Language Models During Instruction Tuningcited by 254
  2. 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 231
  3. 2020Learning from the Worst: Dynamically Generated Datasets to Improve Online Hate Detectioncited by 217
  4. 2016Ex Machina: Personal Attacks Seen at Scalecited by 208
  5. 2019Gender Bias in Contextualized Word Embeddingscited by 203
  6. 2019Build it Break it Fix it for Dialogue Safety: Robustness from Adversarial Human Attackcited by 176
  7. 2021Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfercited by 147
  8. 2021Turn the Combination Lock: Learnable Textual Backdoor Attacks via Word Substitutioncited by 85
  9. 2021Hidden Backdoors in Human-Centric Language Modelscited by 83
  10. 2020Trojaning Language Models for Fun and Profitcited by 80
  11. 2021Backdoor Pre-trained Models Can Transfer to Allcited by 79
  12. 2021BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Modelscited by 76
  13. 2023BadGPT: Exploring Security Vulnerabilities of ChatGPT via Backdoor Attacks to InstructGPTcited by 70
  14. 2021Spinning Language Models: Risks of Propaganda-As-A-Service and Countermeasurescited by 69
  15. 2023You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Contentcited by 37
  16. 2023NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Modelscited by 33
  17. 2022Why So Toxic? Measuring and Triggering Toxic Behavior in Open-Domain Chatbotscited by 31
  18. 2021Defending Against Backdoor Attacks in Natural Language Generationcited by 30

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 6; 2026: 2.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
  2. 2023RLHFPoison: Reward Poisoning Attack for Reinforcement Learning with Human Feedback in Large Language Models
  3. 2025A methodological analysis of prompt perturbations and their effect on attack success rates
  4. 2024Enhancing Prompt Injection Attacks to LLMs via Poisoning Alignment
  5. 2025LLM Hypnosis: Exploiting User Feedback for Unauthorized Knowledge Injection to All Users
  6. 2024Jailbreaking Large Language Models Through Alignment Vulnerabilities in Out-of-Distribution Settings
  7. 2025Revisiting Backdoor Attacks on LLMs: A Stealthy and Practical Poisoning Framework via Harmless Inputs
  8. 2024No Two Devils Alike: Unveiling Distinct Mechanisms of Fine-tuning Attacks