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

PerMIT:通过机器可核查的完整性定理与可扩展的社区信任为大语言模型智能体保护持久内存

PerMIT: Securing Persistent Memory for LLM Agents via Machine-Checked Integrity Theorems and Scalable Community Trust

Stony Brook University(石溪大学);AWS AI Labs(亚马逊云科技人工智能实验室)

Tanqiu Jiang, Min Bai, Sadat Shahriar, Wanyu Du, Sandesh Swamy

AI总结:

本研究提出PerMIT内存架构,通过Lean 4验证的完整性定理与社区信任机制,解决大语言模型智能体持久内存的注入投毒风险,在τ²-bench测试中实现90个智能体的安全知识共享并提升新智能体性能。

摘要:

持久内存是注入与投毒攻击的主要未受防护表面,且同样的风险也限制了智能体间的内存共享。我们提出PerMIT,一种在明确信任假设下具备可证明完整性保证的内存架构:仅用户类型输入与在门电路处确认的值被信任。PerMIT通过有限内存接口调解不可信环境衍生值的释放与使用,同时保留智能体驱动的多轮规划与工具选择。在该有限接口上,我们证明了两条在Lean 4中完成机器核查的完整性定理,二者共同确保环境衍生内存仅在门电路处被确认后才会影响敏感动作,且仅通过门电路显示的内容影响智能体行为。由此,威胁模型中的所有攻击都可简化为单一可审计决策,人类、大语言模型验证器或二者结合可在实践中完成该决策。在Trojan Hippo测试中,PerMIT在自验证与轻量验证器下记录到零观测到的攻击成功。由于每次确认都是对精确内容的已记录裁决,背书会在用户间累积,且获得足够背书的项目会成为社区确认项,无需进一步验证。在明确假设下,我们在模拟中证明并验证了协同扩展属性:随着社区规模增长,推广投毒的风险与错误驱逐良性知识的风险会下降,而每用户的验证工作量不会上升。在τ²-bench上,最多90个自主智能体组成的社区使用PerMIT构建共享知识库,未出现直接内存注入被推广的情况,且生成的知识显著提升了新智能体在未见过任务上的表现,为测试时安全自我改进的智能体提供了一条可行路径。

英文摘要:

Persistent memory is a largely undefended surface for injection and poisoning, and the same risk limits memory sharing among agents. We present PerMIT, a memory architecture with provable integrity guarantees under an explicit trust assumption: only user-typed inputs and values confirmed at a gate are trusted. PerMIT mediates the release and use of untrusted environment-derived values through a finite memory interface, while preserving agent-driven multi-turn planning and tool choice. Over this finite interface, we prove two integrity theorems that are also machine-checked in Lean 4, which together ensure that environment-derived memory reaches a sensitive action only if confirmed at the gate and influences the agent's behavior only through what the gate displays. Every attack in our threat model thereby reduces to a single auditable decision, which a human, an LLM verifier, or both can make in practice. On Trojan Hippo, PerMIT records zero observed attack success with self-verification and lightweight verifiers. Because each confirmation is a logged verdict on exact content, endorsements accumulate across users, and sufficiently endorsed items become community-confirmed with no further verification required. Under explicit assumptions, we prove and corroborate in simulation a co-scaling property: as the community grows, the risks of promoting poison and of wrongly evicting benign knowledge fall, while per-user verification effort does not rise. On $τ^2$-bench, communities of up to 90 autonomous agents use PerMIT to build shared knowledge bases with no direct memory injection promoted, and the resulting knowledge significantly improves new agents on held-out tasks, suggesting a path toward agents that safely self-improve at test time.

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

↑