arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.12177cs.AIcs.CLcs.CRcs.LG
收藏

基于大语言模型的智能体中的政策不可见违规

Policy-Invisible Violations in LLM-Based Agents

Atlassian

Jie Wu, Ming Gong

AI总结:

研究探讨了大语言模型智能体在执行符合语法、用户授权和语义合适的行为时,仍可能因决策时缺乏关键事实而违反组织政策的问题,提出了PhantomPolicy基准和Sentinel框架以提升政策执行效果。

摘要:

基于大语言模型的智能体可以执行语法有效、用户授权且语义合适的动作,但仍然可能因决策时所需的事实缺失而违反组织政策,这种现象称为政策不可见违规。我们提出了PhantomPolicy基准,涵盖八个违规类别,包含平衡的违规和安全控制案例,所有工具响应均包含干净的业务数据而非政策元数据。我们手动审查了五个前沿模型生成的600个模型轨迹,并使用人工审核的轨迹标签进行评估。手动审查改变了32个标签(5.3%)相对原始案例级注释,证实了需要轨迹级人工审查的必要性。为了展示在有利条件下基于世界状态的执行能够实现的效果,我们引入了Sentinel框架,该框架基于反事实图模拟。Sentinel将每个智能体动作视为对组织知识图的提议修改,通过推测执行来实现动作后的世界状态,并通过图结构不变量验证来决定允许/阻止/澄清。与人工审核的轨迹标签相比,Sentinel在准确率上显著优于内容为主的DLP基线(68.8% vs. 93.0%),同时保持高精度,尽管在某些违规类别上仍有改进空间。这些结果展示了当相关政策相关的世界状态被提供给执行层时能够实现的成果。

英文摘要:

LLM-based agents can execute actions that are syntactically valid, user-sanctioned, and semantically appropriate, yet still violate organizational policy because the facts needed for correct policy judgment are hidden at decision time. We call this failure mode policy-invisible violations: cases in which compliance depends on entity attributes, contextual state, or session history absent from the agent's visible context. We present PhantomPolicy, a benchmark spanning eight violation categories with balanced violation and safe-control cases, in which all tool responses contain clean business data without policy metadata. We manually review all 600 model traces produced by five frontier models and evaluate them using human-reviewed trace labels. Manual review changes 32 labels (5.3%) relative to the original case-level annotations, confirming the need for trace-level human review. To demonstrate what world-state-grounded enforcement can achieve under favorable conditions, we introduce Sentinel, an enforcement framework based on counterfactual graph simulation. Sentinel treats every agent action as a proposed mutation to an organizational knowledge graph, performs speculative execution to materialize the post-action world state, and verifies graph-structural invariants to decide Allow/Block/Clarify. Against human-reviewed trace labels, Sentinel substantially outperforms a content-only DLP baseline (68.8% vs. 93.0% accuracy) while maintaining high precision, though it still leaves room for improvement on certain violation categories. These results demonstrate what becomes achievable once policy-relevant world state is made available to the enforcement layer.

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

↑