Skip to content
ImagineWorld

Improving LLM Collaboration via Multi-Agent Preference Learning

node_idnode-paper_arxiv-2609.32827_improving-llm-collaboration-via-multi-agent-preference-learning
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2609.32827
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the agent-arxivs field, the work improves LLM collaboration via multi-agent preference learning — agents learning what collaborators prefer — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleImproving LLM Collaboration via Multi-Agent Preference Learning
paper_authorsShuo Liu, Xinzichen Li, Tianle Chen, Christopher Amato
arxiv_id2609.32827
arxiv_urlhttps://arxiv.org/abs/2609.32827
arxiv_categories{"primary":"cs.AI","secondary":["cs.MA"]}
arxiv_v1
arxiv_submitted_at2026-09-26
arxiv_updated_at2026-09-26
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:34:29Z
local graph

Improving LLM Collaboration via Multi-Agent Preference Learning

Section titled “Improving LLM Collaboration via Multi-Agent Preference Learning”

Authors: Shuo Liu, Xinzichen Li, Tianle Chen, Christopher Amato

arxiv: 2609.32827

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Several works have explored multi-agent reinforcement learning (MARL) in LLM collaboration. However, constructing reliable rewards is difficult in practice, as complete and accurate metrics are often unavailable and hard to aggregate. Preference learning provides an alternative by learning from comparative human or AI feedback. Yet, its extension to multi-agent systems remains underexplored. To address this gap, we formulate preference-based multi-agent systems (MAS) from decentralized and centralized collaboration perspectives. We also introduce a general multi-agent preference learning framework (MAPL) to solve these problems. MAPL allows iterative updates by comparing the current solution with decentralized or centralized solutions generated by various agents. We instantiate MAPL using MARL from human feedback (MARLHF) with a learned reward model and multi-agent direct preference optimization (MADPO). Experiments on collaborative writing, coding, tool use, and travel planning show that MAPL can improve collaboration quality and efficiency while approaching the performance of MARL with fixed, well-defined rewards. Within MAPL, MARLHF generally outperforms MADPO on most tasks but remains sensitive to data coverage, agent and comparator models, and the underlying MARL algorithms.

Recent advances in agentic AI have transformed LLMs into autonomous agents that can solve complex tasks by interacting with environments (Yao et al., 2023; Shinn et al., 2023; Wang et al., 2024; OpenAI, 2023; Bai et al., 2023; DeepSeek-AI, 2024; Shao et al., 2024; Comanici et al., 2025).

As LLM agents become more diverse and specialized, many studies have explored multi-agent cooperation to tackle complex tasks that are difficult for a single agent. Multi-agent systems (MAS) can be organized in several ways. For example, agents can play different roles and communicate to collaborate in a centralized manner (Li et al., 2023; Qian et al., 2024; Du et al., 2024). Such coordination can also be directed by a central manager agent (Wu et al., 2024; Hong et al., 2024). Alternatively, agents can solve subtasks independently on different devices to achieve higher efficiency (Zhang et al., 2024; Liu et al., 2026a; Liu et al., 2026b). In such decentralized MAS, each agent processes only its local context. This lowers the computational requirements for each device and allows agents to be deployed locally, which can also improve data privacy. Nevertheless, most general-purpose LLMs are not explicitly trained for cooperation and thus often struggle to coordinate effectively with other agents (Park et al., 2025; Cemri et al., 2025).

Multi-agent reinforcement learning (MARL) has been extensively studied to improve coordination among agents (Zhang et al., 2021; Albrecht et al., 2024; Amato, 2024). Building on these advances, recent studies applied MARL to optimize LLM interaction (Zhao et al., 2026; Liao et al., 2025; Zhang et al., 2026; Liu et al., 2026a; Liu et al., 2026b; Wang et al., 2026; Chen et al., 2026). However, many approaches rely on hand-crafted rewards based on domain-specific metrics, which may be unavailable or fail to accurately capture the intended task objective (Zhu et al., 2024; Bui et al., 2025).

Preference learning provides an alternative for optimizing LLM agents by leveraging pairwise human feedback without complex reward engineering (Christiano et al., 2017; Ziegler et al., 2019; Rafailov et al., 2023; Meng et al., 2024). Conventional preference learning methods mostly rely on fixed offline datasets, whereas some online approaches collect fresh preferences during training to reduce the distribution mismatch between the data and the evolving policy (Guo et al., 2024; Xiong et al., 2024). Yet, extending these methods to LLM collaboration remains challenging. The vast policy space of MAS makes it difficult to collect preference data to adequately cover diverse cooperation schemes (Oliehoek and Amato, 2016; Pan et al., 2022; Yang et al., 2021; Shao et al., 2023). Also, the learned rewards may be inaccurate or high-variance when the training data is insufficient, which could undermine the subsequent policy optimization.

To fill the gap, we study preference-based optimization of LLM collaboration. We formulate decentralized collaboration as a preference-based decentralized partially observable MDP (Pb-Dec-POMDP) and centralized collaboration as a preference-based multi-agent partially observable MDP (Pb-MPOMDP), and highlight their unique challenges. We introduce multi-agent preference learning (MAPL), a general framework that iteratively updates the agents’ policies by comparing their joint solutions with those by a comparator model. MAPL considers three paradigms based on whether the agents and comparator operate in a decentralized or centralized manner: decentralized collaboration with a decentralized comparator (Dec-Dec), centralized collaboration with a centralized comparator (Cen-Cen), and decentralized collaboration with a centralized comparator (Dec-Cen). We also instantiate MAPL with two approaches: two-stage multi-agent reinforcement learning from human feedback (MARLHF) and a direct approach, multi-agent direct preference optimization (MADPO).

Our experiments on collaborative writing, coding, tool-use, and travel planning tasks show that MAPL can achieve performance similar to MARL with well-specified rewards. MAPL effectively improves decentralized and centralized collaboration under Dec-Dec and Cen-Cen, whereas its Dec-Cen variants perform poorly in most domains due to information and realizability gaps between the comparator and agents. MARLHF generally outperforms MADPO across most domains, but can exhibit high variance when preference data is limited, the comparator policy differs substantially from the agents’, or actor-critic methods are used for policy optimization.

Preference learning optimizes policies from comparative feedback. The Bradley-Terry (BT) model is a commonly used model to parameterize pairwise preference probabilities (Bradley and Terry, 1952). Let X\mathcal{X} and Y\mathcal{Y} denote the prompt and response spaces, and let R\*:X×Y→RR^{\*}:\mathcal{X}\times\mathcal{Y}\to\mathbb{R} be an oracle reward. For x∈Xx\in\mathcal{X} and y,y′∈Yy,y^{\prime}\in\mathcal{Y},

Pr⁡(y≻y′∣x)=exp⁡(R\*(x,y))exp⁡(R\*(x,y))+exp⁡(R\*(x,y′))=σ ⁣(R\*(x,y)−R\*(x,y′)),\Pr(y\succ y^{\prime}\mid x)=\frac{\exp(R^{\*}(x,y))}{\exp(R^{\*}(x,y))+\exp(R^{\*}(x,y^{\prime}))}=\sigma\!\left(R^{\*}(x,y)-R^{\*}(x,y^{\prime})\right),(1)

where σ(z)=1/(1+exp⁡(−z))\sigma(z)=1/(1+\exp(-z)). In practice, a preference learning method typically uses a dataset D=(x_j,y_jw,y_jl)_j=1m\mathcal{D}={(x\_{j},y\_{j}^{w},y\_{j}^{l})}\_{j=1}^{m}, where y_jwy\_{j}^{w} is preferred to y_jly\_{j}^{l} under prompt x_jx\_{j}.

RLHF aligns LLMs from human preference (Christiano et al., 2017; Ziegler et al., 2019; Ouyang et al., 2022; Bai et al., 2022; Touvron et al., 2023). Classic RLHF approaches involve two stages (Christiano et al., 2017; Ziegler et al., 2019), where a reward model R~_ψ\widetilde{R}\_{\psi} is first trained from pairwise preferences, then the policy π_θ\pi\_{\theta} is optimized with KL regularization against a reference policy π_ref\pi\_{\mathrm{ref}},

L_RM(ψ)=−E_(x,yw,yl)∼D[log⁡σ(R~_ψ(x,yw)−R~_ψ(x,yl))],L_RL(θ)=−E_x∼ϱ, y∼π_θ(⋅∣x)[R~_ψ(x,y)−ηlog⁡π_θ(y∣x)π_ref(y∣x)].\begin{gathered}\mathcal{L}\_{\mathrm{RM}}(\psi)=-\mathbb{E}\_{(x,y^{w},y^{l})\sim\mathcal{D}}\left[\log\sigma\left(\widetilde{R}\_{\psi}(x,y^{w})-\widetilde{R}\_{\psi}(x,y^{l})\right)\right],\\ \mathcal{L}\_{\mathrm{RL}}(\theta)=-\mathbb{E}\_{x\sim\varrho,\,y\sim\pi\_{\theta}(\cdot\mid x)}\left[\widetilde{R}\_{\psi}(x,y)-\eta\log\frac{\pi\_{\theta}(y\mid x)}{\pi\_{\mathrm{ref}}(y\mid x)}\right].\end{gathered}(2)

Here, ϱ\varrho denotes the prompt distribution and η>0\eta>0 is the KL penalty coefficient. We use RLHF to refer specifically to this two-stage, reward-modeling approach in the following parts.

The two-stage RLHF pipeline requires both reward-model training and RL optimization, which is sensitive to hyperparameters and introduces substantial computational overhead (Chaudhari et al., 2025). Rafailov et al. (2023) proposed an efficient approach, DPO, that directly optimizes the policy without explicitly fitting a reward model,

L_DPO(θ)=−E_(x,yw,yl)∼D[log⁡σ(ηlog⁡π_θ(yw∣x)π_ref(yw∣x)−ηlog⁡π_θ(yl∣x)π_ref(yl∣x))].\mathcal{L}\_{\mathrm{DPO}}(\theta)=-\mathbb{E}\_{(x,y^{w},y^{l})\sim\mathcal{D}}\left[\log\sigma\left(\eta\log\frac{\pi\_{\theta}(y^{w}\mid x)}{\pi\_{\mathrm{ref}}(y^{w}\mid x)}-\eta\log\frac{\pi\_{\theta}(y^{l}\mid x)}{\pi\_{\mathrm{ref}}(y^{l}\mid x)}\right)\right].(3)

Under the standard DPO derivation, this objective corresponds to the same KL-regularized preference optimization problem as RLHF, while in practice, their performance can differ, depending on tasks, model realizability, and optimization (Shi et al., 2026; Razin et al., 2026).

We study cooperative multi-agent systems (MAS), where LLM agents collaborate to solve a class of tasks (Qian et al., 2024; Hong et al., 2024; Chen et al., 2026; Liu et al., 2026a; Liu et al., 2026b; Zhao et al., 2026). While most work assumes scalar rewards, we consider MAS with preference feedback.

Decentralized MAS support efficient and scalable execution, as LLM agents can run inference in parallel across different nodes (Zhang et al., 2024; Liu et al., 2026a; Liu et al., 2026b). In this setting, each task is specified by language prompts and presented to the agents. At each turn, every agent generates a response based on its local context, and the individual responses are aggregated into a solution. Users, tools, and other models in the system then provide new requirements, feedback, or constraints that form the prompts for the next turn. This interaction continues until the task is completed or the turn limit is reached. For each episode, two trajectories are sampled, and an annotator compares their returns, producing preferences for policy optimization.

We formulate this problem as a preference-based decentralized partially observable Markov decision process (Pb-Dec-POMDP), denoted as ⟨I,S,{O_i}_i∈I,{A_i}_i∈I,T,O,R\*,H,b_0,P_R\*⟩\langle\mathcal{I},\mathcal{S},\{\mathcal{O}\_{i}\}\_{i\in\mathcal{I}},\{\mathcal{A}\_{i}\}\_{i\in\mathcal{I}},T,O,R^{\*},H,b\_{0},P\_{R^{\*}}\rangle (Oliehoek and Amato, 2016). Here, I={1,…,n}\mathcal{I}=\{1,\ldots,n\} is a set of nn LLM agents, where each agent ii follows an individual policy π_i\pi\_{i}, and all policies form a joint policy π=(π_1,…,π_n)\bm{\pi}=(\pi\_{1},\ldots,\pi\_{n}). At each turn tt, the state s_t=(s_tsys,s_tusr)∈Ss\_{t}=(s\_{t}^{\mathrm{sys}},s\_{t}^{\mathrm{usr}})\in\mathcal{S} consists of an accessible part from the system s_tsys∈Ssyss\_{t}^{\mathrm{sys}}\in\mathcal{S}^{\mathrm{sys}} and a latent part from users s_tusr∈Susrs\_{t}^{\mathrm{usr}}\in\mathcal{S}^{\mathrm{usr}}, with initial state distribution b_0∈Δ(S)b\_{0}\in\Delta(\mathcal{S}). The underlying state cannot be directly observed by the agents. Each agent ii receives a natural-language prompt as its local observation o_i,t∈O_io\_{i,t}\in\mathcal{O}\_{i}, and all agents’ observations form a joint observation o_t={o_1,t,⋯ ,o_n,t}∈O\mathbf{o}\_{t}=\{o\_{1,t},\cdots,o\_{n,t}\}\in\mathcal{O}. The observation o_i,to\_{i,t} at turn tt provides a partial and potentially noisy view of s_ts\_{t}. Each agent generates a response as an action a_i,t∼π_i(⋅∣h_i,t),a_i,t∈A_ia\_{i,t}\sim\pi\_{i}(\cdot|h\_{i,t}),a\_{i,t}\in\mathcal{A}\_{i}, which depends on its observation-action history h_i,t={o_i,0,a_i,0,…,a_i,t−1,o_i,t}h\_{i,t}=\{o\_{i,0},a\_{i,0},\ldots,a\_{i,t-1},o\_{i,t}\}. The responses of all agents form the joint action a_t={a_1,t,…,a_n,t}∈A\mathbf{a}\_{t}=\{a\_{1,t},\ldots,a\_{n,t}\}\in\mathcal{A}, which induces a transition in the environment s_t+1∼T(⋅∣s_t,a_t)s\_{t+1}\sim T(\cdot|s\_{t},\mathbf{a}\_{t}). The observation is then emitted as o_t+1∼O(⋅∣s_t+1,a_t)\mathbf{o}\_{t+1}\sim O(\cdot|s\_{t+1},\mathbf{a}\_{t}) at the next turn t+1t+1, where each agent receives its local observation o_i,t+1o\_{i,t+1}. We use HH to denote the finite episode horizon.

In each episode of the Pb-Dec-POMDP, two trajectories τ,τ′∈Υ\tau,\tau^{\prime}\in\Upsilon are sampled, and a human or AI annotator labels their preference according to P_R\*:Υ×Υ→{0,1}P\_{R^{\*}}:\Upsilon\times\Upsilon\to\{0,1\}, where Υ=×_H(S×A)\Upsilon=\times\_{H}(\mathcal{S}\times\mathcal{A}) denotes the state-action trajectory space and P_R\*(τ,τ′)P\_{R^{\*}}(\tau,\tau^{\prime}) indicates whether τ\tau is preferred to τ′\tau^{\prime} under the latent oracle reward R\*:Ssys×A→RR^{\*}:\mathcal{S}^{\mathrm{sys}}\times\mathcal{A}\to\mathbb{R}. This yields a preferred trajectory τw\tau^{w} and a dispreferred one τl\tau^{l}. The oracle reward R\*R^{\*} is available to the annotator. Agents learn from the preferences over trajectories. The objective of the Pb-Dec-POMDP is to maximize the expected cumulative latent reward, π\*=arg⁡max⁡_πE_(s_t,a_t)∼π ⁣[∑_t=0H−1R\*(s_tsys,a_t)]\bm{\pi}^{\*}=\arg\max\_{\bm{\pi}}\mathbb{E}\_{(s\_{t},\mathbf{a}\_{t})\sim\bm{\pi}}\!\left[\sum\_{t=0}^{H-1}R^{\*}(s\_{t}^{\mathrm{sys}},\mathbf{a}\_{t})\right].

