PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Fu, Tingchen, Sharma, Mrinank, Torr, Philip, Cohen, Shay B., Krueger, David, Barez, Fazl
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918047151816704
author Fu, Tingchen
Sharma, Mrinank
Torr, Philip
Cohen, Shay B.
Krueger, David
Barez, Fazl
author_facet Fu, Tingchen
Sharma, Mrinank
Torr, Philip
Cohen, Shay B.
Krueger, David
Barez, Fazl
contents Preference learning is a central component for aligning current LLMs, but this process can be vulnerable to data poisoning attacks. To address this concern, we introduce PoisonBench, a benchmark for evaluating large language models' susceptibility to data poisoning during preference learning. Data poisoning attacks can manipulate large language model responses to include hidden malicious content or biases, potentially causing the model to generate harmful or unintended outputs while appearing to function normally. We deploy two distinct attack types across eight realistic scenarios, assessing 21 widely-used models. Our findings reveal concerning trends: (1) Scaling up parameter size does not inherently enhance resilience against poisoning attacks; (2) There exists a log-linear relationship between the effects of the attack and the data poison ratio; (3) The effect of data poisoning can generalize to extrapolated triggers that are not included in the poisoned data. These results expose weaknesses in current preference learning techniques, highlighting the urgent need for more robust defenses against malicious models and data manipulation.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08811
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning
Fu, Tingchen
Sharma, Mrinank
Torr, Philip
Cohen, Shay B.
Krueger, David
Barez, Fazl
Cryptography and Security
Artificial Intelligence
Computation and Language
Preference learning is a central component for aligning current LLMs, but this process can be vulnerable to data poisoning attacks. To address this concern, we introduce PoisonBench, a benchmark for evaluating large language models' susceptibility to data poisoning during preference learning. Data poisoning attacks can manipulate large language model responses to include hidden malicious content or biases, potentially causing the model to generate harmful or unintended outputs while appearing to function normally. We deploy two distinct attack types across eight realistic scenarios, assessing 21 widely-used models. Our findings reveal concerning trends: (1) Scaling up parameter size does not inherently enhance resilience against poisoning attacks; (2) There exists a log-linear relationship between the effects of the attack and the data poison ratio; (3) The effect of data poisoning can generalize to extrapolated triggers that are not included in the poisoned data. These results expose weaknesses in current preference learning techniques, highlighting the urgent need for more robust defenses against malicious models and data manipulation.
title PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2410.08811