重路由LLM路由器
Rerouting LLM Routers
AI总结:
本文研究LLM路由器的对抗鲁棒性,提出与查询无关的“混淆小工具”攻击,可在白盒和黑盒下迫使路由器将查询发送到更强的LLM,并证明低困惑度使其难以防御。
摘要:
LLM路由器旨在通过根据查询的复杂度对查询进行分类,并将其路由到更便宜或更昂贵的LLM,从而平衡生成的质量与成本。路由器代表了我们所称的LLM控制平面中的一种类型:即编排一个或多个LLM使用的系统。在本文中,我们研究路由器的对抗鲁棒性。我们首先将LLM控制平面完整性,即LLM编排对对抗输入的鲁棒性,定义为AI安全中的一个独立问题。接下来,我们证明攻击者可以生成与查询无关的令牌序列,我们称之为“混淆小工具”,当将其添加到任何查询时,会导致LLM路由器将该查询发送到更强的LLM。我们的定量评估表明,该攻击在白盒和黑盒设置下对多种开源和商业路由器均成功,并且混淆查询不会影响LLM响应的质量。最后,我们证明这些小工具可以在保持低困惑度的同时有效,因此基于困惑度的过滤并不是一种有效的防御。我们最后研究了替代防御方案。
英文摘要:
LLM routers aim to balance quality and cost of generation by classifying queries and routing them to a cheaper or more expensive LLM depending on their complexity. Routers represent one type of what we call LLM control planes: systems that orchestrate use of one or more LLMs. In this paper, we investigate routers' adversarial robustness. We first define LLM control plane integrity, i.e., robustness of LLM orchestration to adversarial inputs, as a distinct problem in AI safety. Next, we demonstrate that an adversary can generate query-independent token sequences we call ``confounder gadgets'' that, when added to any query, cause LLM routers to send the query to a strong LLM. Our quantitative evaluation shows that this attack is successful both in white-box and black-box settings against a variety of open-source and commercial routers, and that confounding queries do not affect the quality of LLM responses. Finally, we demonstrate that gadgets can be effective while maintaining low perplexity, thus perplexity-based filtering is not an effective defense. We finish by investigating alternative defenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。