In addition to decentralized collaboration, a MAS can also coordinate the agents through centralized communication or control. Agents can exchange information from their local histories to construct a shared context, which each agent then acts on (Wu et al., 2024; Chen et al., 2024). A manager agent can also aggregate available context about a task and decompose it into jobs for multiple workers (Wu et al., 2024; Hong et al., 2024). Such coordination helps agents avoid redundant work or missed subtasks, improving the quality of the joint solution.

This setting can be formulated as a preference-based multi-agent POMDP (Pb-MPOMDP), which follows the same tuple as the Pb-Dec-POMDP but adopts a centralized information structure (Messias et al., 2011). Specifically, in Pb-MPOMDP, the policies are conditioned on the full joint action-observation history h_t={o_0,a_0,…,a_t−1,o_t}\mathbf{h}\_{t}=\{\mathbf{o}\_{0},\mathbf{a}\_{0},\ldots,\mathbf{a}\_{t-1},\mathbf{o}\_{t}\}. Each communicative agent ii generates its response as a_i,t∼π_i(⋅∣h_t)a\_{i,t}\sim\pi\_{i}(\cdot|\mathbf{h}\_{t}) or a coordinator generates the joint response as a_t∼π_cen(⋅∣h_t)\mathbf{a}\_{t}\sim\bm{\pi}\_{\mathrm{cen}}(\cdot|\mathbf{h}\_{t}). The environment transition, learning objective, and preference labeling remain unchanged.

As it is often difficult and costly to simulate environments involving humans, many preference learning methods adopt pre-collected preference datasets for policy optimization (Ziegler et al., 2019; Rafailov et al., 2023). However, such datasets may not adequately cover the trajectories induced by the policies, and thus provide insufficient comparisons for effective training (Zhan et al., 2024). This limitation is amplified in MAS, which induces a combinatorially large policy space (Oliehoek and Amato, 2016; Yang et al., 2021; Shao et al., 2023). The lack of data coverage and density can limit effective optimization, as preferences collected from sparse or poorly covered regions may fail to guide learning toward high-quality cooperation policies (Zhan et al., 2024; Pan et al., 2022; Barde et al., 2024). MAPL supports online preference collection, where diverse trajectory comparisons are obtained throughout training.

Although there exist many preference datasets for single LLM alignment (Nakano et al., 2021; Bai et al., 2022; Cui et al., 2024; Köpf et al., 2023), standard datasets tailored to multi-agent collaboration are very limited. An intuitive approach is to manually adapt existing datasets by assigning roles or subtasks to individual agents. However, many of these tasks cannot be divided into subtasks meaningfully (Liu et al., 2026b). Even when such a division is possible, it remains unclear whether agents can achieve the optimal (or a good) solution under such task decomposition (Dietterich, 2000). MAPL uses joint trajectories of the agents being optimized in the targeted environment to build the dataset. Therefore, the trajectories in the dataset largely preserve the achievable cooperation of these agents.

In cooperative MAS, agents collaborate toward a shared team objective (Tan, 1993; Claus and Boutilier, 1998; Oliehoek and Amato, 2016; Samvelyan et al., 2019; Amato, 2024; Albrecht et al., 2024). Therefore, it is natural to assign preference to trajectories based on the joint policy. However, unlike MARL with fixed and well-specified rewards, preference-based RL must learn rewards from preferences (Christiano et al., 2017; Ziegler et al., 2019). With limited or noisy data, such reward estimates can be inaccurate or high-variance, making subsequent value estimation and policy updates less reliable. In addition, when the implicit reward model is updated alongside the policies (e.g., Rafailov et al., 2023; Guo et al., 2024), the training is non-stationary. MAPL maintains a dynamic replay buffer containing diverse samples from different stages of training. We also incorporate a group-relative Monte Carlo-based MARLHF approach (Equation 5) and use mini-batch stochastic gradient descent for policy optimization to improve training stability.

We introduce MAPL (Figure 1), a general framework for optimizing cooperative MAS from preference feedback. We instantiate MAPL with two representative approaches, MARLHF and MADPO, and discuss their key design features. Further details and additional MAPL variants are provided in Appendices A and B, respectively.

Figure 1 : An illustration of the MAPL framework and methods. (a) Decentralized and centralized MAS; (b) MAPL framework; (c) Procedures of MARLHF and MADPO.

Figure 1(b) illustrates the overall framework of MAPL. We initialize training by collecting the full joint histories h_H={o_0,a_0,…,o_H}\mathbf{h}\_{H}=\{\mathbf{o}\_{0},\mathbf{a}\_{0},\ldots,\mathbf{o}\_{H}\} and the corresponding trajectories τ_H={s_0,a_0,…,s_H}\tau\_{H}=\{s\_{0},\mathbf{a}\_{0},\ldots,s\_{H}\} generated by the LLM agents for each task. For each pair of trajectories τ_H\tau\_{H} and τ′_H\tau^{\prime}\_{H} of a task, the annotator compares their returns following R\*R^{\*}, labels the trajectory with the higher return as the winner τw\tau^{w} and the other as the loser τl\tau^{l}, and discards ties. This yields an initial preference dataset D(0)={(h_Hw,τ_Hw,h_Hl,τ_Hl)_j}_j=1m\mathcal{D}^{(0)}=\{(\mathbf{h}\_{H}^{w},\tau\_{H}^{w},\mathbf{h}\_{H}^{l},\tau\_{H}^{l})\_{j}\}\_{j=1}^{m} containing mm preference pairs, with h_Hw\mathbf{h}\_{H}^{w} and h_Hl\mathbf{h}\_{H}^{l} denoting the joint histories associated with the winning and losing trajectories, respectively. We then select the top-kk preference pairs according to the returns of their winning trajectories to construct the replay buffer B(0)⊆D(0)\mathcal{B}^{(0)}\subseteq\mathcal{D}^{(0)}, which is used for the first iteration of MAPL training.

Since raw LLMs are not inherently cooperative, D(0)\mathcal{D}^{(0)} may contain many trajectories with weak or no cooperation. As training progresses, the agents can generate higher-quality cooperative trajectories, providing more informative preference data for subsequent optimization. At each iteration ν\nu, we collect mm trajectories {(h_H,τ_H)_j}_j=1m∼π\{(\mathbf{h}\_{H},\tau\_{H})\_{j}\}\_{j=1}^{m}\sim\bm{\pi} from the current agent policies and pair them with mm trajectories {(h′_H,τ′_H)_j}_j=1m∼ϖ\{(\mathbf{h}^{\prime}\_{H},\tau^{\prime}\_{H})\_{j}\}\_{j=1}^{m}\sim\bm{\varpi} generated by a comparator policy, such as previous checkpoints or other model variants. The annotator compares each pair to construct a new preference dataset D(ν)\mathcal{D}^{(\nu)}, where the top-kk preference pairs are selected to form the replay buffer B(ν)⊆D(ν)\mathcal{B}^{(\nu)}\subseteq\mathcal{D}^{(\nu)}. This procedure is repeated until the maximum number of training iterations T\mathcal{T} is reached.

The agent policies and the comparator policy can adopt either decentralized or centralized collaboration, as illustrated in Figure 1(a). Under decentralized collaboration, each agent conditions only on its own local history without explicit communication, using π_i(⋅∣h_i)\pi\_{i}(\cdot|h\_{i}) or ϖ_i(⋅∣h′_i)\varpi\_{i}(\cdot|h^{\prime}\_{i}); under centralized collaboration, the policy conditions on the joint history, using π_cen(⋅∣h)\bm{\pi}\_{\mathrm{cen}}(\cdot|\mathbf{h}) or ϖ_cen(⋅∣h′)\bm{\varpi}\_{\mathrm{cen}}(\cdot|\mathbf{h}^{\prime}). Since centralized policies have access to global information, they can potentially generate better trajectories with tighter coordination for training. Combining these choices, we therefore consider three training paradigms: decentralized collaboration with a decentralized comparator (Dec-Dec), centralized collaboration with a centralized comparator (Cen-Cen), and decentralized collaboration with a centralized comparator (Dec-Cen).

After obtaining B(ν)\mathcal{B}^{(\nu)} at iteration ν\nu, we can either learn a reward model and optimize the policies with MARL, or directly optimize the policies from trajectory preferences.

In MARLHF, at each iteration ν\nu, we first learn a history-based reward model R~_ψ(h_t,a_t)\widetilde{R}\_{\psi}(\mathbf{h}\_{t},\mathbf{a}\_{t}) to approximate the expected reward E[R\*(s_tsys,a_t)∣h_t,a_t]\mathbb{E}[R^{\*}(s\_{t}^{\mathrm{sys}},\mathbf{a}\_{t})|\mathbf{h}\_{t},\mathbf{a}\_{t}] for the given joint history. Specifically,

L_RM(ψ)=−E_(h_Hw,h_Hl)∼B(ν)[log⁡σ(∑_t=0H−1[R~_ψ(h_tw,a_tw)−R~_ψ(h_tl,a_tl)])].\mathcal{L}\_{\mathrm{RM}}(\psi)=-\mathbb{E}\_{(\mathbf{h}\_{H}^{w},\mathbf{h}\_{H}^{l})\sim\mathcal{B}^{(\nu)}}\left[\log\sigma\left(\sum\_{t=0}^{H-1}\left[\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{w},\mathbf{a}\_{t}^{w})-\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{l},\mathbf{a}\_{t}^{l})\right]\right)\right].(4)

The reward model is then held fixed during policy optimization. Although many MARL algorithms are available for the subsequent policy optimization (Albrecht et al., 2024; Amato, 2024), not all are well-suited to this setting. For example, due to the extremely large action space of LLM-based MAS, value-based methods are typically ineffective for LLM policy optimization. Moreover, in practice, the critic may be fit to an inaccurate reward model, especially in the early stage of training. These errors then propagate into the value estimates and undermine policy optimization.

As learning a critic is both difficult and costly, we use a group-based Monte Carlo method for MARL optimization (Liu et al., 2026b). For each task and policy update, we independently sample G>1G>1 trajectories τ_HG={τ_H(1),…,τ_H(G)}\tau\_{H}^{\mathcal{G}}=\{\tau\_{H}^{(1)},\ldots,\tau\_{H}^{(G)}\} and their corresponding joint histories h_HG={h_H(1),…,h_H(G)}\mathbf{h}\_{H}^{\mathcal{G}}=\{\mathbf{h}\_{H}^{(1)},\ldots,\mathbf{h}\_{H}^{(G)}\} by executing the current joint policy π_old\bm{\pi}\_{\mathrm{old}}. For compactness, we use π_θ(h_H)=∏_t=0H−1π_θ(a_t∣h_t)\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})=\prod\_{t=0}^{H-1}\bm{\pi}\_{\bm{\theta}}(\mathbf{a}\_{t}|\mathbf{h}\_{t}) to denote the product of joint action probabilities along the history h_H\mathbf{h}\_{H}. We adopt the averaged prediction within each group as a baseline to construct the group-relative advantage A~(g)\widetilde{A}^{(g)} and optimize the agents according to,

L_MARLG(θ)=−E_h_HG∼π_old[1G∑_g=1Gsg ⁣[GG−1A~(g)−ηlog⁡π_θ(h_H(g))π_ref(h_H(g))]log⁡π_θ(h_H(g))].\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta})=-\mathbb{E}\_{\mathbf{h}\_{H}^{\mathcal{G}}\sim\bm{\pi}\_{\mathrm{old}}}\left[\frac{1}{G}\sum\_{g=1}^{G}\mathsf{sg}\!\left[\frac{G}{G-1}\widetilde{A}^{(g)}-\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{(g)})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H}^{(g)})}\right]\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{(g)})\right].(5)

where A~(g)=∑_t=0H−1[R~_ψ(h_t(g),a_t(g))−1G∑_g′=1GR~_ψ(h_t(g′),a_t(g′))]\widetilde{A}^{(g)}=\sum\_{t=0}^{H-1}\left[\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{(g)},\mathbf{a}\_{t}^{(g)})-\frac{1}{G}\sum\_{g^{\prime}=1}^{G}\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{(g^{\prime})},\mathbf{a}\_{t}^{(g^{\prime})})\right], sg\mathsf{sg} denotes the stop-gradient operator. GG−1\frac{G}{G-1} corrects the group average, and the KL term includes the log-ratio as a fixed weight to produce the trajectory-level KL gradient in expectation. The agents’ policies π_θ_i\pi\_{\theta\_{i}} and π_θ\bm{\pi}\_{\bm{\theta}} are then updated as ∇_θ_iL_MARLG(θ)\nabla\_{\theta\_{i}}\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta}) and ∇_θL_MARLG(θ)\nabla\_{\bm{\theta}}\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta}) in decentralized and centralized MAS, respectively.

We also present a more efficient approach that directly optimizes the policy from B(ν)\mathcal{B}^{(\nu)}. At each iteration ν\nu, MADPO minimizes

L_MADPO(θ)=−E_(h_Hw,h_Hl)∼B(ν)[log⁡σ(ηlog⁡π_θ(h_Hw)π_ref(h_Hw)−ηlog⁡π_θ(h_Hl)π_ref(h_Hl))].\mathcal{L}\_{\mathrm{MADPO}}(\bm{\theta})=-\mathbb{E}\_{(\mathbf{h}\_{H}^{w},\mathbf{h}\_{H}^{l})\sim\mathcal{B}^{(\nu)}}\left[\log\sigma\left(\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{w})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H}^{w})}-\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{l})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H}^{l})}\right)\right].(6)

MADPO implicitly parameterizes the reward as R~_θ(h_t,a_t)=ηlog⁡π_θ(a_t∣h_t)π_ref(a_t∣h_t)\widetilde{R}\_{\bm{\theta}}(\mathbf{h}\_{t},\mathbf{a}\_{t})=\eta\log\dfrac{\bm{\pi}\_{\bm{\theta}}(\mathbf{a}\_{t}|\mathbf{h}\_{t})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{a}\_{t}|\mathbf{h}\_{t})}. Then we can minimize the loss in Equation 6 with respect to each agent’s parameters θ_i\theta\_{i} under decentralized collaboration, or the coordinator’s parameters θ\bm{\theta} under centralized coordination.

We provide further details about MAPL derivations and algorithms in Appendix A.

We evaluate MAPL in four domains: TLDR for document processing (Völske et al., 2017), CoopHE for programming (Liu et al., 2026b), BFCL for function calling (Patil et al., 2025), and Travel for travel planning (Xie et al., 2024). Experimental settings, additional results, prompt design, and compute resources are provided in Appendices C, D, E, and F, respectively.

As discussed in § 3, existing large-scale preference datasets (Bai et al., 2022; Cui et al., 2024) cannot be seamlessly repurposed for MAPL, since many tasks are atomic and cannot induce meaningful collaboration. Following prior work (Christiano et al., 2017; Lee et al., 2021; Kim et al., 2023; Zhu et al., 2024), we use deterministic oracle reward functions to generate preferences (Appendix C.3).

