解决多智能体协作中贡献难分配的问题,让每个智能体都能获得精准反馈。
Counterfactual Credit Policy Optimization for Multi-Agent Collaboration
- 通过对比真实结果与移除某智能体后的虚拟结果,计算其实际贡献。
- 在数学推理任务上,双智能体协作准确率提升显著,尤其在新数据集上。
- 方法不依赖具体优化器,适用于多种模型,适合研究多智能体协同学习者。
协作式多智能体大语言模型可通过角色分解解决复杂推理任务,但强化学习面临信用分配难题:共享最终奖励模糊了个体贡献,易导致搭便车行为。本文提出两种与优化器无关的信用分配方法,将联合结果转化为个体学习信号。反事实策略优化信用分配(CCPO)通过比较真实联合结果与移除某一智能体后的反事实结果,估计该智能体的边际贡献;自评策略优化信用分配(SEPO)则利用受约束的自我与同伴评估作为验证锚定的信用信号,同时保持外部任务结果主导性。两者均作用于奖励构建层,为GRPO、GSPO或REINFORCE++生成角色特异性奖励或优势。我们在顺序式‘思考-求解’设定下实现这些信用信号,并在数学推理基准上进行评估。结果表明,显式信用分配通常能提升双智能体推理表现,尤其在MATH500及若干分布外设置下效果明显,但增益因模型与数据集而异。代码已开源:https://github.com/bhai114/ccpo。
原文摘要 · Abstract (English)
Collaborative multi-agent large language models (LLMs) can solve complex reasoning tasks by decomposing roles, but reinforcement learning for such systems is limited by credit assignment: shared terminal rewards obscure individual contributions and can encourage free-riding. We introduce two optimizer-agnostic credit assignment methods for converting joint outcomes into agent-specific learning signals. Counterfactual Credit for Policy Optimization (CCPO) estimates an agent's marginal contribution by comparing the realized joint outcome with a counterfactual outcome where that agent is removed. Self-Evaluated Credit for Policy Optimization (SEPO) uses constrained self- and peer-evaluations as a verifier-anchored credit signal while keeping the external task outcome dominant. Both operate at the reward-construction layer rather than as policy optimizers, producing role-specific rewards or advantages for GRPO, GSPO, or REINFORCE++. We instantiate these credit signals in a sequential Think--Solve setting and evaluate them on mathematical reasoning benchmarks. Results show that explicit credit assignment often improves dual-agent reasoning, especially on MATH500 and several out-of-distribution settings, while gains vary across models and datasets. Our code is available at: https://github.com/bhai114/ccpo.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。