Papers › Task-Agnostic Continual Reinforcement Learning: Gaining Insights and Overcoming Challenges

Task-Agnostic Continual Reinforcement Learning: Gaining Insights and Overcoming Challenges

28 May 2022arXiv:2205.14495archive 2025-07-28

Massimo Caccia, Jonas Mueller, Taesup Kim, Laurent Charlin, Rasool Fakoor

Continual learning (CL) enables the development of models and agents that learn from a sequence of tasks while addressing the limitations of standard deep learning approaches, such as catastrophic forgetting. In this work, we investigate the factors that contribute to the performance differences between task-agnostic CL and multi-task (MTL) agents. We pose two hypotheses: (1) task-agnostic methods might provide advantages in settings with limited data, computation, or high dimensionality, and (2) faster adaptation may be particularly beneficial in continual learning settings, helping to mitigate the effects of catastrophic forgetting. To investigate these hypotheses, we introduce a replay-based recurrent reinforcement learning (3RL) methodology for task-agnostic CL agents. We assess 3RL on a synthetic task and the Meta-World benchmark, which includes 50 unique manipulation tasks. Our results demonstrate that 3RL outperforms baseline methods and can even surpass its multi-task equivalent in challenging settings with high dimensionality. We also show that the recurrent task-agnostic agent consistently outperforms or matches the performance of its transformer-based counterpart. These findings provide insights into the advantages of task-agnostic CL over task-aware MTL approaches and highlight the potential of task-agnostic methods in resource-constrained, high-dimensional, and multi-task environments.

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

Code

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

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

amazon-science/replay-based-recurrent-rl officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
amazon-research/replay-based-recurrent-rl officialmentioned on GitHubpytorchApache-2.0 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

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

2ran
9unverified

Licence: 0 of the 11 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 amazon-research/replay-based-recurrent-rl. “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.

is_supported amazon-research/replay-based-recurrent-rl/code/misc/autograd_hacks.py official repository ran Apache-2.0 (permissive) · d5f71e934c65e691 · report
profile amazon-research/replay-based-recurrent-rl/code/oailibs/logger.py official repository ran Apache-2.0 (permissive) · 98948fae5be7e92e · report
atanh amazon-research/replay-based-recurrent-rl/code/misc/utils.py official repository unverified Apache-2.0 (permissive) · c96673bfd86f55b0 · report
get_envs amazon-research/replay-based-recurrent-rl/code/misc/sequoia_envs.py official repository unverified Apache-2.0 (permissive) · 94f234b2c98314c2 · report
get_state amazon-research/replay-based-recurrent-rl/code/misc/torch_utility.py official repository unverified Apache-2.0 (permissive) · a61f2ad7df535ba0 · report
hess_analysis amazon-research/replay-based-recurrent-rl/code/misc/utils.py official repository unverified Apache-2.0 (permissive) · b610b56e4fe7749d · report
load_model_states amazon-research/replay-based-recurrent-rl/code/misc/torch_utility.py official repository unverified Apache-2.0 (permissive) · 60105fbae1120564 · report
make_output_format amazon-research/replay-based-recurrent-rl/code/oailibs/logger.py official repository unverified Apache-2.0 (permissive) · c9637f11d7c5f378 · report
print_model_info amazon-research/replay-based-recurrent-rl/code/misc/utils.py official repository unverified Apache-2.0 (permissive) · 0493eaba8ac6cfcc · report
read_json amazon-research/replay-based-recurrent-rl/code/oailibs/logger.py official repository unverified Apache-2.0 (permissive) · 88ef5a17fc986d9a · report
symsqrt amazon-research/replay-based-recurrent-rl/code/misc/autograd_hacks.py official repository unverified Apache-2.0 (permissive) · 56afcb3496c8fd91 · report

Tasks

Continual LearningContinuous ControlMulti-Task LearningReinforcement LearningReinforcement Learning (RL)reinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Experience Replay

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