Extracting key information from long context is an important ability for LLM agents. We instantiate this setting as a text summarization task built on the TL;DR dataset (Völske et al., 2017). In TLDR, two Qwen3-1.7B agents collaborate to summarize Reddit posts provided in the prompt field. One agent produces a concise high-level summary, while the other provides a detailed summary with more elaborated information. Their outputs are merged into a single briefing presented to the reader. We measure summarization quality with a weighted score over structural quality, stylistic consistency, and logical coherence, with details provided in Appendix C.3.

Prior work has shown the promise of employing multiple LLMs for software development (Talebirad and Nadiri, 2023; Qian et al., 2024). We take the collaborative code generation tasks in the CoopHumanEval (Liu et al., 2026b) dataset as a representative case. In CoopHE, two Qwen2.5-Coder-3B coding agents are solving basic Python programming problems, each specified by a natural-language prompt in prompt and a target function signature in entry_point. One agent implements utility modules in aux(⋅\cdot), while the other constructs main(⋅\cdot) by invoking them. The two functions are aggregated into a single file as a solution. We report the test pass rate for functional correctness and the valid auxiliary call rate for collaboration.

Modern LLM agents interact with the systems through diverse tools (e.g., MCP servers, shell toolkits, and browser interfaces) (Anthropic, 2024; Yang et al., 2024; Zhou et al., 2024), yet sequentially invoking these tools incurs substantial latency. Multi-agent collaboration mitigates this by issuing function calls in parallel. We use the parallel and parallel_multiple tasks in the Berkeley Function Calling Leaderboard (BFCL) to demonstrate this concept (Patil et al., 2025). Two Qwen3-4B-Instruct-2507 agents are jointly generating structured function calls for the request in user_prompt, following the schemas in function. In parallel tasks, the agents share a single function schema but may call it with different arguments, whereas in parallel_multiple tasks, they must select the appropriate function from several available schemas. Agents are expected to learn a cooperation scheme that balances workloads and produces complementary calls. We use functional correctness and costs (#calls) as evaluation metrics.

We also consider a more concrete agentic domain, where two Qwen3-4B-Instruct-2507 agents work together to plan a short trip. We draw tasks from TravelPlanner (Xie et al., 2024). We select the ones with days⩽\textit{days}\leqslant 5 and \textit{visiting\\_city\\_number}\leqslant 2 for simplicity and finer-grained comparison. The full request is provided in query, while candidate itinerary options and their associated costs are given in reference_information. In Travel, one agent arranges logistics (e.g., the city route, transportation, and accommodation), while the other designs activities (e.g., restaurants and attractions). Their outputs are combined into a single itinerary. We report a coarse-grained and a fine-grained metric: pass measures the proportion of plans satisfying all commonsense constraints (e.g., consistency between scheduled activities and the city occupied on that day), whereas success additionally requires compliance with the budget limits in budget and the user-specified constraints in local_constraint, including room types, food and transportation preferences.

Figure 2 : A comparison of MARLHF ( red ) and MADPO ( blue ) under Dec-Dec, Cen-Cen and Dec-Cen on TLDR , CoopHE , BFCL , and Travel across 5 runs. Dotted and dashed lines denote the performance of MAGRPO on decentralized and centralized MAS. Results are normalized to the reward scale w.r.t. each domain.

We compare our methods against three categories of baselines: single-agent methods, test-time LLM collaboration frameworks, and MARL approaches, with detailed prompts in Appendix E. Single-agent baselines employ a single LLM comparable in size to the MAS. We include the base model and its fine-tuned variants by RL and preference learning algorithms. For test-time collaboration, we consider three representative frameworks: parallel, where agents execute concurrently without communication; sequential, where one agent executes after another and communicates one-way (Wu et al., 2024); and discussion, where agents engage in bidirectional communication (Du et al., 2024). Given the prohibitively large policy space of LLMs, value-based methods are often impractical. We thus consider policy gradient methods as MARL baselines: multi-agent GRPO (MAGRPO) (Liu et al., 2026b), which extends GRPO to the multi-agent setting with group-relative advantages, and collaborative-LLM actor-critic with a centralized critic (CoLLM-CC) and with decentralized critics (CoLLM-DC) (Liu et al., 2026a).

MethodTLDRCoopHEBFCLTravel
ScorePassCallCorrectCostsPassSuccess
(a) Single Agent
Raw Model30.356.3N/A47.52.471.39.6
GRPO (Shao et al., 2024)91.761.8N/A50.22.574.525.0
PPO (Schulman et al., 2017)94.562.5N/A56.32.573.214.5
RLHF (Christiano et al., 2017)79.465.0N/A48.32.375.65.6
DPO (Rafailov et al., 2023)88.044.2N/A49.22.459.83.8
(b) Test-Time Collaboration
Parallel (Wu et al., 2024)22.950.018.412.81.266.28.3
Sequential (Wu et al., 2024)21.762.524.625.51.366.910.0
Discussion (Du et al., 2024)22.325.012.49.81.462.54.2
(c) MARL with R∗R^{\ast}
MAGRPO (Liu et al., 2026b)93.571.337.943.81.076.212.5
CoLLM-DC (Liu et al., 2026a)95.459.323.228.70.942.80.0
CoLLM-CC (Liu et al., 2026a)95.275.239.753.41.184.325.0
(d) MAPL (Ours)
MARLHF (Dec-Dec)†86.361.040.222.71.070.513.1
MARLHF (Cen-Cen)92.064.446.838.52.576.414.5
MARLHF (Dec-Cen)56.420.314.314.91.362.48.3
MADPO (Dec-Dec)‡92.958.828.515.61.141.50.0
MADPO (Cen-Cen)87.465.844.948.32.573.612.5
MADPO (Dec-Cen)74.916.512.211.11.040.64.2

Table 1: Evaluation results of MAPL and baseline methods on TLDR, CoopHE, BFCL, and Travel across 5 runs: Score measures the summary quality; Pass denotes the pass rate; Call denotes the invocation rate of aux(⋅\cdot); Correct is the functional correctness rate; Costs measures the number of calls per agent; Pass is the commonsense pass rate; Success is the final pass rate with more constraints. Underline and bold indicate the best results across MAPL and all methods. † and ‡ denote pivots for the ablation studies in Table 2.

We compare MAPL with single-agent, test-time collaboration, and oracle-reward MARL baselines. We set G=4G=4 in Equation 5 and draw comparators from the same model family as the agents. The decentralized comparator uses the same model as each agent, whereas the centralized comparator approximately matches the agents’ combined parameter count for a fair comparison (Appendix C).

As shown in Table 1 and Figure 2, MAPL under the best configurations can reach pass rates of 65.8% on CoopHE and 76.4% on Travel, exceeding the strongest single-agent baseline on CoopHE and Travel and outperforming test-time collaboration across all four domains. MARL methods attain the highest TLDR score and pass rates on CoopHE and Travel, since oracle rewards align policy optimization directly with the task objectives. Nevertheless, MAPL closely approaches MAGRPO, with less than 1% difference in TLDR score and Travel pass rate. Surprisingly, we find MARLHF can even surpass MAGRPO on CoopHE call rate (40.2% vs. 37.9%) and Travel success (13.1% vs. 12.5%) under decentralized collaboration. We attribute this to a higher density of samples of similar quality in the MAPL preference dataset (e.g., correct code with different cooperation patterns), which could provide richer local training signals for distinguishing their relative quality.

Among the MAPL paradigms, Cen-Cen generally performs best for both MARLHF and MADPO across most domains, as centralized agents can exploit more complete information to coordinate. Dec-Dec also achieves strong performance after proper tuning and can outperform the raw larger model on CoopHE. This demonstrates the potential of decentralized collaboration, where multiple smaller models can cooperate to surpass a larger one. Cen-Cen underperforms Dec-Dec with MADPO on TLDR, where both the centralized agent and the comparator use a relatively small model compared with those in other domains. This suggests that centralized collaboration may require greater model capacity than individual decentralized agents, as centralized information typically induces a longer context for model reasoning. Dec-Cen generally performs worse due to the information and realizability gap between the comparator and agents. We find that this decrease is more salient in MARLHF than in MADPO, as its two-stage pipeline amplifies this representation error.

We ablate MAPL on replay buffers, comparators, and MARLHF methods. We use the Dec-Dec paradigm as the representative setting and provide additional results in Appendix D.

MethodTLDRCoopHEBFCLTravel
ScorePassCorrectPass
(a) Replay Buffer
MARLHF  (λ\lambda-Decay)†86.361.022.770.5
MARLHF  (Offline)70.9 (↓\downarrow15.4)46.4 (↓\downarrow14.6)7.5 (↓\downarrow15.2)63.6 (↓\downarrow6.9)
MARLHF  (Online)76.0 (↓\downarrow10.3)59.7 (↓\downarrow1.3)14.8 (↓\downarrow7.9)69.8 (↓\downarrow0.7)
MADPO  (λ\lambda-Decay)‡92.958.815.641.5
MADPO  (Offline)87.1 (↓\downarrow5.8)23.0 (↓\downarrow35.8)3.1 (↓\downarrow12.5)46.8 (↑\uparrow5.3)
MADPO  (Online)88.7 (↓\downarrow4.2)58.5 (↓\downarrow0.3)15.3 (↓\downarrow0.3)43.2 (↑\uparrow1.7)
(b) Comparator
MARLHF  (Same-size)†86.361.022.770.5
MARLHF  (2×2\times)66.9 (↓\downarrow19.4)48.8 (↓\downarrow12.2)18.8 (↓\downarrow3.9)56.4 (↓\downarrow14.1)
MARLHF  (4×4\times)66.5 (↓\downarrow19.8)50.0 (↓\downarrow11.0)22.9 (↑\uparrow0.2)65.6 (↓\downarrow4.9)
MARLHF  (Deepseek-Pro)70.1 (↓\downarrow16.2)63.5 (↑\uparrow2.5)21.8 (↓\downarrow0.9)71.2 (↑\uparrow0.7)
MADPO  (Same-size)‡92.958.815.641.5
MADPO  (2×2\times)61.3 (↓\downarrow31.6)49.2 (↓\downarrow9.6)3.8 (↓\downarrow11.8)43.2 (↑\uparrow1.7)
MADPO  (4×4\times)71.8 (↓\downarrow21.1)49.8 (↓\downarrow9.0)21.9 (↑\uparrow6.3)46.9 (↑\uparrow5.4)
MADPO  (Deepseek-Pro)74.6 (↓\downarrow18.3)65.7 (↑\uparrow6.9)22.7 (↑\uparrow7.1)47.4 (↑\uparrow5.9)
(c) MARLHF Method
MARLHF  (MAGRPO)†86.361.022.770.5
MARLHF  (CoLLM-CC)23.9 (↓\downarrow62.4)46.5 (↓\downarrow14.5)7.2 (↓\downarrow15.5)37.5 (↓\downarrow33.0)
MARLHF  (CoLLM-DC)26.7 (↓\downarrow59.6)38.9 (↓\downarrow22.1)4.6 (↓\downarrow18.1)14.6 (↓\downarrow55.9)

Table 2: Ablation results on (a) replay buffers, (b) comparators, and (c) MARLHF methods under Dec-Dec. Pivot entries † and ‡ reported in Table 1 use the λ\lambda-decay buffer, agent-size comparator, and MAGRPO. Parenthesized values show absolute changes relative to the corresponding pivot, where ↑\uparrow denotes an increase and ↓\downarrow denotes a decrease. Best results within each ablation are reported in bold, best results for each method within each ablation are underlined.

We compare three ways of constructing the replay buffer. Offline MAPL uses 80 pre-collected preference pairs and selects the 16 highest-return samples. Online MAPL collects the same total amount of data over four iterations, where we append the 4 best samples from 20 preference pairs to the buffer at each iteration. We also consider a λ\lambda-decay replay buffer (the default in Table 1), which downweights samples from earlier iterations with ratio λ\lambda. We use tuned hyperparameter λ ⁣= ⁣0.8\lambda\!=\!0.8 for MARLHF and λ ⁣= ⁣0.2\lambda\!=\!0.2 for MADPO. Table 2(a) shows that online MAPL outperforms offline MAPL on TLDR, CoopHE, and BFCL. For example, MARLHF improves from 7.5% to 14.8%, and MADPO from 3.1% to 15.3% on BFCL. MAPL with λ\lambda-decay buffer achieves the best results across most domains. We find this improvement to be more pronounced for MARLHF than MADPO, since the broader data coverage supports learning a reward model with more diverse representations.

Then we compare same-family comparators (Qwen2.5 or Qwen3) at 1×1\times, 2×2\times, and 4×4\times the agent-model size, and DeepSeek-V4-Pro from a different model family. Table 2(b) shows that scaling the comparator does not consistently improve performance. On TLDR, scaling from same-size to 4×4\times reduces MARLHF from 86.3% to 66.5% and MADPO from 92.9% to 71.8%; DeepSeek-V4-Pro achieves 70.1% and 74.6%, respectively. This is due to the capacity gap between comparators and target agents. Despite receiving the same partial information under Dec-Dec, smaller agents may struggle to realize behaviors favored by stronger comparators. This gap also varies for different optimization methods. With DeepSeek-V4-Pro, MADPO improves over the same-size setting from 58.8% to 65.7% on CoopHE and from 15.6% to 22.7% on BFCL, whereas MARLHF changes from 61.0% to 63.5% and from 22.7% to 21.8%, respectively. On Travel, MADPO improves from 41.5% to 47.4%, compared with 70.5% to 71.2% for MARLHF. These results suggest that MADPO benefits more from this external comparator than MARLHF in these domains.

Figure 3 : Evaluation results (a-d) and data distribution shift (e-h) of MARLHF and MADPO on offline ( brown and green )

Figure 3 : Evaluation results (a-d) and data distribution shift (e-h) of MARLHF and MADPO on offline ( brown and green ), online ( orange and purple ), λ \lambda -decay ( red and blue ) replay buffers. Curves are smoothed by an exponential moving average, and shaded regions indicate the standard deviation. Triangles mark the start of iterations. Data distributions are fitted with a Gaussian. Curves with higher opacity indicate later iterations.

Finally, we compare MAGRPO with CoLLM-CC and CoLLM-DC, as MARL algorithms for MARLHF. Table 2(c) shows that MAGRPO outperforms both alternatives across all four domains, improving TLDR score by at least 59.6% and CoopHE pass rate, BFCL correct rate, and Travel pass by at least 14.5%, 15.5%, and 33.0%, respectively. We also observe less stable training with the actor-critic variants, as fitting critics to imperfect or evolving rewards may introduce additional approximation error and further destabilize policy optimization.

We studied preference-based optimization of cooperative LLM systems. We introduced MAPL, a general framework that iteratively updates agent policies by comparing their solutions with those generated by a comparator policy. We instantiated MAPL with MARLHF and MADPO, and evaluated them under the Dec-Dec, Cen-Cen, and Dec-Cen paradigms. Results on collaborative writing, coding, tool use, and travel planning show that MAPL improves both decentralized collaboration and centralized collaboration, and approaches the performance of MARL with well-specified rewards. Our ablations further show that a larger or centralized comparator does not necessarily facilitate training, due to the information and realizability gaps between agents and comparators.

This work was partially funded by NSF grants #2409351 and #2525087. This work was completed in part using the Explorer Cluster, supported by Northeastern University’s Research Computing team. The authors also acknowledge the MGHPCC AI Computing Resource (AICR), with support from the Commonwealth of Massachusetts and the AICR participating institutions, for providing AI and high-performance computing resources used in the results reported in this publication. Shuo Liu received computing support from Lambda’s Research Grant Program. We thank members of the Lab for Learning and Planning in Robotics for valuable discussion.

  • Albrecht et al. (2024) S. V. Albrecht, F. Christianos, and L. Schäfer Multi-agent reinforcement learning: foundations and modern approaches. MIT Press. Cited by: §1, §3.3, §4.2.
  • Amato (2024) C. Amato An introduction to centralized training for decentralized execution in cooperative multi-agent reinforcement learning. arXiv preprint arXiv:2409.03052. Cited by: §1, §3.3, §4.2.
  • Anthropic (2024) Anthropic Introducing the model context protocol. Note: https://www.anthropic.com/news/model-context-protocolAccessed: 2026-07-28 Cited by: §5.1.
  • Anthropic (2025) Anthropic How we built a multi-agent research system. External Links: Link Cited by: §G.1.
  • Bai et al. (2023) J. Bai, S. Bai, Y. Chu, Z. Cui, K. Dang, X. Deng, Y. Fan, W. Ge, Y. Han, F. Huang, et al. Qwen technical report. arXiv preprint arXiv:2309.16609. Cited by: §1.
  • Bai et al. (2022) Y. Bai, A. Jones, K. Ndousse, A. Askell, A. Chen, N. DasSarma, D. Drain, S. Fort, D. Ganguli, T. Henighan, et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv preprint arXiv:2204.05862. Cited by: §2, §3.3, §5.1.
  • Barde et al. (2024) P. Barde, J. Foerster, D. Nowrouzezahrai, and A. Zhang A model-based solution to the offline multi-agent reinforcement learning coordination problem. In International Conference on Autonomous Agents and Multiagent Systems, pp. 141–150. Cited by: §3.3.
  • Bradley and Terry (1952) R. A. Bradley and M. E. Terry Rank analysis of incomplete block designs: i. the method of paired comparisons. Biometrika 39 (3/4), pp. 324–345. Cited by: §2.
  • Bui et al. (2025) T. V. Bui, T. A. Mai, and T. H. Nguyen O-MAPL: offline multi-agent preference learning. In International Conference on Machine Learning, Proceedings of Machine Learning Research, Vol. 267, pp. 5811–5841. External Links: Link Cited by: §G.2, §1.
  • Cemri et al. (2025) M. Cemri, M. Z. Pan, S. Yang, L. A. Agrawal, B. Chopra, R. Tiwari, K. Keutzer, A. Parameswaran, D. Klein, K. Ramchandran, et al. Why do multi-agent llm systems fail?. In Advances in Neural Information Processing Systems, Vol. 38. Cited by: §1.
  • Chaudhari et al. (2025) S. Chaudhari, P. Aggarwal, V. Murahari, T. Rajpurohit, A. Kalyan, K. Narasimhan, A. Deshpande, and B. Castro da Silva RLHF deciphered: a critical analysis of reinforcement learning from human feedback for llms. ACM Computing Surveys 58 (2), pp. 1–37. Cited by: §2.
  • Chen et al. (2024) J. Chen, S. Saha, and M. Bansal ReConcile: round-table conference improves reasoning via consensus among diverse LLMs. In Association for Computational Linguistics, Bangkok, Thailand, pp. 7066–7085. Cited by: §3.2.
  • Chen et al. (2025) W. Chen, Z. You, R. Li, C. Qian, C. Zhao, C. Yang, R. Xie, Z. Liu, M. Sun, et al. Internet of agents: weaving a web of heterogeneous agents for collaborative intelligence. In International Conference on Learning Representations, Vol. 2025, pp. 36374–36411. Cited by: §G.1.
  • Chen et al. (2026) Y. Chen, L. Yan, W. Sun, X. Ma, Y. Zhang, S. Wang, D. Yin, Y. Yang, and J. Mao Improving retrieval-augmented generation through multi-agent reinforcement learning. In Advances in Neural Information Processing Systems, Vol. 38, pp. 134495––134526. Cited by: §G.1, §1, §3.
  • Christiano et al. (2017) P. F. Christiano, J. Leike, T. Brown, M. Martic, S. Legg, and D. Amodei Deep reinforcement learning from human preferences. In Advances in neural information processing systems, Vol. 30. Cited by: §C.3, §1, §2, §3.3, §5.1, Table 1.
  • Claus and Boutilier (1998) C. Claus and C. Boutilier The dynamics of reinforcement learning in cooperative multiagent systems. In Proceedings of the AAAI conference on artificial intelligence, Vol. 2, pp. 746–752. Cited by: §3.3.
  • Comanici et al. (2025) G. Comanici, E. Bieber, M. Schaekermann, I. Pasupat, N. Sachdeva, I. Dhillon, M. Blistein, O. Ram, D. Zhang, E. Rosen, et al. Gemini 2.5: pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261. Cited by: §1.
  • Cui et al. (2024) G. Cui, L. Yuan, N. Ding, G. Yao, B. He, W. Zhu, Y. Ni, G. Xie, R. Xie, Y. Lin, Z. Liu, and M. Sun ULTRAFEEDBACK: boosting language models with scaled AI feedback. In International Conference on Machine Learning, Vol. 235, pp. 9722–9744. Cited by: §3.3, §5.1.
  • DeepSeek-AI (2024) DeepSeek-AI Deepseek-v3 technical report. arXiv preprint arXiv:2412.19437. Cited by: §1.
  • Dietterich (2000) T. G. Dietterich Hierarchical reinforcement learning with the maxq value function decomposition. Journal of artificial intelligence research 13, pp. 227–303. Cited by: §3.3.
  • Dong et al. (2023) H. Dong, W. Xiong, D. Goyal, Y. Zhang, W. Chow, R. Pan, S. Diao, J. Zhang, K. Shum, and T. Zhang Raft: reward ranked finetuning for generative foundation model alignment. arXiv preprint arXiv:2304.06767. Cited by: §B.2.
  • Du et al. (2024) Y. Du, S. Li, A. Torralba, J. B. Tenenbaum, and I. Mordatch Improving factuality and reasoning in language models through multiagent debate. In International Conference on Machine Learning, Vol. 235, pp. 11733–11763. Cited by: §1, §5.1, Table 1.
  • Guo et al. (2024) S. Guo, B. Zhang, T. Liu, T. Liu, M. Khalman, F. Llinares, A. Rame, T. Mesnard, Y. Zhao, B. Piot, et al. Direct language model alignment from online AI feedback. arXiv preprint arXiv:2402.04792. Cited by: §1, §3.3.
  • Hong et al. (2024) S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, J. Wang, C. Zhang, Z. Wang, S. Yau, Z. Lin, L. Zhou, et al. MetaGPT: meta programming for a multi-agent collaborative framework. In International Conference on Learning Representations, Vol. 2024, pp. 23247–23275. Cited by: §1, §3.2, §3.
  • Kang et al. (2025) S. Kang, M. Kim, J. Oh, and S. Yun Dual preference learning for multi-agent reinforcement learning. IEEE Access 14, pp. 113–130. Cited by: §G.2.
  • Kausik et al. (2025) C. Kausik, M. Mutti, A. Pacchiano, and A. Tewari A theoretical framework for partially-observed reward states in rlhf. In International Conference on Learning Representations, Vol. 2025, pp. 22669–22719. Cited by: Appendix H.
  • Kim et al. (2023) C. Kim, J. Park, J. Shin, H. Lee, P. Abbeel, and K. Lee Preference transformer: modeling human preferences using transformers for RL. In International Conference on Learning Representations, Cited by: §C.3, §5.1.
  • Köpf et al. (2023) A. Köpf, Y. Kilcher, D. Von Rütte, S. Anagnostidis, Z. R. Tam, K. Stevens, A. Barhoum, D. Nguyen, O. Stanley, R. Nagyfi, et al. Openassistant conversations-democratizing large language model alignment. In Advances in neural information processing systems, Vol. 36, pp. 47669–47681. Cited by: §3.3.
  • Kou et al. (2025) Q. Kou, M. Li, Z. Liu, L. Qian, Z. Chen, L. Wan, X. Chen, and X. Lan Offline multi-agent preference-based reinforcement learning with agent-aware direct preference optimization. In Proceedings of the 24th International Conference on Autonomous Agents and Multiagent Systems, pp. 1181–1190. Cited by: §G.2.
  • Lee et al. (2021) K. Lee, L. M. Smith, and P. Abbeel PEBBLE: feedback-efficient interactive reinforcement learning via relabeling experience and unsupervised pre-training. In International Conference on Machine Learning, Vol. 139, pp. 6152–6163. Cited by: §C.3, §5.1.
  • Li et al. (2023) G. Li, H. Hammoud, H. Itani, D. Khizbullin, and B. Ghanem Camel: communicative agents for “mind” exploration of large language model society. In Advances in neural information processing systems, Vol. 36, pp. 51991–52008. Cited by: §1.
  • Liao et al. (2025) J. Liao, M. Wen, J. Wang, and W. Zhang Marft: multi-agent reinforcement fine-tuning. arXiv preprint arXiv:2504.16129. Cited by: §1.
  • Liu et al. (2026a) S. Liu, T. Chen, R. Amiri, and C. Amato Learning decentralized llm collaboration with multi-agent actor critic. arXiv preprint arXiv:2601.21972. Cited by: §G.1, §1, §1, §3.1, §3, §5.1, Table 1, Table 1.
  • Liu et al. (2026b) S. Liu, Z. Liang, X. Lyu, and C. Amato Llm collaboration with multi-agent reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, pp. 32150–32158. Cited by: Appendix E, §1, §1, §3.1, §3.3, §3, §4.2, §5.1, §5.1, Table 1, §5.
  • Meng et al. (2024) Y. Meng, M. Xia, and D. Chen Simpo: simple preference optimization with a reference-free reward. In Advances in Neural Information Processing Systems, Vol. 37, pp. 124198–124235. Cited by: §1.
  • Messias et al. (2011) J. Messias, M. Spaan, and P. Lima Efficient offline communication policies for factored multiagent pomdps. In Advances in Neural Information Processing Systems, Vol. 24. Cited by: §3.2.
  • Nakano et al. (2021) R. Nakano, J. Hilton, S. Balaji, J. Wu, L. Ouyang, C. Kim, C. Hesse, S. Jain, V. Kosaraju, W. Saunders, et al. Webgpt: browser-assisted question-answering with human feedback. arXiv preprint arXiv:2112.09332. Cited by: §B.2, §3.3.
  • Oliehoek and Amato (2016) F. A. Oliehoek and C. Amato A concise introduction to decentralized pomdps. Springer. Cited by: §1, §3.1, §3.3, §3.3.
  • OpenAI (2023) OpenAI Gpt-4 technical report. arXiv preprint arXiv:2303.08774. Cited by: §1.
  • Ouyang et al. (2022) L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, J. Schulman, J. Hilton, F. Kelton, L. Miller, M. Simens, A. Askell, P. Welinder, P. F. Christiano, J. Leike, and R. Lowe Training language models to follow instructions with human feedback. In Advances in Neural Information Processing Systems, Vol. 35, pp. 27730–27744. Cited by: §2.
  • Pan et al. (2022) L. Pan, L. Huang, T. Ma, and H. Xu Plan better amid conservatism: offline multi-agent reinforcement learning with actor rectification. In International conference on machine learning, pp. 17221–17237. Cited by: §1, §3.3.
  • Park et al. (2025) C. Park, S. Han, X. Guo, A. E. Ozdaglar, K. Zhang, and J. Kim MAPoRL: multi-agent post-co-training for collaborative large language models with reinforcement learning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 30215–30248. Cited by: §1.
  • Patil et al. (2025) S. G. Patil, H. Mao, F. Yan, C. C. Ji, V. Suresh, I. Stoica, and J. E. Gonzalez The berkeley function calling leaderboard (bfcl): from tool use to agentic evaluation of large language models. In International Conference on Machine Learning, Cited by: §5.1, §5.
  • Qian et al. (2024) C. Qian, W. Liu, H. Liu, N. Chen, Y. Dang, J. Li, C. Yang, W. Chen, Y. Su, X. Cong, et al. Chatdev: communicative agents for software development. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: Long papers), pp. 15174–15186. Cited by: §G.1, §1, §3, §5.1.
  • Rafailov et al. (2023) R. Rafailov, A. Sharma, E. Mitchell, C. D. Manning, S. Ermon, and C. Finn Direct preference optimization: your language model is secretly a reward model. In Advances in Neural Information Processing Systems, Vol. 36, pp. 53728–53741. Cited by: §1, §2, §3.3, §3.3, Table 1.
  • Razin et al. (2026) N. Razin, Y. Lin, J. Yao, and S. Arora Why is your language model a poor implicit reward model?. In International Conference on Learning Representations, Cited by: §2.
  • Samvelyan et al. (2019) M. Samvelyan, T. Rashid, C. Schroeder de Witt, G. Farquhar, N. Nardelli, T. G. J. Rudner, C. Hung, P. H. S. Torr, J. Foerster, and S. Whiteson The StarCraft multi-agent challenge. In International Conference on Autonomous Agents and Multiagent Systems, pp. 2186–2188. Note: Extended abstract Cited by: §3.3.
  • Schmidgall et al. (2025) S. Schmidgall, Y. Su, Z. Wang, X. Sun, J. Wu, X. Yu, J. Liu, M. Moor, Z. Liu, and E. Barsoum Agent laboratory: using llm agents as research assistants. Findings of the Association for Computational Linguistics: EMNLP 2025, pp. 5977–6043. Cited by: §G.1.
  • Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Cited by: Table 1.
  • Shani et al. (2024) L. Shani, A. Rosenberg, A. Cassel, O. Lang, D. Calandriello, A. Zipori, H. Noga, O. Keller, B. Piot, I. Szpektor, et al. Multi-turn reinforcement learning with preference human feedback. In Advances in Neural Information Processing Systems, Cited by: Appendix H.
  • Shao et al. (2023) J. Shao, Y. Qu, C. Chen, H. Zhang, and X. Ji Counterfactual conservative q learning for offline multi-agent reinforcement learning. In Advances in Neural Information Processing Systems, Vol. 36, pp. 77290–77312. Cited by: §1, §3.3.
  • Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y.K. Li, Y. Wu, and D. Guo Deepseekmath: pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Cited by: §1, Table 1.
  • Shi et al. (2026) R. Shi, M. Song, R. Zhou, Z. Zhang, M. Fazel, and S. S. Du Understanding the performance gap in preference learning: a dichotomy of RLHF and DPO. In International Conference on Machine Learning, Cited by: §2.
  • Shinn et al. (2023) N. Shinn, F. Cassano, A. Gopinath, K. Narasimhan, and S. Yao Reflexion: language agents with verbal reinforcement learning. In Advances in neural information processing systems, Vol. 36, pp. 8634–8652. Cited by: §1.
  • Talebirad and Nadiri (2023) Y. Talebirad and A. Nadiri Multi-agent collaboration: harnessing the power of intelligent llm agents. arXiv preprint arXiv:2306.03314. Cited by: §5.1.
  • Tan (1993) M. Tan Multi-agent reinforcement learning: independent versus cooperative agents. In International Conference on Machine Learning, San Francisco, CA, USA, pp. 330–337. Cited by: §3.3.
  • Touvron et al. (2023) H. Touvron, L. Martin, K. Stone, P. Albert, A. Almahairi, Y. Babaei, N. Bashlykov, S. Batra, P. Bhargava, S. Bhosale, et al. Llama 2: open foundation and fine-tuned chat models. arXiv preprint arXiv:2307.09288. Cited by: §2.
  • Völske et al. (2017) M. Völske, M. Potthast, S. Syed, and B. Stein TL;dr: mining reddit to learn automatic summarization. In Proceedings of the workshop on new frontiers in summarization, pp. 59–63. Cited by: §5.1, §5.
  • Wang et al. (2024) G. Wang, Y. Xie, Y. Jiang, A. Mandlekar, C. Xiao, Y. Zhu, L. Fan, and A. Anandkumar Voyager: an open-ended embodied agent with large language models. Transactions on Machine Learning Research. Cited by: §1.
  • Wang et al. (2026) S. Wang, P. Li, Y. Fu, K. Liu, F. Li, Y. Liu, X. Sun, Z. Li, S. Zhao, J. Zhao, et al. MARTI-MARS2{}^{2}: scaling multi-agent self-search via reinforcement learning for code generation. arXiv preprint arXiv:2602.07848. Cited by: §1.
  • Wirth et al. (2017) C. Wirth, R. Akrour, G. Neumann, and J. Fürnkranz A survey of preference-based reinforcement learning methods. Journal of Machine Learning Research 18 (136), pp. 1–46. Cited by: §G.2.
  • Wu et al. (2024) Q. Wu, G. Bansal, J. Zhang, Y. Wu, B. Li, E. Zhu, L. Jiang, X. Zhang, S. Zhang, J. Liu, A. H. Awadallah, R. W. White, D. Burger, and C. Wang AutoGen: enabling next-gen LLM applications via multi-agent conversations. In First Conference on Language Modeling, Cited by: §G.1, §1, §3.2, §5.1, Table 1, Table 1.
  • Xie et al. (2024) J. Xie, K. Zhang, J. Chen, T. Zhu, R. Lou, Y. Tian, Y. Xiao, and Y. Su TravelPlanner: a benchmark for real-world planning with language agents. In International Conference on Machine Learning, Cited by: §5.1, §5.
  • Xiong et al. (2024) W. Xiong, H. Dong, C. Ye, Z. Wang, H. Zhong, H. Ji, N. Jiang, and T. Zhang Iterative preference learning from human feedback: bridging theory and practice for RLHF under KL-constraint. In International Conference on Machine Learning, Vol. 235, pp. 54715–54754. Cited by: §1.
  • Yang et al. (2024) J. Yang, C. E. Jimenez, A. Wettig, K. Lieret, S. Yao, K. R. Narasimhan, and O. Press Swe-agent: agent-computer interfaces enable automated software engineering. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, Cited by: §5.1.
  • Yang et al. (2026) Y. Yang, H. Chai, S. Shao, Y. Song, S. Qi, R. Rui, and W. Zhang Agentnet: decentralized evolutionary coordination for llm-based multi-agent systems. In Advances in Neural Information Processing Systems, Vol. 38, pp. 107309–107336. Cited by: §G.1.
  • Yang et al. (2021) Y. Yang, X. Ma, C. Li, Z. Zheng, Q. Zhang, G. Huang, J. Yang, and Q. Zhao Believe what you see: implicit constraint approach for offline multi-agent reinforcement learning. In Advances in Neural Information Processing Systems, Vol. 34, pp. 10299–10312. Cited by: §1, §3.3.
  • Yao et al. (2023) S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao ReAct: synergizing reasoning and acting in language models. In International Conference on Learning Representations, Cited by: §1.
  • Zhan et al. (2024) W. Zhan, M. Uehara, N. Kallus, J. Lee, and W. Sun Provable offline preference-based reinforcement learning. In International Conference on Learning Representations, Cited by: §3.3.
  • Zhang et al. (2024) C. Zhang, K. Yang, S. Hu, Z. Wang, G. Li, Y. Sun, C. Zhang, Z. Zhang, A. Liu, S. Zhu, et al. Proagent: building proactive cooperative agents with large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, pp. 17591–17599. Cited by: §G.1, §1, §3.1.
  • Zhang et al. (2021) K. Zhang, Z. Yang, and T. Başar Multi-agent reinforcement learning: a selective overview of theories and algorithms. Handbook of reinforcement learning and control, pp. 321–384. Cited by: §1.
  • Zhang et al. (2026) K. Zhang, K. Tian, R. Liu, S. Zeng, X. Zhu, G. Jia, Y. Fan, X. Lv, Y. Zuo, C. Jiang, Y. wang, J. Wang, E. Hua, X. Long, J. Gao, Y. Sun, Z. Ma, G. Cui, N. Ding, B. Qi, and B. Zhou MARTI: a framework for multi-agent llm systems reinforced training and inference. In International Conference on Learning Representations, C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (Eds.), Vol. 2026, pp. 138790–138813. Cited by: §1.
  • Zhao et al. (2026) Y. Zhao, L. Hu, Y. Wang, M. Hou, H. Zhang, K. Ding, and J. Zhao Stronger-MAS: multi-agent reinforcement learning for collaborative LLMs. In International Conference on Learning Representations, Cited by: §1, §3.
  • Zhou et al. (2024) S. Zhou, F. F. Xu, H. Zhu, X. Zhou, R. Lo, A. Sridhar, X. Cheng, T. Ou, Y. Bisk, D. Fried, et al. Webarena: a realistic web environment for building autonomous agents. In International Conference on Learning Representations, Vol. 2024, pp. 15585–15606. Cited by: §5.1.
  • Zhu et al. (2024) T. Zhu, Y. Qiu, H. Zhou, and J. Li Decoding global preferences: temporal and cooperative dependency modeling in multi-agent preference-based reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38, pp. 17202–17210. Cited by: §C.3, §G.2, §1, §5.1.
  • Ziegler et al. (2019) D. M. Ziegler, N. Stiennon, J. Wu, T. B. Brown, A. Radford, D. Amodei, P. Christiano, and G. Irving Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593. Cited by: §1, §2, §3.3, §3.3.

