arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25758cs.LGcs.AI
收藏

减少记忆,延长适应:具有循环摘要记忆的有界状态上下文强化学习

Remember Less, Adapt Longer: Bounded-State In-Context Reinforcement Learning with Recurrent Summary Memory

The Australian National University(澳大利亚国立大学)

Jiawen Wang, Cheng Xue, Peng Zhang, Jochen Renz

AI总结:

该研究提出循环摘要记忆(RSM),一种固定容量的上下文强化学习方法,在仅用1%全历史内存的情况下,使智能体适应性能达训练时长8倍,优于基线方法。

摘要:

上下文强化学习(ICRL)使智能体无需参数更新即可适应新任务,依赖记忆保留从经验中学习到的内容。对于持续运行的智能体,现有使用记忆的方法在有界成本与过往经验访问之间进行权衡。使用增长型记忆的方法(如全历史注意力和累积摘要)会产生随任务长度增加的存储成本和每步决策成本;固定大小的记忆虽限制了存储,但也限制了访问:滑动窗口会丢弃旧步骤,而循环网络甚至会将近期交互压缩为隐藏状态。我们提出循环摘要记忆(RSM),这是一种Transformer策略,仅关注近期交互的短工作缓冲区,并携带早期经验的固定容量摘要。当缓冲区填满时,RSM会根据其先前内容和缓冲区重写摘要,然后清空缓冲区,因此部署内存和每步决策成本在任务长度上保持为O(1)。在长期运行的部分可观测任务中,冻结的RSM策略能在约为全历史记忆1%的内存下,维持其适应后的性能达到训练时长的8倍,在增长型记忆恶化的同时,RSM的表现优于所有评估的基线。当任务配置在运行中途发生变化时,RSM的重新适应能力优于增长型记忆和循环记忆。清空摘要或阻止策略访问摘要会消除其优势,而替换为另一任务的摘要则会将行为导向该任务。这些结果共同表明,我们的固定容量摘要可支持上下文适应远超训练时长。

英文摘要:

In-context reinforcement learning (ICRL) enables agents to adapt to new tasks without parameter updates, relying on memory to retain what they learn from experience. For agents operating continually, existing approaches using memory trade off bounded cost against access to past experience. Approaches using growing memories, such as full-history attention and accumulating summaries, incur storage and per-decision costs that increase with task length. Fixed-size memories bound storage but restrict access: sliding windows discard older steps, while recurrent networks compress even recent interactions into a hidden state. We introduce Recurrent Summary Memory (RSM), a Transformer policy that attends exactly to a short working buffer of recent interactions and carries a fixed-capacity summary of earlier experience. When the buffer fills, RSM rewrites the summary from its previous contents and the buffer, then clears the buffer, so deployment memory and per-decision cost stay $O(1)$ in task length. On long-running partially observable tasks, frozen RSM policies sustain their adapted performance for eight times the training horizon with about 1% of full-history memory, ending ahead of every evaluated baseline while growing memories deteriorate. When the task configuration changes mid-run, RSM re-adapts better than growing and recurrent memories. Clearing the summary or blocking the policy's access to it removes its benefit, while swapping in another task's summary steers behaviour towards that task. Together, these results show that our fixed-capacity summary can sustain in-context adaptation far beyond the training horizon.

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

↑