Meta 新论文发现,把每个新问题匹配到相似问题的笔记、而非共用一份全部历史记录,AI 智能体能从过往尝试中学到更多。作者提出的 Routed CL 在每次运行前用 LLM 路由器复用某个记忆簇或新建记忆簇,每个簇采用 5 种记忆类型之一,例如原始历史运行记录或蒸馏出的经验。
New Meta paper finds that AI agents improve more from their past attempts when each new problem is matched to notes from similar problems, instead of one shared record of everything they have done.
A simple way to let agents learn from past runs is one shared history. With mixed tasks, it gets costly and mixes unrelated experience.
Routed CL adds an LLM router that reuses a memory cluster or starts a new one before each run. Each cluster uses 1 of 5 memory types, such as raw past runs or distilled lessons.
Across 398 mixed problems and 4 models, the shared history barely beat no memory, with a mean gain of 0.015 out of 1. Routed CL beat it by 15% to 30% of the maximum possible score and cut estimated API cost by 65% to 72%.
If your agents handle mixed task types, split their memory into separate pools by problem type instead of sharing one history.
来源:Rohan Paul · x.com