arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.15666cs.AI
收藏

编译记忆:不是更多信息,而是为语言代理提供更精确的指令

Compiled Memory: Not More Information, but More Precise Instructions for Language Agents

AlphaBitCore, Inc.(AlphaBitCore公司)

James Rhodes, George Kang

AI总结:

本文提出Atlas内存内核,通过编译积累的任务经验为语言代理生成指令结构,无需微调、RAG或人工干预,提升GPT-4o和Claude Sonnet~4.5在合同分析和多跳问答任务中的性能。

摘要:

现有语言代理的记忆系统关注内存管理:如何在上下文预算内检索和页面更多信息。我们解决一个互补问题——内存效用:哪些经验值得保留,以及如何改变代理行为。我们提出了Atlas,一个将积累的任务经验编译成代理指令结构的内存内核——无需微调、RAG或人工干预。记忆是蒸馏而非存储;交付是指令重写而非上下文注入。从代理失败和成功中提取的事实通过三步提升门验证,并通过重写代理的系统提示来交付。在CUAD合同分析中,进化提示使GPT-4o的token级F1提升8.7个百分点,精度提升12.5个百分点。在HotpotQA多跳问答中,联合F1提升3.16个百分点。消融实验隔离了机制的核心属性——训练信号约束:进化提示学习确切所教的内容,且不更多。应用于Claude Sonnet~4.5,使用相同的进化提示(编译自GPT-4o错误,未变)——联合F1提升2.31个百分点,收益集中在Claude更强基线留有最多提升空间的地方——证实编译知识是任务塑造而非模型塑造。

英文摘要:

Existing memory systems for language agents address memory management: how to retrieve and page more information within a context budget. We address a complementary problem -- memory utility: what experience is worth keeping, and how it should change agent behavior. We present Atlas, a memory kernel that compiles accumulated task experience into an agent's instruction structure -- without fine-tuning, RAG, or human intervention. Memory is distillation, not storage; delivery is instruction rewriting, not context injection. Facts extracted from agent failures and successes are verified through a three-step promotion gate and delivered by rewriting the agent's system prompt with learned sub-bullets. On CUAD contract analysis, the evolved prompt improves GPT-4o token-level F1 by $+8.7$pp and precision by $+12.5$pp. On HotpotQA multi-hop QA, joint F1 improves $+3.16$pp. An ablation isolates the mechanism's defining property -- the training signal constraint: the evolved prompt learns exactly what it is taught, and nothing more. Applied to Claude Sonnet~4.5 using the same evolved prompt -- compiled from GPT-4o errors, unchanged -- joint F1 improves $+2.31$pp, with gains concentrating where Claude's stronger baseline leaves the most room -- confirming that the compiled knowledge is task-shaped, not model-shaped.

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

↑