Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LLM Collaboration With Multi-Agent Reinforcement Learning

About

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.

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

Related benchmarks

TaskDatasetResultRank
Scientific ReasoningGPQA Diamond
Accuracy8.84
94
Mathematical ReasoningGSM8K (test)
Accuracy (GSM8K)72.52
54
End-to-end policy optimizationSequential cooperative bandit testbed (test)
Mean Normalized Regret AUC11.6
20
Mathematical ReasoningMATH500
Accuracy34.2
20
Mathematical ReasoningGSM8K (test)
Accuracy72.52
20
Code GenerationCoopHE (test)
Pass Rate74.3
9
Coding CollaborationCoopHE
Pass@174.3
9
Language-based GamesStrBuild (test)
Adjacency1.33e+3
9
Article WritingTLDR (test)
Score93.5
9
Article WritingarXiv (test)
Score93.1
9
Showing 10 of 11 rows

Other info

Follow for update