SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.12696 · NeurIPS · 2023

Counterfactual Conservative Q Learning for Offline Multi-agent Reinforcement Learning

Chen Chen, Xiangyang Ji, Jianzhun Shao, Yun Qu, Hongchang Zhang

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2309.12696.json · badge: /api/ran/2309.12696.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
thu-rllab/CFCQL canonical (classifier label)
classifier basis: classifier_2025
6 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
EpisodeBatch Ran
ran on a synthesized input · constructed an object; no result was computed
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("4bf51e76634261e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Mixer Ran
ran on a synthesized input · constructed an object; no result was computed
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("007d9448d2cd2306")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

QattenMixer Ran
ran on a synthesized input · constructed an object; no result was computed
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("a8b96233900018b1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

VDNMixer Ran
ran on a synthesized input
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("876bdefdb02890de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_q_lambda_targets Ran
ran; our contract draft was wrong, not the code
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("a8e0e27ac8c6a7ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_td_lambda_targets Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from AnujMahajanOxf/MAVEN
pointer only; the stored copy get_code serves, from AnujMahajanOxf/MAVEN, is pointer only (licence: NONE) · get_code("d95214ebaa722aa0")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_parameters_num Ran
ran; our contract draft was wrong, not the code
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("6511fdf3dee84c1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CQLearner Not yet run
unverified (harvested, no recorded run)
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("fc990af09cc00be8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

orthogonal_init_ Not yet run
unverified (harvested, no recorded run)
thu-rllab/CFCQL/discrete/src/learners/cq_learner.py
pointer only (licence: NONE) · get_code("f27d16af7e01f025")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-rllab/CFCQL when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
EpisodeBatch
brick of this paper's assembly: helper
3 other papers
1 dated earlier, 2 later · 3 only as an assembly brick
2305.05909 (2023-05)
Robust Multi-Agent Coordination via Evolutionary Generation of Auxiliary Adversarial Attackers *
2502.02844 (2025-02)
Wolfpack Adversarial Attack for Robust Multi-Agent Reinforcement Learning
2605.18077 (2026-05)
LLM-Guided Communication for Cooperative Multi-Agent Reinforcement Learning
VDNMixer
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2605.18077 (2026-05)
LLM-Guided Communication for Cooperative Multi-Agent Reinforcement Learning
build_td_lambda_targets
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1910.07483 (2019-10)
MAVEN: Multi-Agent Variational Exploration

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Offline multi-agent reinforcement learning is challenging due to the coupling effect of both distribution shift issue common in offline setting and the high dimension issue common in multi-agent setting, making the action out-of-distribution (OOD) and value overestimation phenomenon excessively severe. To mitigate this problem, we propose a novel multi-agent offline RL algorithm, named CounterFactual Conservative Q-Learning (CFCQL) to conduct conservative value estimation. Rather than regarding all the agents as a high dimensional single one and directly applying single agent methods to it, CFCQL calculates conservative regularization for each agent separately in a counterfactual way and then linearly combines them to realize an overall conservative value estimation. We prove that it still enjoys the underestimation property and the performance guarantee as those single agent conservative methods do, but the induced regularization and safe policy improvement bound are independent of the agent number, which is therefore theoretically superior to the direct treatment referred to above, especially when the agent number is large. We further conduct experiments on four environments including both discrete and continuous action settings on both existing and our man-made datasets, demonstrating that CFCQL outperforms existing methods on most datasets and even with a remarkable margin on some of them.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2309.12696")
get_code_for_paper("2309.12696")
have("2309.12696")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2309.12696.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2309.12696.svg)](https://syntology.ai/paper/2309.12696)

Connect an agent — have() is free.