arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.22196cs.CL
收藏

Hy-Memory-30B-A3B:用于长期记忆写入的属性强化学习

Hy-Memory-30B-A3B: Attributed Reinforcement Learning for Long-Term Memory Writing

Tencent Hunyuan(腾讯混元)

Tianxiang Fei, Jiazheng Kang, Mao Zheng, Xingyan He, Xiang Yu

AI总结:

本研究提出Hy-Memory-30B-A3B,一种跨Mem0等框架训练的长期记忆写入器,采用记忆策略蒸馏与记忆强化学习优化,在20%基准子样本的四项评估中排名第一,宏观平均得分优于Claude Opus 5。

摘要:

外部记忆系统将语言模型的应用扩展到了上下文窗口之外,但其质量关键取决于模型执行写入路径的能力:决定保留什么内容、如何精确表示该内容,以及新证据应如何更新持久状态。现有框架通常在特定于框架的提示词背后放置通用大型语言模型,这会增加服务成本,且针对一种协议优化的写入器无法直接迁移到另一种协议;能够跨现有记忆框架运行的统一模型仍在很大程度上未被探索。我们提出Hy-Memory-30B-A3B,这是一种在Mem0、MemOS和Hy-Memory上训练的紧凑型长期记忆写入器。记忆策略蒸馏在学生生成的状态上教授特定于框架的写入协议;记忆强化学习随后使用密集的每块探针、属性化跨块奖励、过度存储控制以及块级GRPO优化下游可回答性。在窗口间迁移策略写入的记忆库,使训练与部署保持一致。在固定的20%基准子样本上,Hy-Memory-30B-A3B在所有四个评估工具包中排名第一,包括未见过的EverMemOS,其宏观平均得分为55.49%,而Claude Opus 5为54.62%。

英文摘要:

External-memory systems extend language-model applications beyond a context window, but their quality depends critically on the model executing the write path: deciding what to retain, how precisely to represent it, and how new evidence should update persistent state. Existing frameworks typically place a general-purpose large language model behind framework-specific prompts. This raises serving cost, and a writer specialized for one protocol does not transfer directly to another; a unified model that can operate across established memory frameworks remains largely unexplored. We present Hy-Memory-30B-A3B, a compact long-term-memory writer trained across Mem0, MemOS, and Hy-Memory. Memory On-Policy Distillation teaches framework-specific write protocols on student-generated states; Memory RL then optimizes downstream answerability using dense per-chunk probes, attributed cross-chunk rewards, over-storage controls, and chunk-level GRPO. Carrying policy-written banks across windows keeps training aligned with deployment. On fixed 20% benchmark subsamples, Hy-Memory-30B-A3B ranks first on all four evaluated harnesses, including held-out EverMemOS, with a 55.49% macro average versus 54.62% for Claude Opus 5.

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

↑