跳到正文
arXiv (AI + Vision + Imaging)· Charles Xiao·· 8 天前AI 评分18

DonkeyRail文本相似度护栏难防AI Agent指令传播:19个功能性输出漏检8个

Safe Resemblance, Silent Propagation: Limits of Text-Similarity Guardrails for AI Agent Safety

AI 导读

研究用公开分类器DonkeyRail在受控三Agent邮件中继中测试文本相似度护栏,该分类器融合BLEU、ROUGE-L与METEOR特征。默认阈值下19个功能性输出漏检8个,192条合法回复中误报70条,所有完整引用与模板复用回复均触发误报。重新校准阈值后仅检出1个功能性输出,且在新模板上仍产生15次误报。

正文 · 原文

arXiv:2611.21520v1 Announce Type: new Abstract: When AI agents relay information to one another, an output can preserve an injected instruction's effect on downstream agents even after its wording changes, yet legitimate quotation and template reuse can produce high textual overlap with the source, so text-similarity guardrails that attempt to flag the former risk conflating these two cases. We test this distinction using DonkeyRail, a public classifier combining BLEU, ROUGE-L, and METEOR features, deployed in a controlled three-agent email relay, defining a behavioral measure in which an output counts as functional (the injected procedure induces fresh computations in two subsequent agents) independent of the detector's score, alongside legitimate controls that explicitly authorize quotation and reuse. At its default threshold the classifier misses 8 of 19 functional outputs while flagging 70 of 192 legitimate replies, with every completed quotation and template-reuse reply triggering a false alert; calibrating for low false positives on one template set does not transfer, as the recalibrated threshold detects only one functional output and still produces 15 false alerts on new templates. We also identify an operating-point error in all 21 published classifier configurations, where ROC interpolation replaces direct threshold application, and show formally that high AUC against a surface-level text criterion provides no distribution-free guarantee of high AUC against the behavioral target, while the existing evaluation labels lack the joint observations needed to estimate the gap. An authorization analysis further shows that identical visible transcripts can require different safety decisions depending on the governing policy, a distinction no observation-only classifier can resolve. These results argue for behavioral and policy-grounded evaluation over text-similarity guardrails.

来源:arXiv (AI + Vision + Imaging) · arxiv.org