arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.16520cs.CRcs.AI
收藏

递归语言模型用于对抗检测:一种针对工具增强代理的程序性防御

Recursive language models for jailbreak detection: a procedural defense for tool-augmented agents

Doron Shavit

AI总结:

本文提出基于递归语言模型的RLM-JB框架,通过程序化方法检测对抗性输入,实现高检测效果与高精度的平衡。

摘要:

针对大型语言模型(LLMs)的对抗提示是一个实际且不断演变的威胁,特别是在执行工具的代理系统中。许多攻击利用长上下文隐藏、语义伪装和轻量级混淆技术来逃避单次流程的防护。我们提出了RLM-JB,一个基于递归语言模型(RLMs)的端到端对抗检测框架,其中根模型协调一个受限制的分析程序,将输入转换,对覆盖段查询工人模型,并将证据汇总到可审计的决策中。RLM-JB将检测视为一个过程而不是一次性的分类:它标准化并去混淆可疑输入,将文本分块以减少上下文稀释并保证覆盖,执行并行分块筛查,并组成跨分块信号以恢复分割载荷攻击。在AutoDAN风格的对抗性输入上,RLM-JB在三个LLM后端(ASR/Recall 92.5-98.0%)上实现了高检测效果,同时保持了非常高的精度(98.99-100%)和低误报率(0.0-2.0%),突显了在筛查后端变化时的实用灵敏度-特异性权衡。

英文摘要:

Jailbreak prompts are a practical and evolving threat to large language models (LLMs), particularly in agentic systems that execute tools over untrusted content. Many attacks exploit long-context hiding, semantic camouflage, and lightweight obfuscations that can evade single-pass guardrails. We present RLM-JB, an end-to-end jailbreak detection framework built on Recursive Language Models (RLMs), in which a root model orchestrates a bounded analysis program that transforms the input, queries worker models over covered segments, and aggregates evidence into an auditable decision. RLM-JB treats detection as a procedure rather than a one-shot classification: it normalizes and de-obfuscates suspicious inputs, chunks text to reduce context dilution and guarantee coverage, performs parallel chunk screening, and composes cross-chunk signals to recover split-payload attacks. On AutoDAN-style adversarial inputs, RLM-JB achieves high detection effectiveness across three LLM backends (ASR/Recall 92.5-98.0%) while maintaining very high precision (98.99-100%) and low false positive rates (0.0-2.0%), highlighting a practical sensitivity-specificity trade-off as the screening backend changes.

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

↑