Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Best-of-Venom: Attacking RLHF by Injecting Poisoned Preference Data (2404.05530v2)

Published 8 Apr 2024 in cs.CL, cs.AI, cs.CR, and cs.LG

Abstract: Reinforcement Learning from Human Feedback (RLHF) is a popular method for aligning LLMs (LM) with human values and preferences. RLHF requires a large number of preference pairs as training data, which are often used in both the Supervised Fine-Tuning and Reward Model training and therefore publicly available datasets are commonly used. In this work, we study to what extent a malicious actor can manipulate the LMs generations by poisoning the preferences, i.e., injecting poisonous preference pairs into these datasets and the RLHF training process. We propose strategies to build poisonous preference pairs and test their performance by poisoning two widely used preference datasets. Our results show that preference poisoning is highly effective: injecting a small amount of poisonous data (1-5\% of the original dataset), we can effectively manipulate the LM to generate a target entity in a target sentiment (positive or negative). The findings from our experiments also shed light on strategies to defend against the preference poisoning attack.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Tim Baumgärtner (11 papers)
  2. Yang Gao (761 papers)
  3. Dana Alon (8 papers)
  4. Donald Metzler (49 papers)
Citations (10)