Papers › Mildly Conservative Q-Learning for Offline Reinforcement Learning

Mildly Conservative Q-Learning for Offline Reinforcement Learning

9 Jun 2022arXiv:2206.04745archive 2025-07-28

Jiafei Lyu, Xiaoteng Ma, Xiu Li, Zongqing Lu

Offline reinforcement learning (RL) defines the task of learning from a static logged dataset without continually interacting with the environment. The distribution shift between the learned policy and the behavior policy makes it necessary for the value function to stay conservative such that out-of-distribution (OOD) actions will not be severely overestimated. However, existing approaches, penalizing the unseen actions or regularizing with the behavior policy, are too pessimistic, which suppresses the generalization of the value function and hinders the performance improvement. This paper explores mild but enough conservatism for offline learning while not harming generalization. We propose Mildly Conservative Q-learning (MCQ), where OOD actions are actively trained by assigning them proper pseudo Q values. We theoretically show that MCQ induces a policy that behaves at least as well as the behavior policy and no erroneous overestimation will occur for OOD actions. Experimental results on the D4RL benchmarks demonstrate that MCQ achieves remarkable performance compared with prior work. Furthermore, MCQ shows superior generalization ability when transferring from offline to online, and significantly outperforms baselines. Our code is publicly available at https://github.com/dmksjfl/MCQ.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2206.04745")

Code

Syntology Ran 12 of 16 code samples harvested from 5 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · violated contract; 11 ran with no contract checked.

By repository: community (archive-listed): 9 samples from 2 repositories, 7 ran; found in paper text by Syntology: 7 samples from 3 repositories, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

dmksjfl/mcq officialmentioned in papermentioned on GitHubpytorch report
yihaosun1124/OfflineRL-Kit mentioned on GitHubpytorch report
zzmtsvv/ORL mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 12 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
11ran
4unverified

Licence: 6 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Actor zzmtsvv/ORL/mcq/mcq.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 55a4cdf8fa60dd90 · report
BasePolicy yihaosun1124/OfflineRL-Kit/offlinerlkit/policy/model_free/mcq.py community (archive-listed) ran MIT (permissive) · 663ed93e901a35d7 · report
ConditionalVAE zzmtsvv/ORL/mcq/mcq.py community (archive-listed) ran no licence file found · pointer only · 3e918e2e02356ef9 · report
EnsembledCritic zzmtsvv/ORL/mcq/mcq.py community (archive-listed) ran no licence file found · pointer only · 3bc3e8876aab07e5 · report
EnsembledLinear zzmtsvv/ORL/mcq/mcq.py community (archive-listed) ran no licence file found · pointer only · 5e14d0cf57ccbeb6 · report
SACPolicy yihaosun1124/OfflineRL-Kit/offlinerlkit/policy/model_free/mcq.py community (archive-listed) ran MIT (permissive) · a48659302894ea24 · report
mcq_config zzmtsvv/ORL/mcq/mcq.py community (archive-listed) ran no licence file found · pointer only · 64e2c29dbb3226d9 · report
MCQ zzmtsvv/ORL/mcq/mcq.py community (archive-listed) unverified no licence file found · pointer only · 99e3be0ffb010eef · report
MCQPolicy yihaosun1124/OfflineRL-Kit/offlinerlkit/policy/model_free/mcq.py community (archive-listed) unverified MIT (permissive) · dc68158024e10b9e · report
TD3_BC sfujim/TD3_BC/TD3_BC.py found in paper text by Syntology ran MIT (permissive) · 6cb4331339777e6b · report
create_stats_ordered_dict vitchyr/rlkit/rlkit/core/eval_util.py found in paper text by Syntology ran MIT (permissive) · fadf5f762ff04cd6 · report
get_average_returns vitchyr/rlkit/rlkit/core/eval_util.py found in paper text by Syntology ran MIT (permissive) · a5d10a0b704c8db7 · report
loss ikostrikov/implicit_q_learning/critic.py found in paper text by Syntology ran · violated contract fingerprinted MIT (permissive) · 13df74f8d96dca61 · report
simple_separated_format vitchyr/rlkit/rlkit/core/tabulate.py found in paper text by Syntology ran MIT (permissive) · 5cb0c55f58279f59 · report
add_prefix vitchyr/rlkit/rlkit/core/logging.py found in paper text by Syntology unverified MIT (permissive) · 6dc14f1205c31904 · report
append_log vitchyr/rlkit/rlkit/core/logging.py found in paper text by Syntology unverified MIT (permissive) · 46e6d80fdfab6884 · report

Tasks

D4RLQ-LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Q-Learning

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections