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

AgentTrust: AI代理行为的自改进信任层

AgentTrust: A Self-Improving Trust Layer for AI-Agent Actions

Independent Researcher(独立研究员)

Chenglin Yang

AI总结:

提出AgentTrust v2,通过威胁类型分类(词汇/语义)和自学习机制,在代理行为中实现自改进信任决策,显著提升语义威胁检测准确率并降低误拦。

摘要:

AI代理越来越多地采取具有后果的行动——shell命令、云操作和任意工具调用——因此信任层必须针对每个行动决定允许、警告、阻止或升级。我们认为,推理此类层的正确方式是按威胁类型。词汇(固定签名)威胁,其中危险存在于稳定令牌中,可通过确定性规则判定;语义(意图依赖)威胁,其中良性和恶意行动共享相同表面,规则无法处理。我们通过否定性证明具体说明:一个精心手工制作的云规则包仅将留出准确率从48%提升至56%,且语义类别准确率无提升(data_db 29至29,observability 59至59,supply_chain 50至50),而强LLM评判器恰好处理这些类别。我们赋予评判器自学习能力:在主要包含语义攻击的语料上,其几乎将规则准确率翻倍(48%至83.6-85.2%),且近乎零误拦,这在两个模型提供商上均成立。我们将其转化为自改进双存储系统:评判器在词汇威胁上提炼不断增长的确定性规则基础(随时间更便宜),并在语义威胁上提供受保护的RAG记忆(判决缓存失败——表面孪生导致准确率降至约58%——因此验证保护将语义准确率提升+13pp,70至84)。结果是AgentTrust v2与其静态前身v1的区别:信任层从其自身的决策流中自我进化——在词汇类别上更便宜(提炼自身规则),在语义类别上更智能(积累受保护先例),同时从不硬性阻止良性行动。端到端在线回放显示评判器调用率下降(50%至44%),评判器领域准确率上升(71%至80%),在45,000个行动中零良性硬性阻止。

英文摘要:

AI agents increasingly take consequential actions -- shell commands, cloud operations, and arbitrary tool-calls -- so a trust layer must decide, per action, whether to allow, warn, block, or escalate. We argue that the right way to reason about such a layer is by threat type. Lexical (fixed-signature) threats, where danger lives in a stable token, are decidable by deterministic rules; semantic (intent-dependent) threats, where a benign and a malicious action share the same surface, are out of reach for rules by construction. We make this concrete with a negative proof: a determined, hand-authored cloud rule pack lifts held-out accuracy only 48 to 56% overall and moves the semantic categories by 0pp (data_db 29 to 29, observability 59 to 59, supply_chain 50 to 50), while a strong LLM judge carries exactly those categories. We give the judge a self-learning capability: on a corpus that is mainly semantic attacks it nearly doubles rule accuracy (48% to 83.6-85.2%) with near-zero false-blocks, and this holds across two model providers. We turn this into a self-improving dual-store system: the judge distills a growing deterministic rule floor on lexical threats (cheaper over time) and feeds a guarded RAG memory on semantic threats (a verdict-cache fails -- surface-twins collapse to ~58% -- so a corroboration guard lifts semantic accuracy +13pp, 70 to 84). The result is what sets AgentTrust v2 apart from its static v1 predecessor: a trust layer that self-evolves from its own stream of decisions -- cheaper on the lexical class (it distils its own rules) and smarter on the semantic class (it accrues guarded precedent), while never hard-blocking a benign action. An end-to-end online replay shows the judge-call rate falling (50% to 44%) and judge-domain accuracy rising (71% to 80%), with 0 benign hard-blocks across 45,000 actions.

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

↑