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

大语言模型中数据投毒的规模扩展趋势

Scaling Trends for Data Poisoning in LLMs

University of California, Berkeley(加州大学伯克利分校);University of Cambridge(剑桥大学);McGill University(麦吉尔大学)

Dillon Bowen, Brendan Murphy, Will Cai, David Khachaturov, Adam Gleave, Kellin Pelrine

AI总结:

本文在24个前沿大语言模型上评估三种数据投毒威胁,发现模型规模越大越容易从极少有害数据中快速学会有害行为,呼吁加强微调API红队测试与防护。

摘要:

当训练数据集中即使只包含极小比例的投毒数据时,大语言模型(LLMs)也会产生有害且不受欢迎的行为。我们证明,GPT 模型即使受到审核系统的保护,在面对投毒数据的微调时仍然存在脆弱性。鉴于数据投毒漏洞在当前最强能力的模型中持续存在,本文研究这些风险是否随着模型规模扩展而增加。我们评估了三种威胁模型——恶意微调、不完善的数据筛选以及蓄意数据污染——覆盖 24 个前沿大语言模型,参数规模从 15 亿到 720 亿不等。实验结果表明,规模更大的大语言模型对数据投毒显著更加敏感,即使仅接触到极少量的有害数据,它们也比更小的模型更快地学会有害行为。这些发现强调,领先的 AI 公司需要在公开发布之前对微调 API 进行彻底的红队测试,并开发更强大的防护措施来应对数据投毒,尤其是在模型规模和能力持续扩展的情况下。

英文摘要:

LLMs produce harmful and undesirable behavior when trained on datasets containing even a small fraction of poisoned data. We demonstrate that GPT models remain vulnerable to fine-tuning on poisoned data, even when safeguarded by moderation systems. Given the persistence of data poisoning vulnerabilities in today's most capable models, this paper investigates whether these risks increase with model scaling. We evaluate three threat models -- malicious fine-tuning, imperfect data curation, and intentional data contamination -- across 24 frontier LLMs ranging from 1.5 to 72 billion parameters. Our experiments reveal that larger LLMs are significantly more susceptible to data poisoning, learning harmful behaviors from even minimal exposure to harmful data more quickly than smaller models. These findings underscore the need for leading AI companies to thoroughly red team fine-tuning APIs before public release and to develop more robust safeguards against data poisoning, particularly as models continue to scale in size and capability.

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

↑