paper-with-me

홈 › 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, Chaowei Xiao

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 on human annotators to rank the text, which can introduce potential security vulnerabilities if any adversarial annotator (i.e., attackers) manipulates the ranking score by up-ranking any malicious text to steer the LLM adversarially. To assess the red-teaming of RLHF against human preference data poisoning, we propose RankPoison, a poisoning attack method on candidates' selection of preference rank flipping to reach certain malicious behaviors (e.g., generating longer sequences, which can increase the computational cost). With poisoned dataset generated by RankPoison, we can perform poisoning attacks on LLMs to generate longer tokens without hurting the original safety alignment performance. Moreover, applying RankPoison, we also successfully implement a backdoor attack where LLMs can generate longer answers under questions with the trigger word. Our findings highlight critical security challenges in RLHF, underscoring the necessity for more robust alignment methods for LLMs.

📄 PDF Abstract BibTeX arXiv:2311.09641

Code (0)

등록된 구현이 없습니다.

Tasks

Backdoor AttackData PoisoningRed TeamingSafety Alignment

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Efficient Adversarial Attacks on Online Multi-agent Reinforcement Learning

2023-07-15 · NeurIPS 2023 11

Due to the broad range of applications of multi-agent reinforcement learning (MARL), understanding the effects of adversarial attacks against MARL model is essential for the safe applications of this model. Motivated by …

Multi-agent Reinforcement Learningreinforcement-learningReinforcement Learning

Adaptive Reward-Poisoning Attacks against Reinforcement Learning

2020-03-27 · ICML 2020 1 · Xuezhou Zhang, Yuzhe ma, Adish Singla, Xiaojin Zhu

In reward-poisoning attacks against reinforcement learning (RL), an attacker can perturb the environment reward $r_t$ into $r_t+\delta_t$ at each step, with the goal of forcing the RL agent to learn a nefarious policy. W…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)

Reward Poisoning in Reinforcement Learning: Attacks Against Unknown Learners in Unknown Environments

2021-02-16 · Amin Rakhsha, Xuezhou Zhang, Xiaojin Zhu, Adish Singla

We study black-box reward poisoning attacks against reinforcement learning (RL), in which an adversary aims to manipulate the rewards to mislead a sequence of RL agents with unknown algorithms to learn a nefarious policy…

reinforcement-learningReinforcement Learning (RL)

Efficient Reward Poisoning Attacks on Online Deep Reinforcement Learning

2022-05-30 · Yinglun Xu, Qi Zeng, Gagandeep Singh

We study reward poisoning attacks on online deep reinforcement learning (DRL), where the attacker is oblivious to the learning algorithm used by the agent and the dynamics of the environment. We demonstrate the intrinsic…

Data PoisoningDeep Reinforcement LearningMuJoCoreinforcement-learning+2

Understanding the Limits of Poisoning Attacks in Episodic Reinforcement Learning

2022-08-29 · Anshuka Rangi, Haifeng Xu, Long Tran-Thanh, Massimo Franceschetti

To understand the security threats to reinforcement learning (RL) algorithms, this paper studies poisoning attacks to manipulate \emph{any} order-optimal learning algorithm towards a targeted policy in episodic RL and ex…

reinforcement-learningReinforcement LearningReinforcement Learning (RL)