We present MARLHF and MADPO under Dec-Dec in Algorithms 1 and 2 as representatives. Both methods follow the same preference collection procedure. We obtain Dec-Cen by replacing the decentralized comparators with a centralized comparator ϖ_cen(⋅∣h′_t)\bm{\varpi}\_{\mathrm{cen}}(\cdot|\mathbf{h}^{\prime}\_{t}) conditioned on the joint history. For Cen-Cen, we also replace the decentralized agents with a centralized coordinator. The response-generation block in Algorithm 1, also used by Algorithm 2, then generates joint responses a_t∼π_θ(⋅∣h_t)\mathbf{a}\_{t}\sim\bm{\pi}\_{\bm{\theta}}(\cdot|\mathbf{h}\_{t}). The policy-update blocks in both algorithms apply an update with respect to θ\bm{\theta}.

Algorithm 1 MARLHF under Dec-Dec

1:

Input: Task dataset X\mathcal{X}; LLM agents {π_θ_i}_i∈I\{\pi\_{\theta\_{i}}\}\_{i\in\mathcal{I}}; LLM comparators {ϖ_i}_i∈I\{\varpi\_{i}\}\_{i\in\mathcal{I}}; LLM reference policy π_ref\bm{\pi}\_{\mathrm{ref}}; human annotator following oracle reward R\*R^{\*}; learning rates α_π,α_R\alpha\_{\pi},\alpha\_{R}; training batch size bb; pair count mm; buffer size kk; group size GG; horizon HH; iterations T\mathcal{T}; KL coefficient η>0\eta>0.

