arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2508.04652cs.AIcs.SE
收藏

大语言模型与多智能体强化学习的协同

LLM Collaboration With Multi-Agent Reinforcement Learning

Shuo Liu, Tianle Chen, Zeyu Liang, Xueguang Lyu, Christopher Amato

AI总结:

本研究提出MAGRPO算法,将大语言模型协同工作建模为多智能体强化学习问题,通过有效协同提升生成质量。

摘要:

在多智能体系统(MAS)中,已进行了大量工作,用于建模和解决多个交互智能体的问题。然而,大多数大语言模型(LLM)是独立预训练的,并未专门优化以实现协同工作。现有的LLM微调框架依赖于个体奖励,这需要为每个智能体设计复杂的奖励方案以促进协作。为了解决这些挑战,我们将LLM的协同工作建模为一个合作性的多智能体强化学习(MARL)问题。我们开发了一种多智能体、多轮算法,即多智能体组相对策略优化(MAGRPO),以解决这一问题,基于当前LLM的强化学习方法以及MARL技术。我们在LLM写作和编码协同任务中的实验表明,通过MAGRPO微调MAS,智能体能够通过有效的协同生成高质量的响应。我们的方法为将其他MARL方法应用于LLM打开了大门,并突显了相关挑战。我们的代码可在https://github.com/OpenMLRL/CoMLRL获取。

英文摘要:

A large amount of work has been done in Multi-Agent Systems (MAS) for modeling and solving problems with multiple interacting agents. However, most LLMs are pretrained independently and not specifically optimized for coordination. Existing LLM fine-tuning frameworks rely on individual rewards, which require complex reward designs for each agent to encourage collaboration. To address these challenges, we model LLM collaboration as a cooperative Multi-Agent Reinforcement Learning (MARL) problem. We develop a multi-agent, multi-turn algorithm, Multi-Agent Group Relative Policy Optimization (MAGRPO), to solve it, building on current RL approaches for LLMs as well as MARL techniques. Our experiments on LLM writing and coding collaboration demonstrate that fine-tuning MAS with MAGRPO enables agents to generate high-quality responses efficiently through effective cooperation. Our approach opens the door to using other MARL methods for LLMs and highlights the associated challenges. Our code is available at https://github.com/OpenMLRL/CoMLRL.

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

↑