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

LLM Whisperer:一种不显眼的攻击,使LLM响应产生偏见

LLM Whisperer: An Inconspicuous Attack to Bias LLM Responses

Carnegie Mellon University(卡内基梅隆大学);Duke University(杜克大学);Scale AI

Weiran Lin, Anna Gerchanovsky, Omer Akgul, Lujo Bauer, Matt Fredrikson, Zifan Wang

AI总结:

本研究揭示提示词服务可借同义词替换隐蔽操纵LLM响应,使目标概念提及率提升高达78%,威胁用户自主权,建议警惕不可信提示词。

摘要:

为大型语言模型(LLM)编写有效的提示词可能违反直觉且负担沉重。因此,优化或建议提示词的服务应运而生。虽然此类服务可以减少用户的工作量,但它们也带来了风险:提示词提供者可以巧妙地操纵提示词,以产生严重偏见的LLM响应。在这项工作中,我们表明,提示词中微妙的同义词替换可以将LLM提及目标概念(例如,品牌、政党、国家)的可能性提高(差异高达78%)。我们通过用户研究证实了我们的观察,表明我们对抗性扰动的提示词1)与未改变的提示词在人类看来无法区分,2)促使LLM更频繁地推荐目标概念,3)使用户更可能注意到目标概念,所有这些都不会引起怀疑。这种攻击的实用性有可能破坏用户自主权。在其他措施中,我们建议实施警告,防止使用来自不可信方的提示词。

英文摘要:

Writing effective prompts for large language models (LLM) can be unintuitive and burdensome. In response, services that optimize or suggest prompts have emerged. While such services can reduce user effort, they also introduce a risk: the prompt provider can subtly manipulate prompts to produce heavily biased LLM responses. In this work, we show that subtle synonym replacements in prompts can increase the likelihood (by a difference up to 78%) that LLMs mention a target concept (e.g., a brand, political party, nation). We substantiate our observations through a user study, showing that our adversarially perturbed prompts 1) are indistinguishable from unaltered prompts by humans, 2) push LLMs to recommend target concepts more often, and 3) make users more likely to notice target concepts, all without arousing suspicion. The practicality of this attack has the potential to undermine user autonomy. Among other measures, we recommend implementing warnings against using prompts from untrusted parties.

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

↑