2:

for iteration ν=0,…,T−1\nu=0,\ldots,\mathcal{T}-1 do

3:   

D(ν)←∅\mathcal{D}^{(\nu)}\leftarrow\emptyset.

4:   

for each task x∼Xx\sim\mathcal{X} until ∣D(ν)∣=m|\mathcal{D}^{(\nu)}|=m do

5:    

Initialize task prompts o_i,0o\_{i,0} and histories h_i,0←{o_i,0}h\_{i,0}\leftarrow\{o\_{i,0}\}, ∀i∈I\forall i\in\mathcal{I}.

6:    

for turn t=0,…,H−1t=0,\ldots,H-1 do

7:       

for each agent i∈Ii\in\mathcal{I} in parallel do

8:        

Generate response a_i,t∼π_θ_i(⋅∣h_i,t)a\_{i,t}\sim\pi\_{\theta\_{i}}(\cdot|h\_{i,t}).

9:       

end for

10:       

Aggregate responses a_t={a_i,t}_i∈I\mathbf{a}\_{t}=\{a\_{i,t}\}\_{i\in\mathcal{I}}.

11:       

Receive new prompts o_i,t+1o\_{i,t+1} and update h_i,t+1←{h_i,t,a_i,t,o_i,t+1}h\_{i,t+1}\leftarrow\{h\_{i,t},a\_{i,t},o\_{i,t+1}\}, ∀i∈I\forall i\in\mathcal{I}.

12:    

end for

13:    

Record joint history h_H\mathbf{h}\_{H} and trajectory τ_H\tau\_{H}.

14:    

Repeat lines 5–13 for the same task using π_θ_i\pi\_{\theta\_{i}} if ν=0\nu=0, otherwise ϖ_i\varpi\_{i}, to obtain (h′_H,τ′_H)(\mathbf{h}^{\prime}\_{H},\tau^{\prime}\_{H}).

15:    

Annotate the pair; discard ties and add non-tied pairs to D(ν)\mathcal{D}^{(\nu)}.

16:   

end for

17:   

B(ν)←\mathcal{B}^{(\nu)}\leftarrow top-kk pairs in D(ν)\mathcal{D}^{(\nu)}.

18:   

Initialize reward model R~_ψ\widetilde{R}\_{\psi} if ν=0\nu=0.

19:   

for each reward-model training step do

20:    

Sample bb preference pairs from B(ν)\mathcal{B}^{(\nu)}.

21:    

Compute per-pair losses L_RM(j)(ψ)\mathcal{L}\_{\mathrm{RM}}^{(j)}(\psi) according to Equation 4, j=1,…,bj=1,\ldots,b.

22:    

ψ←ψ−α_R1b∑_j=1b∇_ψL_RM(j)(ψ)\psi\leftarrow\psi-\alpha\_{R}\frac{1}{b}\sum\_{j=1}^{b}\nabla\_{\psi}\mathcal{L}\_{\mathrm{RM}}^{(j)}(\psi).

23:   

end for

24:   

Hold the reward model R~_ψ\widetilde{R}\_{\psi} and reference policy π_ref\bm{\pi}\_{\mathrm{ref}} fixed.

25:   

for each policy training step do

26:    

π_old←π_θ\bm{\pi}\_{\mathrm{old}}\leftarrow\bm{\pi}\_{\bm{\theta}}.

27:    

Sample bb tasks from X\mathcal{X}.

28:    

for each sampled task do

29:       

Collect GG independent joint histories under π_old\bm{\pi}\_{\mathrm{old}} by repeating lines 5–13.

30:       

Compute each trajectory’s predicted return ∑_t=0H−1R~_ψ(h_t(g),a_t(g))\sum\_{t=0}^{H-1}\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{(g)},\mathbf{a}\_{t}^{(g)}), g=1,…,Gg=1,\ldots,G.

31:       

Compute group-relative advantages by subtracting the group mean predicted return.

32:    

end for

33:    

Compute per-task losses L_MARLG(j)(θ)\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}^{(j)}(\bm{\theta}) according to Equation 5, j=1,…,bj=1,\ldots,b.

34:    

for each agent i∈Ii\in\mathcal{I} in parallel do

35:       

θ_i←θ_i−α_π1b∑_j=1b∇_θ_iL_MARLG(j)(θ)\theta\_{i}\leftarrow\theta\_{i}-\alpha\_{\pi}\frac{1}{b}\sum\_{j=1}^{b}\nabla\_{\theta\_{i}}\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}^{(j)}(\bm{\theta}).

36:    

end for

37:   

end for

38:

end for

39:

return {π_θ_i}_i∈I\{\pi\_{\theta\_{i}}\}\_{i\in\mathcal{I}}.

Algorithm 2 MADPO under Dec-Dec

1:

Input: Task dataset X\mathcal{X}; LLM agents {π_θ_i}_i∈I\{\pi\_{\theta\_{i}}\}\_{i\in\mathcal{I}}; LLM comparators {ϖ_i}_i∈I\{\varpi\_{i}\}\_{i\in\mathcal{I}}; LLM reference policy π_ref\bm{\pi}\_{\mathrm{ref}}; human annotator following oracle reward R\*R^{\*}; learning rate α_π\alpha\_{\pi}; training batch size bb; pair count mm; buffer size kk; horizon HH; iterations T\mathcal{T}; KL coefficient η>0\eta>0.

2:

for iteration ν=0,…,T−1\nu=0,\ldots,\mathcal{T}-1 do

3:   

D(ν)←∅\mathcal{D}^{(\nu)}\leftarrow\emptyset.

4:   

for each task x∼Xx\sim\mathcal{X} until ∣D(ν)∣=m|\mathcal{D}^{(\nu)}|=m do

5:    

Collect (h_H,τ_H)(\mathbf{h}\_{H},\tau\_{H}) following lines 5–13 of Algorithm 1.

6:    

Repeat these lines for the same task using π_θ_i\pi\_{\theta\_{i}} if ν=0\nu=0, otherwise ϖ_i\varpi\_{i}, to obtain (h′_H,τ′_H)(\mathbf{h}^{\prime}\_{H},\tau^{\prime}\_{H}).

7:    

Annotate the pair; discard ties and add non-tied pairs to D(ν)\mathcal{D}^{(\nu)}.

8:   

end for

9:   

B(ν)←\mathcal{B}^{(\nu)}\leftarrow top-kk pairs in D(ν)\mathcal{D}^{(\nu)}.

10:   

Hold the reference policy π_ref\bm{\pi}\_{\mathrm{ref}} fixed.

11:   

for each training step do

12:    

Sample bb preference pairs from B(ν)\mathcal{B}^{(\nu)}.

13:    

Compute per-pair losses L_MADPO(j)(θ)\mathcal{L}\_{\mathrm{MADPO}}^{(j)}(\bm{\theta}) according to Equation 6, j=1,…,bj=1,\ldots,b.

14:    

for each agent i∈Ii\in\mathcal{I} in parallel do

15:       

θ_i←θ_i−α_π1b∑_j=1b∇_θ_iL_MADPO(j)(θ)\theta\_{i}\leftarrow\theta\_{i}-\alpha\_{\pi}\frac{1}{b}\sum\_{j=1}^{b}\nabla\_{\theta\_{i}}\mathcal{L}\_{\mathrm{MADPO}}^{(j)}(\bm{\theta}).

16:    

end for

17:   

end for

18:

end for

19:

return {π_θ_i}_i∈I\{\pi\_{\theta\_{i}}\}\_{i\in\mathcal{I}}.

Considering a fixed history-based reward R~_ψ(h,a)\widetilde{R}\_{\psi}(\mathbf{h},\mathbf{a}), we maximize the expected cumulative reward with KL-regularization,

J(θ)=E_h_H∼π_θ[∑_t=0H−1R~_ψ(h_t,a_t)−ηlog⁡π_θ(h_H)π_ref(h_H)].\mathcal{J}(\bm{\theta})=\mathbb{E}\_{\mathbf{h}\_{H}\sim\bm{\pi}\_{\bm{\theta}}}\left[\sum\_{t=0}^{H-1}\widetilde{R}\_{\psi}(\mathbf{h}\_{t},\mathbf{a}\_{t})-\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H})}\right].

Since E_h_H∼π_θ[∇_θlog⁡π_θ(h_H)] ⁣= ⁣0\mathbb{E}\_{\mathbf{h}\_{H}\sim\bm{\pi}\_{\bm{\theta}}}[\nabla\_{\bm{\theta}}\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})]\!=\!0, differentiating the sampling distribution and the log-ratio gives

