arXiv:2512.07287cs.LGcs.AI2025-12被引 3

通过混合记忆机制让多轮工具使用智能体自动复用成功经验,提升决策适应性。

Experience-Evolving Multi-Turn Tool-Use Agent with Hybrid Episodic-Procedural Memory

  • 构建工具图与上下文摘要结合的混合记忆,动态平衡回忆与执行。
  • 推理阶段性能提升最高达50%,强化学习训练效果提升最高40%。
  • 适合需要长期任务规划和泛化能力的研究者与开发者。

随着任务意图展开和环境变化,多轮智能体面临持续演变的决策上下文。现有方法受限于:完整轨迹过于依赖具体场景难以迁移,而仅复用工具步骤则忽略环境背景。本文提出混合情景-程序记忆策略(H-EPM),通过在训练和推理中自适应重用部分重叠的成功经验,实现多轮工具使用策略的自我演化。受人类情景-程序整合启发,从累积轨迹构建工具图,其中重复的工具间依赖关系形成程序化流程,每条边附带紧凑的情景摘要以保留上下文信息。推理时,智能体动态平衡情景回忆与程序执行。此外,H-EPM引入记忆引导的强化学习范式,有效解决长轨迹强化学习中探索效率低的问题。通过偏好历史成功工具转换进行探索,所学策略在无领域特定经验收集的情况下仍具泛化能力。实验表明,H-EPM在多轮工具使用基准上持续超越强基线,推理性能提升最高达50%;强化学习表现提升最高达40%,尤其在分布外任务上显著优于基线。

原文摘要 · Abstract (English)

As intents unfold and environments change, multi-turn agents face continuously shifting decision contexts. Although reusing past experience is intuitively appealing, existing approaches remain limited: full trajectories are often too context-specific to transfer, while tool-level reuse ignores the surrounding context and environment. In this paper, we introduce a hybrid episodic-procedural memory strategy (H-EPM) that enables experience-induced self-evolution of multi-turn tool-use policies by adaptively reusing partially overlapping successful experiences during both inference and training. Inspired by human episodic-procedural integration, we construct a tool graph from accumulated trajectories, where recurring tool-to-tool dependencies capture procedural routines and each edge is augmented with compact episodic summaries of relevant context. At inference time, the agent dynamically balances episodic recall for contextual reasoning with procedural execution for routine steps. Beyond inference, H-EPM introduces a memory-guided reinforcement learning paradigm that directly addresses a core challenge in multi-turn agent reinforcement learning, namely ineffective exploration over long trajectories. By biasing exploration toward historically successful tool transitions, H-EPM learns a stronger policy that generalizes at inference time without relying on domain-specific experience collection. Experiments show that H-EPM consistently delivers substantial inference-time gains over strong baselines across multi-turn tool-use benchmarks, reaching improvements of up to fifty percent. It also improves reinforcement learning policy performance, achieving gains of up to forty percent on out-of-distribution tasks.

多轮对话记忆机制强化学习工具使用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。