SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.06192 · 2024

Contrastive Representation for Data Filtering in Cross-Domain Offline Reinforcement Learning

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; 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.06192.json · badge: /api/ran/2405.06192.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
battlewen/igdf canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_mean_std Ran
ran; our contract draft was wrong, not the code
battlewen/igdf/algorithms/igdf/igdf.py
pointer only (licence: NONE); the stored copy get_code serves, from YangRui2015/RIQL, is pointer only (licence: NONE) · get_code("639b4986c270df90")
How it ran

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

eval_actor Ran
ran, honoured the contract we drafted
battlewen/igdf/algorithms/igdf/igdf_o2o.py
pointer only (licence: NONE) · get_code("cef315eeed246be2")
How it ran

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

is_terminal_region_for_at Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
battlewen/igdf/algorithms/igdf/env/env_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from dmksjfl/PAR, is pointer only (licence: NONE) · get_code("b8653ae9a4e21d3c")
How it ran

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

is_terminal_region_for_hp Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
battlewen/igdf/algorithms/igdf/env/env_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from dmksjfl/PAR, is pointer only (licence: NONE) · get_code("0aa4b9c66abed3d1")
How it ran

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

normalize_states Ran
ran, honoured the contract we drafted
battlewen/igdf/algorithms/igdf/igdf.py
pointer only (licence: NONE) · get_code("ba80f9ff81b1de5f")
How it ran

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

wrap_env Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
battlewen/igdf/algorithms/igdf/igdf.py
pointer only (licence: NONE) · get_code("a8341f5e34d50ae6")
How it ran

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

is_terminal_region_for_hc Not yet run
unverified (harvested, no recorded run)
battlewen/igdf/algorithms/igdf/env/env_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from dmksjfl/PAR, is pointer only (licence: NONE) · get_code("b126429395363b00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, battlewen/igdf 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 6 the same month, 6 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
normalize_states 14 other papers
8 dated earlier, 1 the same month, 5 later
2106.06860 (2021-06)
A Minimalist Approach to Offline Reinforcement Learning
2210.07105 (2022-10)
CORL: Research-oriented Deep Offline Reinforcement Learning Library
2303.06614 (2023-03)
Synthetic Experience Replay
and 11 more not named here
compute_mean_std 12 other papers
7 dated earlier, 1 the same month, 4 later
2106.06860 (2021-06)
A Minimalist Approach to Offline Reinforcement Learning
2210.07105 (2022-10)
CORL: Research-oriented Deep Offline Reinforcement Learning Library
2303.06614 (2023-03)
Synthetic Experience Replay
and 9 more not named here
wrap_env 6 other papers
3 dated earlier, 1 the same month, 2 later
2305.09836 (2023-05)
Revisiting the Minimalist Approach to Offline Reinforcement Learning
2309.16973 (2023-09)
Towards Robust Offline-to-Online Reinforcement Learning via Uncertainty and Smoothness
2310.14550 (2023-10)
Corruption-Robust Offline Reinforcement Learning with General Function Approximation
and 3 more not named here
is_terminal_region_for_at 2 other papers
1 the same month, 1 later
2405.15369 (2024-05)
Cross-Domain Policy Adaptation by Capturing Representation Mismatch
2603.12087 (2026-03)
Cross-Domain Policy Optimization via Bellman Consistency and Hybrid Critics
is_terminal_region_for_hc 2 other papers
1 the same month, 1 later
2405.15369 (2024-05)
Cross-Domain Policy Adaptation by Capturing Representation Mismatch
2603.12087 (2026-03)
Cross-Domain Policy Optimization via Bellman Consistency and Hybrid Critics
is_terminal_region_for_hp 2 other papers
1 the same month, 1 later
2405.15369 (2024-05)
Cross-Domain Policy Adaptation by Capturing Representation Mismatch
2603.12087 (2026-03)
Cross-Domain Policy Optimization via Bellman Consistency and Hybrid Critics

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

Repositories linked to this paper

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

Abstract

Cross-domain offline reinforcement learning leverages source domain data with diverse transition dynamics to alleviate the data requirement for the target domain. However, simply merging the data of two domains leads to performance degradation due to the dynamics mismatch. Existing methods address this problem by measuring the dynamics gap via domain classifiers while relying on the assumptions of the transferability of paired domains. In this paper, we propose a novel representation-based approach to measure the domain gap, where the representation is learned through a contrastive objective by sampling transitions from different domains. We show that such an objective recovers the mutual-information gap of transition functions in two domains without suffering from the unbounded issue of the dynamics gap in handling significantly different domains. Based on the representations, we introduce a data filtering algorithm that selectively shares transitions from the source domain according to the contrastive score functions. Empirical results on various tasks demonstrate that our method achieves superior performance, using only 10% of the target data to achieve 89.2% of the performance on 100% target dataset with state-of-the-art methods.

For agents

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

get_harvested_code_for_paper("2405.06192")
get_code_for_paper("2405.06192")
have("2405.06192")

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

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

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

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

Connect an agent — have() is free.