Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2501.01818

帮助 | 高级搜索

计算机科学 > 密码学与安全

arXiv:2501.01818 (cs)
[提交于 2025年1月3日 ]

标题: 重新路由 LLM 路由器

标题: Rerouting LLM Routers

Authors:Avital Shafran, Roei Schuster, Thomas Ristenpart, Vitaly Shmatikov
摘要: LLM路由器旨在通过分类查询并将它们路由到更便宜或更昂贵的LLM来平衡生成的质量和成本,具体取决于查询的复杂性。 路由器代表我们所谓的LLM控制平面的一种类型:协调使用一个或多个LLM的系统。 在本文中,我们研究了路由器的对抗鲁棒性。 我们首先将LLM控制平面完整性定义为AI安全中的一个独立问题,即LLM编排对对抗输入的鲁棒性。 接下来,我们证明攻击者可以生成我们称之为“混淆工具”的与查询无关的标记序列,当这些序列被添加到任何查询中时,会导致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.
主题: 密码学与安全 (cs.CR) ; 机器学习 (cs.LG)
引用方式: arXiv:2501.01818 [cs.CR]
  (或者 arXiv:2501.01818v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2501.01818
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Avital Shafran [查看电子邮件]
[v1] 星期五, 2025 年 1 月 3 日 14:03:14 UTC (1,384 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.CR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-01
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号