Papers › Offline Reinforcement Learning from Datasets with Structured Non-Stationarity

Offline Reinforcement Learning from Datasets with Structured Non-Stationarity

23 May 2024arXiv:2405.14114archive 2025-07-28

Johannes Ackermann, Takayuki Osa, Masashi Sugiyama

Current Reinforcement Learning (RL) is often limited by the large amount of data needed to learn a successful policy. Offline RL aims to solve this issue by using transitions collected by a different behavior policy. We address a novel Offline RL problem setting in which, while collecting the dataset, the transition and reward functions gradually change between episodes but stay constant within each episode. We propose a method based on Contrastive Predictive Coding that identifies this non-stationarity in the offline dataset, accounts for it when training a policy, and predicts it during evaluation. We analyze our proposed method and show that it performs well in simple continuous control tasks and challenging, high-dimensional locomotion tasks. We show that our method often achieves the oracle performance and performs better than baselines.

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="2405.14114")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

johannesack/offlinerlstructurednonstationarity officialmentioned in papermentioned on GitHubjaxMIT 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

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 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.

10ran
2unverified

Licence: 0 of the 12 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 johannesack/offlinerlstructurednonstationarity. “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.

default_mlp_init johannesack/offlinerlstructurednonstationarity/representation_models/cpc_model.py official repository ran MIT (permissive) · 56aec01f040cabad · report
draw_circle johannesack/offlinerlstructurednonstationarity/custom_env/hip_environment.py official repository ran MIT (permissive) · 63edece0ba36d0d6 · report
get_actor_loss johannesack/offlinerlstructurednonstationarity/RLMethods/TD3BCTrainer.py official repository ran MIT (permissive) · de59f09f6434b29d · report
get_actor_loss johannesack/offlinerlstructurednonstationarity/RLMethods/TD3Trainer.py official repository ran MIT (permissive) · fdce303f39ae0a89 · report
get_critic_loss johannesack/offlinerlstructurednonstationarity/RLMethods/TD3Trainer.py official repository ran MIT (permissive) · 9c036454791018b3 · report
get_linear_probeacc_realtrain_faketest johannesack/offlinerlstructurednonstationarity/representation_models/latent_predictor_model.py official repository ran MIT (permissive) · 9a00239e9a2e6660 · report
get_mse_loss johannesack/offlinerlstructurednonstationarity/representation_models/latent_predictor_model.py official repository ran MIT (permissive) · b9e2cfcaab3117fa · report
orthogonal_init johannesack/offlinerlstructurednonstationarity/RLMethods/rl_models.py official repository ran MIT (permissive) · 0e1815d7327a86a7 · report
sample_batch johannesack/offlinerlstructurednonstationarity/RLMethods/TD3BCTrainer.py official repository ran MIT (permissive) · 9e7e7578eb33e5fc · report
sample_batch johannesack/offlinerlstructurednonstationarity/RLMethods/TD3Trainer.py official repository ran MIT (permissive) · 9dcf8cb33934578d · report
get_ant_xml johannesack/offlinerlstructurednonstationarity/custom_env/leglen_ant.py official repository unverified MIT (permissive) · 716cf1c3bc60674c · report
sample_batch_and_update johannesack/offlinerlstructurednonstationarity/representation_models/latent_predictor_model.py official repository unverified MIT (permissive) · edb5ab405906d972 · report

Tasks

Continuous ControlOffline RLReinforcement LearningReinforcement Learning (RL)continuous-controlreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive Predictive CodingInfoNCE

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