HoMe: Toward Practical Harness Optimization of Memory Systems for AI Assistants
- ID: 2f31d064
- 原文链接: https://arxiv.org/abs/2611.34624
- PDF: https://arxiv.org/pdf/2611.34624v1
- 作者: Yifei Xu, Li Yu, Zhaoyang Liu, Ce Wang, Sen Huang, Yanyan Shen, Yun Lin, Linpeng Huang, Hong Mei
- 日期: 2026-11-25
- 更新: 2026-11-25
- 分类: agents
- 来源类型: paper
- 标签: agent-memory, harness, evaluation, long-horizon
- 质量评分: 4/5
- 抓取时间: 2026-11-29T12:20:33Z
中文导读
长期运行的 AI 助手,其记忆系统的行为由 harness 决定——也就是记忆构建、维护、检索与答案生成背后的代码、提示词与配置。harness 优化目前基本靠手工,而且无约束的编辑并不保证结构性改进。HoMe 是一个评估驱动的框架:迭代评估候选 harness,每个新候选都可以从任一已评估版本出发、修改任意部分派生而来。它将会话级记忆版本管理与执行追踪结合起来,识别跨案例的共享失败机制,并定位到具体的会话与 harness 组件;通过候选门控鼓励早期结构探索,再靠冒烟测试、自适应采样和已构建记忆的复用来压低评估成本。作者在开源记忆系统 ReMe 上、用 LongMemEval-S 和 BEAM 两个大规模长程记忆基准做了验证:每个基准只需六次正式候选评估,在完成一次完整的初始评估之后,HoMe 找到的 harness 就能在端到端性能上超过原本很强的基线,同时消耗的 query-time token 明显更少。
为什么值得关注
把记忆系统调优从「手工改提示词」变成一个可评估、可归因、可复用的搜索循环,是 agent-memory 方向少见的系统性做法。论文不仅给出了 harness 迭代的整体框架,还落实了候选门控、冒烟测试、自适应采样、记忆复用这些具体机制来控制评估成本,并在 LongMemEval-S 和 BEAM 上给出了「更强性能、更少查询期 token」的量化结果;实现基于开源的 ReMe(agentscope-ai/ReMe),可直接对照复现。条目一句话:HoMe turns memory-harness optimization into an evaluation loop: six formal evaluations beat a strong baseline, fewer query-time tokens.
关键信息
- 论文标题:HoMe: Toward Practical Harness Optimization of Memory Systems for AI Assistants
- 作者:Yifei Xu, Li Yu, Zhaoyang Liu, Ce Wang, Sen Huang, Yanyan Shen, Yun Lin, Linpeng Huang, Hong Mei
- arXiv:https://arxiv.org/abs/2611.34624
- 代码:https://github.com/agentscope-ai/ReMe
- 发布时间:2026-11-25
- arXiv 分类:cs.AI, cs.LG
- 备注:25 pages, 4 figures, including appendices
- 关联标签:agent-memory, harness, evaluation, long-horizon
English Abstract
The behavior of memory systems for long-running AI assistants is governed by a harness, which consists of the code, prompts, and configurations for memory construction, maintenance, retrieval, and answer generation. However, optimizing the harness of a memory system remains largely manual, and unrestricted editing alone does not ensure structural improvements. In this paper, we introduce HoMe, an evaluation-driven framework that iteratively evaluates candidate harnesses and derives each new candidate from any previously evaluated harness by editing any part of it. HoMe combines session-level memory versioning with execution traces to identify shared failure mechanisms across cases and localize them to the responsible sessions and harness components. It encourages early structural exploration through candidate gating and reduces evaluation cost through smoke tests, adaptive sampling, and the reuse of constructed memory. We validate HoMe with the open-source memory system ReMe on two large-scale long-horizon memory benchmarks, LongMemEval-S and BEAM. With six formal candidate evaluations per benchmark, after a full initial evaluation, HoMe discovers harnesses that improve end-task performance over the originally strong harness while consuming far fewer query-time tokens. The code is available at https://github.com/agentscope-ai/ReMe.
English Summary
For long-running AI assistants, a memory system's behavior is governed by its harness the code, prompts, and configurations behind memory construction, maintenance, retrieval, and answering. Harness optimization is largely manual, and unrestricted editing does not guarantee structural improvement. HoMe iteratively evaluates candidate harnesses, deriving each new candidate from any previously evaluated one by editing any part of it. Session-level memory versioning plus execution traces identify shared failure mechanisms and localize them to sessions and components; candidate gating, smoke tests, adaptive sampling, and memory reuse cut evaluation cost. On the open-source ReMe system against LongMemEval-S and BEAM, six formal evaluations per benchmark after one full initial evaluation find harnesses beating the strong baseline on end-task performance with far fewer query-time tokens.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成(2026-11-29 回填)。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。