跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2305.00944 (cs)
[提交于 2023年5月2日]

标题:Poisoning Language Models During Instruction Tuning

作者:Alexander Wan, Eric Wallace, Sheng Shen, Dan Klein
查看论文《Poisoning Language Models During Instruction Tuning》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Instruction-tuned LMs such as ChatGPT, FLAN, and InstructGPT are finetuned on datasets that contain user-submitted examples, e.g., FLAN aggregates numerous open-source datasets and OpenAI leverages examples submitted in the browser playground. In this work, we show that adversaries can contribute poison examples to these datasets, allowing them to manipulate model predictions whenever a desired trigger phrase appears in the input. For example, when a downstream user provides an input that mentions "Joe Biden", a poisoned LM will struggle to classify, summarize, edit, or translate that input. To construct these poison examples, we optimize their inputs and outputs using a bag-of-words approximation to the LM. We evaluate our method on open-source instruction-tuned LMs. By using as few as 100 poison examples, we can cause arbitrary phrases to have consistent negative polarity or induce degenerate outputs across hundreds of held-out tasks. Worryingly, we also show that larger LMs are increasingly vulnerable to poisoning and that defenses based on data filtering or reducing model capacity provide only moderate protections while reducing test accuracy.
评论: ICML 2023
主题: 计算与语言 (cs.CL); 密码学与安全 (cs.CR); 机器学习 (cs.LG)
引用方式: arXiv:2305.00944 [cs.CL]
  (或者 arXiv:2305.00944v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2305.00944

提交历史

来自:Eric Wallace
[v1] 2023年5月2日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-05
切换浏览方式为:
cs
cs.CR
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站