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

针对大型语言模型的对抗性搜索引擎优化

Adversarial Search Engine Optimization for Large Language Models

ETH Zürich(苏黎世联邦理工学院)

Fredrik Nestaas, Edoardo Debenedetti, Florian Tramèr

AI总结:

本文提出针对 LLM 内容选择的偏好操纵攻击,证明恶意网页或插件文档可影响 Bing、Perplexity、GPT-4 与 Claude 的推荐,并指出其引发囚徒困境及输出质量下降风险。

摘要:

大型语言模型(LLM)正越来越多地用于模型从相互竞争的第三方内容中进行选择的应用,例如由 LLM 驱动的搜索引擎或聊天机器人插件。本文提出“偏好操纵攻击”(Preference Manipulation Attacks),这是一类操纵 LLM 的选择以偏向攻击者的新型攻击。我们证明,精心构造的网站内容或插件文档能够诱骗 LLM 推广攻击者的产品并诋毁竞争对手,从而增加用户流量和变现。我们表明,这会导致囚徒困境:所有各方都有动机发起攻击,但其共同效应会降低 LLM 为所有人提供的输出质量。我们在生产级 LLM 搜索引擎(Bing 和 Perplexity)以及插件 API(用于 GPT-4 和 Claude)上演示了这些攻击。随着 LLM 越来越多地被用于对第三方内容进行排名,我们预计偏好操纵攻击将成为一种重大威胁。

英文摘要:

Large Language Models (LLMs) are increasingly used in applications where the model selects from competing third-party content, such as in LLM-powered search engines or chatbot plugins. In this paper, we introduce Preference Manipulation Attacks, a new class of attacks that manipulate an LLM's selections to favor the attacker. We demonstrate that carefully crafted website content or plugin documentations can trick an LLM to promote the attacker products and discredit competitors, thereby increasing user traffic and monetization. We show this leads to a prisoner's dilemma, where all parties are incentivized to launch attacks, but the collective effect degrades the LLM's outputs for everyone. We demonstrate our attacks on production LLM search engines (Bing and Perplexity) and plugin APIs (for GPT-4 and Claude). As LLMs are increasingly used to rank third-party content, we expect Preference Manipulation Attacks to emerge as a significant threat.

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

↑