{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/on-the-feasibility-of-cross-task-transfer","title":"On the Feasibility of Cross-Task Transfer with Model-Based Reinforcement Learning","arxiv_id":"2210.10763","date":"2022-10-19","proceeding":null,"authors":["Yifan Xu","Nicklas Hansen","ZiRui Wang","Yung-Chieh Chan","Hao Su","Zhuowen Tu"],"abstract":"Reinforcement Learning (RL) algorithms can solve challenging control problems directly from image observations, but they often require millions of environment interactions to do so. Recently, model-based RL algorithms have greatly improved sample-efficiency by concurrently learning an internal model of the world, and supplementing real environment interactions with imagined rollouts for policy improvement. However, learning an effective model of the world from scratch is challenging, and in stark contrast to humans that rely heavily on world understanding and visual cues for learning new skills. In this work, we investigate whether internal models learned by modern model-based RL algorithms can be leveraged to solve new, distinctly different tasks faster. We propose Model-Based Cross-Task Transfer (XTRA), a framework for sample-efficient online RL with scalable pretraining and finetuning of learned world models. By offline multi-task pretraining and online cross-task finetuning, we achieve substantial improvements over a baseline trained from scratch; we improve mean performance of model-based algorithm EfficientZero by 23%, and by as much as 71% in some instances.","url_abs":"https://arxiv.org/abs/2210.10763v2","url_pdf":"https://arxiv.org/pdf/2210.10763v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"on-the-feasibility-of-cross-task-transfer","repo_url":"https://github.com/mlpc-ucsd/xtra","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"atari-games-100k","task_name":"Atari Games 100k"},{"task_slug":"model-based-reinforcement-learning","task_name":"Model-based Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2210.10763","atlas_url":"https://app.syntology.ai/?focus=2210.10763","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2210.10763"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mlpc-ucsd/xtra","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":5,"ran_draft_wrong":1,"ran_fixture":1,"unverified":6},"by_repo_kind":{"official":{"samples":13,"ran":7,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"05286bc5e4e73ead","entry":"concat_output_value","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/model.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/model.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"05286bc5e4e73ead"}},{"code_sha256_prefix":"18fbe72ffac82ee3","entry":"conv3x3","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/config/atari/model.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/config/atari/model.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"18fbe72ffac82ee3"}},{"code_sha256_prefix":"9def2c52a2324abd","entry":"float_range","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/args.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/args.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9def2c52a2324abd"}},{"code_sha256_prefix":"11b2c75d0350f659","entry":"make_atari","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/utils.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"11b2c75d0350f659"}},{"code_sha256_prefix":"f12fcbff81a09011","entry":"make_results_dir","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/utils.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f12fcbff81a09011"}},{"code_sha256_prefix":"fa63400bb2942968","entry":"renormalize","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/model.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/model.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fa63400bb2942968"}},{"code_sha256_prefix":"f20a0c2687734ea6","entry":"select_action","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/utils.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f20a0c2687734ea6"}},{"code_sha256_prefix":"bef1e7b3f9ae1da8","entry":"concat_output","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/model.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bef1e7b3f9ae1da8"}},{"code_sha256_prefix":"d8a8da7b1cae2f4a","entry":"get_node_distribution","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/mcts.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/mcts.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d8a8da7b1cae2f4a"}},{"code_sha256_prefix":"a688f4e7c0e44610","entry":"mlp","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/config/atari/model.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/config/atari/model.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a688f4e7c0e44610"}},{"code_sha256_prefix":"8808a2cd042359dd","entry":"prepare_imitation_learning","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/game_detach.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/game_detach.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8808a2cd042359dd"}},{"code_sha256_prefix":"108a7e706028d3eb","entry":"prepare_multi_target_cpu","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/game_detach.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/game_detach.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"108a7e706028d3eb"}},{"code_sha256_prefix":"d880585fd8b2ad45","entry":"prepare_multi_target_only_value_cpu","repo":"mlpc-ucsd/xtra","repo_kind":"official","path":"src/core/game_detach.py","file_url":"https://github.com/mlpc-ucsd/xtra/blob/HEAD/src/core/game_detach.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d880585fd8b2ad45"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}