∇_θJ(θ)=E_h_H∼π_θ[(∑_t=0H−1R~_ψ(h_t,a_t)−ηlog⁡π_θ(h_H)π_ref(h_H))∇_θlog⁡π_θ(h_H)].\nabla\_{\bm{\theta}}\mathcal{J}(\bm{\theta})=\mathbb{E}\_{\mathbf{h}\_{H}\sim\bm{\pi}\_{\bm{\theta}}}\left[\left(\sum\_{t=0}^{H-1}\widetilde{R}\_{\psi}(\mathbf{h}\_{t},\mathbf{a}\_{t})-\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H})}\right)\nabla\_{\bm{\theta}}\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})\right].

We independently sample G>1G>1 histories for the same task under π_old←π_θ_old\bm{\pi}\_{\mathrm{old}}\leftarrow\bm{\pi}\_{\bm{\theta}\_{\mathrm{old}}}. Subtracting the group mean gives the group-relative advantage,

A~(g)=∑_t=0H−1[R~_ψ(h_t(g),a_t(g))−1G∑_g′=1GR~_ψ(h_t(g′),a_t(g′))].\widetilde{A}^{(g)}=\sum\_{t=0}^{H-1}\left[\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{(g)},\mathbf{a}\_{t}^{(g)})-\frac{1}{G}\sum\_{g^{\prime}=1}^{G}\widetilde{R}\_{\psi}(\mathbf{h}\_{t}^{(g^{\prime})},\mathbf{a}\_{t}^{(g^{\prime})})\right].

We obtain the KL-gradient term by treating the log-ratio as a stop-gradient weight:

∇_θ[ηsg ⁣[log⁡π_θ(h_H)π_ref(h_H)]log⁡π_θ(h_H)]=ηlog⁡π_θ(h_H)π_ref(h_H)∇_θlog⁡π_θ(h_H).\nabla\_{\bm{\theta}}\left[\eta\mathsf{sg}\!\left[\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H})}\right]\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})\right]=\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H})}\nabla\_{\bm{\theta}}\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}).

Combining the corrected reward advantage and KL weight gives the surrogate in Equation 5:

L_MARLG(θ)=−E_h_HG∼π_old[1G∑_g=1Gsg ⁣[GG−1A~(g)−ηlog⁡π_θ(h_H(g))π_ref(h_H(g))]log⁡π_θ(h_H(g))].\mathcal{L}\_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta})=-\mathbb{E}\_{\mathbf{h}\_{H}^{\mathcal{G}}\sim\bm{\pi}\_{\mathrm{old}}}\left[\frac{1}{G}\sum\_{g=1}^{G}\mathsf{sg}\!\left[\frac{G}{G-1}\widetilde{A}^{(g)}-\eta\log\frac{\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{(g)})}{\bm{\pi}\_{\mathrm{ref}}(\mathbf{h}\_{H}^{(g)})}\right]\log\bm{\pi}\_{\bm{\theta}}(\mathbf{h}\_{H}^{(g)})\right].

In decentralized MAS, agents have separate parameters and independently generate responses from their local histories. Differentiating the joint loss with respect to agent ii’s parameters gives

$$\nabla_{\theta_{i}}\mathcal{L}_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta})=-\mathbb{E}_{\mathbf{h}_{H}^{\mathcal{G}}\sim\bm{\pi}_{\mathrm{old}}}\left[\frac{1}{G}\sum_{g=1}^{G}\left(\frac{G}{G-1}\widetilde{A}^{(g)}-\eta\log\frac{\bm{\pi}_{\bm{\theta}}(\mathbf{h}_{H}^{(g)})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{h}_{H}^{(g)})}\right)\sum_{t=0}^{H-1}\nabla_{\theta_{i}}\log\pi_{\theta_{i}}(a_{i,t}^{(g)}h_{i,t}^{(g)})\right].$$

In centralized MAS, the coordinator generates joint responses from joint histories. Differentiating the loss with respect to its parameters θ\bm{\theta} gives

$$\nabla_{\bm{\theta}}\mathcal{L}_{\mathrm{MARL}^{\mathcal{G}}}(\bm{\theta})=-\mathbb{E}_{\mathbf{h}_{H}^{\mathcal{G}}\sim\bm{\pi}_{\mathrm{old}}}\left[\frac{1}{G}\sum_{g=1}^{G}\left(\frac{G}{G-1}\widetilde{A}^{(g)}-\eta\log\frac{\bm{\pi}_{\bm{\theta}}(\mathbf{h}_{H}^{(g)})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{h}_{H}^{(g)})}\right)\sum_{t=0}^{H-1}\nabla_{\bm{\theta}}\log\bm{\pi}_{\bm{\theta}}(\mathbf{a}_{t}^{(g)}\mathbf{h}_{t}^{(g)})\right].$$

We optimize the same objective as MARLHF above. Since the current and reference policies share the initial distribution and environment dynamics, the expected sum of log-ratios is the KL divergence between their full history distributions.

We assume arbitrary distributions over full histories can be realized by the reference class, then

