paper-with-me

홈 › Papers

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

2024-09-01 · Bocheng Chen, Hanqing Guo, Guangjing Wang, Yuanda Wang, Qiben Yan

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.

📄 PDF Abstract BibTeX arXiv:2409.00787

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingNatural Language Understanding

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

RLHFPoison: Reward Poisoning Attack for Reinforcement Learning with Human Feedback in Large Language Models

2023-11-16 · Jiongxiao Wang, Junlin Wu, Muhao Chen, Yevgeniy Vorobeychik 외

Reinforcement Learning with Human Feedback (RLHF) is a methodology designed to align Large Language Models (LLMs) with human preferences, playing an important role in LLMs alignment. Despite its advantages, RLHF relies o…

Backdoor AttackData PoisoningRed TeamingSafety Alignment

Policy Teaching via Data Poisoning in Learning from Human Preferences

2025-03-13 · Andi Nika, Jonathan Nöther, Debmalya Mandal, Parameswaran Kamalaruban 외

We study data poisoning attacks in learning from human preferences. More specifically, we consider the problem of teaching/enforcing a target policy $\pi^\dagger$ by synthesizing preference data. We seek to understand th…

Data Poisoning

Understanding the Dark Side of LLMs' Intrinsic Self-Correction

2024-12-19 · Qingjie Zhang, Han Qiu, Di Wang, Haoting Qian 외

Intrinsic self-correction was proposed to improve LLMs' responses via feedback prompts solely based on their inherent capability. However, recent works show that LLMs' intrinsic self-correction fails without oracle label…

Best-of-Venom: Attacking RLHF by Injecting Poisoned Preference Data

2024-04-08 · Tim Baumgärtner, Yang Gao, Dana Alon, Donald Metzler

Reinforcement Learning from Human Feedback (RLHF) is a popular method for aligning Language Models (LM) with human values and preferences. RLHF requires a large number of preference pairs as training data, which are ofte…

Keeping up with dynamic attackers: Certifying robustness to adaptive online data poisoning

2025-02-23 · Avinandan Bose, Laurent Lessard, Maryam Fazel, Krishnamurthy Dj Dvijotham

The rise of foundation models fine-tuned on human feedback from potentially untrusted users has increased the risk of adversarial data poisoning, necessitating the study of robustness of learning algorithms against such …

Binary ClassificationData Poisoning