SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.20411 · 2026

Direct Advantage Estimation for Scalable and Sample-efficient Deep Reinforcement Learning

Bernhard Schölkopf, Hsiao-Ru Pan

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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; 1 failure of our instrument; 0 no recorded run), measured 2026-11-24; 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/2606.20411.json · badge: /api/ran/2606.20411.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
danijar/dreamerv3 canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
bin_runs Ran
ran; our contract draft was wrong, not the code
danijar/dreamerv3/plot.py
code served (permissive licence) · get_code("c5ca039fe399397f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import pandas as pd

class Args:
    def __init__(self, xlim=None, binsize=None, bins=10):
        self.xlim = xlim
        self.binsize = binsize
        self.bins = bins

# Create sample data for the dataframe
# Each row represents a run with xs (x-values) and ys (y-values)
data = {
    'task': ['task_a', 'task_a', 'task_b', 'task_b'],
    'xs': [
        np.array([0.1, 0.5, 1.2, 1.8, 2.3]),
        np.array([0.2, 0.7, 1.5, 2.0, 2.5]),
        np.array([0.0, 0.3, 0.8, 1.4, 1.9]),
        np.array([0.1, 0.4, 0.9, 1.6, 2.1])
    ],
    'ys': [
        np.array([0.5, 0.6, 0.7, 0.8, 0.9]),
        np.array([0.4, 0.65, 0.75, 0.85, 0.95]),
        np.array([0.3, 0.55, 0.72, 0.82, 0.88]),
        np.array([0.35, 0.6, 0.73, 0.83, 0.9])
    ]
}

df = pd.DataFrame(data)

args = Args(xlim=None, binsize=None, bins=10)

ARGS = {
    'df': df,
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
wait Ran
ran, honoured the contract we drafted
danijar/dreamerv3/embodied/core/limiters.py
code served (permissive licence) · get_code("6550a75a39ed6415")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import time

# The wait function takes:
# - predicate: a callable that returns bool
# - message: a string
# - info: optional, can be None or any object
# - sleep: float, time to sleep between checks
# - notify: float, interval for notifications

# Create a simple predicate that becomes true after a short delay
counter = {'count': 0}

def predicate():
    counter['count'] += 1
    # Return True after a few iterations (roughly 50ms given 0.01s sleep)
    return counter['count'] > 5

ARGS = {
    'predicate': predicate,
    'message': 'Waiting for condition',
    'info': {'status': 'processing', 'iteration': 1},
    'sleep': 0.01,
    'notify': 60
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 2 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.

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-24.

Repositories linked to this paper

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

Abstract

Direct Advantage Estimation (DAE) has been shown to improve the sample efficiency of deep reinforcement learning algorithms. However, its reliance on full environment observability limits its applicability in realistic settings, and its requirement to model transition probabilities incurs substantial computational overhead for high-dimensional observations. In the present work, we address both limitations. First, we extend the theoretical framework of DAE to partially observable domains with minimal modifications. Second, we reduce its computational complexity by introducing discrete latent dynamics models that efficiently approximate transition probabilities. We evaluate our approach on the Arcade Learning Environment and find that DAE scales effectively with function approximator capacity while retaining high sample efficiency. 1. We extend the theory of Direct Advantage Estimation to partially observable Markov decision processes, showing that it can be naturally applied to off-policy multi-step learning under partial observability. Context: Direct Advantage Estimation (DAE) (Pan et al., 2022;Pan & Schölkopf, 2024) was originally proposed for multi-step learning in fully observable Markov decision processes, which limits its applicability to simpler domains and excludes partially observable settings commonly encountered in practice. 2. We propose a discrete latent dynamics model that approximates transition probabilities in a compact latent space, significantly reducing the computational overhead of Off-policy DAE. Context: Off-policy corrections in DAE require approximations of transition probabilities, which was achieved by learning generative models that predict observations. This approach becomes expensive in environments with high-dimensional observations and has therefore only been evaluated in simpler domains (Pan & Schölkopf, 2024).

For agents

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

get_harvested_code_for_paper("2606.20411")
get_code_for_paper("2606.20411")
have("2606.20411")

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

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

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

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

Connect an agent — have() is free.