SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.11364 · 2024

Continual Task Learning through Adaptive Policy Self-Composition

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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, 2 violated it and 0 have no contract verdict; 9 failures of our instrument; 1 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/2411.11364.json · badge: /api/ran/2411.11364.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
charleshsc/CompoFormer canonical (classifier label)
classifier basis: census
11 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_forgetting Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
charleshsc/CompoFormer/dt/Metric.py
code served (permissive licence) · get_code("e188fc03df97419f")
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 float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

# Construct a valid two-level nested list for the calculate_forgetting function
# The function expects data to be List<List<>> where it accesses data[i][i] and data[-1][i]
# Let's create a 3x3 nested list of numbers

data = [
    [1.0, 2.0, 3.0],
    [2.0, 3.0, 4.0],
    [3.0, 4.0, 5.0]
]

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
calculate_mean_performance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
charleshsc/CompoFormer/dt/Metric.py
code served (permissive licence) · get_code("92aa145c46cc37fd")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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

# The function calculate_mean_performance expects:
# - data: List[List[...]] - a two-level nested list where inner lists contain numeric values

# Create a valid two-level nested list with numeric values
data = [
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0],
    [9.0, 10.0, 11.0, 12.0]
]

ARGS = {
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
create_exp_name Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/logger.py
code served (permissive licence) · get_code("5e687d63bb9beb4a")
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 str. 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 datetime
import dateutil.tz

ARGS = {
    'exp_prefix': 'test_experiment',
    'exp_id': 42,
    'seed': 123,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
dateutil — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 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
dict_to_safe_json Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/logger.py
code served (permissive licence) · get_code("41279dfcda8b39e4")
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 dict. 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 torch
import numpy as np

torch.manual_seed(0)

# Test case 1: Dictionary with safe JSON values
test_dict_safe = {
    "name": "test",
    "count": 42,
    "value": 3.14,
    "flag": True,
    "empty": None,
    "list": [1, 2, 3],
    "nested_list": [[1, 2], [3, 4]],
}

# Test case 2: Dictionary with unsafe values that need conversion
tensor = torch.randn(2, 4)
numpy_array = np.array([1, 2, 3])
custom_obj = object()

test_dict_unsafe = {
    "tensor": tensor,
    "numpy_array": numpy_array,
    "custom_object": custom_obj,
    "safe_value": 123,
}

# Test case 3: Dictionary with nested dictionaries
test_dict_nested = {
    "level1": {
        "level2": {
            "value": 99,
            "tensor": torch.randn(2, 4),
        },
        "safe": "string",
    },
    "top_level": 42,
}

# Test case 4: Complex mixed dictionary
test_dict_complex = {
    "string": "hello",
    "integer": 100,
    "float": 2.718,
    "boolean": False,
    "none": None,
    "list_mixed": [1, "two", 3.0, True, None],
    "nested_dict": {
        "inner_tensor": torch.randn(3, 5),
        "inner_safe": [1, 2, 3],
    },
    "numpy": np.array([4, 5, 6]),
}

ARGS = {
    "d": test_dict_complex,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
init Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/dt/decision_transformer_grow.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from PKU-MARL/Multi-Agent-Transformer, is pointer only (licence: NONE) · get_code("c00885ffa5fe61e7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from PKU-MARL/Multi-Agent-Transformer, and GitHub detected no licence in that repository 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.

init_ Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/dt/decision_transformer_grow.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from PKU-MARL/Multi-Agent-Transformer, is pointer only (licence: NONE) · get_code("748385c8184d4945")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from PKU-MARL/Multi-Agent-Transformer, and GitHub detected no licence in that repository 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_two_level_nested_list Ran
ran, violated the contract we drafted
charleshsc/CompoFormer/dt/Metric.py
code served (permissive licence) · get_code("2be8b4822a8978c6")
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 bool, 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 torch
import numpy as np

def is_two_level_nested_list(data):
    if isinstance(data, list):
        for element in data:
            if not isinstance(element, list):
                return False
            return True
    return False

# Create valid test cases for the function
# The function checks if data is a list of lists (two-level nesting)

# Test case 1: Valid two-level nested list
valid_nested_list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

# Test case 2: Empty nested list
empty_nested_list = [[]]

# Test case 3: Single element nested list
single_element_nested = [["a", "b"]]

# The function will return True for any list that starts with a list element
# and False for lists containing non-list elements or non-list inputs

ARGS = {
    "data": valid_nested_list
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, 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
prompt_evaluate_episode Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/dt/prompt_evaluate_episodes.py
code served (permissive licence) · get_code("5025e676615b5431")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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 torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Create a minimal environment that supports reset() and step()
class MinimalEnv:
    def __init__(self, state_dim, act_dim):
        self.state_dim = state_dim
        self.act_dim = act_dim
    
    def reset(self):
        return np.random.randn(self.state_dim).astype(np.float32)
    
    def step(self, action):
        state = np.random.randn(self.state_dim).astype(np.float32)
        reward = np.random.randn()
        done = False
        info = {}
        return state, reward, done, info

# Create a minimal model that has get_action method
class MinimalModel(nn.Module):
    def __init__(self, state_dim, act_dim):
        super().__init__()
        self.state_dim = state_dim
        self.act_dim = act_dim
        self.linear = nn.Linear(state_dim, act_dim)
    
    def get_action(self, states, actions, rewards, target_return=None, prompt=None):
        # states shape: (seq_len, state_dim)
        # Return action of shape (1, act_dim)
        output = self.linear(states[-1:])
        return output
    
    def eval(self):
        super().eval()
        return self

# Create environment, model, and state statistics
state_dim = 4
act_dim = 3
env = MinimalEnv(state_dim, act_dim)
model = MinimalModel(state_dim, act_dim)

state_mean = np.zeros(state_dim, dtype=np.float32)
state_std = np.ones(state_dim, dtype=np.float32)

ARGS = {
    'env': env,
    'state_dim': state_dim,
    'act_dim': act_dim,
    'model': model,
    'max_ep_len': 10,
    'device': 'cpu',
    'target_return': 5.0,
    'mode': 'normal',
    'state_mean': state_mean,
    'state_std': state_std,
    'prompt': None,
    'no_r': False,
    'no_rtg': False,
    'no_state_normalize': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
prompt_evaluate_episode_rtg Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/dt/prompt_evaluate_episodes.py
code served (permissive licence) · get_code("b0b22be94dde9f35")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim 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 torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Mock environment
class MockEnv:
    def __init__(self, state_dim, act_dim):
        self.state_dim = state_dim
        self.act_dim = act_dim
    
    def reset(self):
        return np.random.randn(self.state_dim).astype(np.float32)
    
    def step(self, action):
        next_state = np.random.randn(self.state_dim).astype(np.float32)
        reward = float(np.random.randn())
        done = False
        truncate = False
        infos = {'success': 0.0}
        return next_state, reward, done, truncate, infos

# Mock model that implements get_action
class MockModel(nn.Module):
    def __init__(self, state_dim, act_dim):
        super().__init__()
        self.state_dim = state_dim
        self.act_dim = act_dim
        self.linear = nn.Linear(state_dim, act_dim)
    
    def get_action(self, env_name, states, actions, rewards, target_return, timesteps, prompt=None, info=None, masks=None):
        # states shape: (seq_len, state_dim)
        # returns action of shape (1, act_dim)
        batch_action = self.linear(states[-1:])  # take last state
        return batch_action
    
    def eval(self):
        super().eval()

state_dim = 4
act_dim = 3
env = MockEnv(state_dim, act_dim)
model = MockModel(state_dim, act_dim)

state_mean = np.zeros(state_dim, dtype=np.float32)
state_std = np.ones(state_dim, dtype=np.float32)

ARGS = {
    'env_name': 'MockEnv-v0',
    'env': env,
    'state_dim': state_dim,
    'act_dim': act_dim,
    'model': model,
    'max_ep_len': 10,
    'scale': 1000.0,
    'state_mean': state_mean,
    'state_std': state_std,
    'device': 'cpu',
    'target_return': 100.0,
    'mode': 'normal',
    'prompt': None,
    'no_r': False,
    'no_rtg': False,
    'no_state_normalize': False,
    'info': None,
    'masks': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
safe_json Ran
ran, violated the contract we drafted
charleshsc/CompoFormer/logger.py
code served (permissive licence) · get_code("07afff96928bd142")
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 bool, 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 torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - It takes one parameter: `data`
# - It recursively checks if data is JSON-safe (None, bool, int, float, tuple, list, or dict with string keys)
# - It returns a boolean

# Test cases for a comprehensive argument:
# We'll create a complex nested structure that is JSON-safe

ARGS = {
    "data": {
        "string_key": "value",
        "number": 42,
        "float_num": 3.14,
        "bool_val": True,
        "none_val": None,
        "list": [1, 2, 3, "four"],
        "tuple": (5, 6, 7),
        "nested_dict": {
            "inner_string": "text",
            "inner_list": [True, False, None],
        },
        "complex_list": [
            {"a": 1, "b": 2},
            [1, 2, [3, 4]],
            "string",
            42,
        ],
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, 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
simple_separated_format Ran
ran; our contract draft was wrong, not the code
charleshsc/CompoFormer/tabulate.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from aviralkumar2907/CQL, is pointer only (licence: NONE) · get_code("5cb0c55f58279f59")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from aviralkumar2907/CQL, and GitHub detected no licence in that repository 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.

load_tf_weights_in_gpt2 Not yet run
unverified (harvested, no recorded run)
charleshsc/CompoFormer/dt/trajectory_gpt2.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tencentarc/moto, is pointer only (licence: NOASSERTION) · get_code("00a33466c69c5705")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from tencentarc/moto, and GitHub could not classify the licence of that repository (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.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 6 the same month, 4 later) and 4 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
simple_separated_format 27 other papers
22 dated earlier, 1 the same month, 4 later
1903.08254 (2019-03)
Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variables
1910.11670 (2019-10)
Contextual Imagined Goals for Self-Supervised Robotic Learning
1910.12827 (2019-10)
Entity Abstraction in Visual Model-Based Reinforcement Learning
and 24 more not named here
load_tf_weights_in_gpt2 22 other papers
17 dated earlier, 2 the same month, 3 later
2106.01345 (2021-06)
Decision Transformer: Reinforcement Learning via Sequence Modeling
2110.06206 (2021-10)
StARformer: Transformer with State-Action-Reward Representations for Visual Reinforcement Learning
2202.11705 (2022-02)
COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
and 19 more not named here
dict_to_safe_json 6 other papers
5 dated earlier, 1 the same month
2006.04779 (2020-06)
Conservative Q-Learning for Offline Reinforcement Learning
2007.09070 (2020-07)
Hybrid Discriminative-Generative Training via Contrastive Learning
2210.07484 (2022-10)
Mutual Information Regularized Offline Reinforcement Learning
and 3 more not named here
safe_json 5 other papers
4 dated earlier, 1 the same month
2006.04779 (2020-06)
Conservative Q-Learning for Offline Reinforcement Learning
2210.07484 (2022-10)
Mutual Information Regularized Offline Reinforcement Learning
2405.17098 (2024-05)
Q-value Regularized Transformer for Offline Reinforcement Learning
and 2 more not named here
create_exp_name 3 other papers
2 dated earlier, 1 the same month
2405.17098 (2024-05)
Q-value Regularized Transformer for Offline Reinforcement Learning
2405.19690 (2024-05)
Diffusion Policies Creating a Trust Region for Offline Reinforcement Learning
2411.01146 (2024-11)
Task-Aware Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning
init 2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2306.02006 (2023-06)
MA2CL:Masked Attentive Contrastive Learning for Multi-Agent Reinforcement Learning
2604.13472 (2026-04)
Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensus
init_ 2 other papers
1 dated earlier, 1 later · 1 only as an assembly brick
2306.02006 (2023-06)
MA2CL:Masked Attentive Contrastive Learning for Multi-Agent Reinforcement Learning
2604.13472 (2026-04)
Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensus
prompt_evaluate_episode 1 other paper
1 the same month
2411.01146 (2024-11)
Task-Aware Harmony Multi-Task Decision Transformer for Offline Reinforcement Learning

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

Training a generalizable agent to continually learn a sequence of tasks from offline trajectories is a natural requirement for long-lived agents, yet remains a significant challenge for current offline reinforcement learning (RL) algorithms. Specifically, an agent must be able to rapidly adapt to new tasks using newly collected trajectories (plasticity), while retaining knowledge from previously learned tasks (stability). However, systematic analyses of this setting are scarce, and it remains unclear whether conventional continual learning (CL) methods are effective in continual offline RL (CORL) scenarios. In this study, we develop the Offline Continual World benchmark and demonstrate that traditional CL methods struggle with catastrophic forgetting, primarily due to the unique distribution shifts inherent to CORL scenarios. To address this challenge, we introduce CompoFormer, a structure-based continual transformer model that adaptively composes previous policies via a meta-policy network. Upon encountering a new task, CompoFormer leverages semantic correlations to selectively integrate relevant prior policies alongside newly trained parameters, thereby enhancing knowledge sharing and accelerating the learning process. Our experiments reveal that CompoFormer outperforms conventional CL methods, particularly in longer task sequences, showcasing a promising balance between plasticity and stability.

For agents

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

get_harvested_code_for_paper("2411.11364")
get_code_for_paper("2411.11364")
have("2411.11364")

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

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

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

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

Connect an agent — have() is free.