arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.20833cs.CL
收藏

MemGym: 一种长时间跨度的记忆环境用于LLM智能体

MemGym: a Long-Horizon Memory Environment for LLM Agents

Rutgers University(罗杰斯大学);Capital One;Princeton University(普林斯顿大学);Microsoft Research(微软研究院)

Wujiang Xu, Yu Wang, Kai Mei, Kaiqu Liang, Zhenting Wang, Mingyu Jin, Han Zhang, Shi-Xiong Zhang, Wenyue Hua, Sambit Sahu, Dimitris N. Metaxas

AI总结:

本文提出MemGym,一种用于评估LLM智能体记忆能力的基准测试环境,通过统一现有智能体 gym 和内部记忆基础管道,提供一个记忆推理接口。MemGym 包含五个评估赛道,涵盖四个智能体领域,能够独立评估记忆性能,排除推理、检索和工具使用能力的干扰。

摘要:

记忆是LLM智能体在长时间任务中运营的核心能力。现有的记忆基准测试主要评估多轮聊天场景中个性化信息的保留能力,忽略了在长时间智能体执行过程中发生的动态记忆形成。因此,它们所生成的记忆系统在现实的智能体环境中(如编程和网络导航)转移效果差。我们提出了MemGym,一个用于智能体记忆的基准测试,它将现有的智能体 gym 和内部记忆基础管道统一到一个记忆推理接口下。MemGym涵盖五个评估赛道,分为四个智能体领域:工具使用对话(tau2-bench)、多轮深度研究搜索(MEMGYM-DR)、编程(SWE-Gym和MEMGYM-CODEQA)、计算机使用(WebArena-Infinity)。MemGym报告出的记忆隔离分数将记忆性能与推理、检索和工具使用能力分离,因此可以独立对记忆策略进行排名。我们的合成管道为MEMGYM-CODEQA和MEMGYM-DR是长度可控的,在每个阶段都经过消融验证,并紧密对齐下游场景。为了使在编程环境中的评估在学术上具有可操作性,我们训练了MemRM,一个轻量级的奖励模型(使用Qwen3-1.7B微调QLoRA),它以快速标量读取的方式评分压缩质量,而不是完整的Docker回放。

英文摘要:

Memory is a central capability for LLM agents operating across long-horizon tasks. Existing memory benchmarks predominantly evaluate retention of personalized information in multi-turn chat scenarios, overlooking the dynamic memory formation that occurs during extended agent execution. Consequently, the memory systems they produce transfer poorly to realistic agentic environments, such as coding and web navigation. We present MemGym, a benchmark for agentic memory that unifies existing agent gyms and in-house memory-grounded pipelines behind one memory-reasoning interface. MemGym spans five evaluation tracks grouped into four agentic regimes: tool-use dialogue (tau2-bench), multi-turn deep-research search (MEMGYM-DR), coding (SWE-Gym and MEMGYM-CODEQA), and computer use (WebArena-Infinity). MemGym reports memory-isolated scores that decouple memory performance from reasoning, retrieval, and tool-use ability, so memory strategies can be ranked without those confounders. Our synthetic pipelines for MEMGYM-CODEQA and MEMGYM-DR are length-controllable, ablation-verified at every stage, and tightly aligned with downstream scenarios. To make evaluation on coding environments academically tractable, we train MemRM, a lightweight reward model (Qwen3-1.7B fine-tuned with QLoRA) that scores compression quality as a fast scalar read in place of full Docker rollouts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