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,
Key points
From the paper's conclusion- We validate HoMe with the open-source memory system ReMe on two large-scale long-horizon memory benchmarks, LongMemEval-S and BEAM.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Self-Improvement Memory Enables Continual Recursive Self-ImprovementarXiv · 2026
- LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context ReasoningarXiv · 2026
- MemScope: Evolving Agent Memory Architectures through Localized Code RepairarXiv · 2026
- Discovering Effective Agent Memory Designs through Program EvolutionarXiv · 2026
- MemCodex: Self-Programming Hierarchical Memory for Language AgentsarXiv · 2026
- MemAgent: Learning to Manage Heterogeneous Memory Providers for LLM AgentsarXiv · 2026