Leto:以效用为中心的智能体记忆
Leto: Utility-Centric Agent Memory
AI总结:
该研究提出以效用为核心的LLM智能体记忆系统Leto,通过效用循环优化记忆选择,在多场景基准测试中较现有系统表现更优,长周期任务增益随链深度提升。
摘要:
大型语言模型(LLM)智能体依赖外部记忆来跨交互保留和复用信息。现有记忆系统将记忆视为过往的记录,并通过与对话的保真度来评估它。然而,记忆的价值在于它是否能改进智能体的响应。记忆系统在响应存在之前就决定了要记忆什么和提供什么,而保真度检查并未针对这两个决策进行评估。因此,保真的记忆可能无法改进响应。我们转而将记忆视为一个预测问题,并提出了Leto,这是一个用于LLM智能体的记忆系统,它关注记忆对未来的效用而非其对过往的保真度。由于未来的请求未知,Leto通过记忆索引保留对对话细节的访问,使信息能通过其来源保持可用。当请求到达时,记忆重放利用该索引来预测并提供智能体所需的、超出请求明确说明的上下文。所提供上下文的效用在响应生成之前仍不确定,这促使了一个效用循环,该循环利用响应结果来优化未来的记忆选择。我们在三种场景下的五个基准上,将我们的系统与六种记忆系统进行了评估。在个性化场景中,它在PrefEval上的准确率比最强的对比记忆系统高出16.3个百分点,在PERMA上的任务完成率高出3.1个百分点。在长周期任务中,它在MemoryArena的五个环境上的平均表现最佳,且增益随链深度增加而提升。在长上下文理解中,它与原始历史检索表现相当,但提供的上下文标记更少。
英文摘要:
Large language model (LLM) agents rely on external memory to retain and reuse information across interactions. Existing memory systems treat memory as a record of the past and evaluate it by fidelity to the conversation. However, the value of memory lies in whether it improves the agent's response. A memory system decides what to memorize and what to serve before that response exists, and fidelity checks neither decision against it. Faithful memory can therefore fail to improve the response. We instead view memory as a prediction problem and present \textbf{\emph{\leto{}}}, a memory system for LLM agents that focuses on the utility of memory to the future rather than on its fidelity to the past. Because future requests are unknown, \emph{\leto{}} preserves access to conversation details through memory indexing, allowing information to remain available through its sources. When a request arrives, memory replay draws on this index to anticipate and supply the context the agent needs beyond what the request explicitly states. The utility of the served context remains uncertain until the response is generated, motivating a utility loop that uses response outcomes to refine future memory selection. We evaluate our system against six memory systems on five benchmarks across three scenarios. In personalization, it outperforms the strongest compared memory system by 16.3 percentage points in accuracy on PrefEval and by 3.1 points in task completion on PERMA. For long-horizon tasks, it achieves the best overall performance on MemoryArena averaged over five environments with a gain that increases with the chain depth. In long-context understanding, it is on par with retrieval over the raw history while serving fewer context tokens.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。