跳到正文
elvis· @omarsar0 · X·· 26 天前AI 评分61
AI 导读

Amazon 的研究对比了 Agent 的权重记忆与文本检索,在用户事实召回上,普通微调把事实存入权重的准确率为 36.9%,on-policy 自蒸馏达到 59.9%,高于 MemOS 式检索的 47.8%、抽取上下文的 51.9% 和原始对话的 51.3%。

正文

Weight memory vs. retrieval in agents. Brilliant work from Amazon.

This work shows weight memory can outperform text memory on recall of user facts.

But the best part is that you can leverage both.

Using the same model and user data, this work shows that plain fine-tuning stores user facts in weights at 36.9% accuracy, while on-policy self-distillation reaches 59.9%.

That second number also beats retrieval.

On eight HaluMem-Long users, the distilled model answers with no retrieved context and beats MemOS-style retrieval (47.8%), extracted context (51.9%), and the raw dialogue (51.3%). The gain holds for every user and at 4B, 9B, and 27B.

How it works: a teacher, which is the same model reading the user's memory, trains a student that has to answer without it.

Weight memory has clear limits. It forgets older facts and cannot tell when something was never recorded. A verify-then-regenerate router checks each answer against the text store and adds 6.2 points.

The recommendation is to keep a text store for recent and missing facts, and move stable user knowledge into weights.

https://arxiv.org/abs/2611.05636

Chat with Paper: https://academy.dair.ai/papers/route-to-remember-adaptive-memory-selection-for-llm-agents-2611.05636

来源:elvis · x.com