记忆有代价:在资源约束下学习记忆价值
Learning What to Remember: Resource-Efficient Self-Improvement for Lifelong Agents
AI总结:
该研究针对资源约束下终身智能体的记忆决策问题,提出轻量级框架TokenWorth,通过学习记忆价值实现高效记忆管理,在多环境部署中取得最高任务成功率且输出token最少。
摘要:
终身智能体在部署后会持续积累和复用经验以提升性能,但实际中它们往往受限于生成、交互和记忆的严格预算。在这种联合约束下,我们发现现有的终身记忆方法可能失效,一些复杂方法相比简单检索或无记忆智能体几乎没有优势。这揭示了一个更根本的问题:资源稀缺使每个记忆决策更具后果。当只能保留或复用少量过往经验,且推理和恢复机会有限时,检索相关但无效的记忆会消耗稀缺上下文并阻碍下游执行。因此关键挑战不仅是检索相关经验,还要确定哪些经验值得保留和复用。为解决该挑战,我们提出TokenWorth,一种轻量级在线记忆框架,它从稀疏执行反馈中学习依赖查询的记忆价值,并将其一致应用于记忆检索和有界记忆管理。在三个LifelongAgentBench环境及本地和基于API的部署中,TokenWorth在评估方法中实现了最高任务成功率,同时使用最少的输出token。这些结果表明,资源约束下的有效终身适应不取决于记住更多,而在于学习什么值得记住。我们的代码公开于此https://URL。
英文摘要:
Self-improving agents aim to continuously improve their behavior by learning from experience after deployment. However, accumulating and reusing more experience does not necessarily lead to better decisions, particularly when generation, interaction, and memory resources are jointly constrained. Under such stringent constraints, we find that several existing lifelong-memory methods provide limited benefits over simple retrieval or even no-memory agents. This reveals a fundamental challenge for resource-efficient self-improvement: agents must learn not only which past experiences are relevant, but which are actually worth reusing to improve future decisions. When memory capacity and opportunities for reasoning and recovery are limited, retrieving an ineffective experience can consume scarce resources and hinder downstream execution. To address this challenge, we propose TokenWorth, a lightweight feedback-driven memory adaptation framework that learns query-dependent memory worth from sparse execution feedback. Without updating the backbone model, TokenWorth uses the learned worth to guide both experience retrieval and bounded memory management, enabling the agent to continually adapt how it reuses accumulated experience. Across three LifelongAgentBench environments and both local and API-based deployments, TokenWorth achieves the highest task success rate while using the fewest output tokens among the evaluated methods under the specified resource budgets. These results suggest that effective self-improvement under resource constraints depends not on accumulating more experience, but on learning what is worth remembering. Our code is publicly available at https://github.com/AIGNLAI/TokenWorth.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。