ReTTT:基于经验参数记忆的反射驱动测试时训练
ReTTT: Reflection-Driven Test-Time Training via Experience-Based Parametric Memory
AI总结:
提出ReTTT方法,通过测试时训练更新单轮任务本地LoRA适配器,在ALFWorld等三个基准上,其性能优于基于轨迹的测试时训练,任务成功率最高提升12.14个百分点,可提升智能体长周期任务性能。
摘要:
大语言模型智能体在多轮任务执行过程中,会通过自身的动作、观察以及环境反馈积累有价值的任务特定信息。若能有效利用这些信息,可帮助智能体优化后续决策并提升任务性能。然而,一次交互的学习价值取决于其上下文及后续反馈,这使得在任务推进过程中提取可靠、可执行的经验并对其进行修正颇具挑战。本文提出ReTTT,该方法通过对单轮任务内构建且持续修正的经验进行测试时训练,实现经验驱动的自适应。ReTTT允许智能体反思交互反馈,将生成的经验存储在显式记忆中,并通过更新单轮任务本地的LoRA适配器进行学习,同时保持主干模型冻结。适配后的模型随后执行后续动作与反思,将策略适配与未来学习经验的构建相结合。我们在ALFWorld、ScienceWorld和SWE-bench Lite三个基准上,使用两类模型家族对ReTTT进行评估。在全部6种模型-基准设置下,ReTTT的性能优于基于轨迹的测试时训练,任务成功率最高提升12.14个百分点。冻结反思对比实验进一步表明,适配反思策略可带来7.14个百分点的性能提升,而轨迹分析则显示,适配后的反思能从失败尝试中获取更多任务特定的指导。这些发现表明,学习反思自身行为可提升智能体在长周期任务上的性能。
英文摘要:
LLM agents accumulate valuable task-specific information through their actions, observations, and environmental feedback during multi-turn task execution. When effectively used, this information can help agents refine subsequent decisions and improve task performance. However, the learning value of an interaction depends on its context and subsequent feedback, making it challenging to extract reliable, actionable lessons and revise them as the task unfolds. In this paper, we introduce ReTTT, which enables experience-driven self-adaptation through test-time training on lessons constructed and continually revised within an episode. ReTTT lets the agent reflect on interaction feedback, maintain the resulting lessons in an explicit memory, and learn from them by updating an episode-local LoRA adapter while keeping the backbone frozen. The adapted model then performs both subsequent actions and reflection, coupling policy adaptation with the construction of future learning experience. We evaluate ReTTT on ALFWorld, ScienceWorld, and SWE-bench Lite using two model families. ReTTT outperforms trajectory-based test-time training across all six model--benchmark settings, improving task success by up to 12.14 percentage points. A frozen-reflection comparison further shows a 7.14-point benefit from adapting the reflection policy, while trajectory analysis illustrates how adapted reflection derives more task-specific guidance from failed attempts. These findings suggest that learning to reflect on its own behavior can boost agents' performance on long-horizon tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。