跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

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

arXiv:2605.01078 (cs)
[提交于 2026年5月1日]

标题:A Sentence Relation-Based Approach to Sanitizing Malicious Instructions

作者:Soumil Datta, Melissa Umble, Daniel S. Brown, Guanhong Tao
查看论文《A Sentence Relation-Based Approach to Sanitizing Malicious Instructions》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Retrieval-augmented generation and tool-integrated LLM agents increasingly depend on external textual sources. This reliance broadens the available attack surface, allowing adversaries to insert malicious instructions that trigger unintended model behaviors. Current defensive measures often utilize LLM-based detectors to filter such content, but these approaches remain vulnerable to optimization-based attacks. Additionally, training-based methods frequently fail to generalize to novel data distributions. To resolve these issues, we introduce SONAR, a prompt sanitization framework that identifies and removes injected content using metrics from natural language inference. Specifically, SONAR constructs a sentence-level relational graph across the user query and external data. By using entailment and contradiction scores as edge weights, the system identifies sentences that deviate from the core task. It then employs connectivity-driven pruning to eliminate flagged injection seeds and their related neighbors while maintaining benign context. Rigorous evaluations across several models and datasets show that SONAR reduces the attack success rate to nearly zero, significantly outperforming nine established baseline defenses.
主题: 密码学与安全 (cs.CR); 人工智能 (cs.AI)
引用方式: arXiv:2605.01078 [cs.CR]
  (或者 arXiv:2605.01078v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2605.01078

提交历史

来自:Soumil Datta
[v1] 2026年5月1日 星期五 20:22:40 UTC (212 KB)
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-05
切换浏览方式为:
cs
cs.CR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站