通过联合策略梯度优化改进回顾式语言智能体
Improving Retrospective Language Agents via Joint Policy Gradient Optimization
AI总结:
提出RetroAct智能体框架,通过结合模仿学习和强化学习的两阶段联合策略梯度优化,提升小规模LLM的任务规划与自我反思能力,减少对闭源模型的依赖。
摘要:
在社区近期的研究进展中,大语言模型(LLMs)激发了创建自主智能体的极大兴趣。然而,当前基于提示的智能体通常严重依赖大规模LLM。同时,尽管微调方法显著增强了较小LLM的能力,但微调后的智能体往往缺乏自我反思和自我提升的潜力。为了应对这些挑战,我们引入了一个名为RetroAct的新型智能体框架,该框架联合优化语言智能体的任务规划和自我反思演化能力。具体而言,我们开发了一个两阶段联合优化过程,整合了模仿学习和强化学习,并设计了一种带有模仿学习正则化的离策略联合策略梯度优化算法,以提高智能体任务中的数据效率和训练稳定性。RetroAct显著提升了开源模型的性能,减少了对闭源LLM的依赖,并使微调后的智能体能够持续学习和演化。我们在各种测试环境中进行了广泛实验,证明RetroAct在任务性能和决策过程中有实质性改进。
英文摘要:
In recent research advancements within the community, large language models (LLMs) have sparked great interest in creating autonomous agents. However, current prompt-based agents often heavily rely on large-scale LLMs. Meanwhile, although fine-tuning methods significantly enhance the capabilities of smaller LLMs, the fine-tuned agents often lack the potential for self-reflection and self-improvement. To address these challenges, we introduce a novel agent framework named RetroAct, which is a framework that jointly optimizes both task-planning and self-reflective evolution capabilities in language agents. Specifically, we develop a two-stage joint optimization process that integrates imitation learning and reinforcement learning, and design an off-policy joint policy gradient optimization algorithm with imitation learning regularization to enhance the data efficiency and training stability in agent tasks. RetroAct significantly improves the performance of open-source models, reduces dependency on closed-source LLMs, and enables fine-tuned agents to learn and evolve continuously. We conduct extensive experiments across various testing environments, demonstrating RetroAct has substantial improvements in task performance and decision-making processes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。