Counterfactual Credit Policy Optimization for Multi-Agent Collaboration

Zhongyi Li, Wan Tian, Jinju Chen, Huiming Zhang, Yang Liu +2 more
3/23/2026
14 citations
cs.AI
rlrlhf-rlvr-dpo

Official code: bhai114/ccpo (3 stars, Python, last commit 2026-06-08).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

bhai114/ccpoOfficial100%
30Python, ShellJan 20, 20265 months ago

Similar Papers

Cite this paper

@article{li2026counterfactual,
  title  = {Counterfactual Credit Policy Optimization for Multi-Agent Collaboration},
  author = {Zhongyi Li and Wan Tian and Jinju Chen and Huiming Zhang and Yang Liu and Yikun Ban and Fuzhen Zhuang},
  year   = {2026},
  eprint = {2603.21563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.21563v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.21563.svg)](https://codeofpaper.com/paper/2603.21563)

Discussion