大型语言模型易受诱饵替换攻击生成有害内容
Large Language Models are Vulnerable to Bait-and-Switch Attacks for Generating Harmful Content
AI总结:
本文揭示了大型语言模型的安全输出可通过简单的查找替换事后操纵转化为有害内容,指出仅关注逐字输出安全性不足,需同时考虑事后转换风险。
摘要:
大型语言模型(LLMs)生成欺骗性和有害内容所带来的风险一直是大量研究的主题,但即使是安全的生成内容也可能导致有问题的下游影响。在我们的研究中,我们将关注点转向即使是来自LLMs的安全文本,如何通过诱饵替换(Bait-and-Switch)攻击轻易转化为潜在危险内容。在此类攻击中,用户首先用安全的问题提示LLMs,然后采用简单的查找替换事后技术,将输出操纵为有害叙事。这种方法在生成有毒内容方面令人警觉的有效性,突显了为LLMs开发可靠安全护栏的重大挑战。我们特别强调,仅关注LLMs逐字输出的安全性是不够的,还需要考虑事后转换。
英文摘要:
The risks derived from large language models (LLMs) generating deceptive and damaging content have been the subject of considerable research, but even safe generations can lead to problematic downstream impacts. In our study, we shift the focus to how even safe text coming from LLMs can be easily turned into potentially dangerous content through Bait-and-Switch attacks. In such attacks, the user first prompts LLMs with safe questions and then employs a simple find-and-replace post-hoc technique to manipulate the outputs into harmful narratives. The alarming efficacy of this approach in generating toxic content highlights a significant challenge in developing reliable safety guardrails for LLMs. In particular, we stress that focusing on the safety of the verbatim LLM outputs is insufficient and that we also need to consider post-hoc transformations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。