SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.20555 · 2024

Diffusion Actor-Critic: Formulating Constrained Policy Iteration as Diffusion Noise Regression for Offline Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 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/2405.20555.json · badge: /api/ran/2405.20555.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
Fang-Lin93/DAC canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
compare_curves Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/plots.py
pointer only (licence: GPL-3.0) · get_code("894ddcc18b0d0b2b")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

compare_hist Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/plots.py
pointer only (licence: GPL-3.0) · get_code("7aea8bb5ea8ef141")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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_weight_decay_mask Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/networks/model.py
pointer only (licence: GPL-3.0) · get_code("159a09a700e91b2e")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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_weight_decay_mask_excludes Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/networks/model.py
pointer only (licence: GPL-3.0) · get_code("12ab4b77c5a0f513")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

mish Ran
ran, honoured the contract we drafted
Fang-Lin93/DAC/agents/dac.py
pointer only (licence: GPL-3.0); the stored copy get_code serves, from diffusionyes/maxentdp, is pointer only (licence: NONE) · get_code("7fc1d127bf81537f")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

orthogonal_init Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/networks/initialization.py
pointer only (licence: GPL-3.0) · get_code("87c04751d25ad6e2")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

plot_curve Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/plots.py
pointer only (licence: GPL-3.0) · get_code("2966f3014a4193a5")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

uniform_init Ran
ran; our contract draft was wrong, not the code
Fang-Lin93/DAC/networks/initialization.py
pointer only (licence: GPL-3.0) · get_code("a1e4cfcce3126d87")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, Fang-Lin93/DAC, is not in the permissive set Syntology serves inline. 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.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 7 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
mish 7 other papers
2 dated earlier, 5 later · 1 only as an assembly brick
2312.11752 (2023-12)
Learning a Diffusion Model Policy from Rewards via Q-Score Matching
2402.17135 (2024-02)
Unsupervised Zero-Shot Reinforcement Learning via Functional Reward Encodings
2410.20312 (2024-10)
Q-Distribution guided Q-learning for offline reinforcement learning: Uncertainty penalized Q-value via consistency model
and 4 more not named here

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

In offline reinforcement learning, it is necessary to manage out-of-distribution actions to prevent overestimation of value functions. One class of methods, the policy-regularized method, addresses this problem by constraining the target policy to stay close to the behavior policy. Although several approaches suggest representing the behavior policy as an expressive diffusion model to boost performance, it remains unclear how to regularize the target policy given a diffusion-modeled behavior sampler. In this paper, we propose Diffusion Actor-Critic (DAC) that formulates the Kullback-Leibler (KL) constraint policy iteration as a diffusion noise regression problem, enabling direct representation of target policies as diffusion models. Our approach follows the actor-critic learning paradigm in which we alternatively train a diffusion-modeled target policy and a critic network. The actor training loss includes a soft Q-guidance term from the Q-gradient. The soft Q-guidance is based on the theoretical solution of the KL constraint policy iteration, which prevents the learned policy from taking out-of-distribution actions. We demonstrate that such diffusion-based policy constraint, along with the coupling of the lower confidence bound of the Q-ensemble as value targets, not only preserves the multi-modality of target policies, but also contributes to stable convergence and strong performance in DAC. Our approach is evaluated on D4RL benchmarks and outperforms the state-of-the-art in nearly all environments. Code is available at https://github.com/Fang-Lin93/DAC.

For agents

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

get_harvested_code_for_paper("2405.20555")
get_code_for_paper("2405.20555")
have("2405.20555")

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

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

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

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

Connect an agent — have() is free.