SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.05742 · ICLR · 2024

The Generalization Gap in Offline Reinforcement Learning

Roberta Raileanu, Minqi Jiang, Ishita Mediratta, Qingfei You

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 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/2312.05742.json · badge: /api/ran/2312.05742.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
facebookresearch/gen_dgrl canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
arg2str Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/webShop/baseline_models/slurm.py
pointer only (licence: NOASSERTION) · get_code("edbb710d8687df70")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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_arg_parser Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/procgen/download.py
pointer only (licence: NOASSERTION) · get_code("658ecf571b8a449d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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.

discount_reward Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
facebookresearch/gen_dgrl/webShop/baseline_models/agent.py
pointer only (licence: NONE) · get_code("6c873c43e9aed0a7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/gen_dgrl 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.

new_process_goal Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/webShop/baseline_models/human_trajectories_collector.py
pointer only (licence: NOASSERTION) · get_code("a081306c38dcb0d3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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.

process Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/webShop/baseline_models/il_data_collector.py
pointer only (licence: NOASSERTION) · get_code("cc483cf670852845")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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.

process_goal Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/webShop/baseline_models/il_data_collector.py
pointer only (licence: NOASSERTION) · get_code("8012f9ad06833123")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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
facebookresearch/gen_dgrl/webShop/baseline_models/logger.py
pointer only (licence: NOASSERTION) · get_code("98948fae5be7e92e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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.

strip_website Ran
ran; our contract draft was wrong, not the code
facebookresearch/gen_dgrl/webShop/baseline_models/human_trajectories_collector.py
pointer only (licence: NOASSERTION) · get_code("30817084576ab0fd")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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_data Not yet run
unverified (harvested, no recorded run)
facebookresearch/gen_dgrl/webShop/baseline_models/train_choice_bcq.py
pointer only (licence: NOASSERTION) · get_code("6ac021fec5c8d2c2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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.

make_output_format Not yet run
unverified (harvested, no recorded run)
facebookresearch/gen_dgrl/webShop/baseline_models/logger.py
pointer only (licence: NOASSERTION) · get_code("e69c2e4d0254e7de")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, facebookresearch/gen_dgrl (NOASSERTION). 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)
facebookresearch/gen_dgrl/webShop/baseline_models/logger.py
pointer only (licence: NONE) · get_code("88ef5a17fc986d9a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, facebookresearch/gen_dgrl 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 3 later) and 5 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
read_json 22 other papers
21 dated earlier, 1 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
12 dated earlier, 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
1806.07857 (2018-06)
RUDDER: Return Decomposition for Delayed Rewards
and 10 more not named here
discount_reward 3 other papers
2 dated earlier, 1 later
2207.01206 (2022-07)
WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agents
2306.02224 (2023-06)
Auto-GPT for Online Decision Making: Benchmarks and Additional Opinions
2602.04284 (2026-02)
Agent-Omit: Adaptive Context Omission for Efficient LLM Agents
make_output_format 1 other paper
1 dated earlier
2306.02224 (2023-06)
Auto-GPT for Online Decision Making: Benchmarks and Additional Opinions
process 1 other paper
1 dated earlier
2306.02224 (2023-06)
Auto-GPT for Online Decision Making: Benchmarks and Additional Opinions
process_goal 1 other paper
1 dated earlier
2306.02224 (2023-06)
Auto-GPT for Online Decision Making: Benchmarks and Additional Opinions

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

Despite recent progress in offline learning, these methods are still trained and tested on the same environment. In this paper, we compare the generalization abilities of widely used online and offline learning methods such as online reinforcement learning (RL), offline RL, sequence modeling, and behavioral cloning. Our experiments show that offline learning algorithms perform worse on new environments than online learning ones. We also introduce the first benchmark for evaluating generalization in offline learning, collecting datasets of varying sizes and skill-levels from Procgen (2D video games) and WebShop (e-commerce websites). The datasets contain trajectories for a limited number of game levels or natural language instructions and at test time, the agent has to generalize to new levels or instructions. Our experiments reveal that existing offline learning algorithms struggle to match the performance of online RL on both train and test environments. Behavioral cloning is a strong baseline, outperforming state-of-the-art offline RL and sequence modeling approaches when trained on data from multiple environments and tested on new ones. Finally, we find that increasing the diversity of the data, rather than its size, improves performance on new environments for all offline learning algorithms. Our study demonstrates the limited generalization of current offline learning algorithms highlighting the need for more research in this area.

For agents

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

get_harvested_code_for_paper("2312.05742")
get_code_for_paper("2312.05742")
have("2312.05742")

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

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

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

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

Connect an agent — have() is free.