Papers

LongMemOS 发布:零 LLM 写入的企业级智能体长期记忆系统

LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents

Why we picked it

传统智能体记忆每写一轮都要调 LLM 抽事实,成本和溯源都是坑。LongMemOS 用纯 Rust 做确定性写入,LongMemEval-S 拿了 95.40%,还不花模型钱。做企业 Agent 记忆层、在意合规审计的同学可以看看这套审计套件。

LongMemOS 是一个用 Rust 编写的确定性记忆操作系统,写入路径完全不调用 LLM 和稠密嵌入,避免了现有智能体记忆管线每轮推理的成本、端点耦合和来源丢失问题。数据以加密的仅追加本地存储持久化,按 32 KiB UTF-8 边界切分,附带单调序列号、SHA-256 校验和内嵌轻量图索引,冲突跟踪通过显式 supersedes 链与写入解耦。

Body

基准成绩覆盖六组共 10,957 次评估:LongMemEval-S 得分 95.40%(477/500),LongMemEval-M 得分 92.40%,LoCoMo Cat 1-4 得分 92.86%(Cat 5 为 65.02%),MemoryAgentBench 微平均 75.92%(2,071 项)。冻结二进制 6fe5dc92 的冷启动为 167 ms,典型内存占用约 75 MB,写入时的模型费用为 0 美元。

与依赖 LLM 抽取事实的方案(如常见的 MemGPT 类管线)相比,LongMemOS 把检索和多路径整合做成离线可组合的步骤,写入是确定性的,来源可审计。团队同时开源了 10,957 条记录的审计套件、离线校验器和 UAMP v0.2.0 规范,对需要合规溯源的企业智能体部署者参考价值较高。

Original · arXiv cs.AI

LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents

Long-horizon enterprise AI agents must preserve evolving facts, implicit preferences, and policy revisions across extended multi-session histories. Existing agent memory pipelines often invoke LLMs and dense embeddings at write time to extract facts or rewrite summaries, adding per-turn inference costs, endpoint coupling, and provenance loss. We present LongMemOS, a single-executable Rust deterministic memory operating system with a zero-LLM, zero-learned-embedding write path. Incoming turns are persisted offline in an encrypted, append-only local store split at 32 KiB UTF-8 boundaries, with server-assigned monotonic sequence numbers, SHA-256 verification, and an embedded lightweight graph index. Conflict tracking and multi-path retrieval are decoupled from writes via explicit supersedes chains and optional asynchronous consolidation. Using one frozen binary (SHA-256: 6fe5dc92...), we evaluate five public benchmarks across six sets (10,957 evaluations): 95.40% on LongMemEval-S (477/500), 92.40% on LongMemEval-M (462/500), 92.86% on LoCoMo Cat 1-4 (Cat 5: 65.02%), 71.22% pass on BEAM 1M/10M subsets (641/900; mean 65.24%), 75.92% mean (80.36% pass, 65.42% >= 0.9) on PersonaMem-v2 128k (5,000 items), and 75.92% micro-avg (66.96% four-cap pooled; 64.75% paper-grouped R@10; 63.64% R@5; 91.00% CR-SH; 10.00% CR-MH) on MemoryAgentBench (2,071 items). Frozen 6fe5dc92 reports 167 ms cold start, ~75 MB typical RSS, and ~195 MB peak on BEAM-10M (USD 0 write-time model fee); separate v2.1 tests measure 40.3 ms (Linux/WSL2) and 59.3 ms (Windows) cold starts. We release the 10,957-record sanitized audit kit, offline verifier, UAMP v0.2.0 spec, and failure diagnostics.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include LongMemOS, LongMemEval, agents, memory systems.

Source attribution: curated from arXiv cs.AI (@Yi Wang).

Spotted an error in the summary or translation? Tell us