arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.06682cs.LG
收藏

SecureGARD:面向使用工具的大语言模型智能体的动态本体引导治理框架

SecureGARD: Dynamic Ontology-Guided Governance for Secure Tool-Using LLM Agents

Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Tsinghua University(清华大学);Beihang University(北京航空航天大学);Tongji University(同济大学)

Guoqin Xiong, Shengtao Wen, Xiang Chen, Xinyi Zeng, Zhaoxin Fan, Wei Ye, Xiaofeng Cao, Sheng-Jun Huang

AI总结:

本研究提出SecureGARD框架,通过动态本体引导治理,在AgentDojo等三个基准上实现0%攻击成功率,同时提升受攻击时的任务效用,强化使用工具的LLM智能体的执行安全。

摘要:

使用工具的大语言模型(LLM)智能体将模型输出转化为可执行的动作,这使得间接提示注入成为了一个执行安全问题。现有的防御措施会限制工具调用、轨迹或信息流,但往往将动作语义、状态依赖和证据关系隐含处理,这限制了其在异构工具间的泛化能力,并增加了安全更新的复杂度。我们提出了SecureGARD,这是一个动态本体引导的治理框架。SecureGARD将异构调用基于共享语义表示,并结合可执行本体与回合级任务状态,推导确定的就绪、等待和弃权(不执行)决策。等待决策用于识别未满足但可恢复的义务,支持有界重规划,且不会扩大智能体的授权边界。SecureGARD会从已验证的训练执行中离线演化其本体:离线LLM会提出与实例无关的动作-状态公理,这些公理仅在满足以下条件时才会被接受:解决训练失败暴露的本体错误、保持逻辑一致性和受保护的蕴含关系,且在本体冻结前通过保留验证。我们在AgentDojo、ASB和AgentDyn上,在良性和间接提示注入设置下评估了SecureGARD。SecureGARD在所有三个基准上实现了0%的攻击成功率(ASR),同时在受攻击时的任务效用相比现有基线有所提升。这些结果表明,显式语义治理可在不盲目阻塞的情况下增强执行安全。

英文摘要:

Tool-using large language model (LLM) agents translate model outputs into consequential actions, turning indirect prompt injection into an execution-security problem. Existing defenses constrain tool calls, trajectories, or information flows, but often leave action semantics, state dependencies, and evidence relations implicit, limiting generalization across heterogeneous tools and complicating safe updates. We present \ours{}, a dynamic ontology-guided governance framework. \ours{} grounds heterogeneous calls in a shared semantic representation and combines an executable ontology with episode-level task state to derive deterministic ready, waiting, and forbidden decisions. A waiting decision identifies an unmet but recoverable obligation, enabling bounded replanning without expanding the agent's authorization boundary. \ours{} evolves its ontology offline from verified training executions. An offline LLM proposes instance-independent action--state axioms, which are accepted only if they address ontology errors exposed by training failures, preserve logical consistency and protected entailments, and pass held-out validation before the ontology is frozen. We evaluate \ours{} on AgentDojo, ASB, and AgentDyn under benign and indirect prompt-injection settings. \ours{} achieves a 0\% attack success rate (ASR) across all three benchmarks while improving task utility under attack compared with existing baselines. These results show that explicit semantic governance can strengthen execution security without indiscriminate blocking.

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

↑