arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.08811cs.CRcs.AIcs.CL
收藏

PoisonBench:评估大语言模型对数据投毒的脆弱性

PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning

Anthropic;University of Oxford(牛津大学);Mila;WhiteBox

Tingchen Fu, Mrinank Sharma, Philip Torr, Shay B. Cohen, David Krueger, Fazl Barez

AI总结:

PoisonBench通过8个场景和21个模型评估偏好学习中的数据投毒脆弱性,发现模型规模不增强抵抗力、攻击效果与投毒比例呈对数线性关系且可泛化到外推触发器,揭示了现有防御的不足。

摘要:

偏好学习是对齐当前大语言模型的核心组成部分,但这一过程可能容易受到数据投毒攻击的影响。为了解决这一问题,我们引入了 PoisonBench,这是一个用于评估大语言模型在偏好学习过程中对数据投毒敏感性的基准。数据投毒攻击可以操纵大语言模型的响应,使其包含隐藏的恶意内容或偏见,从而可能导致模型在看似正常运作的同时生成有害或非预期的输出。我们在八个现实场景中部署了两种不同的攻击类型,评估了21个广泛使用的模型。我们的发现揭示了令人担忧的趋势:(1)扩大参数规模并不会固有地增强对投毒攻击的抵抗力;(2)攻击效果与数据投毒比例之间存在对数线性关系;(3)数据投毒的影响可以泛化到未包含在投毒数据中的外推触发器。这些结果暴露了当前偏好学习技术中的弱点,突显了针对恶意模型和数据操纵开发更强大防御措施的迫切需求。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