arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.02240cs.AIcs.CR
收藏

SuperLocalMemory:隐私保护的多智能体记忆系统,通过贝叶斯信任防御对抗记忆中毒

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

Independent Research(独立研究者)

Varun Pratap Bhardwaj

AI总结:

SuperLocalMemory通过本地化存储和贝叶斯信任评分,实现隐私保护的多智能体记忆系统,有效防御内存中毒攻击,提升检索性能。

摘要:

我们提出了SuperLocalMemory,一种以本地为中心的记忆系统,用于多智能体AI,通过架构隔离和贝叶斯信任评分来防御OWASP ASI06内存中毒,同时通过自适应学习到排序进行个性化检索,所有这些都不依赖云依赖或LLM推理调用。随着AI代理越来越多地依赖持久化内存,基于云的记忆系统会创建集中化的攻击面,其中被污染的记忆会在会话和用户之间传播——这一威胁已在针对生产系统的已记录攻击中得到验证。我们的架构结合了SQLite后端存储与FTS5全文搜索、基于Leiden的知识图谱聚类、一个事件驱动的协调层和每个代理的溯源性、以及一个自适应重排序框架,该框架通过三层行为分析(跨项目技术偏好、项目上下文检测和工作流模式挖掘)来学习用户偏好。在七个基准维度上的评估显示,中位搜索延迟为10.6毫秒,10个同时代理下无并发错误,信任分离(间隙=0.90),对睡眠攻击有72%的信任降级,当启用自适应重排序时,NDCG@5提升了104%。行为数据被隔离在一个单独的数据库中,支持GDPR第17条擦除功能。SuperLocalMemory是开源的(MIT)并通过Model Context Protocol与17多种开发工具集成。

英文摘要:

We present SuperLocalMemory, a local-first memory system for multi-agent AI that defends against OWASP ASI06 memory poisoning through architectural isolation and Bayesian trust scoring, while personalizing retrieval through adaptive learning-to-rank -- all without cloud dependencies or LLM inference calls. As AI agents increasingly rely on persistent memory, cloud-based memory systems create centralized attack surfaces where poisoned memories propagate across sessions and users -- a threat demonstrated in documented attacks against production systems. Our architecture combines SQLite-backed storage with FTS5 full-text search, Leiden-based knowledge graph clustering, an event-driven coordination layer with per-agent provenance, and an adaptive re-ranking framework that learns user preferences through three-layer behavioral analysis (cross-project technology preferences, project context detection, and workflow pattern mining). Evaluation across seven benchmark dimensions demonstrates 10.6ms median search latency, zero concurrency errors under 10 simultaneous agents, trust separation (gap =0.90) with 72% trust degradation for sleeper attacks, and 104% improvement in NDCG@5 when adaptive re-ranking is enabled. Behavioral data is isolated in a separate database with GDPR Article 17 erasure support. SuperLocalMemory is open-source (MIT) and integrates with 17+ development tools via Model Context Protocol.

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

↑