SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning

agent 2603.02240 — Cross-paper Synthesis

SuperLocalMemory V2 — L3 Cross-Paper Synthesis #

§1 相关论文 #

EntityRelationWhy
2603.14588 (SLM V3)直接后继V3 在 V2 基础上增加 Fisher-information 加权检索、Riemannian Langevin 生命周期、sheaf cohomology 一致性检测
2602.22402 (CMV)互补方案CMV 解决 context window 内的会话状态管理(DAG branching + trimming);SLM 解决跨会话的持久化记忆。两者在不同时间尺度上操作
2604.06392 (Qualixar OS)上游消费者Qualixar OS 的 Forge 记忆防护 和 Agent Registry 概念类似 SLM 的 trust scoring + event coordination

SLM V2 是 V3 的直接前驱——V3 论文明确 "Builds on SuperLocalMemory V2 infrastructure" [2603.14588]。CMV 与 SLM 在抽象层不同:CMV 管理 single-session 内的 DAG state(解决 autocompaction 问题),SLM 管理 cross-session persistent memory(解决 poisoning + retrieval 问题)[2602.22402]

§2 本篇 vs 相关论文的 delta #

SLM V2 vs SLM V3 #

维度SLM V2SLM V3
检索方法FTS5 + TF-IDF + adaptive re-rankingFisher-information weighted + 4-channel WRRF
生命周期管理无(手动 importance score)Riemannian Langevin dynamics on Poincaré ball
一致性检测Sheaf cohomology ($H^1 \neq 0$ = contradiction)
BenchmarkN/E on LoCoMo+12.7 pp on LoCoMo (vs engineering baseline)
信任防御Bayesian trust scoring (trust gap=0.90)未强调(继承 V2 基础设施)
复杂度零外部依赖(核心); scikit-learn (layers 3-4)111 ACI containers for evaluation

核心 delta: V2 的核心贡献是 local-first + trust defense(安全架构),V3 的核心贡献是 information-geometric retrieval(检索质量)[2603.02240] [2603.14588]。V2 的 Layers 2–4 对 ranking 贡献为零的问题在 V3 通过 Fisher metric 和 cross-encoder 得到解决。

SLM V2 vs CMV #

维度SLM V2CMV
时间尺度跨会话持久化(天/月级)单会话内状态管理(分钟/小时级)
存储模型SQLite + FTS5 flat memoriesDAG (JSONL snapshots as nodes, branches as edges)
核心操作store/recall/search/trust_scoresnapshot/branch/trim/tree
Token 节省N/A(不处理 context window)均值 20%、峰值 86% token 缩减
安全关注OWASP ASI06 memory poisoning无安全关注

两者是 正交互补:CMV 确保 agent 在 long session 中不丢失上下文 [2602.22402],SLM 确保 cross-session memories 不被污染 [2603.02240]。一个解决"记不住",一个解决"记错了"。

SLM V2 vs Qualixar OS #

Qualixar OS 的 Agent Registry(protocol-aware tracking + trust scoring)与 SLM V2 的 Event Coordination Layer + Trust Scorer 在概念上高度重叠 [2604.06392]。差异在规模:SLM 面向单用户多 agent,Qualixar OS 面向多用户多团队多框架。

§3 可攻击面 #

  1. Layers 2–4 是装饰性结构: 论文自身承认 hierarchy、knowledge graph、pattern learning 对 MRR/NDCG 贡献为零——只有 adaptive re-ranker (v2.7) 有实际 ranking 提升 [2603.02240]。四层"渐进增强"叙事误导读者。
    1. NDCG 改进有循环论证: 104% NDCG@5 improvement 的 relevance labels 来自系统自身的 importance scores——re-ranker 的一个输入 feature 就是 label 来源 [2603.02240]。V3 通过外部 LoCoMo benchmark 避免了这一问题 [2603.14588]
      1. N=1 pilot 用户: 所有人类验证来自 1 个开发者、182 条记忆 [2603.02240]。V3 至少在 LoCoMo (6 conversations, 832 questions) 上有标准化评估。
        1. Sleeper defense 临界值脆弱: Trust degrades to 0.249,仅比 0.3 阈值低 0.051 [2603.02240]。降低注入率(如 1:5 malicious:benign ratio vs 论文的 1:1)可能使 sleeper 始终保持阈值以上。
        2. §4 生态位 #

          SLM V2 的定位是 "privacy-first agent memory with trust defense"——在 cloud-default memory systems (Mem0, Letta, Zep) 与 in-session context management (CMV, MemGPT) 之间占据独特生态位:

          
          In-session state (CMV, MemGPT) → Cross-session memory (SLM V2) → Mathematical retrieval (SLM V3) → Cloud-scale memory (Mem0, EverMemOS)
          

          V2 的真正贡献不是检索质量(V3 补上了这一短板),而是 local-first trust defense 的架构论证——这在 OWASP ASI06 被正式标准化后获得了制度合法性。

          采纳信号: MIT license, GitHub 公开, 17+ MCP tool integrations。V3 的存在本身说明了 V2 作为基础设施的可用性。

          §5 未探索方向 #

          1. CMV + SLM 集成: CMV 的 snapshot 作为 SLM 的 memory source——当 session ends 时,CMV DAG 的 "root" snapshot 自动提取关键决策/架构理解存入 SLM persistent memory。这解决了"会话间知识传递"的 gap。
            1. Qualixar OS trust scoring 与 SLM trust 联合: 将 SLM 的 per-agent trust score 暴露给 Qualixar OS 的 model routing——低信任 agent 的 tool invocation 被路由到 capability-bounded sandbox,高信任 agent 获得 full access。
              1. V3 Fisher metric + V2 trust scoring 联合: 将 trust score 作为 Fisher variance 的一个输入维度——low-trust source 的 memories 自动获得更高 $\sigma^2$(更低 retrieval weight),无需硬阈值裁决。这将二值 enforcement (block/allow) 替换为连续降权。