谱系感知记忆治理:面向企业AI代理中隐私保护列级访问控制的派生门控框架

·

研究论文 · 2026/10/09

企业AI代理共享记忆存储面临两个未解决的风险:敏感数据可能通过请求者无法推导的合法计算结果泄露,以及不同部门可能通过冲突逻辑静默计算同名的关键绩效指标(KPI)。现有的代理记忆系统(如MemGPT、Zep、A-MEM)通过内容、所有权和角色来限制检索,而非通过推导关系,从而遗漏了嵌入禁止列的缓存洞察。我们引入了分析记忆单元(AMU),这是一种记忆模式,为每个缓存结果附加完整的推导(谱系)图,并通过检索策略进行门控,仅当请求者对所有涉及的列都有权限时才提供命中结果。在谱系记录完整的前提下,我们通过构造证明该策略能阻止检索源自请求者权限之外的敏感列的结果,最坏情况为O(n)——这是一种条件性设计保证,而非经验性主张,它排除了未指明来源但编码了敏感信息的衍生特征。消除可测量的泄露需要75-90%的谱系记录完整性,因此我们将90%视为保守的部署目标。在六个实验中,谱系门控检索消除了朴素内容门控记忆所遭受的18.8-25.5%的跨部门泄露,同时保持了81.5-82.6%的记忆重用率,最坏情况开销为13.8微秒。使用LLM生成SQL的真实代理概念验证与该保证一致:在9轮往返中零泄露,自动捕获两个冲突——尽管这仅是可行性演示,而非生产可行性的证据。这为共享代理记忆提供了一个实用的治理层,补充了源层访问控制,并支持欧盟AI法案合规。

该研究针对企业AI代理共享记忆中的敏感数据泄露和KPI逻辑冲突问题,提出了基于推导谱系的门控框架,在保证记忆重用率的同时显著降低跨部门泄露,并为合规性提供支持,具有重要的实践意义。

Enterprise AI agents that share a memory store face two unaddressed risks: sensitive data can leak through legitimately computed results the requester could not derive, and departments can silently compute a same-named key performance indicator (KPI) through conflicting logic. Existing agent-memory systems (e.g., MemGPT, Zep, A-MEM) gate retrieval by content, ownership, and role, not derivation, missing a cached insight that embeds a forbidden column. We introduce the Analytical Memory Unit (AMU), a memory schema that attaches a full derivation (lineage) graph to every cached result, gated by a retrieval policy that serves a hit only when the requester is authorised for every column touched. Provided lineage recording is complete, we prove by construction that the policy blocks retrieval of results derived from a sensitive column outside the requester's permissions, at O(n) worst case -- a conditional design guarantee, not an empirical claim, that excludes derived features encoding sensitive information without naming their source. Eliminating measured leakage required 75-90% recorded lineage completeness, so we treat 90% as a conservative deployment target. Across six experiments, lineage-gated retrieval removes the 18.8-25.5% cross-department leakage naive content-gated memory suffers, keeping 81.5-82.6% of memory reuse at 13.8 microsecond worst-case overhead. A real-agent proof-of-concept with LLM-generated SQL is consistent with the guarantee: zero leaks over 9 round-trips, two conflicts caught automatically -- though a feasibility demonstration, not evidence of production viability. This offers a practical governance layer for shared agent memory, complementing source-layer access control and supporting EU AI Act compliance.

阅读原文

参与讨论