$\displaystyle\prod_{t=0}^{H-1}\frac{\bm{\pi}^{*}(\mathbf{a}_{t}\mathbf{h}_{t})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{a}_{t}\mathbf{h}_{t})}$
------------
∑_t=0H−1R~_ψ(h_t,a_t)\displaystyle\sum\_{t=0}^{H-1}\widetilde{R}\_{\psi}(\mathbf{h}\_{t},\mathbf{a}\_{t})$\displaystyle=\eta\sum_{t=0}^{H-1}\log\frac{\bm{\pi}^{*}(\mathbf{a}_{t}\mathbf{h}_{t})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{a}_{t}

where Z=E_h_H∼π_ref[exp⁡(1η∑_t=0H−1R~_ψ(h_t,a_t))]Z=\mathbb{E}\_{\mathbf{h}\_{H}\sim\bm{\pi}\_{\mathrm{ref}}}[\exp(\frac{1}{\eta}\sum\_{t=0}^{H-1}\widetilde{R}\_{\psi}(\mathbf{h}\_{t},\mathbf{a}\_{t}))] normalizes the full history distribution.

For two histories for the same task, the ηlog⁡Z\eta\log Z terms cancel by subtracting their returns. A policy-based implicit reward can then be constructed,

$$\widetilde{R}_{\bm{\theta}}(\mathbf{h},\mathbf{a})=\eta\log\frac{\bm{\pi}_{\bm{\theta}}(\mathbf{a}\mathbf{h})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{a}

We define the preference margin Δ_θ=1η∑_t=0H−1[R~_θ(h_tw,a_tw)−R~_θ(h_tl,a_tl)]\Delta\_{\bm{\theta}}=\frac{1}{\eta}\sum\_{t=0}^{H-1}[\widetilde{R}\_{\bm{\theta}}(\mathbf{h}\_{t}^{w},\mathbf{a}\_{t}^{w})-\widetilde{R}\_{\bm{\theta}}(\mathbf{h}\_{t}^{l},\mathbf{a}\_{t}^{l})], so that ηΔ_θ\eta\Delta\_{\bm{\theta}} is the difference between the two cumulative implicit rewards. Applying the BT model and averaging over preference pairs in B(ν)\mathcal{B}^{(\nu)} gives Equation 6,

$$\mathcal{L}_{\mathrm{MADPO}}(\bm{\theta})=-\mathbb{E}_{\mathcal{B}^{(\nu)}}\left[\log\sigma\left(\eta\sum_{t=0}^{H-1}\left(\log\frac{\bm{\pi}_{\bm{\theta}}(\mathbf{a}_{t}^{w}\mathbf{h}_{t}^{w})}{\bm{\pi}_{\mathrm{ref}}(\mathbf{a}_{t}^{w}

In decentralized MAS, each agent π_θ_i\pi\_{\theta\_{i}} generates its response from its local history, so the margin of contribution is,

$$\Delta_{\theta_{i}}=\sum_{t=0}^{H-1}\left(\log\frac{\pi_{\theta_{i}}(a_{i,t}^{w}h_{i,t}^{w})}{\pi_{\mathrm{ref},i}(a_{i,t}^{w}

Since ddzlog⁡σ(z)=1−σ(z)=σ(−z)\frac{d}{dz}\log\sigma(z)=1-\sigma(z)=\sigma(-z), the chain rule gives the MADPO gradient for each agent:

∇_θ_iL_MADPO(θ)\displaystyle\nabla\_{\theta\_{i}}\mathcal{L}\_{\mathrm{MADPO}}(\bm{\theta})=−ηE_B(ν)[(1−σ(ηΔ_θ))∇_θ_iΔ_θ]\displaystyle=-\eta\mathbb{E}\_{\mathcal{B}^{(\nu)}}\left[\left(1-\sigma(\eta\Delta\_{\bm{\theta}})\right)\nabla\_{\theta\_{i}}\Delta\_{\bm{\theta}}\right]
------------
=−ηE_B(ν)[σ(−ηΔ_θ)∇_θ_iΔ_θ_i].\displaystyle=-\eta\mathbb{E}\_{\mathcal{B}^{(\nu)}}\left[\sigma(-\eta\Delta\_{\bm{\theta}})\nabla\_{\theta\_{i}}\Delta\_{\theta\_{i}}\right].

In centralized MAS, a coordinator generates the joint response from the joint history. We apply the same chain rule, but differentiate with respect to the coordinator’s parameters θ\bm{\theta},

$$\nabla_{\bm{\theta}}\mathcal{L}_{\mathrm{MADPO}}(\bm{\theta})=-\eta\mathbb{E}_{\mathcal{B}^{(\nu)}}\left[\sigma(-\eta\Delta_{\bm{\theta}})\sum_{t=0}^{H-1}\nabla_{\bm{\theta}}\log\frac{\bm{\pi}_{\bm{\theta}}(\mathbf{a}_{t}^{w}\mathbf{h}_{t}^{w})}{\bm{\pi}_{\bm{\theta}}(\mathbf{a}_{t}^{l}

In § 4, we select the top-kk preference pairs ranked by their winning trajectories’ returns under R\*R^{\*}. Here, we describe alternatives from two aspects: which comparator generates the candidate trajectories and which samples are retained for training.

At iteration ν\nu, MAPL compares the agent policy π(ν)\bm{\pi}^{(\nu)} with a comparator policy ϖ(ν)\bm{\varpi}^{(\nu)}. The comparator may belong to the same policy class Π\bm{\Pi} as the agents. Examples include an earlier checkpoint, ϖ(ν)=π(ν′)\bm{\varpi}^{(\nu)}=\bm{\pi}^{(\nu^{\prime})} for 0⩽ν′<ν0\leqslant\nu^{\prime}<\nu, or a higher-temperature variant of the current policy, ϖ(ν)=π(ν)_soft\bm{\varpi}^{(\nu)}=\bm{\pi}^{(\nu)}\_{\mathrm{soft}}. Alternatively, the comparator may belong to another policy class U\bm{\mathcal{U}}, using a different model architecture or from different information structures, e.g., Dec-Cen.

Figure 4 : A Venn diagram of different comparator policies.

Rejection sampling is commonly used in LLM post-training to curate training data for RLHF (Nakano et al., 2021; Dong et al., 2023). In § 4, we select the top samples according to R\*R^{\*} and the retained pairs B(ν) ⁣∼ ⁣{π_R\*(ν),\* ⁣∨ ⁣ϖ_R\*(ν),\*}\mathcal{B}^{(\nu)}\!\sim\!\{\bm{\pi}\_{R^{\*}}^{(\nu),\*}\!\lor\!\bm{\varpi}\_{R^{\*}}^{(\nu),\*}\}. In practice, however, R\*R^{\*} may not be easily accessible when the criteria underlying annotator preferences are unknown. Selection can instead rely on a proxy R~\widetilde{R}, such as a learned reward model or a human-specified metric. In this case, the replay buffer can be selected by B(ν) ⁣∼ ⁣{π_R~(ν),⊛∨ϖ_R~(ν),⊛}\mathcal{B}^{(\nu)}\!\sim\!\{\bm{\pi}\_{\widetilde{R}}^{(\nu),\circledast}\lor\bm{\varpi}\_{\widetilde{R}}^{(\nu),\circledast}\}, where circled asterisks denote the best performance under a proxy reward model R~\widetilde{R}. Although including preferred trajectories from the agents’ own policies is beneficial for reinforcing a good policy through exploitation, we often expect the agent to explore beneficial features beyond their current policy class by learning from the comparator’s trajectories at later stages. Another form of rejection sampling includes “good” comparator samples that meet at least one such criterion, denoted as B(ν)∼ϖ_R\*(ν),+\mathcal{B}^{(\nu)}\sim\bm{\varpi}\_{R^{\*}}^{(\nu),+} or B(ν)∼ϖ_R~(ν),⊕\mathcal{B}^{(\nu)}\sim\bm{\varpi}\_{\widetilde{R}}^{(\nu),\oplus}, where ++ and ⊕\oplus denote that the comparator’s trajectory is at least as good in one aspect under R\*R^{\*} or R~\widetilde{R}.

Table 3 summarizes the tasks and model configurations in Table 1,2 and Figure 2,3. For BFCL, we retain samples where multi-agent cooperation is meaningful. For Travel, we use short trips as the performance differences among optimization methods can be distinguished with relatively small agents. This also excludes samples with excessively long contexts to reduce VRAM requirements. All methods are evaluated on the same filtered subsets.

ConfigurationTLDRCoopHEBFCLTravel
Task
Datasettrl-lib/tldrOpenMLRL/CoopHumanEvalBFCLosunlp/TravelPlanner
FilterNoneNoneparallel & parallel_multipledays⩽\leqslant5 & visiting_city_num⩽\leqslant2
Trainingtrain[0,250)train[16:82)data[0:160)validation[0:60)
Evaluationeval[0, 250)train[0:16)data[160:200)validation[60:82)
Model
Agent (Dec)Qwen3-1.7BQwen2.5-Coder-3BQwen3-4B-Instruct-2507Qwen3-4B-Instruct-2507
Agent (Cen)Qwen3-4BQwen2.5-Coder-7BQwen3-8BQwen3-8B
Temperature0.70.60.70.7
Top-kk20502020
Top-pp0.90.60.80.8
Max output tokens2562562561024
Torch data typebfloat16bfloat16bfloat16bfloat16
Attention backendsdpasdpaeagersdpa

Table 3: Task and model configurations. Unless otherwise specified, the agents, comparators, and reward model in MARLHF share the same model configuration. The filtered subsets preserve the original order.

Table 4 shows the hyperparameters used in Table 1 and Figure 2. For ablation studies, we change the preference dataset pairs and decay factor λ\lambda to obtain the results in Table 2(a), the comparator model in Table 2(b), and MARL algorithms in Table 2(c).

HyperparameterTLDRCoopHEBFCLTravel
Comparator
Generation mode (Dec)decentralizeddecentralizeddecentralizeddecentralized
Generation mode (Cen)centralizedcentralizedcentralizedcentralized
Modelcurrentcurrentcurrent_copycurrent_copy
Preference dataset pairs20202020
Replay Buffer
Replay buffer pairs4444
Decay factor λ\lambda (MARLHF)0.80.80.80.8
Decay factor λ\lambda (MADPO)0.20.20.20.2
Agent Optimization
OptimizerAdamWAdamWAdamWAdamW
Policy learning rate8 ⁣× ⁣10−68\!\times\!10^{-6}2 ⁣× ⁣10−52\!\times\!10^{-5}2 ⁣× ⁣10−52\!\times\!10^{-5}2 ⁣× ⁣10−52\!\times\!10^{-5}
Policy training batch size4448
Policy training epochs (MARLHF)2423
Policy training epochs (MADPO)1211
MARL algorithm (MARLHF)MAGRPOMAGRPOMAGRPOMAGRPO
MAGRPO group size GG (MARLHF)4444
Advantage normalizationTrueTrueTrueFalse
KL penalty η\eta0.10.10.10.1
Reward Model (MARLHF)
Reward learning rate10−510^{-5}10−510^{-5}10−510^{-5}10−510^{-5}
Reward training batch size4411
Reward training epochs4211
Max input tokens10242048409632768

Table 4: Comparator, replay buffer, and optimization hyperparameters.

Following previous studies (Christiano et al., 2017; Lee et al., 2021; Kim et al., 2023; Zhu et al., 2024), we assume annotators label their preferences according to the following oracle rewards.

The oracle reward of TLDR considers structural quality, style consistency, and logical coherence. Both summaries must contain at least 8 tokens to receive an initial reward of 0.5 and proceed to the following evaluation. Then we check the length ratio and the unique-word ratio of the second agent’s response to the first’s. Since the second agent is complementary, a length ratio between 1.6 and 3.2 and a unique-word ratio above 2.0 obtain full rewards of 1.5, while ratios falling within the tolerances of 1.1 to 5.0 and 1.3 to 2.0 are scaled down proportionally. Responses outside this scope receive no rewards. We further measure style consistency by the Jaccard similarity of vocabularies between the two responses, with a score of 0.6. Coherence is measured by the occurrence of transition words, with a score of 0.4. The total reward of TLDR ranges from 0 to 3.

For CoopHE, we evaluate the structural validity, test pass rate, and the call rate. A base reward of 0.5 is given once agents output valid code snippets. Then we check the validity of the auxiliary and main function signatures, where successful ones receive 0.4 and 0.6 rewards, respectively. The concatenated code snippets are parsed using ast to check for syntax errors. Syntactically correct code receives a reward of 1 and is then run against the unit tests under a 5-second execution limit. The runtime correctness reward is scaled proportionally to the pass rate. Finally, we evaluate cooperation quality, giving a bonus of 1.5 when the main function actually calls the auxiliary function without merely acting as a wrapper. The reward scale of CoopHE is from 0 to 4.

We consider call validity, correctness, and coordination in BFCL reward. A base reward of 0.1 is given when at least one tool call can be extracted. Validity and correctness are scored with a weight of 1.5 by comparing the predicted function names with the reference signatures and checking the predicted arguments. Coordination is scored with weight 0.4, based on whether the agents issue exactly the expected number of calls and whether their contributions (#calls) are balanced. To avoid reward hacking, we further refine the reward by penalizing duplicated calls, inactive agents, and excess calls with weights of -0.6, -0.3, and -0.1, respectively. BFCL rewards scale from -1 to 2.

Each agent is assigned either the logistics role or the activity role and must use the provided reference information for its assigned role. For valid individual and joint outputs, it could receive up to 0.06 in total. Specifically, we evaluate both agents’ contributions with a weight of 0.14, coverage of role-specific required fields with a weight of 0.08, and the quality of the itinerary with a weight of 0.57. The itinerary is examined on completeness, reference grounding, consistency across routes and cities, diversity of dining and attractions, minimum required stays, and alignment with budget and user preferences. A bonus reward of 0.10 is given when both agents fulfill all requirements. Partial rewards are also given for partial format compliance and recoverable assignments, with up to 0.05. Penalties are applied for invalid assignments, conflicting or duplicated entries, entirely copying the references, and overly long outputs, with weights of 0.10, 0.05, 0.05, 0.10, and 0.05. Finally, the total reward is clipped to [-0.25, 1].

As discussed in §5.3, MARLHF and MADPO exhibit different sensitivities to hyperparameters. In this section, we analyze several key hyperparameters in detail.

We first conduct an ablation on the size of the offline preference dataset for MAPL methods. As shown in Figure 5, providing more data generally improves MARLHF and MADPO on TLDR and BFCL as expected. This is more pronounced for MARLHF, since building a complete reward representation requires substantially more data. More data also helps for MADPO, as it likely provides higher-quality data that MADPO can imitate.

Figure 5 : Ablation on different sizes of 𝒟 \mathcal{D} for offline MARLHF and MADPO ( brown and green ) across 5 runs.

Notably, this trend does not hold for CoopHE and Travel. On CoopHE, no matter how many preference pairs are added, training still gets stuck at a local optimum in which one agent performs all the tasks while the other remains idle. We attribute this to the raw model, Qwen2.5-Coder, which does not inherently cooperate. So without iterative training, it rarely provides samples with effective cooperative schemes. Both MADPO and MARLHF initially benefit from additional samples on Travel (roughly from 40 to 100 samples), but this improvement drops off beyond 120 samples. In this task, increasing the sample size might dilute the proportion of the few high-quality samples originally in the preference dataset. Therefore, it could even hurt training performance.

In summary, increasing the number of samples does not necessarily help MAPL training. It increases the computational overhead and can dilute the proportion of valuable samples in the dataset. In practice, the appropriate dataset size thus depends on both the domain and the raw model.

We show the details of ablation on replay buffers in Table 2(a). We consider two types of replay buffers. The first constructs the replay buffer from the preference dataset collected kk iterations earlier. The second samples across all iterations throughout training, using a decay factor λ\lambda to downweight older data. Setting λ=1\lambda=1 yields uniform sampling across these datasets, while k=0k=0 in the first scheme and λ=0\lambda=0 in the second both restrict sampling to the current iteration.

Figure 6 : Ablation on the different replay buffers for MARLHF ( red ) and MADPO ( blue ) across 5 runs. We consider the decentralized MAS. † and ‡ denote the pivot settings for MARLHF and MADPO, respectively.

Figure 7 : Results of MARLHF and MADPO on TLDR , CoopHE , BFCL , and Travel across 5 runs.

Figure 6 shows that increasing kk (i.e., using older data) decreases the performance of both MARLHF and MADPO on CoopHE and BFCL. This suggests that a more recently fine-tuned model that generates higher-quality data improves performance for both MAPL algorithms. This pattern is less clear on TLDR, where both curves are flat with kk. Since training converges quickly in this domain, even earlier datasets already contain a high density of good samples, so performance across different kk is hard to distinguish. On Travel, the pattern reverses for MADPO. This is because MADPO training collapses in the middle stage, so earlier datasets may contain a higher concentration of high-quality samples, which is opposite to the trend observed in other domains.

Incorporating richer samples from different training stages generally improves training, as they provide agents with more solution features, enabling more effective collaboration. Although the best λ\lambda varies across domains, it is consistently higher for MARLHF than for MADPO. Across all four domains, the best λ\lambda for MARLHF exceeds 0.5, whereas it ranges from 0 to 0.2 for MADPO in most tasks, which implies that MARLHF may require more diverse data to construct a reward model with a complete representation, whereas MADPO benefits more from a higher density of high-quality samples in the dataset (§ 5). We present the results during training for Figure 6 in Figure 7.

We show the details of ablation on comparators presented in Table 2(b). Figure 8 shows results using different models as comparators, as well as a comparison between centralized and decentralized comparators. Along the axes, Raw denotes the raw agent model, Last the agent checkpoint from the previous iteration, and Current the current agent model. The first three columns show the MAPL performance by using an increasingly updated model as the comparator. Across TLDR, CoopHE, and BFCL, all MAPL algorithms benefit from later comparator checkpoints under a decentralized comparator, as reflected by the upward trend of the solid curves from left to right. This is because later models provide higher-quality samples that benefit training. We find that this does not consistently hold on Travel, where solid lines are flat or oscillating. MADPO tends to collapse in later training stages (as shown in the last 1500 steps in Figure 3) and therefore can no longer produce higher-quality samples. This improvement also does not extend to the centralized comparator, as the dashed lines are flat along these three columns on CoopHE and BFCL.

Figure 8 : Ablation on the different comparators used in MARLHF and MADPO across 5 runs, ϖ dec \bm{\varpi}{\mathrm{dec}} in red and blue , ϖ cen \bm{\varpi}{\mathrm{cen}} in blue-green and orange , respectively. We consider decentralized MAS. † denotes the pivot settings.

We find that most of the solid curves drop from the third column to the fourth. This suggests that using a larger model under the same policy class may not even provide as much improvement to training as using the currently trained model as a comparator. This is because the samples provided by the larger model, while higher quality, may require capabilities that the smaller model simply cannot achieve. This also echoes the second challenge in § 3. Even if an existing fixed offline multi-agent preference dataset could be acquired, its utility for training is likely limited. We do not observe a consistent pattern as to whether a larger model helps more as a decentralized or as a centralized comparator across these domains. We present the results along the training for Figure 8 in Figure 9.

Figure 9 : Results of MARLHF and MADPO on TLDR, CoopHE, BFCL, and Travel across 5 runs.

The ablations in §5.3 consider homogeneous MAS, where all agents share the same model. We extend the analysis to MAS composed of agents with different model sizes. We consider two settings: heterogeneous MAS, where only one agent (either the first or the second) has twice the parameter count of its counterpart, and homogeneous-scaled MAS, in which both agents’ sizes are increased.

Figure 10 : Ablation on different MAS configurations. Green curves present the performance before training, red and blue show results via MARLHF and MADPO training. Hyperparameters are the same as in Table 4 .

Figure 10 reports the performance of these configurations before training and after MAPL training. On TLDR, larger agents achieve higher performance before training, but the gain from MAPL training is marginal as model size increases. Given that both MAPL algorithms already perform well in MAS with smaller models, there is little room for improvement. On CoopHE, increasing agent size even degrades it in the ablated configurations. We attribute this to the limited capability of the base models in this task, where the pretrained LLMs likely included few collaborative samples regardless of scale. Moreover, when using the same number of samples as in Table 4, it is much more difficult to optimize for larger LLMs. On BFCL and Travel, performance improves steadily with model size, both before and after MAPL training, which demonstrates the effectiveness of MAPL across a broader range of MAS.

We further ablate MAPL on larger-scale MAS. Due to the dual-role nature of TLDR and CoopHE, where the first agent mostly serves as an auxiliary agent and the second generates the main solution, adding more agents into these MAS might significantly change the task prompt and reward design. We conduct this ablation on BFCL and Travel for a fair comparison.

MethodBFCLTravel
Two-Agent†Three-AgentTwo-Agent†Three-Agent
Raw MAS12.817.566.263.1
MARLHF22.718.470.572.6
MADPO15.615.141.544.3

Table 5: Performance of two-agent and three-agent MAS on BFCL and Travel. We report Correct for BFCL and Pass for Travel. Raw MAS denotes parallel inference with raw LLMs.

For BFCL, the task setup remains largely unchanged, except that three agents now jointly make the function calls. Introducing an additional agent yields a slight improvement in raw MAS. But this gain is not preserved after MAPL optimization. Both MARLHF and MADPO underperform the two-agent MAS. This is because training a reward model over the longer context induced by three agents becomes more difficult with the same amount of preferences. Also, credit assignment becomes more complex for larger-scale MAS optimization. For Travel, we split the single activity agent into two agents, one responsible for dining and the other for sightseeing, while keeping the output format and evaluation protocol unchanged. Adding this agent does not improve the performance of the raw MAS. After MAPL optimization, however, both MARLHF and MADPO allow the three-agent MAS to surpass the two-agent MAS. This shows that MAPL can effectively optimize larger-scale MAS, though the extent of improvement is highly task-dependent.

We present the prompts used in Table 1 for BFCL and Travel as follows. The prompt template for TLDR and CoopHE follows Liu et al. (2026b).

⬇

You are a decentralized function-calling agent.

2 agents are answering independently. Hence, you cannot communicate with the other agent, and you cannot see their answer. Later, a downstream aggregator will merge the agents’ tool calls.

<>

Another agent is working on the same request in parallel, so you do not need to handle every part of the task yourself. Focus on the parts you can address most confidently and make any tool calls that are useful for those parts. Aim to contribute meaningful progress rather than covering everything, and avoid returning no contribution when there is something you can do.

<> (*@\promptarg{CATEGORY}@*)

<> (*@\promptarg{TASK_TYPE}@*)

<>

(*@\promptarg{FUNCTION_SCHEMAS}@*)

<>

(*@\promptarg{USER_REQUEST}@*)

<>

  • Output only the tool calls assigned to you or selected by you under your assignment.

  • Use Python-style function-call syntax, one call per line.

  • Use keyword arguments from the function schemas.

  • Do not include explanations, markdown, numbering, or reasoning.

  • If you make no tool call, output exactly: []

<>

function_name(arg1=“value”, arg2=3)

another.function_name(flag=True)

⬇

You are a decentralized function-calling agent.

2 agents are answering independently. Hence, you cannot communicate with the other agent, and you cannot see their answer. Later, a downstream aggregator will merge the agents’ tool calls.

<>

Another agent is working on the same request in parallel, so you do not need to handle every part of the task yourself. Focus on the parts you can address most confidently and make any tool calls that are useful for those parts. Aim to contribute meaningful progress rather than covering everything, and avoid returning no contribution when there is something you can do.

<> (*@\promptarg{CATEGORY}@*)

<> (*@\promptarg{TASK_TYPE}@*)

<>

(*@\promptarg{FUNCTION_SCHEMAS}@*)

<>

(*@\promptarg{USER_REQUEST}@*)

<>

  • Output only the tool calls assigned to you or selected by you under your assignment.

  • Use Python-style function-call syntax, one call per line.

  • Use keyword arguments from the function schemas.

  • Do not include explanations, markdown, numbering, or reasoning.

  • If you make no tool call, output exactly: []

<>

function_name(arg1=“value”, arg2=3)

another.function_name(flag=True)

⬇

[System message]

You are one agent in a decentralized travel-planning team. Follow the user’s role and output contract exactly. Return only the requested JSON object. Close the assignments array with ] before the final top-level.

[User message]

You are Agent 0 in a decentralized travel-planning team.

There are 2 agents in total, and every agent receives the same trip request and acts together. You cannot communicate with the other agent or see its output. A deterministic downstream merger combines all slot assignments into one itinerary. Every agent receives the same reward for that merged itinerary.

<>

You are in charge of <> only: current_city, transportation, and accommodation for every day. Fill every owned slot, including an explicit ’-’ when the itinerary convention permits it to be empty. Do not fill breakfast, attraction, lunch, or dinner slots owned by Agent 1.

<>:

(*@\promptarg{OWNED_SLOTS}@*)

(*@\promptarg{ROLE_SLOT_CHECKLIST}@*)

(*@\promptarg{ROLE_HARD_CONSTRAINT_DUTY}@*)

(*@\promptarg{BUDGET_CONTRACT}@*)

<>

  • The itinerary has (*@\promptarg{NUM_TOTAL_SLOTS}@*) slots: (*@\promptarg{DAYS}@*) days x 7 fields.

  • You may submit at most (*@\promptarg{NUM_OWNED_SLOTS}@*) assignments.

  • Submit exactly (*@\promptarg{NUM_OWNED_SLOTS}@*) assignments: one for every slot assigned to your role.

  • A slot is identified by (day, field) and should be assigned exactly once by the team.

  • Same-slot duplication wastes capacity; different values for one slot create a conflict.

  • If a slot needs to be intentionally empty, explicitly assign the string ”-”. An omitted slot is considered missing, which is different from explicitly assigning ”-”.

  • Write current_city as “from A to B” on a travel day and as the single current city on a stay day. The trip starts at the origin, visits the requested number of cities, and returns to the origin on the final day.

  • A travel day requires matching transportation; a stay day can use ”-” for transportation.

  • A stay day requires breakfast, attraction, lunch, and dinner. These experience fields may be ”-” on a travel day. Accommodation is required on every day except the final return day.

  • Never use ”-” merely because you are uncertain. Use it only in the cases above.

  • Use only entities and facts from the <>, <>, and <>.

  • Do not make up prices, flight numbers, restaurants, attractions, or accommodations.

  • Write restaurants, attractions, and accommodations as “Name, City”. Never combine multiple attractions: choose exactly one grounded attraction on a required stay day. Copy a complete transportation candidate, including its mode or flight number and the matching route, rather than returning an abbreviation.

  • Your own section is not scored separately; optimize the final team itinerary.

<>

current_city, transportation, breakfast, attraction, lunch, dinner, accommodation

<>:

(*@\promptarg{TRIP_REQUEST}@*)

<>:

origin=(*@\promptarg{ORIGIN}@*)

destination=(*@\promptarg{DESTINATION}@*)

days=(*@\promptarg{DAYS}@*)

dates=(*@\promptarg{DATES}@*)

people=(*@\promptarg{NUM_PEOPLE}@*)

budget=(*@\promptarg{BUDGET}@*)

local_constraints=(*@\promptarg{LOCAL_CONSTRAINTS}@*)

<>:

(*@\promptarg{REFERENCE_CONTEXT}@*)

<>

  • Your entire response must be exactly one JSON object: no Markdown fence, prefix, explanation, note, suffix, or second object.

  • The object must have exactly two keys: “agent_id” and “assignments”.

  • “agent_id” must be the integer 0.

  • “assignments” must contain exactly (*@\promptarg{NUM_OWNED_SLOTS}@*) objects. It must never exceed (*@\promptarg{NUM_OWNED_SLOTS}@*) objects.

  • Every assignment object must have exactly three keys: “day” (integer), “field” (one valid field), and “value” (string copied from the reference, or ”-”).

  • Do not copy schema wording or placeholder text as a value.

  • The generation system has already written the <> below. It is part of your response, so do not repeat any portion of it.

  • The prefill ends immediately after the opening quote of your first owned value. Generate only that value’s contents, then close the value with a double quote.

  • After each closing value quote, the generation system supplies the next fixed assignment object in <> order. It fixes every day, field, key, comma, bracket, and brace; you choose only each value.

  • Do not try to generate the next assignment’s schema yourself. Immediately continue inside the next already-open value string. The system closes the JSON object after the final owned value.

  • A per-value token limit prevents one slot from consuming the whole response budget. Keep every value concise and copy catalog spelling exactly.

  • The reconstructed response always has the fixed schema and assignment count shown above. Semantic omissions and invalid values still receive low reward.

<> (already supplied; do not repeat it):

{“agent_id”: 0, “assignments”: [{“day”: 1, “field”: “current_city”, “value”: ”

Continue the prefilled JSON now. Your first generated character is the first character inside the already-open value string.

⬇

[System message]

You are one agent in a decentralized travel-planning team. Follow the user’s role and output contract exactly. Return only the requested JSON object. Close the assignments array with ] before the final top-level.

[User message]

You are Agent 1 in a decentralized travel-planning team.

There are 2 agents in total, and every agent receives the same trip request and acts together. You cannot communicate with the other agent or see its output. A deterministic downstream merger combines all slot assignments into one itinerary. Every agent receives the same reward for that merged itinerary.

<>

You are in charge of <> only: breakfast, attraction, lunch, and dinner for every day. Fill every owned slot, including an explicit ’-’ when the itinerary convention permits it to be empty. Do not fill current_city, transportation, or accommodation slots owned by Agent 0.

<>:

(*@\promptarg{OWNED_SLOTS}@*)

(*@\promptarg{ROLE_SLOT_CHECKLIST}@*)

(*@\promptarg{ROLE_HARD_CONSTRAINT_DUTY}@*)

(*@\promptarg{BUDGET_CONTRACT}@*)

<>

  • The itinerary has (*@\promptarg{NUM_TOTAL_SLOTS}@*) slots: (*@\promptarg{DAYS}@*) days x 7 fields.

  • You may submit at most (*@\promptarg{NUM_OWNED_SLOTS}@*) assignments.

  • Submit exactly (*@\promptarg{NUM_OWNED_SLOTS}@*) assignments: one for every slot assigned to your role.

  • A slot is identified by (day, field) and should be assigned exactly once by the team.

  • Same-slot duplication wastes capacity; different values for one slot create a conflict.

  • If a slot needs to be intentionally empty, explicitly assign the string ”-”. An omitted slot is considered missing, which is different from explicitly assigning ”-”.

  • Write current_city as “from A to B” on a travel day and as the single current city on a stay day. The trip starts at the origin, visits the requested number of cities, and returns to the origin on the final day.

  • A travel day requires matching transportation; a stay day can use ”-” for transportation.

  • A stay day requires breakfast, attraction, lunch, and dinner. These experience fields may be ”-” on a travel day. Accommodation is required on every day except the final return day.

  • Never use ”-” merely because you are uncertain. Use it only in the cases above.

  • Use only entities and facts from the <>, <>, and <>.

  • Do not make up prices, flight numbers, restaurants, attractions, or accommodations.

  • Write restaurants, attractions, and accommodations as “Name, City”. Never combine multiple attractions: choose exactly one grounded attraction on a required stay day. Copy a complete transportation candidate, including its mode or flight number and the matching route, rather than returning an abbreviation.

  • Your own section is not scored separately; optimize the final team itinerary.

<>

current_city, transportation, breakfast, attraction, lunch, dinner, accommodation

<>:

(*@\promptarg{TRIP_REQUEST}@*)

<>:

origin=(*@\promptarg{ORIGIN}@*)

destination=(*@\promptarg{DESTINATION}@*)

days=(*@\promptarg{DAYS}@*)

dates=(*@\promptarg{DATES}@*)

people=(*@\promptarg{NUM_PEOPLE}@*)

budget=(*@\promptarg{BUDGET}@*)

local_constraints=(*@\promptarg{LOCAL_CONSTRAINTS}@*)

<>:

(*@\promptarg{REFERENCE_CONTEXT}@*)

<>

  • Your entire response must be exactly one JSON object: no Markdown fence, prefix, explanation, note, suffix, or second object.

  • The object must have exactly two keys: “agent_id” and “assignments”.

  • “agent_id” must be the integer 1.

  • “assignments” must contain exactly (*@\promptarg{NUM_OWNED_SLOTS}@*) objects. It must never exceed (*@\promptarg{NUM_OWNED_SLOTS}@*) objects.

  • Every assignment object must have exactly three keys: “day” (integer), “field” (one valid field), and “value” (string copied from the reference, or ”-”).

  • Do not copy schema wording or placeholder text as a value.

  • The generation system has already written the <> below. It is part of your response, so do not repeat any portion of it.

  • The prefill ends immediately after the opening quote of your first owned value. Generate only that value’s contents, then close the value with a double quote.

  • After each closing value quote, the generation system supplies the next fixed assignment object in <> order. It fixes every day, field, key, comma, bracket, and brace; you choose only each value.

  • Do not try to generate the next assignment’s schema yourself. Immediately continue inside the next already-open value string. The system closes the JSON object after the final owned value.

  • A per-value token limit prevents one slot from consuming the whole response budget. Keep every value concise and copy catalog spelling exactly.

  • The reconstructed response always has the fixed schema and assignment count shown above. Semantic omissions and invalid values still receive low reward.

<> (already supplied; do not repeat it):

{“agent_id”: 1, “assignments”: [{“day”: 1, “field”: “breakfast”, “value”: ”

Continue the prefilled JSON now. Your first generated character is the first character inside the already-open value string.

We summarize the hardware configurations and estimated training costs of representative experiments in Table 6. Decentralized agents are easier to deploy and train on separate devices, whereas centralized training requires substantial VRAM without sharding, since the centralized policy must process all agents’ combined information and is typically larger than any individual decentralized agent. This suggests that decentralized collaboration can be a practical solution when tasks are modularly separable and with compute is limited.

MethodGPUsDurationModel PlacementPeak GPU VRAM
AgentsRewardComparatorcuda:0cuda:1cuda:2Total
TLDR
MAGRPO (Dec)1×\timesRTX12 hcuda:0N/AN/A40N/AN/A40
MAGRPO (Cen)1×\timesB20010 hcuda:0N/AN/A50N/AN/A50
MARLHF (Offline)1×\timesB20012 hcuda:0cuda:0N/A55N/AN/A55
MARLHF (Dec-Dec)1×\timesRTX15 hcuda:0cuda:0cuda:075N/AN/A75
MARLHF (Dec-Cen)1×\timesRTX15 hcuda:0cuda:0cuda:075N/AN/A75
MARLHF (Cen-Cen)1×\timesB20010 hcuda:0cuda:0cuda:0105N/AN/A105
MADPO (Offline)1×\timesRTX5 hcuda:0N/AN/A50N/AN/A50
MADPO (Dec-Dec)1×\timesRTX7 hcuda:0N/Acuda:050N/AN/A50
MADPO (Dec-Cen)1×\timesRTX7 hcuda:0N/Acuda:050N/AN/A50
MADPO (Cen-Cen)1×\timesB2007 hcuda:0N/Acuda:060N/AN/A60
CoopHE
MAGRPO (Dec)1×\timesH2005 hcuda:0N/AN/A70N/AN/A70
MAGRPO (Cen)1×\timesB2002 hcuda:0N/AN/A70N/AN/A70
MARLHF (Offline)1×\timesH2002 hcuda:0cuda:0N/A135N/AN/A135
MARLHF (Dec-Dec)1×\timesB2003 hcuda:0cuda:0cuda:0180N/AN/A180
MARLHF (Dec-Cen)1×\timesB2002 hcuda:0cuda:0cuda:0180N/AN/A180
MARLHF (Cen-Cen)1×\timesB2002 hcuda:0cuda:0cuda:0180N/AN/A180
MADPO (Offline)1×\timesB2001 hcuda:0N/AN/A70N/AN/A70
MADPO (Dec-Dec)1×\timesB2002 hcuda:0N/Acuda:075N/AN/A75
MADPO (Dec-Cen)1×\timesB2001 hcuda:0N/Acuda:075N/AN/A75
MADPO (Cen-Cen)1×\timesB2001 hcuda:0N/Acuda:0100N/AN/A100
BFCL
MAGRPO (Dec)2×\timesB2004 hcuda:0,1N/AN/A150120N/A270
MAGRPO (Cen)2×\timesB2007 hcuda:0,1N/AN/A135140N/A275
MARLHF (Offline)3×\timesB2004 hcuda:0,1cuda:2N/A115110180405
MARLHF (Dec-Dec)3×\timesB20010 hcuda:0,1cuda:2cuda:2180180180540
MARLHF (Dec-Cen)3×\timesB2008 hcuda:0,1cuda:2cuda:2165140180485
MARLHF (Cen-Cen)3×\timesB20012 hcuda:0,1cuda:2cuda:2140155140435
MADPO (Offline)2×\timesB2005 hcuda:0,1N/AN/A140140N/A280
MADPO (Dec-Dec)3×\timesB2009 hcuda:0,1N/Acuda:218018065425
MADPO (Dec-Cen)3×\timesB2007 hcuda:0,1N/Acuda:2145135115395
MADPO (Cen-Cen)2×\timesB2008 hcuda:0,1N/Acuda:1145170N/A315
Travel
MAGRPO (Dec)1×\timesB2004 hcuda:0N/AN/A90N/AN/A90
MAGRPO (Cen)1×\timesB2005 hcuda:0N/AN/A110N/AN/A110
MARLHF (Offline)1×\timesRTX7 hcuda:0cuda:0N/A75N/AN/A75
MARLHF (Dec-Dec)2×\timesRTX15 hcuda:0cuda:1cuda:110060N/A160
MARLHF (Dec-Cen)1×\timesB2009 hcuda:0cuda:0cuda:0100N/AN/A100
MARLHF (Cen-Cen)1×\timesB20011 hcuda:0cuda:0cuda:0120N/AN/A120
MADPO (Offline)2×\timesH1004 hcuda:0,1N/AN/A5045N/A95
MADPO (Dec-Dec)1×\timesRTX11 hcuda:0N/Acuda:085N/AN/A85
MADPO (Dec-Cen)1×\timesB2005 hcuda:0N/Acuda:095N/AN/A95
MADPO (Cen-Cen)1×\timesB2004 hcuda:0N/Acuda:0100N/AN/A100

Table 6: Experimental devices and the peak GPU memory usage (GB) during training. RTX and H100 represent the RTX 6000 Pro Blackwell and H100 PCIe editions, respectively. The VRAM on each device is rounded to the nearest 5 GB, total VRAM sums the rounded values.

Many studies explore collaboration among specialized LLM agents to solve complex tasks. For example, agents act as programmers, reviewers, and testers for software development (Wu et al., 2024; Qian et al., 2024). Other systems assign complementary responsibilities to query information (Chen et al., 2026). In addition, LLM agents can also work together to conduct scientific research (Anthropic, 2025; Schmidgall et al., 2025). Most of these LLM-based MAS rely on centralized orchestration, with a predefined workflow coordinating agents. Zhang et al. (2024); Chen et al. (2025); Yang et al. (2026) study decentralized LLM-based MAS, where lightweight agents generate responses independently from their own local contexts. As they can be flexibly deployed on separate devices and run inference in parallel, it reduces sequential dependencies and hence improves efficiency. Meanwhile, the distributed deployment can also improve the robustness and security of the system (Liu et al., 2026a). We study preference-based optimization for both kinds of systems.

Preference-based RL (PbRL) has been studied extensively to optimize policies from preference feedback (Wirth et al., 2017). Some work learns a reward function from preference signals and then optimizes the policy against it (Zhu et al., 2024; Bui et al., 2025; Kang et al., 2025), while other work instead trains a preference predictor that maps joint preferences to individual-level preferences used to optimize each agent’s policy directly (Kou et al., 2025). However, assigning credit to individual agents and turns in MAS optimization is inherently difficult, and the resulting reward or value estimates are often inaccurate. Moreover, little of this work has been applied to LLM collaboration in practice, where the policy space is extremely large.

Appendix H Broader Impacts and Future Works

Section titled “Appendix H Broader Impacts and Future Works”

Although MARL has recently been used to optimize LLM-based MAS, most existing work relies on manually curated reward models. Designing such models typically requires extensive domain knowledge, and their effectiveness in guiding training remains unclear. MAPL offers an alternative by learning from preference feedback, potentially reducing the need for task-specific reward design. This work opens the door to broadly optimizing multi-agent collaboration from human preference.

Nevertheless, our work has a few limitations for future study. As shown in Table 6, MAPL requires substantially more compute than standard MARL fine-tuning, since it requires additional rollouts to adequately collect informative preferences for training. Though we propose an efficient instantiation MADPO, it performs poorly on harder domains, such as Travel. Future work could address this gap or develop other efficient MAPL variants. Also, for larger-scale MAS and longer-horizon tasks, relying on preference feedback inevitably makes the training signal sparser. Yet, collecting a preference for every agent or every turn is impractical (Shani et al., 2024; Kausik et al., 2025). How to effectively scale MAPL to such settings remains unexplored. In addition, as discussed in §5, the Dec-Cen paradigm introduces a realizability gap between the agents and the comparator. Developing methods that can facilitate transferring knowledge remains a direction for future work.