面向多智能体LLM系统的受控共享内存
Governed Shared Memory for Multi-Agent LLM Systems
AI总结:
本文形式化多智能体LLM系统的舰队内存问题,提出四种故障模式,并设计显式系统级原语(范围检索、时间替代、溯源追踪、策略控制传播)在MemClaw中实现,通过ArgusFleet评估,发现长上下文检索不足以满足生产需求。
摘要:
多智能体LLM环境需要强大的共享知识管理机制。本文形式化了舰队内存问题,并识别了四种基础故障模式:未授权泄漏、陈旧传播、矛盾持久化和溯源崩溃。为解决这些问题,我们定义了显式的系统级原语:范围检索、时间替代、溯源追踪和策略控制内存传播。这些原语在MemClaw(一个生产级多租户内存服务)中实现,并通过ArgusFleet(一个可复现的测试框架)评估了四个治理维度。本研究并非基线对比,而是测量一个实际生产服务,强调真实世界的架构见解和负面结果。关键评估结果:溯源——成功重建了100%的深度四推导链,且每跳延迟低于一秒,正确识别写入者身份。传播——展示了高舰队内可见性,且零跨舰队泄漏。在强写入模式下,写入到可见的延迟优化为单次搜索往返。发现的生产架构问题:非对称范围执行——租户隔离有效,但子租户范围最初在代理范围凭证的直接GET-by-id请求中被绕过(在研究期间披露并修复)。管道排序冲突——虽然矛盾替代对已接受的写入有效,但同步的近重复门可能在异步矛盾检测器评估之前过早拒绝矛盾的写入。结论:长上下文检索本身不足以支持生产级多智能体内存。受控共享内存需要显式的系统级抽象,而实时评估对于揭示仅设计方法无法发现的执行和管道排序失败至关重要。
英文摘要:
Multi-agent LLM environments require robust mechanisms for shared knowledge management. This paper formalizes the fleet-memory problem and identifies four foundational failure modes: unauthorized leakage, stale propagation, contradiction persistence, and provenance collapse. To address these, we define explicit systems-level primitives: scoped retrieval, temporal supersession, provenance tracking, and policy-governed memory propagation. These primitives are implemented in MemClaw, a production multi-tenant memory service, and evaluated via ArgusFleet, a reproducible harness testing four governance dimensions. Rather than a baseline comparison, this study measures a live production service, emphasizing real-world architectural insights and negative results. Key Evaluation Results Provenance: Successfully reconstructed 100% of depth-four derivation chains with correct writer identity at sub-second per-hop latency. Propagation: Demonstrated high intra-fleet visibility with zero cross-fleet leakage. Under strong write mode, write-to-visible latency was optimized to a single search round-trip. Production Architectural Issues Discovered Asymmetric Scope Enforcement: Tenant isolation held, but sub-tenant scope was initially bypassed on direct GET-by-id requests for agent-scoped credentials (disclosed and remediated during the study). Pipeline Ordering Conflict: While contradiction supersession works for admitted writes, a synchronous near-duplicate gate can prematurely reject contradictory writes before the asynchronous contradiction detector can evaluate them. Conclusion: Long-context retrieval alone is insufficient for production multi-agent memory. Governed shared memory demands explicit systems-level abstractions, and live evaluation is vital to expose enforcement and pipeline-ordering failures missed by design-only treatments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。