Table of Contents
Fetching ...

Learning Decentralized LLM Collaboration with Multi-Agent Actor Critic

Shuo Liu, Tianle Chen, Ryan Amiri, Christopher Amato

TL;DR

This work tackles the challenge of coordinating multiple LLM agents in a decentralized setting, addressing high variance in Monte Carlo fine-tuning and scalability concerns of centralized protocols. It proposes two MAAC-based approaches, CoLLM-CC with a centralized critic and CoLLM-DC with decentralized critics, and analyzes their relative advantages across short-horizon dense tasks and long-horizon sparse tasks. Across writing, coding, and Minecraft-related game tasks, CoLLM-CC consistently achieves superior performance and sample efficiency, while CoLLM-DC offers comparable results in dense settings but can struggle with convergence under sparse rewards. The study contributes MaAC-based frameworks for decentralized LLM collaboration, provides detailed algorithmic designs (including history representation and sequence-as-actions), and demonstrates practical benefits over static prompts and single-model baselines, with code released for reproducibility.

Abstract

Recent work has explored optimizing LLM collaboration through Multi-Agent Reinforcement Learning (MARL). However, most MARL fine-tuning approaches rely on predefined execution protocols, which often require centralized execution. Decentralized LLM collaboration is more appealing in practice, as agents can run inference in parallel with flexible deployments. Also, current approaches use Monte Carlo methods for fine-tuning, which suffer from high variance and thus require more samples to train effectively. Actor-critic methods are prevalent in MARL for dealing with these issues, so we developed Multi-Agent Actor-Critic (MAAC) methods to optimize decentralized LLM collaboration. In this paper, we analyze when and why these MAAC methods are beneficial. We propose 2 MAAC approaches, \textbf{CoLLM-CC} with a \textbf{C}entralized \textbf{C}ritic and \textbf{CoLLM-DC} with \textbf{D}ecentralized \textbf{C}ritics. Our experiments across writing, coding, and game-playing domains show that Monte Carlo methods and CoLLM-DC can achieve performance comparable to CoLLM-CC in short-horizon and dense-reward settings. However, they both underperform CoLLM-CC on long-horizon or sparse-reward tasks, where Monte Carlo methods require substantially more samples and CoLLM-DC struggles to converge. Our code is available at https://github.com/OpenMLRL/CoMLRL/releases/tag/v1.3.2.

Learning Decentralized LLM Collaboration with Multi-Agent Actor Critic

TL;DR

This work tackles the challenge of coordinating multiple LLM agents in a decentralized setting, addressing high variance in Monte Carlo fine-tuning and scalability concerns of centralized protocols. It proposes two MAAC-based approaches, CoLLM-CC with a centralized critic and CoLLM-DC with decentralized critics, and analyzes their relative advantages across short-horizon dense tasks and long-horizon sparse tasks. Across writing, coding, and Minecraft-related game tasks, CoLLM-CC consistently achieves superior performance and sample efficiency, while CoLLM-DC offers comparable results in dense settings but can struggle with convergence under sparse rewards. The study contributes MaAC-based frameworks for decentralized LLM collaboration, provides detailed algorithmic designs (including history representation and sequence-as-actions), and demonstrates practical benefits over static prompts and single-model baselines, with code released for reproducibility.

Abstract

Recent work has explored optimizing LLM collaboration through Multi-Agent Reinforcement Learning (MARL). However, most MARL fine-tuning approaches rely on predefined execution protocols, which often require centralized execution. Decentralized LLM collaboration is more appealing in practice, as agents can run inference in parallel with flexible deployments. Also, current approaches use Monte Carlo methods for fine-tuning, which suffer from high variance and thus require more samples to train effectively. Actor-critic methods are prevalent in MARL for dealing with these issues, so we developed Multi-Agent Actor-Critic (MAAC) methods to optimize decentralized LLM collaboration. In this paper, we analyze when and why these MAAC methods are beneficial. We propose 2 MAAC approaches, \textbf{CoLLM-CC} with a \textbf{C}entralized \textbf{C}ritic and \textbf{CoLLM-DC} with \textbf{D}ecentralized \textbf{C}ritics. Our experiments across writing, coding, and game-playing domains show that Monte Carlo methods and CoLLM-DC can achieve performance comparable to CoLLM-CC in short-horizon and dense-reward settings. However, they both underperform CoLLM-CC on long-horizon or sparse-reward tasks, where Monte Carlo methods require substantially more samples and CoLLM-DC struggles to converge. Our code is available at https://github.com/OpenMLRL/CoMLRL/releases/tag/v1.3.2.
Paper Structure (50 sections, 5 theorems, 17 equations, 4 figures, 3 tables, 2 algorithms)

This paper contains 50 sections, 5 theorems, 17 equations, 4 figures, 3 tables, 2 algorithms.

Key Result

Proposition 4.1

For each history $\mathbf{h}_t$ at $t$, $t\in[0,H)$, suppose agents sample $K\geq 1$ i.i.d. joint actions $\{\mathbf{a}_t^{1}, \cdots, \mathbf{a}_t^{K}\}$ from $\boldsymbol{\pi}(\cdot| \mathbf{h}_t)$. For each $\mathbf{a}_t^{k}$, an independent $K$-ary rollout tree is produced to estimate the corres Then $\bar{g}_{i,t}$ is unbiased for the true gradient $g^*_{i,t}$,

Figures (4)

  • Figure 1: Illustration of CoLLM-CC framework: (a) The agent model structure; (b) The overall centralized-critic architecture; (c) The critic model structure. The corresponding CoLLM-DC framework is shown in Appendix \ref{['app:collm-dc']}.
  • Figure 2: Evaluation results of MAGRPO, CoLLM-DC, and CoLLM-CC across article writing, code generation, and game-playing tasks over 5 runs. The y-axis shows expected return, with limits (min/max) indicating the return scale for each task. Curves are smoothed using a time-weighted exponential moving average. Shaded regions denote 95% bootstrapped confidence intervals.
  • Figure 3: Screenshots of building tasks in Minecraft. (a) StrBuild: The LLM agent with wood outputs a /setblock 12 5 5 minecraft:birch_planks game instruction to complete the building in "ICML" shape. (b) HouseBuild: The LLM agent outputs /damage @e[type=spider,limit=1] 6 minecraft:player_attack to attack a mob, while building a cubic concrete house with a wooden door, 4 obsidian pillars, and a triangular-prism stone roof.
  • Figure 4: CoLLM-DC framework: (a) The agent structure; (b) The overall decentralized-critic architecture; (c) The critic structure.

Theorems & Definitions (10)

  • Proposition 4.1
  • proof : Proof sketch
  • Proposition 4.2
  • proof : Proof sketch
  • Proposition 4.3
  • proof : Proof
  • Proposition
  • proof
  • Proposition
  • proof