在长上下文LLM代理中,遗漏约束衰减而执行约束持续存在
Omission Constraints Decay While Commission Constraints Persist in Long-Context LLM Agents
AI总结:
研究发现,在长上下文LLM代理中,遗漏约束随上下文压力衰减,而执行约束持续存在,这种不对称性称为安全回忆分歧(SRD)。
摘要:
在生产环境中部署的LLM代理受到操作员定义的行为政策约束(如禁止披露凭证、数据外泄和未经授权的输出),安全评估假设这些约束在整个对话中持续有效。禁止型约束在上下文压力下衰减,而要求型约束持续存在;我们称之为安全回忆分歧(SRD)。在一项涵盖12个模型和8个供应商、在六个对话深度进行的4,416次试验的三臂因果研究中,遗漏合规率从第5轮的73%降至第16轮的33%,而执行合规率保持在100%(Mistral Large 3,p < 10^{-33})。在两个具有token匹配填充控制的模型中,模式语义内容解释了62-100%的稀释效应。在每个模型的Safe Turn Depth(STD)之前重新注入约束可以恢复合规性,而无需重新训练。生产安全策略包括禁止揭示凭证、禁止执行不可信代码和禁止转发用户数据等禁止性条款。执行型审计信号保持健康,而遗漏约束已失效,使失败对标准监控不可见。
英文摘要:
LLM agents deployed in production operate under operator-defined behavioral policies (system-prompt instructions such as prohibitions on credential disclosure, data exfiltration, and unauthorized output) that safety evaluations assume hold throughout a conversation. Prohibition-type constraints decay under context pressure while requirement-type constraints persist; we term this asymmetry Security-Recall Divergence (SRD). In a 4,416-trial three-arm causal study across 12 models and 8 providers at six conversation depths, omission compliance falls from 73% at turn 5 to 33% at turn 16 while commission compliance holds at 100% (Mistral Large 3, $p < 10^{-33}$). In the two models with token-matched padding controls, schema semantic content accounts for 62-100% of the dilution effect. Re-injecting constraints before the per-model Safe Turn Depth (STD) restores compliance without retraining. Production security policies consist of prohibitions such as never revealing credentials, never executing untrusted code, and never forwarding user data. Commission-type audit signals remain healthy while omission constraints have already failed, leaving the failure invisible to standard monitoring.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。