SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1806.07857 · 2018

RUDDER: Return Decomposition for Delayed Rewards

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 (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 3 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/1806.07857.json · badge: /api/ran/1806.07857.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
ml-jku/baselines-rudder canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
constfn Ran
ran; our contract draft was wrong, not the code
ml-jku/baselines-rudder/baselines/ppo2_rudder/ppo2_rudder.py
pointer only (licence: MIT) · get_code("8758308dc6c0727f")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

make_output_format Ran
ran; our contract draft was wrong, not the code
ml-jku/baselines-rudder/baselines/logger.py
pointer only (licence: MIT) · get_code("71697459087eb34f")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

profile Ran
ran; our contract draft was wrong, not the code
ml-jku/baselines-rudder/baselines/logger.py
pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/gen_dgrl, is pointer only (licence: NOASSERTION) · get_code("98948fae5be7e92e")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

rolling_window Ran
ran on a synthesized input
ml-jku/baselines-rudder/baselines/results_plotter.py
pointer only (licence: MIT); the stored copy get_code serves, from knowledgetechnologyuhh/goal_conditioned_RL_baselines, is pointer only (licence: MIT) · get_code("895ca4b776fb6d6d")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

sf01 Ran
ran, violated the contract we drafted
ml-jku/baselines-rudder/baselines/ppo2_rudder/ppo2_rudder.py
pointer only (licence: MIT) · get_code("baf2a28d376d7803")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

ts2xy Ran
ran on a synthesized input
ml-jku/baselines-rudder/baselines/results_plotter.py
pointer only (licence: MIT) · get_code("8c5b970d902942f8")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

window_func Ran
ran on a synthesized input
ml-jku/baselines-rudder/baselines/results_plotter.py
pointer only (licence: MIT); the stored copy get_code serves, from knowledgetechnologyuhh/goal_conditioned_RL_baselines, is pointer only (licence: MIT) · get_code("43741b9339bd80da")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

lstm Not yet run
unverified (harvested, no recorded run)
ml-jku/baselines-rudder/baselines/ppo2_rudder/policies.py
pointer only (licence: MIT) · get_code("0ea019126f4921fd")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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. No invocation recorded.

read_json Not yet run
unverified (harvested, no recorded run)
ml-jku/baselines-rudder/baselines/logger.py
pointer only (licence: MIT) · get_code("88ef5a17fc986d9a")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, ml-jku/baselines-rudder, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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. 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, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 6 the same month, 8 later) and 1 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
make_output_format 73 other papers
2 dated earlier, 1 the same month, 70 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 70 more not named here
read_json 22 other papers
3 dated earlier, 1 the same month, 18 later
1611.05763 (2016-11)
Learning to reinforcement learn
1711.00123 (2017-11)
Backpropagation through the Void: Optimizing control variates for black-box gradient estimation
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
and 19 more not named here
profile 13 other papers
1 dated earlier, 1 the same month, 11 later
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
1905.02363 (2019-05)
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
and 10 more not named here
rolling_window 12 other papers
2 dated earlier, 1 the same month, 9 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 9 more not named here
window_func 10 other papers
2 dated earlier, 1 the same month, 7 later
1611.05763 (2016-11)
Learning to reinforcement learn
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
and 7 more not named here
constfn 8 other papers
1 dated earlier, 7 later
1707.06347 (2017-07)
Proximal Policy Optimization Algorithms
1812.02341 (2018-12)
Quantifying Generalization in Reinforcement Learning
1902.00255 (2019-02)
Policy Consolidation for Continual Reinforcement Learning
and 5 more not named here
sf01 8 other papers
1 dated earlier, 7 later
1707.06347 (2017-07)
Proximal Policy Optimization Algorithms
1812.02341 (2018-12)
Quantifying Generalization in Reinforcement Learning
1902.00255 (2019-02)
Policy Consolidation for Continual Reinforcement Learning
and 5 more not named here
ts2xy 3 other papers
1 dated earlier, 1 the same month, 1 later
1804.06459 (2018-04)
On Learning Intrinsic Rewards for Policy Gradient Methods
1806.02473 (2018-06)
Graph Convolutional Policy Network for Goal-Directed Molecular Graph Generation
2006.04061 (2020-06)
Dual Policy Distillation

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

We propose RUDDER, a novel reinforcement learning approach for delayed rewards in finite Markov decision processes (MDPs). In MDPs the Q-values are equal to the expected immediate reward plus the expected future rewards. The latter are related to bias problems in temporal difference (TD) learning and to high variance problems in Monte Carlo (MC) learning. Both problems are even more severe when rewards are delayed. RUDDER aims at making the expected future rewards zero, which simplifies Q-value estimation to computing the mean of the immediate reward. We propose the following two new concepts to push the expected future rewards toward zero. (i) Reward redistribution that leads to return-equivalent decision processes with the same optimal policies and, when optimal, zero expected future rewards. (ii) Return decomposition via contribution analysis which transforms the reinforcement learning task into a regression task at which deep learning excels. On artificial tasks with delayed rewards, RUDDER is significantly faster than MC and exponentially faster than Monte Carlo Tree Search (MCTS), TD(λ), and reward shaping approaches. At Atari games, RUDDER on top of a Proximal Policy Optimization (PPO) baseline improves the scores, which is most prominent at games with delayed rewards. Source code is available at \url{https://github.com/ml-jku/rudder} and demonstration videos at \url{https://goo.gl/EQerZV}.

For agents

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

get_harvested_code_for_paper("1806.07857")
get_code_for_paper("1806.07857")
have("1806.07857")

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

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

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

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

Connect an agent — have() is free.