RAG 真正回归了! 一篇新论文表明,直接从聊天记录中检索,表现可以超过复杂得多的智能体记忆系统。 这种名为 RAW-RAG 的方法从原始对话中检索相关片段,对其重新排序,再将证据传给 LLM。 在四项基准测试中,它在七种基准测试与模型组合中的六种里,位列参与比较的记忆系统之首。 有意思的是背后的原因。 一个答案可能依赖几条相互关联的陈述,包括什么发生了变化、何时变化,以及影响了哪些先前的事实。把对话转化为孤立的记忆,可能会破坏这些联系。 RAW-RAG 更常能提供足以作答的证据。即便改进了对转换后记忆库的访问方式,与原始证据相比,准确率仍有差距。 保留原始对话,能让更多这类关联得以保留,供检索使用。 对于这些记忆任务而言,这使简单的 RAG 成为更复杂系统应当超越的基线。 论文:https://arxiv.org/abs/2610.30755 说到相关话题,我写过一篇文章,介绍智能体记忆中的观察记录如何串联不同对话中的事实,从中发现智能体可以据以采取行动的模式。如果你正在构建智能体,那篇文章可能对你有用。下方引用了这篇文章。
看原文
RAG is so back! A new paper shows that straightforward retrieval from chat history can outperform much more complex agent memory systems. The approach, RAW-RAG, retrieves relevant passages from the original conversation, reranks them, and passes the evidence to an LLM. Across four benchmarks, it ranked first among the compared memory systems in six of seven benchmark–model settings. The interesting part is why. An answer can depend on several connected statements, including what changed, when it changed, and which earlier facts it affects. Turning conversations into isolated memories can break those connections. RAW-RAG supplied enough evidence to answer more often. Even improved access to the transformed memory stores left an accuracy gap compared with raw evidence. Preserving the original conversation keeps more of those relationships available for retrieval. For these memory tasks, that makes simple RAG a baseline that more elaborate systems should have to beat. paper: https://arxiv.org/abs/2610.30755 On a related note, I wrote about how observations in agent memory connect facts across conversations to surface patterns an agent can act on. If you’re building agents, you might find that article useful. It’s quoted below.